Move findidx nested functions to top-level.
[glibc.git] / ChangeLog
blobd528cab31e04b42eefaec14dc7b91412cf5b9f01
1 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2             Roland McGrath  <roland@hack.frob.com>
4         * locale/weight.h: Add include guard.
5         (findidx): Make static rather than auto; take new parameters
6         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7         * locale/weightwc.h: Likewise.
8         * posix/fnmatch_loop.c
9         (FCT): Change type of EXTRA from int32_t to wint_t.
10         Don't include either header inside the function.
11         Call FINDIDX rather than findidx, and pass new arguments.
12         #undef FINDIDX at the end of the file.
13         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14         FINDIDX before including fnmatch_loop.c for the non-wide version.
15         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
17         for the wide version.
18         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
19         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20         Pass new arguments to findidx.
21         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23         Don't #include it inside the function.  Pass new arguments to findidx.
24         * posix/regex_internal.h
25         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26         (re_string_elem_size_at): Don't #include it inside the function.
27         Pass new arguments to findidx.
28         * string/strcoll_l.c: #include WEIGHT_H at top level.
29         (get_next_seq): Don't #include it inside the function.
30         Pass new arguments to findidx.
31         (get_next_seq_nocache): Likewise.
32         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33         (STRXFRM): Don't #include it inside the function.
34         Pass new arguments to findidx.
36 2014-09-11  Florian Weimer  <fweimer@redhat.com>
38         [BZ #17344]
39         * malloc/malloc.c (unlink): Turn asserts into a call to
40         malloc_printerr.
42 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
44         [BZ #17370]
45         * libio/wfileops (do_ftell_wide): Free OUT.
47 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
49         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
51 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53         [BZ #17363]
54         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
55         group if the current group is empty.
57 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59         * benchtests/bench-memset.c (test_main): Add more test from size
60         from 32 to 512 bytes.
61         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
62         Add POWER8 memset object.
63         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
64         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
65         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
66         implementation.
67         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
68         Likewise.
69         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
70         multiarch POWER8 memset optimization.
71         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
72         POWER8 memset optimization.
74         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
75         Remove bzero multiarch objects.
76         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
77         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
78         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
79         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
80         Remove define.
81         [__bzero]: Redefine to specific name.
82         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
83         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
84         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
85         define.
86         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
87         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
89 2014-09-10  Florian Weimer  <fweimer@redhat.com>
91         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
92         warnings into errors.
94         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
95         __cxa_thread_atexit_impl prototype.
97 2014-09-09  Steve Ellcey  <sellcey@mips.com>
99         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
100         Fix capitalization of error message.
102 2014-09-09  Steve Ellcey  <sellcey@mips.com>
104         * sysdeps/mips/preconfigure: Modify ABI tests.
106 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
108         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
110 2014-09-07  Roland McGrath  <roland@hack.frob.com>
111             Carlos O'Donell  <carlos@systemhalted.org>
113         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
114         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
115         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
116         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
117         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
118         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
119         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
120         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
121         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
122         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
123         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
124         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
125         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
126         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
127         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
128         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
129         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
130         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
131         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
132         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
133         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
134         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
135         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
136         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
137         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
138         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
139         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
140         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
141         Deconditionalize the code that was previously under [RESET_PID].
142         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
143         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
144         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
145         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
146         include sysdep.h.
148 2014-09-08  Allan McRae  <allan@archlinux.org>
150         * version.h (RELEASE): Set to "development".
151         (VERSION): Set to "2.20.90"
153 2014-09-07  Allan McRae  <allan@archlinux.org
155         * version.h (RELEASE): Set to "stable".
156         (VERSION): Set to "2.20"
157         * include/features.h (__GLIBC_MINOR__): Set to 20.
159         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
160         Liebler.
162         * po/ko.po: Update Korean translation from translation project.
164 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
166         [BZ #17354]
167         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
168         macro for handling signed relocations.
170 2014-09-03  Florian Weimer  <fweimer@redhat.com>
172         [BZ #17325]
173         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
174         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
175         assert.
176         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
177         * iconvdata/ibm935.c (BODY): Likewise.
178         * iconvdata/ibm937.c (BODY): Likewise.
179         * iconvdata/ibm939.c (BODY): Likewise.
180         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
181         assert.
182         * iconvdata/Makefile (iconv-test.out): Pass module list to test
183         script.
184         * iconvdata/run-iconv-test.sh: New test loop for checking for
185         decoder crashers.
187 2014-09-02  Khem Raj  <raj.khem@gmail.com>
189         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
190         libm_hidden_ver.
192 2014-09-01  Allan McRae  <allan@archlinux.org>
194         * po/eo.po: Update Esperanto translation from translation project.
196         * po/ca.po: Update Catalan translation from translation project.
198 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
200         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
201         __proc_dostop call.
203 2014-08-27  Mark Wielaard  <mjw@redhat.com>
205         [BZ #17319]
206         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
207         to call set_thread_area instead of hand written asm.
208         (__NR_set_thread_area): Removed define.
209         (TLS_FLAG_WRITABLE): Likewise.
210         (__ASSUME_SET_THREAD_AREA): Remove check.
211         (TLS_EBX_ARG): Remove define.
212         (TLS_LOAD_EBX): Likewise.
214 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
216         Simplify atomicity of socket creation in bind.
218         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
219         looking up the name after linking the file.
221 2014-08-27  Allan McRae  <allan@archlinux.org>
223         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
225 2014-08-26  Florian Weimer  <fweimer@redhat.com>
227         [BZ #17187]
228         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
229         trans_compare, open_translit, __gconv_translit_find):
230         Remove module loading code.
232 2014-08-26  Allan McRae  <allan@archlinux.org>
234         * po/vi.po: Update Vietnamese translation from translation project.
236         * po/uk.po: Update Ukrainian translation from translation project.
238         * po/fr.po: Update French translation from translation project.
240         * po/ru.po: Update Russian translation from translation project.
242         * po/pl.po: Update Polish translation from translation project.
244         * po/cs.po: Update Czech translation from translation project.
246         * po/de.po: Update German translation from translation project.
248         * po/bg.po: Update Bulgarian translation from translation project.
250         * po/sv.po: Update Sweedish translation from translation project.
252         * po/nl.po: Update Dutch translation from translation project.
254         * po/es.po: Update Spanish translation from translation project.
256 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
258         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
260         * catgets/Makefile (CPPFLAGS-gencat): Remove.
261         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
262         (CPPFLAGS-iconvconfig): Likewise.
263         * timezone/Makefile (CPPFLAGS-zic): Likewise.
265         * include/libc-symbols.h: Remove unnecessary check for
266         NOT_IN_libc.
267         * nptl/pthreadP.h: Likewise.
268         * sysdeps/aarch64/setjmp.S: Likewise.
269         * sysdeps/alpha/setjmp.S: Likewise.
270         * sysdeps/arm/sysdep.h: Likewise.
271         * sysdeps/i386/setjmp.S: Likewise.
272         * sysdeps/m68k/setjmp.c: Likewise.
273         * sysdeps/posix/getcwd.c: Likewise.
274         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
275         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
276         * sysdeps/s390/s390-32/setjmp.S: Likewise.
277         * sysdeps/s390/s390-64/setjmp.S: Likewise.
278         * sysdeps/sh/sh3/setjmp.S: Likewise.
279         * sysdeps/sh/sh4/setjmp.S: Likewise.
280         * sysdeps/unix/alpha/sysdep.h: Likewise.
281         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
282         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
283         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
284         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
287         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
288         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
289         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
290         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
291         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
292         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
293         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
294         * sysdeps/x86_64/setjmp.S: Likewise.
296 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
298         [BZ #17263]
299         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
300         <stdint.h>.
301         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
302         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
304 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
306         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
308         [BZ #17262]
309         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
310         and __x86_64__ when disabling x87 inline functions.
312 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
314         [BZ #17259]
315         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
316         asm statement with __cpuid_count.
318 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
320         * configure.ac: Change __ehdr_start code to dereference the struct.
321         Run readelf on the output to look for relocations.
322         * configure: Regenerated.
324 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
326         [BZ #17261]
327         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
328         value to 0.
329         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
331 2014-08-12  Roland McGrath  <roland@hack.frob.com>
333         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
335 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
337         [BZ #16892]
338         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
339         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
341 2014-08-12  Sean Anderson  <seanga2@gmail.com>
343         * malloc/malloc.c: Fix typo in comment.
345 2014-08-09  Allan McRae  <allan@archlinux.org>
347         * Regenerate libc.po.
349 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
351         * intl/tst-gettext2.sh: Check every lang file for creation.
353 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
355         * sysdeps/aarch64/fpu/math_private.h
356         (libc_feholdsetround_noex_aarch64_ctx): New function.
358 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
360         * sysdeps/arm/armv6/strcpy.S (strcpy):
361         Fix performance issue in misaligned cases.
363 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
365         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
366         Move definition from termios.h.
367         (struct termio): Likewise.
368         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
369         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
370         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
371         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
372         Likewise.
373         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
374         Move definition to ioctl-types.h
375         (struct termio): Likewise.
376         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
377         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
378         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
379         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
380         Likewise.
382 2014-08-05  Richard Henderson  <rth@redhat.com>
384         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
385         exceptions.
386         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
387         Add fraiseexcpt.
388         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
389         Use __feraiseexcept.
390         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
391         Protect libm symbols with IS_IN_libm.
393         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
395 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
397         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
399 2014-08-04  Will Newton  <will.newton@linaro.org>
401         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
402         file.
404 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
406         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
407         variants for each function.
409 2014-08-04  Roland McGrath  <roland@hack.frob.com>
411         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
412         appended ...
413         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
414         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
415         appended ...
416         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
417         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
418         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
419         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
420         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
421         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
422         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
423         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
424         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
425         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
426         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
427         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
428         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
429         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
430         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
431         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
432         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
433         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
434         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
435         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
436         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
437         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
438         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
439         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
440         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
441         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
442         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
443         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
444         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
445         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
446         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
447         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
448         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
449         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
450         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
451         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
452         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
453         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
454         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
455         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
456         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
457         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
458         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
459         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
460         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
461         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
462         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
463         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
464         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
465         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
466         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
467         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
468         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
469         Update #include.
470         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
471         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
473 2014-08-04  Roland McGrath  <roland@hack.frob.com>
475         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
476         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
477         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
478         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
479         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
480         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
482 2014-08-04  Roland McGrath  <roland@hack.frob.com>
484         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
485         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
486         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
487         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
489 2014-08-04  Roland McGrath  <roland@hack.frob.com>
491         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
492         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
493         (__libc_vfork): Define function under this name.
494         (__vfork): Define as an alias.
495         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
496         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
498 2014-08-04  Roland McGrath  <roland@hack.frob.com>
500         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
501         that was previously under [RESET_PID].
502         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
504 2014-08-04  Andreas Schwab  <schwab@suse.de>
506         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
508 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
510         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
511         (main): Likewise.
513 2014-08-01  Roland McGrath  <roland@hack.frob.com>
515         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
517 2014-08-01  Richard Henderon  <rth@redhat.com>
519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
520         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
521         typo in exact zero test.
522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
523         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
524         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
526 2014-08-01  Roland McGrath  <roland@hack.frob.com>
528         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
529         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
530         * sysdeps/arm/sysdep.h: ... here.
531         [!__ASSEMBLER__]: Include <stdint.h>.
533 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
535         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
536         (HAVE_WCTYPE_H): Likewise.
537         (HAVE_ISWCTYPE): Likewise.
538         (ENABLE_NLS): Likewise.
539         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
540         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
542         * posix/regex_internal.c: Check if DEBUG is defined and is
543         set.
545         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
546         (HAVE_MBSRTOWCS): Likewise.
547         * posix/fnmatch.c: Include string.h unconditionally.
549 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
551         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
552         reversal.
554 2014-07-31  Roland McGrath  <roland@hack.frob.com>
556         * sysdeps/generic/safe-fatal.h: New file.
557         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
558         * nptl/forward.c: Include it.
559         (__pthread_unwind): Use __safe_fatal as default action, rather
560         than a bogus use of INTERNAL_SYSCALL that could never work.
562         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
563         * configure.ac (libc_cv_builtin_trap): New test.
564         * configure: Regenerated.
565         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
566         (ABORT_INSTRUCTION): Define using __builtin_trap.
568         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
569         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
570         * sysdeps/nptl/nptl-signals.h: New file.
571         * nptl/pthreadP.h: Include <nptl-signals.h>.
573 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
575         * sysdeps/s390/s390-64/utf16-utf32-z9.c
576         (ONE_DIRECTION): Define.
577         * sysdeps/s390/s390-64/utf8-utf16-z9.c
578         (ONE_DIRECTION): Define.
579         * sysdeps/s390/s390-64/utf8-utf32-z9.c
580         (ONE_DIRECTION): Define.
582 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
584         * sysdeps/s390/Makefile: Delete file.
585         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
586         * sysdeps/s390/__longjmp.c: Delete file.
587         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
588         Remove fields __flags and __reserved.
589         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
590         and add versioning.
591         * sysdeps/s390/rtld-__longjmp.c: Delete file.
592         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
593         * sysdeps/s390/rtld-setjmp.S: Likewise.
594         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
595         * sysdeps/s390/s390-32/__longjmp.c: ... here.
596         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
597         * sysdeps/s390/s390-32/setjmp.S: ... here.
598         Add versioning.
599         (__sigsetjmp): Remove setting __flags field.
600         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
601         * sysdeps/s390/s390-64/__longjmp.c: ... here.
602         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
603         * sysdeps/s390/s390-64/setjmp.S: ... here.
604         Add versioning.
605         (__sigsetjmp): Remove setting __flags field.
606         * sysdeps/s390/setjmp.S: Delete file.
607         * sysdeps/s390/sigjmp.c: Likewise.
608         * sysdeps/s390/v1-longjmp.c: Likewise.
609         * sysdeps/s390/v1-setjmp.h: Likewise.
610         * sysdeps/s390/v1-sigjmp.c: Likewise.
611         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
612         Remove v1-longjmp_chk.
613         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
614         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
615         Include debug/longjmp_chk.c and add versioning.
616         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
617         Include nptl/pt-longjmp.c and add versioning.
618         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
619         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
620         Include __longjmp.c.
621         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
622         Move to ...
623         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
624         (__getcontext): Remove setting __flags field.
625         Add versioning.
626         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
627         Don't restore upper high grps.
628         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
629         Likewise.
630         (__swapcontext): Remove setting uc_flags field.
631         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
632         Delete file.
633         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
634         Include __longjmp.c.
635         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
636         Move to ...
637         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
638         (__getcontext): Remove setting __flags field.
639         Add versioning.
640         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
641         (__swapcontext): Remove setting uc_flags field.
642         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
643         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
644         Remove fields uc_high_gprs and __reserved.
645         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
646         New file with reverted content.
647         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
648         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
649         Regenerated.
650         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
651         Regenerated.
653 2014-07-31  Andreas Schwab  <schwab@suse.de>
655         * config.h.in (HAVE_IFUNC): Define to 0.
656         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
657         definedness.
659 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
662         memmove-avx-unaligned, memcpy-avx-unaligned and
663         mempcpy-avx-unaligned.
664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
665         Add tests for AVX memcpy functions.
666         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
667         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
668         memcpy_chk.
669         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
670         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
671         memmove_chk.
672         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
673         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
674         mempcpy_chk.
675         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
676         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
677         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
679 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
681         [BZ #17213]
682         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
683         powerpc64le.
685 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
687         [BZ #16839]
688         * manual/llio.texi: Add section about open file description locks.
689         * manual/examples/ofdlocks.c: Example of open file description
690         lock usage.
691         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
692         F_OFD_SETLK, and F_OFD_SETLKW.
694 2014-07-23  Allan McRae  <allan@archlinux.org>
696         * po/es.po: Update Spanish translation from translation project.
698 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
700         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
702 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
704         [BZ #17078]
705         * sysdeps/arm/dl-machine.h (elf_machine_rela)
706         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
707         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
709 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
711         [BZ #17088]
712         * math/fesetenv.c (__fesetenv)
713         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
714         * math/feupdateenv.c (__feupdateenv)
715         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
717         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
718         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
719         (__ASSUME_SOCKETCALL): Do not define.
721         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
722         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
723         (__ASSUME_SOCKETCALL): Do not define.
724         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
725         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
726         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
727         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
728         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
729         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
730         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
731         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
733         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
734         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
735         (__ASSUME_SOCKETCALL): Do not define.
736         (__ASSUME_IPC64): Define unconditionally.
737         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
738         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
739         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
740         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
741         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
742         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
743         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
744         Likewise.
746         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
747         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
748         (__ASSUME_SOCKETCALL): Do not define.
749         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
750         (__ASSUME_FUTEX_LOCK_PI): Likewise.
751         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
752         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
753         (__ASSUME_REQUEUE_PI): Define unconditionally.
754         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
755         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
756         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
757         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
758         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
759         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
761         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
762         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
763         (__ASSUME_SOCKETCALL): Do not define.
764         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
765         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
766         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
767         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
769         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
771         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
772         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
773         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
774         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
775         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
776         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
777         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
778         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
779         (__ASSUME_GETCPU_SYSCALL): Likewise.
781         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
782         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
783         cases for individual architectures.
784         * sysdeps/gnu/configure: Regenerated.
785         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
786         LIBC_SLIBDIR_RTLDDIR.
787         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
788         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
789         LIBC_SLIBDIR_RTLDDIR.
790         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
792         LIBC_SLIBDIR_RTLDDIR.
793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
794         Regenerated.
795         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
796         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
797         file.
798         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
799         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
800         file.
801         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
802         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
803         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
804         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
806         * sysdeps/aarch64/shlib-versions: Move to ...
807         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
808         * sysdeps/alpha/shlib-versions: Move to ...
809         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
810         * sysdeps/arm/shlib-versions: Move to ...
811         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
812         * sysdeps/hppa/shlib-versions: Move all contents except for
813         libgcc_s entry to ...
814         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
815         entry from ...
816         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
817         * sysdeps/ia64/shlib-versions: Move to ...
818         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
819         entry from ...
820         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
821         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
822         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
823         * sysdeps/microblaze/shlib-versions: Move to ...
824         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
825         * sysdeps/mips/shlib-versions: Move to ...
826         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
827         entry from ...
828         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
829         * sysdeps/tile/shlib-versions: Move to ...
830         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
831         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
832         from ...
833         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
834         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
835         entry from ...
836         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
838 2014-07-17  Will Newton  <will.newton@linaro.org>
840         * sysdeps/arm/bits/atomic.h
841         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
842         (__arch_compare_and_exchange_bool_16_int): Likewise.
843         (__arch_compare_and_exchange_bool_64_int): Likewise.
845         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
846         into an #else block.
848 2014-07-16  Roland McGrath  <roland@hack.frob.com>
850         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
851         just Linux configurations.  Test empirically that the compiler sets
852         __ARM_EABI__, rather than using the tuple to decide.
853         * sysdeps/arm/preconfigure: Regenerated.
854         * sysdeps/unix/sysv/linux/arm/configure: File removed.
855         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
856         contents appended ...
857         * sysdeps/arm/configure.ac: ... here.
858         * sysdeps/arm/configure: Regenerated.
860 2014-07-15  Roland McGrath  <roland@hack.frob.com>
862         * nptl/pthread_kill.c: New file.
863         * nptl/pthread_sigmask.c: New file.
864         * nptl/pthread_sigqueue.c: New file.
866         * sysdeps/nptl/lowlevellock.h: New file.
867         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
868         * sysdeps/nptl/lowlevellock-futex.h: New file.
870         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
871         Remove dead declarations.
873 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
875         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
876         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
877         config-cflags-avx2.
878         * sysdeps/x86_64/configure.ac: Likewise.
879         * sysdeps/i386/configure: Regenerated.
880         * sysdeps/x86_64/configure: Likewise.
881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
882         memset-avx2 only if config-cflags-avx2 is yes.
883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
884         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
885         defined.
886         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
887         only if HAVE_AVX2_SUPPORT is defined.
888         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
890 2014-07-14  Alan Modra  <amodra@gmail.com>
892         [BZ #17153]
893         * elf/elf.h (DT_PPC64_NUM): Correct value.
894         * NEWS: Add to fixed bug list.
896 2014-07-13  Jim Meyering  <meyering@fb.com>
898         [BZ 17150]
899         regex: don't deref NULL upon heap allocation failure
900         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
901         failure in one more place.
902         To trigger the segfault, configure grep -with-included-regex,
903         build it, and run these commands:
904         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
906 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
908         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
910 2014-07-11  Richard Henderson  <rth@redhat.com>
912         * sysdeps/aarch64/libm-test-ulps: Update.
914 2014-07-10  Florian Weimer  <fweimer@redhat.com>
916         [BZ #17135]
917         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
918         * nptl/allocatestack.c (__nptl_setxid_error): New function.
919         (__nptl_setxid): Initialize error member.  Call
920         __nptl_setxid_error.
921         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
922         * nptl/descr.h (struct xid_command): Add error member.
923         * nptl/tst-setuid3.c: New file.
924         * nptl/Makefile (tests): Add it.
926 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
928         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
929         New define.
930         (__lll_trylock): Use __lll_base_trylock.
931         (__lll_cond_trylock): Likewise.
933 2014-07-10  Roland McGrath  <roland@hack.frob.com>
935         * nptl/pthread_create.c (start_thread): Use atomic_or and
936         lll_futex_wake directly rather than lll_robust_dead.
937         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
938         (lll_robust_dead): Macro removed.
939         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
940         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
941         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
942         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
943         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
944         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
945         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
946         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
947         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
948         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
949         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
950         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
951         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
952         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
953         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
955         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
956         Use atomic_compare_and_exchange_val_acq directly rather than
957         lll_robust_trylock.
958         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
959         (__lll_robust_trylock, lll_robust_trylock): Removed.
960         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
961         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
962         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
963         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
964         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
965         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
966         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
967         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
968         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
969         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
970         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
971         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
972         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
973         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
975 2014-07-02  Florian Weimer  <fweimer@redhat.com>
977         * manual/locale.texi (Locale Names): New section documenting
978         locale name syntax.  Adjust menu and node chaining accordingly.
979         (Choosing Locale): Reference Locale Names, Locale Categories.
980         Mention setting LC_ALL=C.  Reflect that name syntax is now
981         documented.
982         (Locale Categories): New section title.  Reference Locale Names.
983         LC_ALL is an environment variable, but not a category.
984         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
985         description, now in Locale Name.  Reference that section.  Locale
986         name syntax is now documented.
988 2014-07-02  Florian Weimer  <fweimer@redhat.com>
990         [BZ #17137]
991         * locale/findlocale.c (name_present, valid_locale_name): New
992         functions.
993         (_nl_find_locale): Use the loc_name variable to store name
994         candidates.  Call name_present and valid_locale_name to check and
995         validate locale names.  Return an error if the locale is invalid.
997 2014-07-02  Florian Weimer  <fweimer@redhat.com>
999         * locale/setlocale.c (setlocale): Use strdup for allocating
1000         composite name copy.
1002 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1004         Sync up with gnulib.
1005         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1006         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1007         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1008         and _GL_ARG_NONNULL.
1009         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1010         [!_LIBC]: Include code for Windows and Cygwin.
1011         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1012         Include prototype for int strerror_r.
1013         [!_LIBC] (is_open): New function.
1014         (flush_stdout): New function.
1015         (print_errno_message): Use it.
1016         (error): Likewise.
1017         (error_at_line): Likewise.
1018         (error_tail) Add function attribute macros.  Use
1019         __builtin_expect.
1021         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1023         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1025         * io/ftw.c: Include sys/param.h unconditionally.
1027         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1029         [BZ #17125]
1030         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1031         libc_freeres_ptr.
1032         (freecache): New function to free CACHE on exit.
1034         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1035         initialization.
1037 2014-07-09  David S. Miller  <davem@davemloft.net>
1039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1041         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1042         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1043         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1044         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1045         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1046         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1047         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1048         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1049         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1050         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1051         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1052         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1053         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1055 2014-07-09  Andreas Schwab  <schwab@suse.de>
1057         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1058         output.
1059         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1060         (do_test): Likewise.
1062         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1064 2014-07-09  Will Newton  <will.newton@linaro.org>
1066         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1067         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1068         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1069         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1070         * sysdeps/hppa/start.S (_start): Likewise.
1072 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1074         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1076         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1077         defined.
1079 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1081         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1082         after checking that it is non-NULL.
1084         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1086 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1088         * sysdeps/powerpc/memmove.c: Remove file.
1089         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1090         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1091         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1092         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1093         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1094         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1095         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1096         string memmove instead of removed powerpc one.
1098         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1099         [weak_alias]: Fix compiler warning due trailing data.
1100         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1101         [weak_alias]: Likewise.
1102         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1103         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1106         (__libc_ifunc_impl_list): Add memmove functions.
1108 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1110         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1111         Remove code.
1112         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1113         Likewise
1114         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1115         Likewise
1116         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1117         Likewise
1118         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1119         Likewise
1120         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1121         Likewise
1122         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1123         Likewise
1124         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1125         Likewise
1126         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1127         Likewise
1128         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1129         Likewise
1130         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1131         Likewise
1132         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1133         Likewise
1134         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1135         Likewise
1136         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1137         Likewise
1138         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1139         Likewise
1140         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1141         Likewise
1142         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1143         Likewise
1145 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1147         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1148         to avoid alignment traps in non-cacheable memory.
1149         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1152         multiarch objects.
1153         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1154         file: multiarch power7 memmove.
1155         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1156         multiarch default memmove.
1157         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1158         multiarch memove for powerpc32/power4.
1160         * string/bcopy.c: Use full path to include memmove.c.
1161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1162         multiarch objects.
1163         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1164         bcopy for powerpc64.
1165         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1166         bcopy for powerpc64.
1167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1168         and memmove implementations.
1169         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1170         optimized multiarch memmove for POWER7/powerpc64.
1171         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1172         default multiarch memmove for powerpc64.
1173         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1174         multiarch for powerpc64.
1175         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1176         for POWER7/powerpc64.
1177         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1178         memmove for POWER7/powerpc64.
1180         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1181         glibc default one.
1183         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1184         __ELF_NATIVE_CLASS equal to 64.
1186 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1188         * sysdeps/nptl/lowlevellock.h: File removed.
1190         * NEWS: NPTL is no longer an add-on!
1191         * nptl/internaltypes.h: Moved ...
1192         * sysdeps/nptl/internaltypes.h: ... here.
1193         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1194         * sysdeps/nptl/fork.c: Likewise.
1195         * sysdeps/nptl/gai_misc.h: Likewise.
1196         * sysdeps/nptl/librt-cancellation.c: Likewise.
1197         * sysdeps/nptl/jmp-unwind.c: Likewise.
1198         * sysdeps/nptl/setxid.h: Likewise.
1199         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1200         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1201         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1202         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1203         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1204         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1205         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1206         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1207         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1208         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1209         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1210         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1211         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1212         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1213         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1214         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1215         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1216         * nptl/Makeconfig: Moved ...
1217         * sysdeps/nptl/Makeconfig: ... here.
1218         * nptl/configure: File removed.
1219         * nptl/ANNOUNCE: File removed.
1220         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1221         * sysdeps/unix/sysv/linux/configure: Regenerated.
1223         * nptl/Makefile (routines): Add libc_pthread_init,
1224         libc_multiple_threads, register-atfork and unregister-atfork.
1225         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1226         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1227         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1228         pthread-pi-defines.sym, structsem.sym.
1229         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1230         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1231         [$(subdir) = nptl] (tests): Add tst-setgetname.
1232         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1233         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1234         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1235         [!LIBC_SIGACTION]: Remove aliases.
1236         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1237         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1238         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1239         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1240         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1241         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1242         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1243         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1244         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1245         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1246         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1247         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1248         __libc_allocate_rtsig_private.
1249         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1250         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1251         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1252         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1253         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1254         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1255         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1256         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1257         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1258         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1259         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1260         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1261         * nptl/internaltypes.h: ... here.
1262         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1263         * sysdeps/nptl/jmp-unwind.c: ... here.
1264         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1265         * nptl/libc-lowlevellock.c: ... here.
1266         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1267         * nptl/libc_multiple_threads.c: ... here.
1268         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1269         * nptl/libc_pthread_init.c: ... here.
1270         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1271         * nptl/lowlevelbarrier.sym: ... here.
1272         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1273         * nptl/lowlevelcond.sym: ... here.
1274         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1275         * nptl/lowlevellock.c: ... here.
1276         * nptl/lowlevellock.h: Moved ...
1277         * sysdeps/nptl/lowlevellock.h: ... here.
1278         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1279         * nptl/lowlevelrobustlock.c: ... here.
1280         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1281         * nptl/lowlevelrobustlock.sym: ... here.
1282         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1283         * nptl/lowlevelrwlock.sym: ... here.
1284         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1285         * nptl/pt-fork.c: ... here.
1286         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1287         * nptl/pthread-pi-defines.sym: ... here.
1288         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1289         * nptl/pthread_attr_getaffinity.c: ... here.
1290         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1291         * nptl/pthread_attr_setaffinity.c: ... here.
1292         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1293         * nptl/pthread_mutex_cond_lock.c: ... here.
1294         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1295         Update #include.
1296         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1297         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1298         * nptl/pthread_once.c: ... here, replacing old file.
1299         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1300         * nptl/pthread_yield.c: ... here.
1301         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1302         * nptl/register-atfork.c: ... here.
1303         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1304         * nptl/sem_post.c: ... here.
1305         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1306         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1307         * nptl/sem_timedwait.c: ... here.
1308         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1309         * nptl/sem_trywait.c: ... here.
1310         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1311         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1312         * nptl/sem_wait.c: ... here.
1313         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1314         * nptl/structsem.sym: ... here.
1315         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1316         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1317         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1318         * nptl/unregister-atfork.c: ... here.
1319         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1320         * nptl/unwindbuf.sym: ... here.
1321         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1322         * sysdeps/nptl/fork.c: ... here.
1323         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1324         * sysdeps/nptl/fork.h: ... here.
1325         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1326         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1327         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1328         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1329         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1330         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1331         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1332         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1333         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1334         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1335         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1336         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1337         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1338         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1339         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1340         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1341         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1342         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1343         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1344         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1345         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1346         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1347         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1348         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1349         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1350         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1351         * sysdeps/unix/sysv/linux/raise.c: ... here.
1352         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1353         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1354         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1355         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1356         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1357         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1358         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1359         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1360         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1361         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1362         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1363         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1364         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1365         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1366         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1368 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1370         * sysdeps/generic/memcopy.h: Add comment for
1371         MEMCPY_OK_FOR_FWD_MEMMOVE.
1373 2014-07-04  Will Newton  <will.newton@linaro.org>
1375         * string/memchr.c: Merge from gnulib.
1376         [_LIBC]: Remove conditionals.
1377         (__ptr_t): Remove define.
1378         (LONG_MAX_32_BITS): Likewise.
1379         (LONG_MAX): Likewise.
1380         (MEMCHR): Use ANSI prototype and optimize algorithm.
1382         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1384 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1386         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1387         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1389         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1390         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1391         in a bare environment with no <stdlib.h> installed.
1392         * sysdeps/nptl/configure: Regenerated.
1394         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1396         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1397         AC_EGREP_CPP for kernel header checks, so they only succeed if
1398         including <linux/version.h> actually works right.
1399         * sysdeps/unix/sysv/linux/configure: Regenerated.
1401         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1402         value so it's not diagnosed as unused.
1404         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1405         thing) with "ifeq ($(subdir),rt)".
1407 2014-07-03  Richard Henderson  <rth@redhat.com>
1409         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1410         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1411         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1413         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1414         (math_force_eval): New.
1416         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1417         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1419         * sysdeps/alpha/fpu/s_round.c: Remove file.
1420         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1422         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1423         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1424         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1425         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1426         (_dl_start, print_statistics): Likewise.
1427         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1428         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1430         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1431         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1432         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1433         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1434         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1435         (HP_SMALL_TIMING_AVAIL): Define.
1436         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1437         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1438         (HP_SMALL_TIMING_AVAIL): Define.
1439         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1440         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1442         * sysdeps/aarch64/hp-timing.h: New file.
1444         * sysdeps/generic/hp-timing.h: Remove dead comment.
1445         * sysdeps/generic/hp-timing-common.h: New file.
1446         * sysdeps/alpha/hp-timing.h: Include it.
1447         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1448         * sysdeps/i386/i686/hp-timing.h: Likewise.
1449         * sysdeps/ia64/hp-timing.h: Likewise.
1450         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1451         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1452         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1453         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1454         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1455         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1456         (hp_timing_t): New.
1458         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1459         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1460         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1461         * elf/rtld.c (_dl_start_final): Likewise.
1462         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1463         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1464         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1465         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1466         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1467         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1468         (HP_TIMING_DIFF_INIT): Remove.
1469         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1470         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1471         (HP_TIMING_DIFF_INIT): Remove.
1472         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1473         * sysdeps/i386/i686/hp-timing.c: Remove file.
1474         * sysdeps/x86_64/hp-timing.c: Remove file.
1475         * sysdeps/ia64/hp-timing.c: Remove file.
1476         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1477         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1478         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1479         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1481         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1482         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1483         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1484         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1486         (HP_TIMING_ACCUM): Remove.
1487         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1488         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1489         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1491         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1492         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1493         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1494         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1495         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1496         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1497         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1498         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1500         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1502 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1504         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1506 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1508         Sync up with gettext.
1509         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1510         [_MSC_VER]: Include malloc.h
1511         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1512         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1513         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1514         TEMP_FAILURE_RETRY.  Cast return of alloca.
1515         [!_LIBC] Call gl_rwlock_init.
1516         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1518 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1520         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1521         before checking its value.
1523 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1525         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1527         * debug/memcpy_chk.c: Don't include pagecopy.h.
1528         * debug/mempcpy_chk.c: Likewise.
1529         * string/memcpy.c: Likewise.
1530         * string/memmove.c: Likewise.
1531         * sysdeps/powerpc/memmove.c: Likewise.
1532         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1533         definition of PAGE_COPY_FWD_MAYBE here...
1534         * sysdeps/generic/pagecopy.h: ... from here.
1535         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1537 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1538             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1540         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1542         optimizations.
1543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1544         (__libc_ifunc_impl_list): Likewise.
1545         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1546         multiarch strcat for PPC64.
1547         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1548         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1550 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1552         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1554 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1556         * intl/loadmsgcat.c: Remove declaration of
1557         get_sysdep_segment_value.
1558         (get_sysdep_segment_value): Use ISO C style.
1559         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1560         semicolon.  Fix typo and formatting in comment.
1561         (_nl_unload_domain): Use ISO C style.
1563         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1565 2014-07-02  Will Newton  <will.newton@linaro.org>
1567         * malloc/obstack.c: Merge from gnulib master.
1568         [HAVE_CONFIG_H]: Remove conditional code.
1569         [!_LIBC]: Include config.h.
1570         [!ELIDE_CODE]: Don't include inttypes.h, include
1571         stdint.h unconditionally.
1572         (print_and_abort): Mark as _Noreturn.
1573         (_obstack_allocated_p): Mark as __attribute_pure__.
1574         (obstack_free): Rename to __obstack_free.
1575         [!__attribute__]: Remove conditional code.
1576         * malloc/obstack.h: Merge from gnulib master.
1577         [__cplusplus]: Move conditional down.
1578         [!__attribute_pure__]: Define __attribute_pure__ here
1579         if it is not already defined.
1580         (_obstack_memory_used): Mark as __attribute_pure__.
1581         [!__obstack_free]: Define as obstack_free.
1582         [__GNUC__]: Remove check for ancient NeXT gcc.
1584 2014-07-02  Will Newton  <will.newton@linaro.org>
1585             Paul Eggert  <eggert@cs.ucla.edu>
1587         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1589 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1591         * resolv/gethnamaddr.c: Add comment warning that the file is
1592         not maintained.
1594 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1596         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1597         entries.
1599         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1600         entry for aio_cancel and aio_cancel64.
1601         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1602         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1603         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1604         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1605         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1606         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1607         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1608         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1609         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1610         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1611         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1612         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1613         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1615 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1617         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1618         * nptl/pthread_mutex_lock.c: Likewise.
1619         * nptl/pthread_mutex_timedlock.c: Likewise.
1620         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1622 2014-07-01  Richard henderson  <rth@redhat.com>
1624         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1625         (__isnan, __isnanl): Remove.
1626         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1628         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1630 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1632         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1634 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1636         * resolv/nss_dns/dns-host.c (getanswer_r)
1637         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1639 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1641         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1642         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1643         undefine.
1644         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1645         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1647 2014-07-01  Roland McGrath <roland@hack.frob.com>
1649         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1650         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1652         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1653         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1655         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1656         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1657         ... here.
1658         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1659         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1661         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1662         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1663         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1664         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1666         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1667         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1668         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1669         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1670         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1671         Moved ...
1672         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1673         ... here.
1674         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1675         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1676         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1677         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1678         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1679         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1680         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1681         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1682         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1683         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1684         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1685         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1686         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1687         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1688         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1689         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1690         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1691         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1692         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1693         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1694         ... here.
1695         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1696         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1697         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1698         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1699         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1700         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1701         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1702         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1704 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1706         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1707         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1708         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1709         Add sysdep.
1711 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1715 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1717         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1718         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1720         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1722         * sysdeps/arm/libm-test-ulps: Regenerated.
1724 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1725             Roland McGrath <roland@hack.frob.com>
1727         * test-skeleton.c (signal_handler): Kill the whole process group
1728         before killing the child individually.
1729         (main): Report any failure on `setpgid'.
1731 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1733         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1734         from _TLS_H to _ARM_NPTL_TLS_H.
1735         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1736         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1738 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1740         [BZ #16539]
1741         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1742         (__expm1l): Return argument unchanged when small but not
1743         subnormal.
1745         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1746         include macro name.
1747         (_FP_UNPACK_RAW_1_P): Likewise.
1748         (_FP_PACK_RAW_1): Likewise.
1749         (_FP_PACK_RAW_1_P): Likewise.
1750         (_FP_MUL_MEAT_1_wide): Likewise.
1751         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1752         (_FP_MUL_MEAT_1_hard): Likewise.
1753         (_FP_DIV_MEAT_1_imm): Likewise.
1754         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1755         (_FP_DIV_MEAT_1_udiv): Likewise.
1756         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1757         (_FP_UNPACK_RAW_2): Likewise.
1758         (_FP_UNPACK_RAW_2_P): Likewise.
1759         (_FP_PACK_RAW_2): Likewise.
1760         (_FP_PACK_RAW_2_P): Likewise.
1761         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1762         (_FP_MUL_MEAT_2_wide): Likewise.
1763         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1764         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1765         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1766         (_FP_MUL_MEAT_2_gmp): Likewise.
1767         (_FP_DIV_MEAT_2_udiv): Likewise.
1768         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1769         (_FP_FRAC_SRL_4): Likewise.
1770         (_FP_FRAC_SRST_4): Likewise.
1771         (_FP_FRAC_SRS_4): Likewise.
1772         (_FP_UNPACK_RAW_4): Likewise.
1773         (_FP_UNPACK_RAW_4_P): Likewise.
1774         (_FP_PACK_RAW_4): Likewise.
1775         (_FP_PACK_RAW_4_P): Likewise.
1776         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1777         (_FP_MUL_MEAT_4_wide): Likewise.
1778         (_FP_MUL_MEAT_4_gmp): Likewise.
1779         (umul_ppppmnnn): Likewise.
1780         (_FP_DIV_MEAT_4_udiv): Likewise.
1781         (__FP_FRAC_ADD_4): Likewise.
1782         (__FP_FRAC_SUB_3): Likewise.
1783         (__FP_FRAC_SUB_4): Likewise.
1784         (__FP_FRAC_DEC_3): Likewise.
1785         (__FP_FRAC_DEC_4): Likewise.
1786         (__FP_FRAC_ADDI_4): Likewise.
1787         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1788         (_FP_FRAC_SRL_8): Likewise.
1789         (_FP_FRAC_SRS_8): Likewise.
1791         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1792         include macro name.
1793         (FP_UNPACK_RAW_EP): Likewise.
1794         (FP_PACK_RAW_E): Likewise.
1795         (FP_PACK_RAW_EP): Likewise.
1796         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1797         (_FP_ISSIGNAN): Likewise.
1798         (_FP_ADD_INTERNAL): Likewise.
1799         (_FP_FMA): Likewise.
1800         (_FP_CMP): Likewise.
1801         (_FP_SQRT): Likewise.
1802         (_FP_TO_INT): Likewise.
1803         (_FP_FROM_INT): Likewise.
1804         (FP_EXTEND): Likewise.
1805         (_FP_DIV_MEAT_N_loop): Likewise.
1807 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1809         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1810         throughout.
1812 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1814         [BZ #17097]
1815         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1816         result with correct sign in case of exponents that produce
1817         overflow except for X very close to 1.
1819 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1821         mktime: merge #if/#ifdef usage from glibc
1822         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1823         as that works with both Glibc's and Gnulib's style.
1824         See thread starting at Siddhesh Poyarekar's bug report at:
1825         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1827 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1829         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1830         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1831         * sysdeps/tile/tilegx/memmove.c: Remove file.
1833 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1835         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1836         abi-name definition.
1837         * scripts/soversions.awk: Do not handle or generate ABI lines.
1838         * shlib-versions: Remove ABI entries.
1839         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1840         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1842 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1844         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1845         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1846         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1847         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1849         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1851         Moved ...
1852         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1853         ... here.
1854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1855         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1856         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1857         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1858         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1859         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1861         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1863         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1864         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1865         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1866         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1867         Moved ...
1868         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1869         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1870         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1872         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1873         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1874         Moved ...
1875         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1877         Moved ...
1878         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1880         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1882         Moved ...
1883         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1885         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1887         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1889         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1891         Moved ...
1892         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1894         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1895         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1896         Moved ...
1897         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1898         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1899         Moved ...
1900         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1901         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1902         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1903         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1904         Moved ...
1905         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1906         ... here.
1907         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1908         Identical file removed.
1909         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1910         Moved ...
1911         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1912         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1913         Identical file removed.
1914         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1915         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1916         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1917         Moved ...
1918         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1919         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1920         Identical file removed.
1921         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1924         Identical file removed.
1925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1926         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1928         Identical file removed.
1929         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1930         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1931         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1932         Identical file removed.
1933         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1934         Moved ...
1935         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1937         Identical file removed.
1938         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1939         Moved ...
1940         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1941         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1942         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1943         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1944         Identical file removed.
1945         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1946         Moved ...
1947         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1948         ... here.
1949         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1950         Identical file removed.
1951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1952         Moved ...
1953         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1955         Identical file removed.
1956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1957         Moved ...
1958         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1959         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1964         Moved ...
1965         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1966         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1967         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1969         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1970         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1971         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1972         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1973         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1975 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1977         [BZ #17092]
1978         * nscd/nscd.c (monitor_child): Return exit status of child
1979         instead of return value from wait syscall.
1981 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1983         * configure.ac (libc_commonpagesize): Remove variable.
1984         (libc_relro_required): Likewise.
1985         (libc_cv_z_relro): Remove configure test.
1986         * configure: Regenerated.
1987         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1988         variable.
1989         (libc_relro_required): Likewise.
1990         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1991         (libc_relro_required): Likewise.
1992         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1993         (libc_relro_required): Likewise.
1994         * sysdeps/arm/preconfigure: Regenerated.
1995         * sysdeps/ia64/preconfigure: Remove file.
1996         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1997         variable.
1998         (libc_relro_required): Likewise.
2000         [BZ #16561]
2001         [BZ #16562]
2002         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2003         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2004         recompute overflowing results in original rounding mode.
2005         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2006         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2007         recompute overflowing results in original rounding mode.
2008         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2009         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2010         recompute overflowing results in original rounding mode.
2011         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2012         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2013         recompute overflowing results in original rounding mode.
2014         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2015         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2016         recompute overflowing results in original rounding mode.
2017         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2018         (libc_feholdsetround_ctx): New macro.
2019         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2020         * sysdeps/i386/fpu/libm-test-ulps: Update.
2021         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2023 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2025         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2026         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2027         corresponding .cpsetup call.
2029 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2031         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2032         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2033         * sysdeps/arm/Makefile [$(subdir) = csu]
2034         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2035         (static-only-routines): Add aeabi_read_tp here.
2036         (shared-only-routines): Add libc-aeabi_read_tp here.
2037         (CFLAGS-libc-start.c): Add -fexceptions here.
2038         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2039         (sysdep_routines, static-only-routines, shared-only-routines):
2040         Don't add to these here.
2041         (CFLAGS-libc-start.c): Likewise.
2043         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2044         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2045         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2046         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2047         * sysdeps/arm/Makefile [$(subdir) = rt]
2048         (librt-sysdep_routines, librt-shared-only-routines):
2049         Append rt-aeabi_unwind_cpp_pr1 here.
2050         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2051         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2052         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2053         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2054         Append nptl-aeabi_unwind_cpp_pr1 here.
2055         (tests): Filter out tst-cleanupx4 here.
2056         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2057         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2058         Don't do those here.
2060 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2062         * scripts/list-sources.sh: Do not handle ports specially.
2064 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2066         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2067         * sysdeps/arm/feupdateenv.c: Likewise.
2069         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2071 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2073         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2074         trailing whitespace removed.
2075         * scripts/config.guess: Update to version 2014-03-23.
2076         * scripts/config.sub: Update to version 2014-05-01
2077         * scripts/install-sh: Update to version 2013-12-25.23.
2078         * scripts/move-if-change: Update from gnulib.
2080 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2082         * debug/memmove_chk.c: Remove pagecopy.h include.
2084 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2086         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2087         identical to gnulib mktime.
2089 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2091         * configure.ac: Do not test for machine being rs6000.  Do not test
2092         for powerpc*-*soft.
2093         * configure: Regenerated.
2095         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2096         test.
2097         * configure: Regenerated.
2098         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2099         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2100         Remove configure test.
2101         * sysdeps/arm/configure: Regenerated.
2102         * sysdeps/nptl/configure.ac: Do not check
2103         libc_cv_asm_cfi_directives.
2104         * sysdeps/nptl/configure: Regenerated.
2105         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2106         * sysdeps/x86_64/nptl/configure: Remove generated file.
2107         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2108         unconditional.
2109         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2111 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2113         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2114         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2115         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2116         it is defined.
2118         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2119         instead of whether it is defined.
2120         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2121         * sysdeps/hppa/dl-machine.h: Likewise.
2122         * sysdeps/ia64/dl-machine.h: Likewise.
2123         * sysdeps/m68k/dl-machine.h: Likewise.
2124         * sysdeps/microblaze/dl-machine.h: Likewise.
2125         * sysdeps/mips/dl-machine.: Likewise.
2126         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2127         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2128         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2129         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2130         * sysdeps/sh/dl-machine.h: Likewise.
2131         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2132         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2133         * sysdeps/tile/dl-machine.h: Likewise.
2134         * sysdeps/x86_64/dl-machine.h: Likewise.
2136         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2137         code.
2138         (verify_persistent_db): Likewise.
2140 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2143         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2145         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2147         Moved ...
2148         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2149         ... here.
2150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2151         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2153         Identical file removed.
2154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2155         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2157         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2159         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2161         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2163         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2165         Moved ...
2166         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2168         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2170         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2172         Moved ...
2173         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2175         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2177         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2179         Identical file removed.
2180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2181         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2183         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2185         Moved ...
2186         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2187         ... here.
2188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2189         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2191         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2193         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2195         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2197         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2199         Moved ...
2200         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2202         Moved ...
2203         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2205         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2207         Moved ...
2208         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2210         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2212         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2213         folded into ...
2214         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2215         * sysdeps/unix/sysv/linux/s390/Versions
2216         (libpthread: GLIBC_2.19): New version set.
2217         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2218         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2219         (librt: GLIBC_2.3.3): New version set.
2220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2221         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2222         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2223         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2224         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2225         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2226         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2227         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2228         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2229         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2230         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2231         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2232         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2233         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2234         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2235         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2236         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2237         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2238         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2239         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2240         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2241         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2242         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2243         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2244         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2245         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2246         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2247         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2248         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2249         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2250         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2251         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2252         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2253         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2254         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2255         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2256         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2257         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2258         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2259         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2260         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2262         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2264         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2266         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2267         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2268         (__libc_vfork): Define the function under this name.
2269         [!NOT_IN_libc] (__vfork): Make this an alias.
2270         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2271         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2272         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2273         (__libc_vfork): Define the function under this name.
2274         [!NOT_IN_libc] (__vfork): Make this an alias.
2275         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2276         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2277         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2279         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2280         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2282         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2283         code that was previously under [RESET_PID].
2284         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2285         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2288         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2289         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2290         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2291         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2292         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2293         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2294         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2295         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2296         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2297         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2298         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2299         Moved ...
2300         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2302         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2303         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2304         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2305         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2306         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2307         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2308         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2312         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2313         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2314         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2315         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2316         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2317         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2322         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2324         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2325         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2326         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2327         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2328         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2330 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2332         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2333         that was previously under [RESET_PID].
2334         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2336 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2338         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2339         not undefine and redefine.
2340         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2341         [O_CLOEXEC]: Make code unconditional.
2342         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2343         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2344         <kernel-features.h>.
2345         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2346         conditional variable definition.
2347         (shm_open) [O_CLOEXEC]: Make code unconditional.
2348         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2349         code.
2351         * configure.ac (USE_REGPARMS): Don't define here.
2352         * configure: Regenerated.
2353         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2354         * sysdeps/i386/configure: Regenerated.
2356         * nptl/createthread.c: Don't include kernel-features.h.
2357         * nptl/pthread_cancel.c: Likewise.
2358         * nptl/pthread_condattr_setclock.c: Likewise.
2359         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2360         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2361         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2362         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2363         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2364         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2365         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2367         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2368         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2369         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2370         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2371         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2372         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2373         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2374         * nscd/gai.c: Likewise.
2375         * nss/nss_db/db-open.c: Likewise.
2376         * sysdeps/generic/ldsodefs.h: Likewise.
2377         * sysdeps/sh/nptl/tls.h: Likewise.
2378         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2379         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2380         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2381         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2382         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2383         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2384         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2385         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2386         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2387         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2388         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2389         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2390         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2391         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2392         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2393         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2394         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2395         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2396         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2397         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2398         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2399         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2400         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2401         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2402         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2405         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2406         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2407         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2408         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2409         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2410         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2411         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2412         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2413         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2414         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2415         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2416         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2417         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2418         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2419         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2420         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2421         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2422         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2423         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2424         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2425         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2426         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2427         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2428         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2429         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2430         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2431         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2432         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2433         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2434         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2435         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2458         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2459         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2460         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2461         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2462         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2463         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2464         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2465         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2466         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2467         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2468         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2469         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2470         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2471         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2472         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2473         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2474         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2475         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2476         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2477         * sysdeps/unix/sysv/linux/system.c: Likewise.
2478         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2479         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2480         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2481         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2482         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2483         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2484         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2486         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2487         * configure: Regenerated.
2488         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2490         * configure.ac (base_machine): Do not set specially for particular
2491         machines here.
2492         * configure: Regenerated.
2493         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2494         settings from configure.ac.
2495         * sysdeps/i386/preconfigure: New file.
2496         * sysdeps/s390/preconfigure: Likewise.
2497         * sysdeps/sh/preconfigure: Likewise.
2498         * sysdeps/sparc/preconfigure: Likewise.
2500 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2502         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2503         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2504         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2505         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2506         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2507         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2508         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2509         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2510         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2511         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2512         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2513         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2514         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2515         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2516         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2517         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2518         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2519         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2520         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2522         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2523         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2524         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2525         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2526         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2527         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2528         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2529         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2530         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2531         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2532         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2533         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2534         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2535         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2536         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2537         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2538         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2539         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2540         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2541         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2542         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2543         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2544         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2545         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2546         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2547         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2548         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2549         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2551         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2552         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2553         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2554         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2555         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2556         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2557         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2558         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2559         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2562         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2564         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2566         Moved ...
2567         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2568         ... here.
2569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2570         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2572         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2574         Moved ...
2575         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2577         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2579         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2581         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2583         Moved ...
2584         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2586         Moved ...
2587         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2589         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2591         Moved ...
2592         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2594         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2596         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2598         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2600         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2602         Moved ...
2603         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2604         ... here.
2605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2606         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2608         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2610         Moved ...
2611         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2613         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2615         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2617         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2619         Moved ...
2620         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2622         Moved ...
2623         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2625         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2627         Moved ...
2628         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2630         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2632         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2634 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2636         * timezone/checktab.awk: Update from tzcode 2014e.
2637         * timezone/private.h: Likewise.
2638         * timezone/tzfile.h: Likewise.
2639         * timezone/zdump.c: Likewise.
2640         * timezone/zic.c: Likewise.
2642         * sysdeps/unix/sysv/linux/kernel-features.h
2643         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2644         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2645         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2646         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2647         Remove conditional code.
2649 2014-06-25  Will Newton  <will.newton@linaro.org>
2651         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2652         (_dl_arm_cap_flags): Add HWCAP2 values.
2653         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2654         (_DL_HWCAP_COUNT): Increase to 37.
2655         (_DL_HWCAP_LAST): New define.
2656         (_DL_HWCAP2_LAST): New define.
2657         (_dl_procinfo): Add support for printing
2658         AT_HWCAP2 entries.
2659         (_dl_string_hwcap): Use _dl_hwcap_string.
2661 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2665 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2667         * README: Do not mention ports directory.
2669         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2670         Remove macro.
2671         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2672         <kernel-features.h>.
2673         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2674         conditional variable definition.
2675         (__futimes): Update comment.
2676         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2677         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2679         [BZ #16560]
2680         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2681         arguments close to 0.
2682         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2683         Likewise.
2684         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2685         Likewise.
2686         * math/auto-libm-test-in: Add more tests of exp10.
2687         * math/auto-libm-test-out: Regenerated.
2688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2690         * sysdeps/unix/sysv/linux/kernel-features.h
2691         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2692         * sysdeps/unix/sysv/linux/readv.c: Do not include
2693         <kernel-features.h>.
2694         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2695         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2696         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2697         unconditional.
2698         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2699         conditional code.
2700         * sysdeps/unix/sysv/linux/writev.c: Do not include
2701         <kernel-features.h>.
2702         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2703         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2704         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2705         unconditional.
2706         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2707         conditional code.
2709 2014-06-25  Will Newton  <will.newton@linaro.org>
2711         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2712         comment changes throughout the file.  Remove checks
2713         for HAVE_*_H definitions that are not required.
2714         (__gen_tempname): Call abort if an unknown kind value is
2715         passed.
2717 2014-06-25  Andreas Schwab  <schwab@suse.de>
2719         [BZ #17086]
2720         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2721         scalbln, scalblnf, scalblnl in libc.
2723 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2725         [BZ #17086]
2726         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2727         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2728         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2730 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2732         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2733         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2734         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2735         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2736         Update #include.
2737         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2738         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2739         Update #include.
2740         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2741         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2742         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2743         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2744         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2745         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2746         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2747         * sysdeps/x86/bits/semaphore.h: ... here.
2748         * sysdeps/x86/nptl/elide.h: Moved ...
2749         * sysdeps/x86/elide.h: ... here.
2750         * sysdeps/x86_64/nptl/Implies: File removed.
2751         * sysdeps/i386/nptl/Implies: File removed.
2753 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2755         [BZ #16539]
2756         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2757         return the argument for normal arguments with exponent below -64.
2758         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2759         Likewise.
2760         * math/auto-libm-test-in: Add another test of expm1.
2761         * math/auto-libm-test-out: Regenerated.
2763         [BZ #16287]
2764         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2765         calling __erfcl for arguments at least 16.
2766         * math/auto-libm-test-in: Add more tests of erf.
2767         * math/auto-libm-test-out: Regenerated.
2769         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2770         individual architectures.
2771         * sysdeps/unix/sysv/linux/configure: Regenerated.
2772         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2773         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2774         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2775         (ldd_rewrite_script): Define variable.
2776         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2778         file.
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2780         generated file.
2781         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2782         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2783         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2784         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2785         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2786         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2787         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2788         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2790 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2792         [BZ #17084]
2793         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2794         Rename member __data.d to __data.__elision_data.
2796 2014-06-24  Wilco  <wdijkstr@arm.com>
2798         * NEWS: Add 16918 to fixed bug list.
2800 2014-06-24  Wilco  <wdijkstr@arm.com>
2802         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2804 2014-06-24  Wilco  <wdijkstr@arm.com>
2806         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2807         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2808         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2809         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2810         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2811         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2812         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2813         Use _FPU_MASK_RM.
2815 2014-06-24  Wilco  <wdijkstr@arm.com>
2817         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2819 2014-06-24  Wilco  <wdijkstr@arm.com>
2821         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2822         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2823         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2824         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2826 2014-06-24  Wilco  <wdijkstr@arm.com>
2828         [BZ #16918]
2829         * sysdeps/arm/feupdateenv.c (feupdateenv):
2830         Rewrite to reduce FPSCR accesses and fix return value.
2832 2014-06-24  Wilco  <wdijkstr@arm.com>
2834         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2835         Optimize to avoid unnecessary FPSCR writes.
2836         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2837         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2838         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2839         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2841 2014-06-24  Wilco  <wdijkstr@arm.com>
2843         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2844         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2845         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2846         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2847         Call libc_fetestexcept_vfp.
2848         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2849         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2850         __SOFTFP__ ifdef so that they can be built for softfp.
2852 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2854         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2855         argument type signed char.
2857         * Makerules (check-abi): Dump diff of symlist if the test
2858         fails.
2860 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2862         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2863         using abort.
2865         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2866         Remove unused variable ST.
2868 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2870         [BZ #16354]
2871         [BZ #17061]
2872         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2873         small arguments before calling __expm1.
2874         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2875         small arguments before calling __expm1f.
2876         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2877         small arguments before calling __expm1l.
2878         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2879         Likewise.
2880         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2881         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2882         spurious underflow for some cosh tests.
2883         * math/auto-libm-test-out: Regenerated.
2884         * sysdeps/i386/fpu/libm-test-ulps: Update.
2886         [BZ #17050]
2887         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2888         (__ieee754_y1): Set errno if return value overflows.
2889         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2890         (__ieee754_y1f): Set errno if return value overflows.
2891         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2892         (__ieee754_y1l): Set errno if return value overflows.
2893         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2894         (__ieee754_y1l): Set errno if return value overflows.
2895         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2896         * math/auto-libm-test-out: Regenerated.
2898         * math/gen-auto-libm-tests.c: Document use of
2899         ignore-zero-inf-sign.
2900         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2901         (input_flags): Add ignore-zero-inf-sign.
2902         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2903         * math/gen-libm-test.pl (generate_testfile): Handle
2904         ignore-zero-inf-sign.
2905         * math/auto-libm-test-in: Mark some cpow tests with
2906         ignore-zero-inf-sign and some with xfail-rounding.
2907         * math/auto-libm-test-out: Regenerated.
2908         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2909         * sysdeps/i386/fpu/libm-test-ulps: Update.
2910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2912         [BZ #16315]
2913         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2914         overflowing or underflowing operations take place with sign of
2915         result.
2916         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2917         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2918         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2919         (__ieee754_pow): Recompute overflowing and underflowing results in
2920         original rounding mode.
2921         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2922         (__powl_helper): Allow negative argument X and scale negated value
2923         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2924         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2925         overflowing or underflowing operations take place with sign of
2926         result.
2927         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2928         Include <math.h>.
2929         * math/auto-libm-test-in: Add more tests of pow.
2930         * math/auto-libm-test-out: Regenerated.
2931         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2932         (pow_tonearest_test_data): Remove.
2933         (pow_test_tonearest): Likewise.
2934         (pow_towardzero_test_data): Likewise.
2935         (pow_test_towardzero): Likewise.
2936         (pow_downward_test_data): Likewise.
2937         (pow_test_downward): Likewise.
2938         (pow_upward_test_data): Likewise.
2939         (pow_test_upward): Likewise.
2940         (main): Don't call removed functions.
2941         * sysdeps/i386/fpu/libm-test-ulps: Update.
2942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2944 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2947         Moved ...
2948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2950         Moved ...
2951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2953         Moved ...
2954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2956         Moved ...
2957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2959         File removed.
2960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2961         File removed.
2962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2963         File removed.
2964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2965         File removed.
2966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2967         File removed.
2968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2969         File removed.
2970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2971         File removed.
2972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2973         File removed.
2974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2975         File removed.
2976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2977         File removed.
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2979         File removed.
2980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2981         File removed.
2982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2983         Moved ...
2984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2986         Moved ...
2987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2988         ... here.
2989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2990         Moved ...
2991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2993         Moved ...
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2996         Moved ...
2997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2999         Moved ...
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3002         Moved ...
3003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3005         Moved ...
3006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3008         Moved ...
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3012         ... here.
3013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3014         Moved ...
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3017         Moved ...
3018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3019         ... here.
3020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3021         Moved ...
3022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3023         ... here.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3025         Moved ...
3026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3027         ... here.
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3029         Moved ...
3030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3032         Moved ...
3033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3037         Moved ...
3038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3039         ... here.
3040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3041         Moved ...
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3043         ... here.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3045         Moved ...
3046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3048         Moved ...
3049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3051         Moved ...
3052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3054         Moved ...
3055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3057         Moved ...
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3059         ... here.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3061         Moved ...
3062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3064         Moved ...
3065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3067         Moved ...
3068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3070         Moved ...
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3075         Moved ...
3076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3078         Moved ...
3079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3081         Moved ...
3082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3083         ... here.
3084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3085         Moved ...
3086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3087         ... here.
3088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3089         Moved ...
3090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3091         ... here.
3092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3093         Moved ...
3094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3096         Moved ...
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3099         Moved ...
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3102         Moved ...
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3104         ... here.
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3106         Moved ...
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3108         ... here.
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3110         Moved ...
3111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3112         ... here.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3114         Moved ...
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3117         Moved ...
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3120 2014-06-23  Will Newton  <will.newton@linaro.org>
3121             Wilco  <wdijkstr@arm.com>
3123         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3124         implementation.  Include get-rounding-mode.h.
3125         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3126         [!libc_feholdsetround_noex_ctx]: Define
3127         libc_feholdsetround_noex_ctx.
3128         [!libc_feholdsetround_noexf_ctx]: Define
3129         libc_feholdsetround_noexf_ctx.
3130         [!libc_feholdsetround_noexl_ctx]: Define
3131         libc_feholdsetround_noexl_ctx.
3132         (libc_feholdsetround_ctx): New function.
3133         (libc_feresetround_ctx): New function.
3134         (libc_feholdsetround_noex_ctx): New function.
3135         (libc_feresetround_noex_ctx): New function.
3137 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3139         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3140         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3141         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3142         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3143         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3144         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3146         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3147         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3148         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3149         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3150         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3151         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3152         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3153         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3154         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3155         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3156         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3157         Moved ...
3158         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3159         ... here.
3160         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3161         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3162         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3163         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3164         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3165         Moved ...
3166         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3167         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3168         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3169         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3170         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3171         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3172         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3173         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3174         Moved ...
3175         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3176         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3177         Moved ...
3178         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3179         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3180         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3181         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3182         Moved ...
3183         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3184         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3185         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3186         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3187         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3188         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3189         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3190         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3191         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3192         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3193         Moved ...
3194         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3195         ... here.
3196         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3197         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3198         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3199         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3200         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3201         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3202         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3203         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3204         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3205         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3206         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3207         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3209         Moved ...
3210         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3211         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3212         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3213         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3214         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3215         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3216         Moved ...
3217         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3218         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3219         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3220         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3221         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3223         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3224         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3225         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3226         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3227         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3228         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3229         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3230         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3231         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3232         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3233         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3234         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3235         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3236         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3237         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3238         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3239         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3240         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3241         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3242         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3243         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3244         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3245         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3246         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3247         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3248         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3249         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3250         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3252 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3254         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3255         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3256         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3257         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3258         (IPV6_PMTUDISC_INTERFACE): Likewise.
3259         (IPV6_PMTUDISC_OMIT): Likewise.
3261 2014-06-23  Andreas Schwab  <schwab@suse.de>
3263         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3264         Remove unused errout label.
3266 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3268         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3269         macro: hardware supports Vector Crypto instructions.
3271 2014-06-23  Will Newton  <will.newton@linaro.org>
3273         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3274         rather than __builtin_expect.
3276         * elf/dl-lookup.c (undefined_msg): Remove variable.
3277         (_dl_lookup_symbol_x): Replace undefined_msg with string
3278         literal.
3280         * elf/dl-lookup.c (do_lookup_unique): New function.
3281         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3282         to a separate function.
3284 2014-06-23  Andreas Schwab  <schwab@suse.de>
3286         [BZ #17079]
3287         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3288         before reading the next line.
3290 2014-06-23  Will Newton  <will.newton@linaro.org>
3292         * test-skeleton.c (signal_handler): Use printf and %m
3293         rather than perror.  Use printf rather than fprintf to
3294         stderr.  Use puts rather than fputs to stderr.
3295         (main): Likewise.
3297 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3299         * nscd/nscd.c (thread_info_t): Remove typedef.
3300         (thread_info): Remove variable.
3302 2014-06-21  Allan McRae  <allan@archlinux.org>
3304         * NEWS: Mention CVE-2014-4043.
3306 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3308         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3309         * nptl/smp.h: ... here.
3311         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3313         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3314         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3315         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3316         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3318         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3319         * nptl/stack-aliasing.h: New file.
3320         * sysdeps/i386/i686/stack-aliasing.h: New file.
3321         * sysdeps/i386/i686/nptl/Makefile: File removed.
3322         * sysdeps/x86_64/stack-aliasing.h: New file.
3323         * sysdeps/x86_64/nptl/Makefile
3324         (CFLAGS-pthread_create.c): Variable removed.
3326         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3327         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3328         old file.
3329         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3330         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3331         old file.
3333 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3335         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3336         (__ASSUME_SIGFRAME_V2): Remove macro.
3337         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3338         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3339         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3340         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3341         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3342         Declare as function.  Remove conditional macro definitions.
3343         (__default_rt_sa_restorer): Likewise.
3344         (__default_sa_restorer_v1): Remove declaration.
3345         (__default_sa_restorer_v2): Likewise.
3346         (__default_rt_sa_restorer_v1): Likewise.
3347         (__default_rt_sa_restorer_v2): Likewise.
3348         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3349         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3350         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3352 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3354         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3355         (libpthread-routines): Add sysdep.
3356         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3357         * sysdeps/unix/sysv/linux/sparc/Versions
3358         (libpthread: GLIBC_2.3.3): New version set.
3359         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3360         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3361         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3362         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3363         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3364         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3365         Moved ...
3366         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3367         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3368         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3369         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3370         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3371         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3372         * sysdeps/sparc/nptl/sem_init.c: ... here.
3373         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3374         * sysdeps/sparc/nptl/sem_post.c: ... here.
3375         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3376         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3377         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3378         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3379         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3380         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3381         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3382         (libpthread-routines): Add cpu_relax.
3383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3384         File removed.
3385         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3386         (librt: GLIBC_2.3.3): New version set.
3387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3388         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3389         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3390         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3393         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3395         Moved ...
3396         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3398         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3400         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3402         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3404         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3406         Moved ...
3407         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3408         Update #include.
3409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3410         Moved ...
3411         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3412         Update #include.
3413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3414         Moved ...
3415         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3416         Update #include.
3417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3418         Moved ...
3419         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3420         Update #include.
3421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3422         Moved ...
3423         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3424         Update #include.
3425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3426         Moved ...
3427         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3428         Update #include.
3429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3430         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3434         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3436         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3438         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3440         Moved ...
3441         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3443         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3445         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3447 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3449         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3450         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3451         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3452         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3453         * nscd/nscd.c: Likewise.
3454         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3455         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3456         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3457         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3459         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3460         <kernel-features.h>.
3461         (init_mq_netlink): Remove conditional have_sock_cloexec
3462         definitions.  Remove code conditional on have_sock_cloexec < 0.
3463         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3464         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3465         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3466         <kernel-features.h>.
3467         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3468         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3470 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3472         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3473         Add tests for memset_chk and memset.
3475         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3476         with AVX2_Usable.
3478 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3480         [BZ #16046]
3481         * elf/tst-dl-iter-static.c: New file.
3482         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3484         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3485         error.
3487 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3489         * sysdeps/unix/sysv/linux/kernel-features.h
3490         (__ASSUME_F_GETOWN_EX): Remove macro.
3491         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3492         <kernel-features.h>.
3493         (miss_F_GETOWN_EX): Remove variable or macro.
3494         (do_fcntl): Do not check miss_F_GETOWN_EX.
3495         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3497         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3498         Remove macro.
3499         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3500         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3501         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3503         * sysdeps/unix/sysv/linux/kernel-features.h
3504         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3505         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3506         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3507         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3509 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3511         [BZ #17075]
3512         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3513         Fix calculation of the symbol's value.
3514         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3515         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3516         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3517         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3518         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3519         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3520         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3521         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3522         (modules-names): Add `tst-armtlsdescmod',
3523         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3524         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3525         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3526         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3527         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3528         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3529         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3530         ($(objpfx)tst-armtlsdescloc): New dependency.
3531         ($(objpfx)tst-armtlsdescextnow): Likewise.
3532         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3533         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3534         TLS scheme support.
3535         * sysdeps/arm/configure: Regenerate.
3537 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3539         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3540         (__atfct_seterrno_2): Likewise.
3541         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3542         <kernel-features.h>.
3543         (__ASSUME_ATFCTS): Do not undefine and redefine.
3544         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3545         (__have_atfcts): Remove conditional definition.
3546         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3547         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3548         unreachable if [__ASSUME_ATFCTS].
3549         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3550         not undefine and redefine.
3551         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3552         <kernel-features.h>.
3553         (faccessat) [__NR_faccessat]: Make code unconditional.
3554         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3555         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3556         <kernel-features.h>.
3557         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3558         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3559         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3560         <kernel-features.h>.
3561         (fchownat) [__NR_fchownat]: Make code unconditional.
3562         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3563         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3564         <kernel-features.h>.
3565         (futimesat) [__NR_futimesat]: Make code unconditional.
3566         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3567         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3568         <kernel-features.h>.
3569         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3570         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3571         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3572         <kernel-features.h>.
3573         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3574         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3575         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3576         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3577         <kernel-features.h>.
3578         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3579         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3580         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3581         <kernel-features.h>.
3582         (linkat) [__NR_linkat]: Make code unconditional.
3583         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3584         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3585         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3586         <kernel-features.h>.
3587         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3588         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3589         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3590         <kernel-features.h>.
3591         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3592         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3593         * sysdeps/unix/sysv/linux/openat.c: Do not include
3594         <kernel-features.h>.
3595         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3596         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3597         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3598         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3599         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3600         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3601         <kernel-features.h>.
3602         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3603         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3604         result of INLINE_SYSCALL directly, not via int variable.
3605         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3606         <kernel-features.h>.
3607         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3608         (renameat) [__NR_renameat]: Make code unconditional.
3609         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3610         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3611         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3612         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3613         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3614         (__ASSUME_ATFCTS): Do not undefine and redefine.
3615         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3616         <kernel-features.h>.
3617         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3618         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3619         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3620         <kernel-features.h>.
3621         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3622         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3623         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3624         (__ASSUME_ATFCTS): Do not undefine and redefine.
3625         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3626         <kernel-features.h>.
3627         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3628         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3629         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3630         <kernel-features.h>.
3631         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3632         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3634 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3636         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3638 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3640         [BZ #17069]
3641         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3642         constructed tree before returning error.
3643         * posix/bug-regexp36.c: Expand test case.
3645 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3647         [BZ #6803]
3648         * math/libm-test.inc (scalbln_test_date):
3649         Add errno expectations.
3650         * math/w_scalblnf.c: New File.
3651         Add wrapper which checks for setting errno to ERANGE.
3652         Add weak_alias for corresponding scalbln function.
3653         * math/w_scalbln.c: Likewise.
3654         * math/w_scalblnl.c: Likewise.
3655         * math/Makefile (libm-calls): Add w_scalbln.
3656         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3657         Remove weak_alias for corresponding scalbln function.
3658         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3659         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3660         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3661         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3662         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3663         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3664         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3665         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3666         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3667         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3668         Remove long_double_symbol for scalblnl function in libm, libc.
3669         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3670         Add wrapper which checks for setting errno to ERANGE.
3671         Add long_double_symbol for scalblnl function in libm, libc.
3672         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3673         Remove long_double_symbol for scalblnl in libm.
3674         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3675         Add wrapper which checks for setting errno to ERANGE.
3676         Add long_double_symbol for scalblnl function in libm.
3677         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3678         Do not use wrapper because of own implementation.
3680 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3682         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3683         3 bytes for __pad1 for x32.
3684         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3686 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3687             H.J. Lu  <hongjiu.lu@intel.com>
3689         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3690         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3691         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3692         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3693         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3695 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3697         [BZ #17069]
3698         * posix/regcomp.c (parse_expression): Deallocate partially
3699         constructed tree before returning error.
3700         * posix/Makefile.c (tests): Add bug-regex36.
3701         (generated): Add bug-regex36.mtrace.
3702         (tests-special): Add $(objpfx)bug-regex36-mem.out
3703         (bug-regex36-ENV): New variable.
3704         ($(objpfx)bug-regex36-mem.out): New rule.
3705         * posix/bug-regex36.c: New file.
3707 2014-06-19  Will Newton  <will.newton@linaro.org>
3709         * malloc/malloc.c (systrim): If extra is zero then return
3710         early.
3712 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3714         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3716 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3718         * sysdeps/aarch64/strchr.S: New file.
3720 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3722         [BZ #17022]
3723         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3724         from arguments -2 or below.
3725         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3726         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3728 2014-06-18  Andreas Schwab  <schwab@suse.de>
3730         [BZ #17062]
3731         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3732         of a bracket expr not to run off the end of the string.
3733         * posix/Makefile (tests): Add tst-fnmatch3.
3734         * posix/tst-fnmatch3.c: New file.
3736 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3738         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3739         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3740         [$(cross-compiling) = no]: Likewise.
3741         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3742         [$(cross-compiling) = no]: Likewise.
3744 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3746         [BZ #17031]
3747         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3748         double, adjusted for any remainder from the high double.
3749         * math/libm-test.inc (nearbyint): Add tests.
3750         (rint): Likewise.
3752 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3754         * nptl/sysdeps/powerpc/Makefile: Moved ...
3755         * sysdeps/powerpc/nptl/Makefile: ... here.
3756         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3757         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3758         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3759         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3760         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3761         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3762         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3763         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3764         * nptl/sysdeps/powerpc/tls.h: Moved ...
3765         * sysdeps/powerpc/nptl/tls.h: ... here.
3767 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3769         [BZ #16681]
3770         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3771         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3772         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3773         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3774         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3775         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3776         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3777         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3778         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3780 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3782         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3784 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3786         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3787         defined operator.
3789         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3790         $TIMEOUTFACTOR.
3792 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3794         [BZ #17058]
3795         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3796         non-executed part of the test.
3798 2014-06-16  Andreas Schwab  <schwab@suse.de>
3800         * string/bits/string2.h (strdup, strndup): Update feature guard.
3802 2014-06-14  David S. Miller  <davem@davemloft.net>
3804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3806 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3808         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3809         that was previously under [RESET_PID].
3810         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3812         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3813         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3814         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3815         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3816         (__libc_vfork): New strong alias.
3817         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3819 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3821         * sysdeps/generic/elide.h: New file.
3823 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3825         * Makefile (installed-headers): Adjust path of pthread.h header.
3827 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3829         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3830         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3831         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3832         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3834         * nptl/sysdeps/s390/Makefile: Moved ...
3835         * sysdeps/s390/nptl/Makefile: ... here.
3836         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3837         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3838         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3839         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3840         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3841         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3842         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3843         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3844         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3845         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3846         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3847         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3848         * nptl/sysdeps/s390/tls.h: Moved ...
3849         * sysdeps/s390/nptl/tls.h: ... here.
3851         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3852         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3854 2014-06-13  David S. Miller  <davem@davemloft.net>
3856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3859         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3863         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3864         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3865         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3866         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3867         Remove RESET_PID cpp guards.
3868         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3869         Remove RESET_PID cpp guards.
3870         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3872 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3874         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3875         __sp to uintptr_t.
3877 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3879         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3880         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3881         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3882         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3883         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3884         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3885         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3887         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3888         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3889         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3890         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3891         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3892         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3893         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3894         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3895         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3896         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3897         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3898         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3900         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3901         (pthread_rwlock_rdlock): Add elision.
3902         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3903         (pthread_rwlock_wrlock): Add elision.
3904         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3905         (pthread_rwlock_trywrlock): Add elision.
3906         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3907         (pthread_rwlock_tryrdlock): Add elision.
3908         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3909         (pthread_rwlock_tryrdlock): Add elision unlock.
3910         * nptl/sysdeps/pthread/pthread.h:
3911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3912         (PTHREAD_RWLOCK_INITIALIZER,
3913         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3914         Handle new elision field.
3915         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3916         * sysdeps/arm/nptl/bits/pthreadtypes.h
3917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3918         * sysdeps/sh/nptl/bits/pthreadtypes.h
3919         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3920         * sysdeps/tile/nptl/bits/pthreadtypes.h
3921         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3922         * sysdeps/a/nptl/bits/pthreadtypes.h
3923         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3924         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3926         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3928         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3930         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3931         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3932         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3933         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3934         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3935         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3936         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3937         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3938         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3940         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3941         (elision_init): Set try_xbegin to zero when no RTM.
3942         * sysdeps/x86/nptl/bits/pthreadtypes.h
3943         (pthread_rwlock_t): Change __pad1 to __rwelision.
3944         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3946 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3948         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3949         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3950         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3951         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3953 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3955         [BZ #16996]
3956         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3957         that the cached result has been set before returning it.
3959 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3961         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3962         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3963         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3964         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3965         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3966         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3968         * nptl/sysdeps/sparc/Makefile: Moved ...
3969         * sysdeps/sparc/nptl/Makefile: ... here.
3970         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3971         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3972         * nptl/sysdeps/sparc/tls.h: Moved ...
3973         * sysdeps/sparc/nptl/tls.h: ... here.
3974         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3975         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3976         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3977         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3978         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3979         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3980         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3981         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3982         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3983         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3984         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3985         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3986         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3987         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3988         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3989         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3990         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3991         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3992         Update #include.
3993         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3994         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3995         Update #include.
3996         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3997         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3998         Update #include.
3999         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4000         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4001         Update #include.
4003         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4005         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4006         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4008         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4009         (struct list_links): Type removed.
4010         (struct thread_node, struct timer_node): Replace struct list_links
4011         with struct list_head.
4012         (list_unlink_ip): Likewise.
4013         * sysdeps/pthread/timer_routines.c
4014         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4015         (list_append, list_insbefore): Likewise.
4016         (list_init): Function removed.
4017         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4018         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4019         * sysdeps/pthread/Makefile: ... here, new file.
4021         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4022         * sysdeps/nptl/Implies: ... here.
4023         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4024         * nptl/sysdeps/pthread/list.h: Moved ...
4025         * include/list.h: ... here.
4026         * nptl/sysdeps/pthread/createthread.c: Moved ...
4027         * nptl/createthread.c: ... here.
4028         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4029         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4030         * nptl/pt-longjmp.c: ... here.
4031         * nptl/sysdeps/pthread/Makefile: Moved ...
4032         * sysdeps/nptl/Makefile: ... here.
4033         * nptl/sysdeps/pthread/Subdirs: Moved ...
4034         * sysdeps/nptl/Subdirs: ... here.
4035         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4036         * sysdeps/nptl/aio_misc.h: ... here.
4037         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4038         * sysdeps/nptl/bits/libc-lock.h: ... here.
4039         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4040         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4041         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4042         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4043         * nptl/sysdeps/pthread/configure: Moved ...
4044         * sysdeps/nptl/configure: ... here.
4045         * nptl/sysdeps/pthread/configure.ac: Moved ...
4046         * sysdeps/nptl/configure.ac: ... here.
4047         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4048         * sysdeps/nptl/gai_misc.h: ... here.
4049         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4050         * sysdeps/nptl/librt-cancellation.c: ... here.
4051         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4052         * sysdeps/nptl/malloc-machine.h: ... here.
4053         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4054         * sysdeps/nptl/pthread-functions.h: ... here.
4055         * nptl/sysdeps/pthread/pthread.h: Moved ...
4056         * sysdeps/nptl/pthread.h: ... here.
4057         * nptl/sysdeps/pthread/setxid.h: Moved ...
4058         * sysdeps/nptl/setxid.h: ... here.
4059         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4060         * sysdeps/nptl/sigfillset.c: ... here.
4061         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4062         * sysdeps/nptl/tcb-offsets.h: ... here.
4063         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4064         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4065         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4066         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4067         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4068         * sysdeps/pthread/allocalim.h: ... here.
4069         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4070         * sysdeps/pthread/bits/sigthread.h: ... here.
4071         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4072         * sysdeps/pthread/flockfile.c: ... here.
4073         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4074         * sysdeps/pthread/ftrylockfile.c: ... here.
4075         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4076         * sysdeps/pthread/funlockfile.c: ... here.
4077         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4078         * sysdeps/pthread/posix-timer.h: ... here.
4079         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4080         * sysdeps/pthread/timer_create.c: ... here.
4081         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4082         * sysdeps/pthread/timer_delete.c: ... here.
4083         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4084         * sysdeps/pthread/timer_getoverr.c: ... here.
4085         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4086         * sysdeps/pthread/timer_gettime.c: ... here.
4087         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4088         * sysdeps/pthread/timer_routines.c: ... here.
4089         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4090         * sysdeps/pthread/timer_settime.c: ... here.
4091         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4092         * sysdeps/pthread/tst-timer.c: ... here.
4093         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4094         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4096         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4097         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4099         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4100         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4101         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4102         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4103         Update #include target.
4104         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4105         * sysdeps/i386/i686/nptl/Makefile: ... here.
4106         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4107         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4108         Update #include target.
4109         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4110         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4111         * nptl/sysdeps/i386/Makefile: Moved ...
4112         * sysdeps/i386/nptl/Makefile: ... here.
4113         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4114         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4115         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4116         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4117         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4118         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4119         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4120         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4121         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4122         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4123         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4124         * nptl/sysdeps/i386/tls.h: Moved ...
4125         * sysdeps/i386/nptl/tls.h: ... here.
4127         * sysdeps/sh/Makefile [$(subdir) = csu]
4128         (gen-as-const-headers): Add tcb-offsets.sym.
4129         * nptl/sysdeps/sh/Makefile: File removed.
4130         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4131         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4132         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4133         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4134         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4135         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4136         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4137         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4138         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4139         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4140         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4141         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4142         * nptl/sysdeps/sh/tls.h: Moved ...
4143         * sysdeps/sh/nptl/tls.h: ... here.
4144         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4145         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4146         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4147         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4148         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4149         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4150         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4151         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4152         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4153         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4154         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4155         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4156         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4157         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4158         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4159         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4160         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4161         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4162         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4163         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4164         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4165         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4167         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4168         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4169         Moved ...
4170         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4171         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4172         Moved ...
4173         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4174         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4175         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4176         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4177         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4178         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4179         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4180         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4181         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4182         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4183         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4185         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4187         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4188         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4189         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4190         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4191         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4193 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4195         * posix/spawn_faction_addopen.c: Include string.h.
4197 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4199         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4200         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4201         * nptl/sysdeps/x86_64/Makefile: Moved ...
4202         * sysdeps/x86_64/nptl/Makefile: ... here.
4203         * nptl/sysdeps/x86_64/configure: Moved ...
4204         * sysdeps/x86_64/nptl/configure: ... here.
4205         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4206         * sysdeps/x86_64/nptl/configure.ac: ... here.
4207         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4208         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4209         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4210         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4211         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4212         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4213         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4214         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4215         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4216         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4217         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4218         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4219         * nptl/sysdeps/x86_64/tls.h: Moved ...
4220         * sysdeps/x86_64/nptl/tls.h: ... here.
4221         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4222         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4223         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4224         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4226         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4228 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4232 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4234         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4235         type.
4236         [POSIX] (off_t): Likewise.
4237         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4238         [POSIX] (S_ISBLK): Require macro.
4239         [POSIX] (S_ISCHR): Likewise.
4240         [POSIX] (S_ISDIR): Likewise.
4241         [POSIX] (S_ISFIFO): Likewise.
4242         [POSIX] (S_ISREG): Likewise.
4243         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4244         optional-macro.
4245         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4246         type.
4247         [POSIX] (time_t): Likewise.
4248         [POSIX] (timer_t): Likewise.
4250 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4252         [BZ #17048]
4253         * posix/spawn_int.h (struct __spawn_action): Make the path string
4254         non-const to support deallocation.
4255         * posix/spawn_faction_addopen.c
4256         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4257         * posix/spawn_faction_destroy.c
4258         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4259         path in all spawn_do_open actions.
4260         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4261         posix_spawn_file_actions_addopen.
4263 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4265         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4266         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4267         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4268         conditional code always true.
4269         (__libc_vfork): New alias.
4271 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4273         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4274         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4276         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4278         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4279         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4281         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4282         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4284         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4285         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4287 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4289         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4290         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4291         multiarch strcmp for PPC64.
4292         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4293         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4295         multiarch optimizations.
4296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4297         (__libc_ifunc_impl_list): Likewise.
4299 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4301         * benchtests/scripts/validate_benchout.py: New script.
4302         * benchtests/Makefile (bench-func): Call it.
4303         * benchtests/scripts/benchout.schema.json: New file.
4305 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4307         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4308         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4309         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4310         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4311         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4312         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4313         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4314         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4315         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4316         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4317         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4318         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4319         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4320         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4321         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4322         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4324         Moved ...
4325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4326         ... here.
4327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4328         Moved ...
4329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4331         Moved ...
4332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4333         ... here.
4334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4335         Moved ...
4336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4337         ... here.
4338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4339         Moved ...
4340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4342         Moved ...
4343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4344         ... here.
4345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4346         Moved ...
4347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4348         ... here.
4349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4350         Moved ...
4351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4353         Moved ...
4354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4355         ... here.
4356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4357         Moved ...
4358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4359         ... here.
4360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4361         Moved ...
4362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4363         ... here.
4364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4365         Moved ...
4366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4368         Moved ...
4369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4370         ... here.
4371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4372         Moved ...
4373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4374         ... here.
4375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4376         Moved ...
4377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4378         ... here.
4379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4380         Moved ...
4381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4383         Moved ...
4384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4385         ... here.
4386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4387         Moved ...
4388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4389         ... here.
4390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4391         Moved ...
4392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4394         Moved ...
4395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4396         ... here.
4397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4398         Moved ...
4399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4401         Moved ...
4402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4404         Moved ...
4405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4406         ... here.
4407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4408         Moved ...
4409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4410         ... here.
4411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4412         Moved ...
4413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4414         ... here.
4415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4416         Moved ...
4417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4419         Moved ...
4420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4421         ... here.
4422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4423         Moved ...
4424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4425         ... here.
4426         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4427         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4428         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4429         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4431         Moved ...
4432         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4433         ... here.
4434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4435         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4437         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4438         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4439         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4440         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4441         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4442         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4443         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4445         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4447         Moved ...
4448         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4449         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4450         Moved ...
4451         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4452         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4453         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4454         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4455         Moved ...
4456         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4458         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4459         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4460         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4461         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4462         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4464 2014-06-10  Wilco  <wdijkstr@arm.com>
4466         * math/test-fenv-return.c: New file.
4467         * math/Makefile: Add new test test-fenv-return.
4469 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4471         [BZ #17042]
4472         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4473         when x - 1 is zero.
4474         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4475         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4476         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4477         0.0L for an argument of 1.0L.
4478         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4479         Likewise.
4480         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4481         value when x - 1 is zero.
4482         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4483         * sysdeps/i386/fpu/libm-test-ulps: Update.
4484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4486 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4488         [BZ #15119]
4489         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4491 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4493         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4494         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4496 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4498         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4499         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4501         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4502         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4504         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4505         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4507         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4508         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4510         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4511         if not already defined.
4512         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4513         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4514         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4515         (TLS_INIT_TP): Use it.
4516         (TLS_DEFINE_INIT_TP): New macro.
4517         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4519 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4521         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4522         constant.
4523         [POSIX] (IXANY): Likewise.
4524         [POSIX] (OLCUC): Likewise.
4525         [POSIX || POSIX2008] (CBAUD): Do not allow.
4526         [POSIX || POSIX2008] (DEFECHO): Likewise.
4527         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4528         [POSIX || POSIX2008] (ECHOKE): Likewise.
4529         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4530         [POSIX || POSIX2008] (EXTA): Likewise.
4531         [POSIX || POSIX2008] (EXTB): Likewise.
4532         [POSIX || POSIX2008] (FLUSHO): Likewise.
4533         [POSIX || POSIX2008] (LOBLK): Likewise.
4534         [POSIX || POSIX2008] (PENDIN): Likewise.
4535         [POSIX || POSIX2008] (SWTCH): Likewise.
4536         [POSIX || POSIX2008] (VDISCARD): Likewise.
4537         [POSIX || POSIX2008] (VDSUSP): Likewise.
4538         [POSIX || POSIX2008] (VLNEXT): Likewise.
4539         [POSIX || POSIX2008] (VREPRINT): Likewise.
4540         [POSIX || POSIX2008] (VSTATUS): Likewise.
4541         [POSIX || POSIX2008] (VWERASE): Likewise.
4542         (B*): Change to B[0123456789]*.
4543         * conform/data/time.h-data [POSIX || UNIX98]
4544         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4545         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4546         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4547         [POSIX] (tm_*): Do not allow.
4549 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4551         * Makefile (install): Don't set LANGUAGE.
4552         * Makefile.in (install): Likewise.
4553         * assert/Makefile (test-assert-ENV): Remove variable.
4554         (test-assert-perr-ENV): Likewise.
4555         * elf/Makefile (neededtest4-ENV): Likewise.
4556         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4557         [$(cross-compiling) = no]: Don't set LANGUAGE.
4558         * io/ftwtest-sh (LANG): Remove variable.
4559         * libio/Makefile (tst-widetext-ENV): Likewise.
4560         * manual/install.texi (Running make install): Don't refer to
4561         environment settings for make install.
4562         * INSTALL: Regenerated.
4563         * nptl/tst-tls6.sh: Don't set LANG.
4564         * posix/globtest.sh (LANG): Remove variable.
4565         * string/Makefile (tester-ENV): Likewise.
4566         (inl-tester-ENV): Likewise.
4567         (noinl-tester-ENV): Likewise.
4568         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4569         [$(cross-compiling) = no]: Don't set LANGUAGE.
4570         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4571         without explicit environment settings.
4573 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4575         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4576         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4577         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4578         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4580 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4582         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4583         other files in the crypt directory.
4584         * crypt/crypt.c: Remove duplicate includes.
4585         * crypt/crypt-entry.c: Likewise.
4586         * crypt/crypt_util.c: Likewise.
4588 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4590         * Makeconfig (run-program-env): New variable.
4591         (run-program-prefix-before-env): Likewise.
4592         (run-program-prefix-after-env): Likewise.
4593         (run-program-prefix): Define in terms of new variables.
4594         (built-program-cmd-before-env): New variable.
4595         (built-program-cmd-after-env): Likewise.
4596         (built-program-cmd): Define in terms of new variables.
4597         (test-program-prefix-before-env): New variable.
4598         (test-program-prefix-after-env): Likewise.
4599         (test-program-prefix): Define in terms of new variables.
4600         (test-program-cmd-before-env): New variable.
4601         (test-program-cmd-after-env): Likewise.
4602         (test-program-cmd): Define in terms of new variables.
4603         * Rules (make-test-out): Use $(run-program-env).
4604         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4605         (help): Do not mention environment variables.  Mention
4606         --timeoutfactor option.
4607         (timeoutfactor): New variable.
4608         (blacklist_exports): Remove function.
4609         (exports): Remove variable.
4610         (command): Do not include ${exports}.
4611         * manual/install.texi (Configuring and compiling): Do not mention
4612         test wrappers preserving environment variables.  Mention that last
4613         assignment to a variable must take precedence.
4614         * INSTALL: Regenerated.
4615         * benchtests/Makefile (run-bench): Use $(run-program-env).
4616         * catgets/Makefile ($(objpfx)test1.cat): Use
4617         $(built-program-cmd-before-env), $(run-program-env) and
4618         $(built-program-cmd-after-env).
4619         ($(objpfx)test2.cat): Do not specify environment variables
4620         explicitly.
4621         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4622         $(run-program-env) and $(built-program-cmd-after-env).
4623         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4624         $(run-program-env) and $(test-program-cmd-after-env).
4625         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4626         explicitly.
4627         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4628         run_program_env and test_program_cmd_after_env arguments.
4629         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4630         * elf/tst-pathopt.sh: Use run_program_env argument.
4631         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4632         $(test-wrapper-env) and $(run-program-env).
4633         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4634         run_program_env arguments.
4635         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4636         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4637         $(test-program-prefix-before-env), $(run-program-env) and
4638         $(test-program-prefix-after-env).
4639         ($(objpfx)tst-gettext2.out): Likewise.
4640         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4641         run_program_env and test_program_prefix_after_env arguments.
4642         * intl/tst-gettext2.sh: Likewise.
4643         * intl/tst-gettext4.sh: Do not set environment variables
4644         explicitly.
4645         * intl/tst-gettext6.sh: Likewise.
4646         * intl/tst-translit.sh: Likewise.
4647         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4648         $(test-program-prefix-before-env), $(run-program-env) and
4649         $(test-program-prefix-after-env).
4650         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4651         run_program_env and test_program_prefix_after_env arguments.
4652         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4653         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4654         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4655         explicitly with each use of ${test_wrapper_env}.
4656         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4657         $(test-program-prefix-before-env), $(run-program-env) and
4658         $(test-program-prefix-after-env).
4659         * posix/tst-getconf.sh: Do not set environment variables
4660         explicitly.
4661         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4662         run_program_env and test_program_prefix_after_env arguments.
4663         * stdio-common/tst-printf.sh: Do not set environment variables
4664         explicitly.
4665         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4666         $(test-program-prefix-before-env), $(run-program-env) and
4667         $(test-program-prefix-after-env).
4668         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4669         run_program_env and test_program_prefix_after_env arguments.
4670         Split $test calls into $test_pre and $test.
4671         * timezone/Makefile (build-testdata): Use
4672         $(built-program-cmd-before-env), $(run-program-env) and
4673         $(built-program-cmd-after-env).
4675 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4677         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4678         strlen for non SHARED builds.
4680 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4682         * nptl/allocatestack.c (check_list): Inlined function...
4683         (__reclaim_stacks): ... here.
4685 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4687         [BZ #15698]
4688         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4689         memory overrun.
4691 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4693         * Rules (make-test-out): Include
4694         LOCPATH=$(common-objpfx)localedata in default environment.
4695         * debug/Makefile (tst-chk1-ENV): Remove variable.
4696         (tst-chk2-ENV): Likewise.
4697         (tst-chk3-ENV): Likewise.
4698         (tst-chk4-ENV): Likewise.
4699         (tst-chk5-ENV): Likewise.
4700         (tst-chk6-ENV): Likewise.
4701         (tst-lfschk1-ENV): Likewise.
4702         (tst-lfschk2-ENV): Likewise.
4703         (tst-lfschk3-ENV): Likewise.
4704         (tst-lfschk4-ENV): Likewise.
4705         (tst-lfschk5-ENV): Likewise.
4706         (tst-lfschk6-ENV): Likewise.
4707         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4708         (tst-iconv7-ENV): Likewise.
4709         * intl/Makefile (LOCPATH-ENV): Likewise.
4710         (tst-codeset-ENV): Likewise.
4711         (tst-gettext3-ENV): Likewise.
4712         (tst-gettext5-ENV): Likewise.
4713         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4714         (tst-fopenloc-ENV): Likewise.
4715         (tst-fgetws-ENV): Remove variable.
4716         (tst-ungetwc1-ENV): Likewise.
4717         (tst-ungetwc2-ENV): Likewise.
4718         (bug-ungetwc2-ENV): Likewise.
4719         (tst-swscanf-ENV): Likewise.
4720         (bug-ftell-ENV): Likewise.
4721         (tst-fgetwc-ENV): Likewise.
4722         (tst-fseek-ENV): Likewise.
4723         (tst-ftell-partial-wide-ENV): Likewise.
4724         (tst-ftell-active-handler-ENV): Likewise.
4725         (tst-ftell-append-ENV): Likewise.
4726         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4727         (tst-regexloc-ENV): Likewise.
4728         (bug-regex1-ENV): Likewise.
4729         (tst-regex-ENV): Likewise.
4730         (tst-regex2-ENV): Likewise.
4731         (bug-regex5-ENV): Likewise.
4732         (bug-regex6-ENV): Likewise.
4733         (bug-regex17-ENV): Likewise.
4734         (bug-regex18-ENV): Likewise.
4735         (bug-regex19-ENV): Likewise.
4736         (bug-regex20-ENV): Likewise.
4737         (bug-regex22-ENV): Likewise.
4738         (bug-regex23-ENV): Likewise.
4739         (bug-regex25-ENV): Likewise.
4740         (bug-regex26-ENV): Likewise.
4741         (bug-regex30-ENV): Likewise.
4742         (bug-regex32-ENV): Likewise.
4743         (bug-regex33-ENV): Likewise.
4744         (bug-regex34-ENV): Likewise.
4745         (bug-regex35-ENV): Likewise.
4746         (tst-rxspencer-ENV): Likewise.
4747         (tst-rxspencer-no-utf8-ENV): Likewise.
4748         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4749         (tst-sscanf-ENV): Likewise.
4750         (tst-swprintf-ENV): Likewise.
4751         (tst-swscanf-ENV): Likewise.
4752         (test-vfprintf-ENV): Likewise.
4753         (scanf13-ENV): Likewise.
4754         (bug14-ENV): Likewise.
4755         (tst-grouping-ENV): Likewise.
4756         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4757         (tst-strtod3-ENV): Likewise.
4758         (tst-strtod4-ENV): Likewise.
4759         (tst-strtod5-ENV): Likewise.
4760         (testmb2-ENV): Likewise./
4761         * string/Makefile (tst-strxfrm-ENV): Likewise.
4762         (tst-strxfrm2-ENV): Likewise.
4763         (bug-strcoll1-ENV): Likewise.
4764         (test-strcasecmp-ENV): Likewise.
4765         (test-strncasecmp-ENV): Likewise.
4766         * time/Makefile (tst-strptime-ENV): Likewise.
4767         (tst-ftime_l-ENV): Likewise.
4768         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4769         (tst-mbrtowc-ENV): Likewise.
4770         (tst-wcrtomb-ENV): Likewise.
4771         (tst-mbrtowc2-ENV): Likewise.
4772         (tst-c16c32-1-ENV): Likewise.
4773         (tst-mbsnrtowcs-ENV): Likewise.
4775 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4777         * manual/resource.texi (How to get information about the memory
4778         subsystem?): Fix typo.
4779         Reported by Peon de la Parra Ivan <peon@keba.com>
4781 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4783         [BZ #16882]
4784         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4785         (pthread_spin_lock): Branch out of spin loop to proper location.
4786         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4787         (pthread_spin_lock): Likewise.
4789         * nptl/tst-spin4.c: New test.
4790         * nptl/Makefile (tests): Add tst-spin4.
4792 2014-06-03  Andreas Schwab  <schwab@suse.de>
4794         [BZ #15946]
4795         * resolv/res_send.c (send_dg): Reload file descriptor after
4796         calling reopen.
4798 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4800         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4802 2014-06-03  Richard Henderson  <rth@redhat.com>
4804         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4805         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4806         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4807         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4808         in the SAVE_PID block.
4809         (__libc_vfork): New alias.
4810         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4812         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4813         child in registers, not on the stack.  Remove RESET_PID conditionals.
4814         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4816 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4818         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4820 2014-06-03  Wilco  <wdijkstr@arm.com>
4822         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4823         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4824         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4825         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4826         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4827         Likewise.
4829 2014-06-03  Wilco  <wdijkstr@arm.com>
4831         * sysdeps/aarch64/fpu/math_private.h
4832         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4833         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4834         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4835         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4836         Fix declarations.
4838 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4840         * crypt/crypt-private.h: Include ufc-crypt.h.
4841         (__b64_from_24bit): Declare extern.
4842         * crypt/crypt_util.c(__b64_from_24bit): New function.
4843         (b64t): New static const variable.
4844         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4845         (b64t): Remove variable.
4846         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4847         * crypt/sha256-crypt.c: Include crypt-private.h.
4848         (b64t): Remove variable.
4849         (__sha256_crypt_r): Remove b64_from_24bit and replace
4850         with __b64_from_24bit.
4851         * crypt/sha512-crypt.c: Likewise.
4853 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4855         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4856         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4857         Label the code __libc_vfork rather than __vfork.
4858         [!NOT_IN_libc] (vfork): Define as weak alias.
4859         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4860         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4861         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4863 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4865         * malloc/malloc.c (malloc_info): Fix format specifier for
4866         n_mmaps.
4868 2014-06-02  Wilco  <wdijkstr@arm.com>
4870         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4871         FPCR write.
4873 2014-06-02  Wilco  <wdijkstr@arm.com>
4875         [BZ #17009]
4876         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4877         Rewrite to reduce FPCR/FPSR accesses.
4879 2014-06-01  David S. Miller  <davem@davemloft.net>
4881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4883 2014-05-31  David S. Miller  <davem@davemloft.net>
4885         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4886         to occur in round to nearest mode when |x| >= 2.0
4888 2014-05-30  Richard Henderson  <rth@twiddle.net>
4890         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4891         (PSEUDO_RET_NOERRNO): Remove.
4892         (ret): Don't redefine.
4893         (ret_NOERRNO): Define in terms of ret.
4894         (ret_ERRVAL): Likewise.
4896         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4897         use of PSEUDO_RET; perform the error check directly.
4899 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4901         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4902         with __int128_t.
4904 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4906         * malloc/malloc (malloc_info): Fix formatting.
4908 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4909             Roland McGrath  <roland@hack.frob.com>
4911         * malloc/malloc (malloc_info): Also print mmapped statistics.
4913 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4915         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4916         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4918 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4920         * malloc/malloc.c (malloc_info): Inline mi_arena.
4922 2014-05-29  Richard Henderson  <rth@twiddle.net>
4924         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4925         Remove comma before expanding ASM_ARGS_##nr.
4926         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4927         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4928         of ASM_ARGS_##nr.
4929         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4930         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4931         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4932         (ASM_ARGS_1): Add leading comma.
4934         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4935         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4936         to __errno_location.
4937         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4938         Remove the expected plt for __errno_location.
4940         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4941         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4942         call to __read_tp.
4944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4945         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4946         it and break it down.
4947         (DOCARGS_0, DOCARGS_1): Do nothing.
4948         (DOCARGS_2): Update to store into the new stack frame.
4949         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4950         (UNDOCARGS_1): Update to restore from the new stack frame.
4951         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4952         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4954         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4955         (SINGLE_THREAD_P): New parameter for result regno.
4956         (PSEUDO): Update to match; use cbz instead of beq.
4958         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4959         Use ENTRY to define the _nocancel entry point.  Share the syscall
4960         and syscall error check paths with the cancel path.
4961         (PSEUDO_END): New.
4963         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4964         whitespace; tabs before and after asm mnemonics.
4966 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4968         [BZ #15132]
4969         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4970         Call fstat64 or stat64 internally, depending on arguments passed.
4971         Replace stat buffer argument with file descriptor argument.
4972         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4973         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4974         Pass fd to __internal_statvfs instead of calling fstat64.
4975         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4976         Pass fd to __internal_statvfs64 instead of calling fstat64.
4977         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4978         Pass -1 to __internal_statvfs instead of calling stat64.
4979         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4980         Pass -1 to __internal_statvfs64 instead of calling stat64.
4982 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4984         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4985         that was previously under [RESET_PID].
4986         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4988         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4989         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4991 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4993         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4995         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4996         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4998 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5000         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5002 2014-05-27  Andreas Schwab  <schwab@suse.de>
5004         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5005         TLS_INIT_TP macro.
5006         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5007         * elf/rtld.c (init_tls, dl_main): Likewise.
5008         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5009         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5010         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5011         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5012         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5013         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5014         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5015         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5016         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5017         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5018         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5019         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5020         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5021         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5022         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5023         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5024         * sysdeps/generic/tls.h: Update description.
5026 2014-05-27  Will Newton  <will.newton@linaro.org>
5028         [BZ #16990]
5029         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5030         and restore r2 rather than just restoring.
5032 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5034         [BZ #16724]
5035         * libio/tst-ftell-append.c: New test case.
5036         * libio/Makefile (tests): Add test case.
5037         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5038         append mode.
5039         * libio/wfileops.c (do_ftell_wide): Likewise.
5041 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5045         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5046         ...
5047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5049         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5050         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5051         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5052         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5053         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5054         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5056         Moved ...
5057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5059         Moved ...
5060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5061         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5062         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5063         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5064         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5065         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5066         ...
5067         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5068         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5069         Moved ...
5070         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5071         here.
5072         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5073         ...
5074         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5075         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5076         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5078         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5079         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5080         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5081         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5083         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5084         merge into ...
5085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5087         ...
5088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5090         ...
5091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5093         Moved ...
5094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5095         here.
5096         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5097         Moved ...
5098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5100         Moved ...
5101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5104         conditional [RESET_PID].
5105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5107         removed.
5108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5109         removed.
5111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5112         <tcb-offsets.h>.
5113         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5114         (__libc_vfork): New strong alias.
5115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5116         removed.
5117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5118         Removed.
5120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5121         <tcb-offsets.h>.
5122         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5123         (__libc_vfork): New strong alias.
5124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5125         removed.
5126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5127         removed.
5129 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5131         * malloc/malloc.c (mi_arena): New function.
5132         (malloc_info): Remove nested function mi_arena. Call non-nosted
5133         function mi_arena.
5135 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5137         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5138         by insrwi.
5139         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5140         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5141         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5142         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5143         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5144         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5145         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5147 2014-05-26  Andreas Schwab  <schwab@suse.de>
5149         [BZ #16984]
5150         * locale/programs/repertoire.c (repertoire_read): Add slash
5151         between I18NPATH element and file name.
5152         * locale/programs/locfile.c (locfile_read): Likewise.
5154 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5156         * nptl/pthread_mutexattr_settype.c
5157         (__pthread_mutexattr_settype):
5158         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5160 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5162         * nptl/tst-mutex5 (do_test):
5163         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5165 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5167         * benchtests/README: Document 'init' directive.
5168         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5169         BENCH_INIT.
5170         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5171         (parse_file): Recognize 'init' directive.
5173 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5175         [BZ #16796]
5176         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5177         alignment of struct pthread.
5179 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5181         [BZ #16878]
5182         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5183         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5184         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5185         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5187 2014-05-25  Richard Henderson  <rth@twiddle.net>
5189         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5190         (SINGLE_THREAD_P_PIC): Remove.
5191         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5192         (SINGLE_THREAD_P_PIC): Remove.
5194         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5195         branch to syscall error ...
5196         (PSEUDO): ... here.
5197         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5198         from __local_syscall_error to .Lsyscall_error.
5199         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5200         (SYSCALL_ERROR): Update label name.
5202         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5203         Do not use DOARGS/UNDOARGS.
5204         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5205         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5206         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5207         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5208         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5210         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5211         block comment.
5213         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5214         define if !NOT_IN_libc.
5215         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5216         define with non-default symbol versions.
5218 2014-05-23  Richard Henderson  <rth@twiddle.net>
5220         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5221         (vfork, __vfork): Define via compat_symbol.
5223         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5224         [!HAVE_IFUNC] (vfork_compat): Remove.
5225         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5227 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5229         [BZ #16978]
5230         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5231         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5232         variable.
5234 2014-05-23  Richard Henderson  <rth@twiddle.net>
5236         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5237         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5238         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5239         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5241         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5242         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5243         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5244         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5245         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5246         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5247         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5248         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5249         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5250         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5251         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5252         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5253         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5254         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5255         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5256         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5257         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5258         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5259         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5260         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5261         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5262         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5263         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5264         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5265         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5266         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5267         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5268         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5269         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5270         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5271         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5272         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5273         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5274         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5275         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5276         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5277         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5278         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5279         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5280         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5281         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5282         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5283         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5284         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5285         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5286         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5287         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5288         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5289         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5290         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5291         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5292         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5293         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5294         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5295         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5296         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5298         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5299         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5300         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5301         before exiting on error.
5302         (__libc_vfork): New strong alias.
5303         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5304         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5306         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5307         that was previously under [RESET_PID].
5308         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5310         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5312 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5314         [BZ #16977]
5315         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5316         value when x - 1 is zero.
5317         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5318         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5319         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5320         0.0L for an argument of 1.0L.
5321         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5322         Likewise.
5323         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5324         value when x - 1 is zero.
5325         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5326         * sysdeps/i386/fpu/libm-test-ulps: Update.
5327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5329 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5331         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5332         alphasort and versionsort.
5334 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5336         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5337         macro.
5338         [copysignf]: Likewise.
5340 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5342         * crypt/md5-crypt.c: Fix formatting.
5344 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5346         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5347         (b64_from_24bit): New function.
5349 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5351         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5352         libc_hidden_builtin_def to ifunc.
5353         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5354         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5356 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5358         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5359         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5361 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5363         * nscd/Depend (linuxthreads): Remove.
5364         (nptl): Add.
5365         * resolv/Depend (linuxthreads): Remove.
5366         * rt/Depend (linuxthreads): Remove.
5368         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5369         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5370         $(common-objpfx)elf/.
5371         (link-libc-before-gnulib): Likewise.
5372         (elfobjdir): Remove variable.
5373         * Makefile (install): Use $(elf-objpfx) instead of
5374         $(common-objpfx)elf/.
5375         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5376         $(elfobjdir)/.
5377         (link-libc-deps): Likewise.
5378         ($(common-objpfx)libc.so): Likewise.
5379         ($(common-objpfx)linkobj/libc.so): Likewise.
5380         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5381         instead of $(common-objpfx)elf/.
5382         (symbolic-link-list): Likewise.
5383         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5384         [$(cross-compiling) = no]: Likewise.
5385         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5386         $(elfobjdir)/.
5387         (static-gnulib-arch): Likewise.
5388         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5389         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5390         $(common-objpfx)elf/.
5392 2014-05-21  Richard Henderson  <rth@redhat.com>
5394         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5395         (SINGLE_THREAD_P): Use the correct width load.  Fold
5396         into the ldr offset.
5398         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5399         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5401 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5403         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5404         (libgcc_s_resume): Use __attribute_used__.
5405         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5406         Likewise.
5408 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5410         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5411         optimization when used with float constants.
5413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5415 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5417         [BZ #16915]
5418         * locale/nl_langinfo_l.c: Make direct reference to every
5419         _nl_current_CATEGORY symbol.
5420         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5421         (tests-static): Add tst-langinfo-static.
5422         (tests-special): Add tst-langinfo-static.out.
5423         ($(objpfx)tst-langinfo.out): Redirect output.
5424         ($(objpfx)tst-langinfo-static.out): New.
5425         * localedata/tst-langinfo.sh: Send output to stdout.
5426         * localedata/tst-langinfo-static.c: New file.
5428         [BZ #16965]
5429         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5430         when the shift amount is modulo the limb size.
5432 2014-05-20  Richard Henderson  <rth@redhat.com>
5434         [BZ #16967]
5435         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5436         Change type of sa_flags from unsigned int to int.
5438         [BZ #16966]
5439         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5441         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5443 2014-05-20  Will Newton  <will.newton@linaro.org>
5445         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5446         Test the return value of the system call in the nocancel case.
5448 2014-05-20  Will Newton  <will.newton@linaro.org>
5449             Yvan Roux  <yvan.roux@linaro.org>
5451         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5452         #include of asm/ptrace.h.
5453         (PTRACE_GET_THREAD_AREA): Remove #undef.
5454         (PTRACE_GETHBPREGS): Likewise.
5455         (PTRACE_SETHBPREGS): Likewise.
5456         (struct user_regs_struct): New structure.
5457         (struct user_fpsimd_struct): New structure.
5458         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5459         #include of asm/ptrace.h and second #include of sys/user.h.
5460         (PTRACE_GET_THREAD_AREA): Remove #undef.
5461         (PTRACE_GETHBPREGS): Likewise.
5462         (PTRACE_SETHBPREGS): Likewise.
5463         (ELF_NGREG): Use new struct user_regs_struct.
5464         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5466 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5468         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5469         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5471 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5473         [BZ #16958]
5474         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5475         membar to avoid block loads/stores to overlap previous stores.
5477 2014-05-17  Richard Henderson  <rth@redhat.com>
5479         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5480         Create the __##syscall_name##_nocancel entry point.
5481         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5482         Remove; let the sysdep-cancel.h code create it.
5484 2014-05-17  David S. Miller  <davem@davemloft.net>
5486         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5487         Protect with __USE_GNU.
5488         (TIOCSET_TEMPT): Likewise.
5489         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5490         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5491         these are already provided in bits/ioctl-types.h
5493 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5495         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5496         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5498         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5499         Use wait4 regardless of [__NR_waitpid].
5501 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5503         PR libgcc/60166
5504         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5505         (_FP_NANSIGN_Q): Set the quiet bit.
5507 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5509         * benchtests/Makefile
5510         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5511         not $(common-objpfx)math/libm.so.
5512         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5513         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5514         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5515         $(common-objpfx)dlfcn/libdl.so.
5516         ($(objpfx)tst-audit8): Depend on $(libm), not
5517         $(common-objpfx)math/libm.so.
5518         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5519         not $(common-objpfx)dlfcn/libdl.so.
5520         * math/Makefile
5521         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5522         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5523         [$(build-shared) = yes].
5524         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5525         $(common-objpfx)nptl/libpthread.so.
5526         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5527         $(common-objpfx)math/libm.so$(libm.so-version) or
5528         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5529         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5530         $(common-objpfx)dlfcn/libdl.so.
5531         * setjmp/Makefile (link-libm): Remove variable.
5532         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5533         * stdio-common/Makefile (link-libm): Remove variable.
5534         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5535         * stdlib/Makefile (link-libm): Remove variable.
5536         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5537         ($(objpfx)tst-strtod-round): Likewise.
5538         ($(objpfx)tst-tininess): Likewise.
5539         ($(objpfx)tst-strtod-underflow): Likewise.
5540         ($(objpfx)tst-strtod6): Likewise.
5541         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5542         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5543         $(common-objpfx)dlfcn/libdl.so.
5545 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5547         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5548         BSD terminal modes definitions.
5550 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5552         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5553         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5555         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5556         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5557         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5558         Don't do #include_next.
5559         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5560         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5561         Don't do #include_next.
5562         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5563         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5564         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5565         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5567 2014-05-16  Allan McRae  <allan@archlinux.org>
5569         * po/sv.po: Update Swedish translation from translation project.
5571         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5572         in sed expression.
5574 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5576         [BZ #16917]
5577         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5578         errno if the TIOCGPTN ioctl fails with an error different than
5579         EINVAL.
5580         * login/tst-ptsname.c: New file.
5581         * login/Makefile (tests): Add tst-ptsname.
5583         [BZ #16943]
5584         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5585         and prlimit64.
5587 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5589         [BZ #16849]
5590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5591         herrno to return EAI_AGAIN.
5593 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5595         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5596         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5597         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5598         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5599         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5600         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5601         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5602         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5603         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5604         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5605         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5606         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5607         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5608         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5609         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5610         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5611         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5612         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5613         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5614         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5615         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5616         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5617         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5618         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5619         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5620         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5621         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5622         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5623         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5624         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5626         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5628         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5630         Moved ...
5631         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5633         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5635         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5637         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5639         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5641         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5643         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5645         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5647         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5649         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5651         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5653         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5655         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5657         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5659         Moved ...
5660         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5662         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5664         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5666         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5668         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5670         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5672         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5674         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5676         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5678         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5680         Moved ...
5681         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5683         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5685         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5686         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5687         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5688         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5689         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5690         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5691         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5692         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5693         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5694         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5695         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5696         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5697         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5698         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5699         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5700         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5701         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5702         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5703         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5704         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5705         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5706         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5707         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5708         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5709         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5710         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5711         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5712         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5713         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5714         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5715         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5717         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5718         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5720         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5721         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5722         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5723         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5724         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5725         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5726         Moved ...
5727         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5728         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5729         Moved ...
5730         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5731         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5732         Moved ...
5733         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5734         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5735         Moved ...
5736         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5737         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5738         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5739         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5740         Moved ...
5741         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5742         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5743         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5744         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5745         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5746         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5747         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5748         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5749         Moved ...
5750         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5751         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5752         Moved ...
5753         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5754         ... here.
5755         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5756         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5757         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5758         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5759         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5760         Moved ...
5761         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5762         ... here.
5763         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5764         Moved ...
5765         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5766         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5767         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5768         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5769         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5770         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5771         Moved ...
5772         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5773         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5774         Moved ...
5775         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5776         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5777         Moved ...
5778         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5779         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5780         Moved ...
5781         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5782         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5783         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5784         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5785         Moved ...
5786         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5787         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5788         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5789         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5790         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5791         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5792         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5793         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5794         Moved ...
5795         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5796         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5797         Moved ...
5798         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5799         ... here.
5800         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5801         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5802         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5803         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5804         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5805         Moved ...
5806         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5807         ... here.
5808         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5809         Moved ...
5810         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5811         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5812         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5813         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5814         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5815         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5816         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5817         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5818         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5819         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5820         Moved ...
5821         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5822         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5823         Moved ...
5824         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5825         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5826         Moved ...
5827         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5828         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5829         Moved ...
5830         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5831         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5832         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5833         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5834         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5835         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5836         Moved ...
5837         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5838         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5839         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5840         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5841         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5842         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5843         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5844         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5845         Moved ...
5846         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5847         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5848         Moved ...
5849         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5850         ... here.
5851         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5852         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5853         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5854         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5855         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5856         Moved ...
5857         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5858         ... here.
5859         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5860         Moved ...
5861         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5862         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5863         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5864         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5865         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5866         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5867         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5868         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5869         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5870         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5871         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5873         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5874         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5876         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5877         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5879         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5880         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5881         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5882         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5883         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5884         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5885         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5886         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5887         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5888         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5889         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5890         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5891         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5892         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5893         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5894         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5895         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5897         Moved ...
5898         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5899         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5900         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5901         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5902         Moved ...
5903         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5905         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5906         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5907         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5908         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5909         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5911         Moved ...
5912         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5913         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5914         Moved ...
5915         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5916         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5917         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5918         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5919         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5920         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5921         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5922         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5923         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5924         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5925         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5926         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5927         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5928         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5929         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5930         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5931         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5933         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5934         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5935         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5936         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5937         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5939         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5940         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5941         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5942         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5943         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5944         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5945         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5946         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5947         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5948         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5950         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5951         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5953         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5954         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5955         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5956         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5957         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5958         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5959         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5960         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5961         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5962         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5963         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5964         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5965         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5966         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5967         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5968         Update #include.
5969         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5970         Likewise.
5971         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5972         Likewise.
5973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5974         Likewise.
5975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5976         Likewise.
5977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5978         Likewise.
5979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5980         Likewise.
5981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5982         Likewise.
5983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5984         Likewise.
5985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5986         Likewise.
5987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5988         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5990         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5992         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5993         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5994         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5995         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5996         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5997         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5998         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5999         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6000         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6001         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6003         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6004         that was previously under [RESET_PID].
6005         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6006         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6007         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6009         * sysdeps/i386/nptl/Implies: New file.
6010         * sysdeps/x86_64/nptl/Implies: New file.
6011         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6012         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6013         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6014         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6016         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6017         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6018         (__libc_vfork): New strong alias.
6019         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6020         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6022         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6023         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6024         (__libc_vfork): New strong alias.
6025         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6026         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6028         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6029         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6030         (__libc_vfork): New strong alias.
6031         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6032         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6033         * nptl/pt-vfork.c: New file.
6034         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6035         (libpthread: GLIBC_2.20): New version set (empty).
6037 2014-05-14  Will Newton  <will.newton@linaro.org>
6039         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6040         rather than #if.
6042 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6044         [BZ #16564]
6045         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6046         arguments with exponent 65 or above.
6047         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6048         arguments 0x1p113L or above.
6049         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6050         to arguments 0x1p107L or above.
6051         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6052         positive arguments with exponent 65 or above.
6053         * math/auto-libm-test-in: Add more tests of log1p.
6054         * math/auto-libm-test-out: Regenerated.
6056         [BZ #16928]
6057         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6058         non-finite arguments is +0.
6059         * math/s_cacosf.c (__cacosf): Likewise.
6060         * math/s_cacosl.c (__cacosl): Likewise.
6061         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6062         * sysdeps/i386/fpu/libm-test-ulps: Update.
6063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6065         [BZ #16927]
6066         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6067         value.
6068         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6069         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6070         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6071         for explicit high bit of mantissa when testing for argument equal
6072         to 1.
6073         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6074         * sysdeps/i386/fpu/libm-test-ulps: Update.
6075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6077         [BZ #16516]
6078         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6079         (__erf): Scale by 16 instead of 8 in potentially underflowing
6080         case.  Ensure exception if result actually underflows.
6081         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6082         (__erff): Scale by 16 instead of 8 in potentially underflowing
6083         case.  Ensure exception if result actually underflows.
6084         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6085         (efx8): Remove variable.
6086         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6087         case.  Ensure exception if result actually underflows.
6088         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6089         (efx8): Remove variable.
6090         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6091         case.  Ensure exception if result actually underflows.
6092         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6093         (efx8): Remove variable.
6094         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6095         case.  Ensure exception if result actually underflows.
6096         * math/auto-libm-test-in: Add more tests of erf.
6097         * math/auto-libm-test-out: Regenerated.
6099 2014-05-14  Andreas Schwab  <schwab@suse.de>
6101         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6102         Remove code conditionalized on USE___THREAD.
6104         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6105         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6106         not definedness.
6108 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6110         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6111         Define unconditionally.
6112         (__ASSUME_O_CLOEXEC): Likewise.
6113         (__ASSUME_SOCK_CLOEXEC): Likewise.
6114         (__ASSUME_IN_NONBLOCK): Likewise.
6115         (__ASSUME_PIPE2): Likewise.
6116         (__ASSUME_EVENTFD2): Likewise.
6117         (__ASSUME_SIGNALFD4): Likewise.
6118         (__ASSUME_DUP3): Likewise.
6119         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6120         (__ASSUME_DUP3): Do not define.
6121         (__ASSUME_EVENTFD2): Likewise.
6122         (__ASSUME_IN_NONBLOCK): Likewise.
6123         (__ASSUME_O_CLOEXEC): Likewise.
6124         (__ASSUME_PIPE2): Likewise.
6125         (__ASSUME_SIGNALFD4): Likewise.
6126         (__ASSUME_SOCK_CLOEXEC): Likewise.
6127         (__ASSUME_UTIMES): Undefine.
6128         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6129         (__ASSUME_UTIMES): Do not define.
6130         (__ASSUME_O_CLOEXEC): Likewise.
6131         (__ASSUME_SOCK_CLOEXEC): Likewise.
6132         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6133         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6134         0x020621].
6135         (__ASSUME_PIPE2): Likewise.
6136         (__ASSUME_EVENTFD2): Likewise.
6137         (__ASSUME_SIGNALFD4): Likewise.
6138         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6139         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6140         Do not define.
6141         (__ASSUME_EVENTFD2): Likewise.
6142         (__ASSUME_SIGNALFD4): Likewise.
6143         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6144         (__ASSUME_32BITUIDS): Likewise.
6145         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6146         (__ASSUME_IPC64): Likewise.
6147         (__ASSUME_ST_INO_64_BIT): Likewise.
6148         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6149         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6150         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6151         (__ASSUME_UTIMES): Do not define.
6152         (__ASSUME_PSELECT): Likewise.
6153         (__ASSUME_PPOLL): Likewise.
6154         (__ASSUME_O_CLOEXEC): Likewise.
6155         (__ASSUME_SOCK_CLOEXEC): Likewise.
6156         (__ASSUME_IN_NONBLOCK): Likewise.
6157         (__ASSUME_PIPE2): Likewise.
6158         (__ASSUME_EVENTFD2): Likewise.
6159         (__ASSUME_SIGNALFD4): Likewise.
6160         (__ASSUME_DUP3): Likewise.
6161         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6162         (__ASSUME_UTIMES): Likewise.
6163         (__ASSUME_O_CLOEXEC): Likewise.
6164         (__ASSUME_SOCK_CLOEXEC): Likewise.
6165         (__ASSUME_IN_NONBLOCK): Likewise.
6166         (__ASSUME_PIPE2): Likewise.
6167         (__ASSUME_EVENTFD2): Likewise.
6168         (__ASSUME_SIGNALFD4): Likewise.
6169         (__ASSUME_DUP3): Likewise.
6170         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6171         (__ASSUME_UTIMES): Likewise.
6172         (__ASSUME_O_CLOEXEC): Likewise.
6173         (__ASSUME_SOCK_CLOEXEC): Likewise.
6174         (__ASSUME_IN_NONBLOCK): Likewise.
6175         (__ASSUME_PIPE2): Likewise.
6176         (__ASSUME_EVENTFD2): Likewise.
6177         (__ASSUME_SIGNALFD4): Likewise.
6178         (__ASSUME_DUP3): Likewise.
6179         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6180         Likewise.
6181         (__ASSUME_UTIMES): Likewise.
6182         (__ASSUME_EVENTFD2): Likewise.
6183         (__ASSUME_SIGNALFD4): Likewise.
6184         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6185         (__ASSUME_O_CLOEXEC): Likewise.
6186         (__ASSUME_SOCK_CLOEXEC): Likewise.
6187         (__ASSUME_IN_NONBLOCK): Likewise.
6188         (__ASSUME_PIPE2): Likewise.
6189         (__ASSUME_EVENTFD2): Likewise.
6190         (__ASSUME_SIGNALFD4): Likewise.
6191         (__ASSUME_DUP3): Likewise.
6192         (__ASSUME_UTIMES): Undefine.
6194         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6195         feclearexcept.  Remove symbol versioning code.
6196         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6197         symbol versioning code.
6198         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6199         symbol versioning code.
6200         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6201         feupdateenv.  Remove symbol versioning code.
6202         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6203         fegetexceptflag.  Remove symbol versioning code.
6204         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6205         fesetexceptflag.  Remove symbol versioning code.
6206         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6207         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6208         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6209         (__posix_fadvise64_l32): Remove prototype.
6210         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6211         code.
6213 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6215         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6216         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6217         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6218         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6220 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6222         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6223         current working directory
6225 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6227         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6228         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6229         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6230         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6231         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6232         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6233         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6234         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6235         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6236         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6237         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6238         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6239         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6240         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6241         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6242         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6243         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6244         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6245         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6246         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6247         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6248         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6249         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6250         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6251         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6252         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6253         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6254         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6255         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6256         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6257         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6258         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6259         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6260         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6261         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6262         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6263         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6264         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6265         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6266         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6267         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6268         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6270         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6271         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6273         * sysdeps/unix/sysv/linux/arm/Makefile
6274         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6275         Add rt-aeabi_unwind_cpp_pr1.
6276         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6277         Add nptl-aeabi_unwind_cpp_pr1.
6278         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6279         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6280         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6281         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6282         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6283         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6285         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6286         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6287         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6288         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6290         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6291         Deconditionalize the code that was previously under [RESET_PID].
6292         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6294         * sysdeps/generic/exit-thread.h: New file.
6295         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6296         * include/unistd.h (__exit_thread): Remove declaration.
6297         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6298         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6299         * csu/libc-start.c: Include <exit-thread.h>.
6300         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6301         * nptl/pthread_create.c: Include <exit-thread.h>.
6302         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6303         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6304         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6305         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6306         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6307         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6308         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6309         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6310         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6311         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6312         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6313         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6314         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6315         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6316         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6317         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6318         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6320 2014-05-13  Andreas Schwab  <schwab@suse.de>
6322         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6324 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6326         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6327         (__ASSUME_UTIMES): Do not condition on kernel version.
6328         (__ASSUME_PSELECT): Define unconditionally.
6329         (__ASSUME_PPOLL): Likewise.
6330         (__ASSUME_ATFCTS): Likewise.
6331         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6332         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6333         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6334         (__ASSUME_UTIMENSAT): Define unconditionally.
6335         (__ASSUME_PRIVATE_FUTEX): Likewise.
6336         (__ASSUME_FALLOCATE): Likewise.
6337         (__ASSUME_O_CLOEXEC): Likewise.
6338         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6339         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6340         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6341         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6342         (__ASSUME_IN_NONBLOCK): Likewise.
6343         (__ASSUME_PIPE2): Likewise.
6344         (__ASSUME_EVENTFD2): Likewise.
6345         (__ASSUME_SIGNALFD4): Likewise.
6346         (__ASSUME_DUP3): Likewise.
6347         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6348         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6349         (__ASSUME_AT_RANDOM): Likewise.
6350         (__ASSUME_PREADV): Likewise.
6351         (__ASSUME_PWRITEV): Likewise.
6352         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6353         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6354         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6355         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6356         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6357         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6358         (__ASSUME_O_CLOEXEC): Define unconditionally.
6359         (__ASSUME_PSELECT): Do not undefine conditionally.
6360         (__ASSUME_PPOLL): Likewise.
6361         (__ASSUME_ATFCTS): Likewise.
6362         (__ASSUME_SET_ROBUST_LIST): Likewise.
6363         (__ASSUME_UTIMENSAT): Likewise.
6364         (__ASSUME_FDATASYNC): Define unconditionally.
6365         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6366         (__ASSUME_SIGFRAME_V2): Likewise.
6367         )__ASSUME_EVENTFD2): Likewise.
6368         (__ASSUME_SIGNALFD4): Likewise.
6369         (__ASSUME_PSELECT): Do not undefine conditionally.
6370         (__ASSUME_PPOLL): Likewise.
6371         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6372         (__ASSUME_PSELECT): Define unconditionally.
6373         (__ASSUME_PPOLL): Likewise.
6374         (__ASSUME_O_CLOEXEC): Likewise.
6375         (__ASSUME_SOCK_CLOEXEC): Likewise.
6376         (__ASSUME_IN_NONBLOCK): Likewise.
6377         (__ASSUME_PIPE2): Likewise.
6378         (__ASSUME_EVENTFD2): Likewise.
6379         (__ASSUME_SIGNALFD4): Likewise.
6380         (__ASSUME_DUP3): Likewise.
6381         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6382         (__ASSUME_O_CLOEXEC): Likewise.
6383         (__ASSUME_SOCK_CLOEXEC): Likewise.
6384         (__ASSUME_IN_NONBLOCK): Likewise.
6385         (__ASSUME_PIPE2): Likewise.
6386         (__ASSUME_EVENTFD2): Likewise.
6387         (__ASSUME_SIGNALFD4): Likewise.
6388         (__ASSUME_DUP3): Likewise.
6389         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6390         (__ASSUME_EVENTFD2): Likewise.
6391         (__ASSUME_SIGNALFD4): Likewise.
6392         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6394 2014-05-12  Andreas Schwab  <schwab@suse.de>
6396         [BZ #16932]
6397         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6398         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6399         than maximum RPC packet size.
6400         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6401         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6402         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6403         (_nss_nis_getservbyport_r): Likewise.
6405 2014-05-12  Will Newton  <will.newton@linaro.org>
6407         * malloc/Makefile (tests): Add tst-mallopt.
6408         * malloc/tst-mallopt.c: New file.
6410 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6412         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6413         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6415 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6417         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6418         (tst-tlsmod6.so): Likewise.
6420 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6422         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6424 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6426         [BZ #16064]
6427         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6428         and <dl-procinfo.h>.
6429         (__fegetenv): Save SSE state in envp->__eip if supported.
6430         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6431         envp->__eip if supported.
6432         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6433         and <dl-procinfo.h>.
6434         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6435         __data_offset and __data_selector in environment to 0.  Set SSE
6436         state if supported.
6437         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6438         test-fenv-sse.
6439         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6440         -mfpmath=sse.
6441         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6443 2014-05-09  Will Newton  <will.newton@linaro.org>
6445         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6446         and libc_relro_required for ARM.
6447         * sysdeps/arm/preconfigure: Regenerate.
6449 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6450             Stefan Liebler  <stli@linux.vnet.ibm.com>
6452         * config.make.in (enable-lock-elision): New Makefile variable.
6453         * configure.ac: Likewise.
6454         * configure: Regenerate.
6455         * sysdeps/s390/configure.ac:
6456         Add check for gcc transactions support.
6457         * sysdeps/s390/configure: Regenerate.
6458         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6459         Build elision files if enabled.
6460         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6461         Add lock elision support for s390.
6462         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6463         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6464         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6465         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6466         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6467         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6468         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6469         Likewise.
6470         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6471         Likewise.
6472         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6473         Likewise.
6474         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6475         Likewise.
6476         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6477         (__lll_timedlock_elision, __lll_lock_elision)
6478         (__lll_unlock_elision, __lll_trylock_elision)
6479         (lll_timedlock_elision, lll_lock_elision)
6480         (lll_unlock_elision, lll_trylock_elision): Add.
6481         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6482         (pthread_mutex_t): Add lock elision support for s390.
6484 2014-05-14  Wilco  <wdijkstr@arm.com>
6486         * sysdeps/arm/fclrexcpt.c: Cleanup.
6487         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6488         * sysdeps/arm/feenablxcpt.c: Cleanup.
6489         * sysdeps/arm/fegetenv.c: Cleanup.
6490         * sysdeps/arm/fegetexcept.c: Cleanup.
6491         * sysdeps/arm/fegetround.c: Cleanup.
6492         * sysdeps/arm/feholdexcpt.c: Cleanup.
6493         * sysdeps/arm/fesetenv.c: Cleanup.
6494         * sysdeps/arm/fesetround.c: Cleanup.
6495         * sysdeps/arm/feupdateenv.c: Cleanup.
6496         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6497         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6498         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6499         * sysdeps/arm/ftestexcept.c: Cleanup.
6500         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6501         * sysdeps/arm/setfpucw.c: Cleanup.
6503 2014-05-09  Will Newton  <will.newton@linaro.org>
6505         * sysdeps/arm/armv7/strcmp.S: New file.
6506         * NEWS: Mention addition of ARMv7 optimized strcmp.
6508 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6510         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6511         look for %.ac rather than %.in.
6513         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6514         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6515         * sysdeps/mach/hurd/configure: Regenerated.
6516         * sysdeps/unix/sysv/linux/configure: Regenerated.
6518         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6520 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6522         [BZ# 16922]
6523         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6524         (LONG_SUB): Ditto.
6525         (PTR_SUB): Ditto.
6527 2014-05-07  Andreas Schwab  <schwab@suse.de>
6529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6530         when skipping over non-matching result from nscd.
6532 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6534         [BZ #16876]
6535         * nptl/sockperf.c (client): Check socket return value.
6537         [BZ #16877]
6538         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6539         nscd security class.
6541 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6543         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6544         * sysdeps/arm/unwind.h: ... here.
6546 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6548         [BZ# 16916]
6549         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6550         Define.
6552 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6554         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6555         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6556         multiarch strncpy for PPC64.
6557         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6558         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6560         multiarch optimizations.
6561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6562         (__libc_ifunc_impl_list): Likewise.
6563         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6564         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6565         multiarch stpncpy for PPC64.
6566         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6567         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6569 2014-05-06  Andreas Schwab  <schwab@suse.de>
6571         [BZ #16912]
6572         * gmon/mcount.c (_MCOUNT_DECL): Use
6573         atomic_compare_and_exchange_bool_acq instead of
6574         catomic_compare_and_exchange_bool_acq.
6576 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6578         * elf/Makefile (others, install-bin): Remove pldd.
6579         (pldd-modules): Variable removed.
6580         ($(objpfx)pldd): Target removed.
6581         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6582         (others, install-bin): Append pldd here.
6583         ($(objpfx)pldd): New target.
6585         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6586         to 0, so the first #if test emitted later doesn't see it undefined.
6587         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6588         * sysdeps/gnu/errlist.c: Regenerated.
6590 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6592         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6593         [libc_hidden_builtin_def]: Define to empty value.
6594         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6595         [libc_hidden_builtin_def]: Likewise.
6596         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6597         [libc_hidden_builtin_def]: Likewise.
6598         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6599         [libc_hidden_builtin_def]: Likewise.
6600         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6601         __redirect_memcpy and define ifunc as default hidden symbol.
6602         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6603         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6605 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6607         * locale/iso-4217.def: Reintroduce XDR currency.
6609 2014-05-04  Allan McRae  <allan@archlinux.org>
6611         * po/eo.po: Update Esperanto translation from translation project.
6613 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6615         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6616         and FEATURE_INDEX_MAX to 1.
6617         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6619 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6621         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6622         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6623         * iconvdata/big5.c (ONE_DIRECTION): Define.
6624         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6625         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6626         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6627         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6628         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6629         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6630         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6631         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6632         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6633         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6634         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6635         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6636         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6637         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6638         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6639         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6640         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6641         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6642         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6643         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6644         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6645         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6646         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6647         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6648         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6649         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6650         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6651         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6652         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6653         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6654         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6655         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6656         * iconvdata/johab.c (ONE_DIRECTION): Define.
6657         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6658         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6659         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6660         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6661         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6662         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6663         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6664         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6665         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6666         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6668 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6670         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6671         (_IO_JUMPS_OFFSET): Define to 0.
6673         * nptl/sysdeps/pthread/bits/libc-lock.h
6674         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6675         (__libc_lock_define_initialized_recursive): Always define using
6676         initializer.  Modern compilers treat uninitialized (implicit zero) and
6677         explicit zero initializers the same (i.e. put the datum in bss).
6679 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6681         * nscd/nscd-client.h: Include <string.h>.
6683 2014-05-01  David S. Miller  <davem@davemloft.net>
6685         [BZ #16885]
6686         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6687         multiple zero bytes exist at the end of a string.
6688         Reported by Aurelien Jarno <aurelien@aurel32.net>
6690         * string/test-strcmp.c (check): Add explicit test for situations where
6691         there are multiple zero bytes after the first.
6693 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6695         [BZ #16890]
6696         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6697         when compiling wprintf.
6698         * stdio-common/tstdiomisc.c (t3): New function.
6699         (main): Call it.
6701 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6703         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6704         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6705         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6706         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6708 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6710         * stdlib/longlong.h: Updated from GCC.
6712 2014-05-01  Will Newton  <will.newton@linaro.org>
6713             Bernard Ogden  <bernie.ogden@linaro.org>
6715         * NEWS: Update fixed bug list.
6717         [BZ #15119]
6718         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6720 2014-04-30  David S. Miller  <davem@davemloft.net>
6722         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6723         (libc_feholdexcept_setround_sparc_ctx): New function.
6724         (libc_fesetenv_sparc_ctx): Likewise.
6725         (libc_feupdateenv_sparc_ctx): Likewise.
6726         (libc_feholdsetround_sparc_ctx): Likewise.
6727         (libc_feholdexcept_setround_ctx): Define.
6728         (libc_feholdexcept_setroundf_ctx): Likewise.
6729         (libc_feholdexcept_setroundl_ctx): Likewise.
6730         (libc_fesetenv_ctx): Likewise.
6731         (libc_fesetenvf_ctx): Likewise.
6732         (libc_fesetenvl_ctx): Likewise.
6733         (libc_feupdateenv_ctx): Likewise.
6734         (libc_feupdateenvf_ctx): Likewise.
6735         (libc_feupdateenvl_ctx): Likewise.
6736         (libc_feresetround_ctx): Likewise.
6737         (libc_feresetroundf_ctx): Likewise.
6738         (libc_feresetroundl_ctx): Likewise.
6739         (libc_feholdsetround_ctx): Likewise.
6740         (libc_feholdsetroundf_ctx): Likewise.
6741         (libc_feholdsetroundl_ctx): Likewise.
6743         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6744         with __USE_GNU instead of XOPEN cpp guards.
6746         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6747         0.
6749         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6750         with XOPEN cpp guards.
6752 2014-04-30  Julian Brown  <julian@codesourcery.com>
6754         [BZ #16888]
6755         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6756         handling.
6758 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6760         [BZ #9894]
6761         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6762         Change to 2.6.32.
6763         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6764         * sysdeps/unix/sysv/linux/configure: Regenerated.
6765         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6766         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6767         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6768         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6769         * README: Update reference to required Linux kernel version.
6770         * manual/install.texi (Linux): Update reference to required Linux
6771         kernel headers version.
6772         * INSTALL: Regenerated.
6774         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6775         header inclusion.
6776         [POSIX] (limits.h): Likewise.
6777         [POSIX] (math.h): Likewise.
6778         [POSIX] (sys/wait.h): Likewise.
6779         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6780         function.
6781         [POSIX] (stddef.h): Do not allow header inclusion.
6783 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6785         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6787 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6789         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6790         Return immediately after lll_futex_wake.
6792 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6794         [BZ #16791]
6795         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6796         structure.
6797         (datahead_init_pos): Call datahead_init_common early.
6798         (datahead_init_neg): Likewise.
6800         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6801         datahead_init_neg): New functions.
6802         * nscd/aicache.c (addhstaiX): Use them.
6803         * nscd/grpcache.c (cache_addgr): Likewise.
6804         * nscd/hstcache.c (cache_addhst): Likewise.
6805         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6806         * nscd/netgroupcache.c (do_notfound): Likewise.
6807         (addgetnetgrentX): Likewise.
6808         (addinnetgrX): Likewise.
6809         * nscd/pwdcache.c (cache_addpw): Likewise.
6810         * nscd/servicescache.c (cache_addserv): Likewise.
6812 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6813             Atsushi Onoe  <atsushi@onoe.org>
6815         [BZ #14308]
6816         [BZ #12994]
6817         [BZ #13651]
6818         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6819         one response is valid.
6820         * resolv/res_send.c (send_dg): Check for validity of other
6821         response if the current response is a referral.
6823 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6825         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6827 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6829         [BZ #16823]
6830         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6831         Always divide by positive zero when computing -Inf result.
6832         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6833         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6835 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6837         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6838         FPSCR if value do not change.
6839         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6840         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6841         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6842         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6843         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6844         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6845         function.
6847 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6849         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6850         * sysdeps/unix/sysv/linux/hppa: Move directory from
6851         ports/systeps/unix/sysv/linux/hppa.
6852         * README: Update listing for hppa-*-linux-gnu.
6854 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6856         [BZ #16754]
6857         * manual/stdio.texi (Hook functions): Fix types of stream hook
6858         functions.
6859         [BZ #16854]
6860         * socket/sys/socket.h: Fix typo in comment.
6862 2014-04-28  Wilco  <wdijkstr@arm.com>
6864         * sysdeps/arm/fenv_private.h: New file.
6865         * sysdeps/arm/math_private.h: New file.
6866         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6868 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6870         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6871         with __int128_t.
6872         (La_x86_64_retval): Likewise.
6874 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6876         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6877         fpsr if value didn't change.
6878         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6879         to fpcr if value didn't change.
6880         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6881         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6882         fpsr or fpcr if value didn't change.
6883         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6884         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6885         fpcr if value didn't change.
6886         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6887         to fpsr if value didn't change.
6889 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6891         * nptl/tst-sem3.c: Use test-skeleton.c
6892         (main): Rename to do_test.  Use return instead of
6893         exit.
6894         * nptl/tst-sem4.c: Use test-skeleton.c
6895         (main): Rename to do_test.
6897 2014-04-22  David S. Miller  <davem@davemloft.net>
6899         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6900         (struct sigaction): New struct member __glibc_reserved0, change
6901         type of sa_flags to int.
6903 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6905         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6906         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6908 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6910         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6911         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6913 2014-04-22  Will Newton  <will.newton@linaro.org>
6914             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6916         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6917         (__longjmp): Add longjmp and longjmp_target SystemTap
6918         probes.
6919         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6920         (__sigsetjmp): Add setjmp SystemTap probe.
6922 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6924         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6925         match manual order.
6927 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6929         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6931         * sysdeps/powerpc/fpu/fenv_private.h
6932         (libc_feholdexcept_setroundl_ctx): Define to
6933         libc_feholdexcept_setround_ppc_ctx.
6934         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6935         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6936         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6937         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6939 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6941         * sysdeps/aarch64/math-tests.h: New file.
6943 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6945         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6946         New.
6947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6948         Check and set bit_AVX2_Usable.
6949         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6950         macro.
6951         (bit_AVX2): Likewise.
6952         (index_AVX2_Usable): Likewise.
6953         (CPUID_AVX2): Likewise.
6954         (HAS_AVX2): Likewise.
6956 2014-04-17  Will Newton  <will.newton@linaro.org>
6958         * manual/setjmp.texi (System V contexts): Add note that
6959         calling setcontext on a context created by a call to a
6960         signal handler is undefined.  Update text to note that
6961         setcontext from a signal handler is possible but not
6962         recommended.
6964         [BZ #16629]
6965         * stdlib/tst-setcontext.c: Include signal.h.
6966         (main): Check that the signal stack before and
6967         after swapcontext is the same.
6969         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6970         Re-implement to restore registers in user code and avoid
6971         rt_sigreturn system call.
6973 2014-04-17  Wilco  <wdijkstr@arm.com>
6975         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6976         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6977         * math/test-fenv.c: Skip exception trap tests on targets which only
6978         support non-stop mode.
6980 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6981             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6983         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6984         (libc_feholdsetround_aarch64_ctx)
6985         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6986         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6987         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6988         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6989         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6990         (libc_feresetround_noexl_ctx): Define.
6992 2014-04-16  Richard Henderson  <rth@redhat.com>
6994         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6996         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6997         unwind tables.
6999         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7000         const from the non-libc, non-ldso copy.
7002         * sysdeps/alpha/libm-test-ulps: Regenerate.
7004 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7005             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7007         * sysdeps/aarch64/fpu/math_private.h: New file.
7009 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7011         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7013 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7015         [BZ #16275]
7016         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7017         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7018         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7019         Intel MPX bound registers before _dl_profile_fixup.
7020         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7021         registers after _dl_profile_fixup.  Save and restore bound
7022         registers bnd0/bnd1 when calling _dl_call_pltexit.
7023         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7024         (LR_BND_OFFSET): Likewise.
7025         (LRV_BND0_OFFSET): Likewise.
7026         (LRV_BND1_OFFSET): Likewise.
7028 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7030         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7031         to...
7032         * sysdeps/mach/hurd/i386/tls.h: ... here.
7033         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7034         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7035         fields.
7037 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7039         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7041 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7043         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7045 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7047         [BZ #14770]
7048         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7049         * sysdeps/s390/configure: Regenerate.
7051         [BZ #16824]
7052         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7053         Set round-to-nearest internally to reduce error accumulation.
7055 2014-04-16  Alan Modra  <amodra@gmail.com>
7057         [BZ #16740]
7058         [BZ #16619]
7059         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7060         * math/libm-test.inc (frexp_test_data): Add tests.
7061         * NEWS: Update fixed bug list.
7063 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7065         * benchtests/Makefile: Depend on libraries in build directory.
7066         (bench-math): Separate out math tests.
7067         (bench-pthread): Separate out pthread tests.
7068         (bench): Include math and pthread tests.
7070 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7072         [BZ #16831]
7073         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7074         _dl_debug_initialize.
7076         * configure.ac: Remove SELinux header check.
7077         * configure: Regenerate.
7078         * nscd/selinux.c (perms): Array of const char* to permission names.
7079         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7080         default policy. Call string_to_security_class and string_to_av_perm to
7081         translate strings. Enforce default policy and call avs_has_perm with
7082         results of translated strings.
7084 2014-04-13  David S. Miller  <davem@davemloft.net>
7086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7088 2014-04-12  Allan McRae  <allan@archlinux.org>
7090         [BZ #16838]
7091         * manual/string.texi (Collation Functions): Fix qsort argument
7092         order in example.
7093         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7095 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7097         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7098         Make the test a no-op if there are no exceptions defined.
7100 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7102         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7103         enable-hardcoded-path-in-tests
7105 2014-04-11  Will Newton  <will.newton@linaro.org>
7107         * benchtests/Makefile (extra-objs): Add json-lib.o.
7108         (bench-func): Tidy up JSON output.
7109         * benchtests/bench-skeleton.c: Include json-lib.h.
7110         (main): Use JSON library functions to do output of
7111         benchmark results.
7112         * benchtests/bench-timing-type.c (main): Output the
7113         timing type simply, leaving formatting to the user.
7114         * benchtests/json-lib.c: New file.
7115         * benchtests/json-lib.h: Likewise.
7117 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7119         [BZ #15215]
7120         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7121         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7122         memory barriers.  Add comments.
7123         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7124         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7125         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7126         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7127         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7128         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7130 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7132         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7133         * sysdeps/s390/s390-64/configure.ac: ... this ...
7134         * sysdeps/s390/configure.ac: ... to here.
7135         * sysdeps/s390/s390-32/configure: Delete file.
7136         * sysdeps/s390/s390-64/configure: Delete file.
7137         * sysdeps/s390/configure: Regenerate.
7139 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7141         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7143 2014-04-11  Will Newton  <will.newton@linaro.org>
7145         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7146         to zero if it is not defined elsewhere.  (mtrim): Test
7147         the value of MALLOC_DEBUG with #if rather than #ifdef.
7149 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7151         * benchtests/pthread_once-inputs: New file.
7152         * benchtests/pthread_once-source.c: New file.
7153         * benchtests/README: Update documentation.
7155 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7156             H.J. Lu  <hongjiu.lu@intel.com>
7158         [BZ #16275]
7159         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7160         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7161         * sysdeps/x86_64/configure: Regenerated.
7162         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7163         macro.
7164         (REGISTER_SAVE_RAX): Likewise.
7165         (REGISTER_SAVE_RCX): Likewise.
7166         (REGISTER_SAVE_RDX): Likewise.
7167         (REGISTER_SAVE_RSI): Likewise.
7168         (REGISTER_SAVE_RDI): Likewise.
7169         (REGISTER_SAVE_R8): Likewise.
7170         (REGISTER_SAVE_R9): Likewise.
7171         (REGISTER_SAVE_BND0): Likewise.
7172         (REGISTER_SAVE_BND1): Likewise.
7173         (REGISTER_SAVE_BND2): Likewise.
7174         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7175         bound registers when calling _dl_fixup.
7177 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7179         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7180         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7181         of its definition.
7182         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7183         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7184         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7185         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7186         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7187         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7188         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7190 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7192         [BZ #15514]
7193         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7194         pathconf(_PC_NAME_MAX).
7196 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7198         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7199         Remove macro usage.
7200         (__PTHREAD_SPINS): Move definition to ...
7201         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7202         (__PTHREAD_SPINS): ... here.
7203         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7204         (__PTHREAD_SPIN): Likewise.
7205         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7206         (__PTHREAD_SPIN): Likewise.
7207         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7208         (__PTHREAD_SPIN): Likewise.
7209         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7210         (__PTHREAD_SPIN): Likewise.
7211         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7212         (__PTHREAD_SPIN): Likewise.
7213         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7214         (__PTHREAD_SPIN): Likewise.
7215         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7216         (__PTHREAD_SPIN): Likewise.
7217         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7218         (__PTHREAD_SPIN): Likewise.
7219         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7220         (__PTHREAD_SPIN): Likewise.
7221         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7222         (__PTHREAD_SPIN): Likewise.
7223         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7224         (__PTHREAD_SPIN): Likewise.
7225         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7226         (__PTHREAD_SPIN): Likewise.
7228         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7229         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7230         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7231         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7232         imply folder.
7233         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7234         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7235         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7236         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7237         correct imply path.
7238         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7239         strlen symbol for non multi-arch builds.
7240         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7241         missing hidden_def and weak_alias.
7243 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7245         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7247 2014-04-07  Will Newton  <will.newton@linaro.org>
7249         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7250         and contents.  [!_LIBC] Remove #ifndef and contents.
7251         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7252         * string/memccpy.c (__memccpy): Use ANSI prototype.
7253         * string/memfrob.c (memfrob): Likewise.
7254         * string/strcoll.c (STRCOLL): Likewise.
7255         * string/strlen.c (strlen): Likewise.
7256         * string/strtok.c (STRTOK): Likewise.
7257         * string/strcat.c: Remove unused #include of memcopy.h.
7258         (strcat): Use ANSI prototype.
7259         * string/strchr.c: Remove unused #include of memcopy.h.
7260         (strchr): Use ANSI prototype.
7261         * string/strcmp.c: Remove unused #include of memcopy.h.
7262         (strcmp): Use ANSI prototype.
7263         * string/strcpy.c: Remove unused #include of memcopy.h.
7264         (strcpy): Use ANSI prototype.
7266 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7268         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7269         * config.make.in (config-extra-cppflags): Set it from
7270         libc_extra_cppflags.
7271         * configure.ac (libc_extra_cflags): Make it accumulate over
7272         configure fragments.
7273         (libc_extra_cppflags): New flag.
7274         * configure. Regenerate.
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7276         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7277         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7280         [BZ #16815]
7281         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7282         result for FE_DOWNWARD rounding mode.
7283         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7284         Likewise.
7285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7287 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7289         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7290         in function argument name.
7292 2014-04-03  David Svoboda  <svoboda@cert.org>
7294         [BZ #5666]
7295         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7296         explicitly.
7298 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7300         * elf/dl-unmap-segments.h: New file.
7301         * sysdeps/generic/ldsodefs.h
7302         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7303         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7304         * elf/dl-fptr.c: Likewise.
7305         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7306         * sysdeps/aarch64/tlsdesc.c: Likewise.
7307         * sysdeps/arm/tlsdesc.c: Likewise.
7308         * sysdeps/i386/tlsdesc.c: Likewise.
7309         * sysdeps/tile/dl-runtime.c: Likewise.
7310         * sysdeps/x86_64/tlsdesc.c: Likewise.
7311         * elf/dl-load.h: New file.
7312         * elf/dl-load.c: Include it.
7313         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7314         Macros moved to dl-load.h.
7315         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7316         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7317         Use _dl_unmap_segments in place of __munmap.
7318         Break out segment-mapping loop into ...
7319         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7321 2014-04-03  Will Newton  <will.newton@linaro.org>
7323         * elf/dl-lookup.c (do_lookup_x): Remove comment
7324         referring to nested function and move variable
7325         declarations down to before first use.
7327 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7329         [BZ #16799]
7330         [BZ #16800]
7331         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7332         with 0 numerator.
7333         * math/s_catanf.c (__catanf): Likewise.
7334         * math/s_catanh.c (__catanh): Likewise.
7335         * math/s_catanhf.c (__catanhf): Likewise.
7336         * math/s_catanhl.c (__catanhl): Likewise.
7337         * math/s_catanl.c (__catanl): Likewise.
7338         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7339         by positive zero when computing -Inf result.
7340         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7341         (catanh_test): Likewise.
7342         * sysdeps/i386/fpu/libm-test-ulps: Update.
7343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7345         [BZ #16789]
7346         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7347         instead of using underflowing value in computing result.
7348         * math/s_clog10.c (__clog10): Likewise.
7349         * math/s_clog10f.c (__clog10f): Likewise.
7350         * math/s_clog10l.c (__clog10l): Likewise.
7351         * math/s_clogf.c (__clogf): Likewise.
7352         * math/s_clogl.c (__clogl): Likewise.
7353         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7354         (clog10_test): Likewise.
7355         * sysdeps/i386/fpu/libm-test-ulps: Update.
7356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7358 2014-04-02  Alan Modra  <amodra@gmail.com>
7360         [BZ #16739]
7361         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7362         output when value is near a power of two.  Use int64_t for lx and
7363         remove casts.  Use decimal rather than hex exponent constants.
7364         Don't use long double multiplication when double will suffice.
7365         * math/libm-test.inc (nextafter_test_data): Add tests.
7366         * NEWS: Add 16739 and 16786 to bug list.
7368         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7370         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7372 2014-04-01  Will Newton  <will.newton@linaro.org>
7374         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7375         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7377 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7379         [BZ #13347]
7380         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7381         * nptl/tst-setuid2.c: New file.
7382         * nptl/Makefile (xtests): Add tst-setuid2.
7384 2014-04-01  Alan Modra  <amodra@gmail.com>
7386         [BZ #16786]
7387         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7389 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7391         [BZ #6803]
7392         [BZ #6804]
7393         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7394         set errno as appropriate.
7395         * math/w_scalbf.c (__scalbf): Likewise.
7396         * math/w_scalbl.c (__scalbl): Likewise.
7397         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7398         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7399         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7400         Add more NaN tests.
7402         [BZ #16349]
7403         * math/w_atan2.c: Include <errno.h>.
7404         (__atan2): Set errno for result underflowing to zero.
7405         * math/w_atan2f.c: Include <errno.h>.
7406         (__atan2f): Set errno for result underflowing to zero.
7407         * math/w_atan2l.c: Include <errno.h>.
7408         (__atan2l): Set errno for result underflowing to zero.
7409         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7410         tests.
7411         * math/auto-libm-test-out: Regenerated.
7413 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7415         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7416         Encode instruction correctly in little endian.
7417         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7418         Likewise.
7419         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7420         Likewise.
7421         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7422         Likewise.
7423         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7424         Likewise.
7426 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7428         [BZ #9894]
7429         * sysdeps/unix/sysv/linux/kernel-features.h
7430         [__sparc__ && !__arch64__ && !__sparc_v9__]
7431         (__ASSUME_SET_ROBUST_LIST): Do not define.
7432         [__sparc__ && !__arch64__ && !__sparc_v9__]
7433         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7434         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7435         Likewise.
7436         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7437         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7438         (__ASSUME_REQUEUE_PI): Likewise.
7439         (__ASSUME_SET_ROBUST_LIST): Likewise.
7440         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7441         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7442         Undefine.
7443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7444         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7445         Likewise.
7446         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7447         Likewise.
7448         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7449         Likewise.
7450         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7451         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7452         Undefine.
7453         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7454         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7455         Likewise.
7457         [BZ #16648]
7458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7459         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7460         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7462 2014-03-31  Will Newton  <will.newton@linaro.org>
7464         * benchtests/Makefile (bench): Add ffs and ffsll to list
7465         of tests.
7466         * benchtests/ffs-inputs: New file.
7467         * benchtests/ffsll-inputs: Likewise.
7469 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7471         [BZ #16770]
7472         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7473         too large before casting to int.
7474         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7475         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7476         * math/libm-test.inc (scalb_test_data): Add more tests.
7478 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7480         * benchtests/Makefile (DETAILED_OPT): New make option.
7481         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7482         set.
7483         * benchtests/bench-skeleton.c: Include stdbool.h.
7484         (main): Store and print timings per input.
7485         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7486         member to each argument value.
7487         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7488         (_print_arg_data): Initialize per-input timing to 0.
7490         * benchtests/Makefile (timing-type): New binary.
7491         (bench-clean): Also remove bench-timing-type.
7492         (bench): New target for timing-type.
7493         (bench-func): Print output in JSON format.
7494         * benchtests/bench-skeleton.c (main): Print output in JSON
7495         format.
7496         * benchtests/bench-timing-type.c: New file.
7497         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7498         (TIMING_PRINT_STATS): Remove.
7499         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7500         name separately.
7502         * benchtests/bench-modf.c: Remove.
7503         * benchtests/modf-inputs: New inputs file.
7505 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7507         [BZ #16362]
7508         * math/s_clog10.c (M_PI_LOG10E): New macro.
7509         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7510         imaginary parts are 0.
7511         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7512         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7513         imaginary parts are 0.
7514         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7515         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7516         imaginary parts are 0.
7517         * math/libm-test.inc (clog10_test_data): Update expected results
7518         for when real and imaginary parts are 0.
7520 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7522         * elf/dl-load.c: Finish conversion of __builtin_expect into
7523         __glibc_{un}likely.
7525 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7527         [BZ #16348]
7528         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7529         1+x for argument with exponent below -67.
7530         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7531         Likewise.
7532         * math/auto-libm-test-in: Add more tests of exp.
7533         * math/auto-libm-test-out: Regenerated.
7535 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7537         [BZ #16759]
7538         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7539         (nscd_getnetgrent): Use it.
7541         [BZ #16760]
7542         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7543         of stpcpy.
7545 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7547         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7548         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7549         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7550         (lll_robust_unlock): Remove out of line section. Use cfi
7551         intrinsics.
7552         (LLL_STUB_UNWIND_INFO*): Remove.
7553         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7554         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7555         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7556         (lll_robust_unlock): Remove out of line section. Use cfi
7557         intrinsics.
7558         (LLL_STUB_UNWIND_INFO*): Remove.
7560 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7562         [BZ #16758]
7563         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7564         blank values.
7566 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7568         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7570 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7572         [BZ #16198]
7573         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7574         fnstenv.
7575         * math/test-fenv-preserve.c: New file.
7576         * math/Makefile (tests): Add test-fenv-preserve.
7578 2014-03-26  Will Newton <will.newton@linaro.org>
7580         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7582 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7584         * scripts/versionlist.awk: Partition the version sets and emit all
7585         GLIBC_* (sorted) before all others (sorted).
7587 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7589         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7590         GLIBC_2.2.5 version.
7592 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7594         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7595         calls.
7597         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7598         previous change.
7600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7602 2014-03-25  Andreas Schwab  <schwab@suse.de>
7604         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7605         label to be used after in6ailist is initialized.
7607 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7609         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7610         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7612 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7614         [BZ #16357]
7615         [BZ #16599]
7616         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7617         min_plus_half.
7618         (fp_formats): Update initializers.
7619         (init_fp_formats): Initialize new field.
7620         (output_for_one_input_case): Allow underflow for results up to
7621         min_plus_half.
7622         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7623         * math/auto-libm-test-in: Don't mark some underflows from asin and
7624         atanh as spurious.
7625         * math/auto-libm-test-out: Regenerated.
7626         * sysdeps/i386/fpu/libm-test-ulps: Update.
7627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7629 2014-03-25  Andreas Schwab  <schwab@suse.de>
7631         * libio/Makefile (tst-ftell-partial-wide-ENV)
7632         (tst-ftell-active-handler-ENV): Define.
7634 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7636         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7638 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7640         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7642 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7644         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7645         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7646         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7648 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7650         [BZ #16634]
7651         * elf/dl-load.c (open_verify): Add mode parameter.
7652         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7653         (open_path): Change from boolean 'secure' to complete flag 'mode'
7654         (_dl_map_object): Adjust.
7655         * elf/Makefile (tests): Add tst-dlopen-aout.
7656         * elf/tst-dlopen-aout.c: New test.
7658 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7660         [BZ #16714]
7661         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7662         (struct stat): Rename member pad0 to __glibc_reserved0.
7664         [BZ #16712]
7665         * sysdeps/s390/s390-32/bits/wordsize.h
7666         (__WORDSIZE32_SIZE_ULONG): New define.
7667         * sysdeps/s390/s390-64/bits/wordsize.h
7668         (__WORDSIZE32_SIZE_ULONG): Likewise.
7669         * sysdeps/generic/stdint.h (SIZE_MAX):
7670         Define as UL if __WORDSIZE32_SIZE_ULONG.
7672         [BZ #16713]
7673         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7674         (__glibc_reserved0): New variable.
7675         (sa_flags): Change type to int.
7677         * posix/Makefile (before-compile): Use += before-compile instead
7678         of a :=.
7680         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7681         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7683 2014-03-20  Andreas Schwab  <schwab@suse.de>
7685         [BZ #16743]
7686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7687         non-matching result from nscd.
7689 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7691         * scripts/bench.py: Moved to ...
7692         * benchtests/scripts/bench.py: ... here.
7693         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7695 2014-03-24  Andreas Schwab  <schwab@suse.de>
7697         [BZ #16002]
7698         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7699         alloca_account and account alloca use for struct in6ailist.
7701 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7703         [BZ #16284]
7704         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7705         rounding mode to recompute results that overflow to infinity or
7706         underflow to zero.
7707         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7708         bug 16284.
7709         * math/auto-libm-test-out: Regenerated.
7710         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7711         (ccosh_test): Likewise.
7712         (csin_test_data): Use plus_oflow.
7713         (csin_test): Use ALL_RM_TEST.
7714         (csinh_test_data): Use plus_oflow.
7715         (csinh_test): Use ALL_RM_TEST.
7716         * sysdeps/i386/fpu/libm-test-ulps: Update.
7717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7719 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7721         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7722         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7723         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7725         [BZ #16731]
7726         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7727         when x - 1 is zero.
7728         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7729         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7730         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7731         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7732         argument is 1.
7733         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7734         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7735         zero.
7736         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7737         * sysdeps/i386/fpu/libm-test-ulps: Update.
7738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7740 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7742         * scripts/bench.pl: Remove file.
7743         * scripts/bench.py: New benchmark script.
7744         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7745         * benchtests/README: Mention python dependency.
7746         * scripts/pylintrc: New file.
7747         * scripts/pylint: New file.
7749         * bits/mathdef.h: Use #ifdef instead of #if.
7750         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7751         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7752         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7753         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7754         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7755         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7757 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7758             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7760         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7762         and strpbrk-ppc64 objects.
7763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7764         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7765         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7766         multiarch strpbrk for POWER7.
7767         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7768         multiarch strpbrk for PPC64.
7769         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7770         ifunc selector.
7771         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7772         strpbrk for POWER7.
7774 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7776         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7777         (atan_test): Likewise.
7778         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7779         (atanh_test): Use ALL_RM_TEST.
7780         (atan2_test_data): Likewise.
7781         (cabs_test): Likewise.
7782         (cacosh_test): Likewise.
7783         (carg_test): Likewise.
7784         (casin_test): Likewise.
7785         (casinh_test): Likewise.
7786         (cbrt_test): Likewise.
7787         (csqrt_test): Likewise.
7788         (erf_test): Likewise.
7789         (erfc_test): Likewise.
7790         (pow10_test): Likewise.
7791         (exp2_test): Likewise.
7792         (hypot_test): Likewise.
7793         (j0_test): Likewise.
7794         (j1_test): Likewise.
7795         (lgamma_test): Likewise.
7796         (gamma_test): Likewise.
7797         (sincos_test): Likewise.
7798         (tanh_test): Likewise.
7799         (y0_test): Likewise.
7800         (y1_test): Likewise.
7801         * sysdeps/i386/fpu/libm-test-ulps: Update.
7802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7804 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7806         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7808         and strcspn-ppc64 objects.
7809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7810         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7811         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7812         multiarch strcspn for POWER7.
7813         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7814         multiarch strcspn for PPC64.
7815         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7816         ifunc selector.
7817         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7818         strcspn for POWER7.
7820 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7822         * math/gen-libm-test.pl (generate_testfile): Expect only function
7823         name as argument to AUTO_TESTS_* and pass results for all rounding
7824         modes to parse_args.
7825         (parse_auto_input): Separate inputs of automatic tests from
7826         outputs before storing in %auto_tests.
7827         * math/libm-test.inc (acos_test_data): Update call to
7828         AUTO_TESTS_f_f.
7829         (acos_test): Use ALL_RM_TEST.
7830         (acos_tonearest_test_data): Remove.
7831         (acos_test_tonearest): Likewise.
7832         (acos_towardzero_test_data): Likewise.
7833         (acos_test_towardzero): Likewise.
7834         (acos_downward_test_data): Likewise.
7835         (acos_test_downward): Likewise.
7836         (acos_upward_test_data): Likewise.
7837         (acos_test_upward): Likewise.
7838         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7839         (asin_test_data): Likewise.
7840         (asin_test): Use ALL_RM_TEST.
7841         (asin_tonearest_test_data): Remove.
7842         (asin_test_tonearest): Likewise.
7843         (asin_towardzero_test_data): Likewise.
7844         (asin_test_towardzero): Likewise.
7845         (asin_downward_test_data): Likewise.
7846         (asin_test_downward): Likewise.
7847         (asin_upward_test_data): Likewise.
7848         (asin_test_upward): Likewise.
7849         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7850         (atan_test_data): Likewise.
7851         (atanh_test_data): Likewise.
7852         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7853         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7854         (carg_test_data): Likewise.
7855         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7856         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7857         (ccosh_test_data): Likewise.
7858         (cexp_test_data): Likewise.
7859         (clog_test_data): Likewise.
7860         (clog10_test_data): Likewise.
7861         (cos_test_data): Update call to AUTO_TESTS_f_f.
7862         (cos_test): Use ALL_RM_TEST.
7863         (cos_tonearest_test_data): Remove.
7864         (cos_test_tonearest): Likewise.
7865         (cos_towardzero_test_data): Likewise.
7866         (cos_test_towardzero): Likewise.
7867         (cos_downward_test_data): Likewise.
7868         (cos_test_downward): Likewise.
7869         (cos_upward_test_data): Likewise.
7870         (cos_test_upward): Likewise.
7871         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7872         (cosh_test): Use ALL_RM_TEST.
7873         (cosh_tonearest_test_data): Remove.
7874         (cosh_test_tonearest): Likewise.
7875         (cosh_towardzero_test_data): Likewise.
7876         (cosh_test_towardzero): Likewise.
7877         (cosh_downward_test_data): Likewise.
7878         (cosh_test_downward): Likewise.
7879         (cosh_upward_test_data): Likewise.
7880         (cosh_test_upward): Likewise.
7881         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7882         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7883         (ctan_test_data): Likewise.
7884         (ctan_test): Use ALL_RM_TEST.
7885         (ctan_tonearest_test_data): Remove.
7886         (ctan_test_tonearest): Likewise.
7887         (ctan_towardzero_test_data): Likewise.
7888         (ctan_test_towardzero): Likewise.
7889         (ctan_downward_test_data): Likewise.
7890         (ctan_test_downward): Likewise.
7891         (ctan_upward_test_data): Likewise.
7892         (ctan_test_upward): Likewise.
7893         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7894         (ctanh_test): Use ALL_RM_TEST.
7895         (ctanh_tonearest_test_data): Remove.
7896         (ctanh_test_tonearest): Likewise.
7897         (ctanh_towardzero_test_data): Likewise.
7898         (ctanh_test_towardzero): Likewise.
7899         (ctanh_downward_test_data): Likewise.
7900         (ctanh_test_downward): Likewise.
7901         (ctanh_upward_test_data): Likewise.
7902         (ctanh_test_upward): Likewise.
7903         (erf_test_data): Update call to AUTO_TESTS_f_f.
7904         (erfc_test_data): Likewise.
7905         (exp_test_data): Likewise.
7906         (exp_test): Use ALL_RM_TEST.
7907         (exp_tonearest_test_data): Remove.
7908         (exp_test_tonearest): Likewise.
7909         (exp_towardzero_test_data): Likewise.
7910         (exp_test_towardzero): Likewise.
7911         (exp_downward_test_data): Likewise.
7912         (exp_test_downward): Likewise.
7913         (exp_upward_test_data): Likewise.
7914         (exp_test_upward): Likewise.
7915         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7916         (exp10_test): Use ALL_RM_TEST.
7917         (exp10_tonearest_test_data): Remove.
7918         (exp10_test_tonearest): Likewise.
7919         (exp10_towardzero_test_data): Likewise.
7920         (exp10_test_towardzero): Likewise.
7921         (exp10_downward_test_data): Likewise.
7922         (exp10_test_downward): Likewise.
7923         (exp10_upward_test_data): Likewise.
7924         (exp10_test_upward): Likewise.
7925         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7926         (expm1_test_data): Likewise.
7927         (expm1_test): Use ALL_RM_TEST.
7928         (expm1_tonearest_test_data): Remove.
7929         (expm1_test_tonearest): Likewise.
7930         (expm1_towardzero_test_data): Likewise.
7931         (expm1_test_towardzero): Likewise.
7932         (expm1_downward_test_data): Likewise.
7933         (expm1_test_downward): Likewise.
7934         (expm1_upward_test_data): Likewise.
7935         (expm1_test_upward): Likewise.
7936         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7937         (fma_test): Use ALL_RM_TEST.
7938         (fma_towardzero_test_data): Remove.
7939         (fma_test_towardzero): Likewise.
7940         (fma_downward_test_data): Likewise.
7941         (fma_test_downward): Likewise.
7942         (fma_upward_test_data): Likewise.
7943         (fma_test_upward): Likewise.
7944         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7945         (j0_test_data): Update call to AUTO_TESTS_f_f.
7946         (j1_test_data): Likewise.
7947         (jn_test_data): Update call to AUTO_TESTS_if_f.
7948         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7949         (log_test_data): Update call to AUTO_TESTS_f_f.
7950         (log10_test_data): Likewise.
7951         (log1p_test_data): Likewise.
7952         (log2_test_data): Likewise.
7953         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7954         (pow_tonearest_test_data): Likewise.
7955         (sin_test_data): Update call to AUTO_TESTS_f_f.
7956         (sin_test): Use ALL_RM_TEST.
7957         (sin_tonearest_test_data): Remove.
7958         (sin_test_tonearest): Likewise.
7959         (sin_towardzero_test_data): Likewise.
7960         (sin_test_towardzero): Likewise.
7961         (sin_downward_test_data): Likewise.
7962         (sin_test_downward): Likewise.
7963         (sin_upward_test_data): Likewise.
7964         (sin_test_upward): Likewise.
7965         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7966         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7967         (sinh_test): Use ALL_RM_TEST.
7968         (sinh_tonearest_test_data): Remove.
7969         (sinh_test_tonearest): Likewise.
7970         (sinh_towardzero_test_data): Likewise.
7971         (sinh_test_towardzero): Likewise.
7972         (sinh_downward_test_data): Likewise.
7973         (sinh_test_downward): Likewise.
7974         (sinh_upward_test_data): Likewise.
7975         (sinh_test_upward): Likewise.
7976         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7977         (sqrt_test): Use ALL_RM_TEST.
7978         (sqrt_tonearest_test_data): Remove.
7979         (sqrt_test_tonearest): Likewise.
7980         (sqrt_towardzero_test_data): Likewise.
7981         (sqrt_test_towardzero): Likewise.
7982         (sqrt_downward_test_data): Likewise.
7983         (sqrt_test_downward): Likewise.
7984         (sqrt_upward_test_data): Likewise.
7985         (sqrt_test_upward): Likewise.
7986         (tan_test_data): Update call to AUTO_TESTS_f_f.
7987         (tan_test): Use ALL_RM_TEST.
7988         (tan_tonearest_test_data): Remove.
7989         (tan_test_tonearest): Likewise.
7990         (tan_towardzero_test_data): Likewise.
7991         (tan_test_towardzero): Likewise.
7992         (tan_downward_test_data): Likewise.
7993         (tan_test_downward): Likewise.
7994         (tan_upward_test_data): Likewise.
7995         (tan_test_upward): Likewise.
7996         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7997         (tgamma_test_data): Likewise.
7998         (y0_test_data): Likewise.
7999         (y1_test_data): Likewise.
8000         (yn_test_data): Update call to AUTO_TESTS_if_f.
8001         (main): Do not call removed functions.
8003 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8005         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8006         (ldexp_test_data): Remove.
8007         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8008         scalbn_test_data.
8009         (scalb_test): Use ALL_RM_TEST.
8011 2014-03-19  Andreas Schwab  <schwab@suse.de>
8013         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8015 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8017         [BZ #16649]
8018         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8019         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8020         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8021         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8022         (__ASSUME_PREADV): Undefine.
8023         (__ASSUME_PWRITEV): Likewise.
8025 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8027         * bits/mman-linux.h: Add comment about non-Linux use.
8028         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8029         bits/mman-linux.h resting place.
8031         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8032         * bits/mman-linux.h: ... here.
8034 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8036         * conform/conformtest.pl: Add standard definition when calling C
8037         preprocessor on data files.
8038         (checknamespace): Remove unused variable.
8040 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8042         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8043         minus_oflow, plus_uflow and minus_uflow in expected results.
8044         * math/libm-test.inc (scalbn_test_data): Add more tests of
8045         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8046         minus_uflow.
8047         (scalbn_test): Use ALL_RM_TEST.
8048         (scalbln_test_data): Add more tests of negative arguments.  Use
8049         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8050         (scalbln_test): Use ALL_RM_TEST.
8052 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8054         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8056 2014-03-18  Will Newton  <will.newton@linaro.org>
8058         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8059         inaccurate comment.
8061 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8063         * Makerules [!subdir] (check-abi): Exit with error status if a
8064         test failed.
8066 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8068         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8069         for rint.  Include results for all rounding modes.
8070         (nearbyint_test): Use ALL_RM_TEST.
8071         (rint_test_data): Include all tests used for nearbyint.
8073 2014-03-17  Will Newton  <will.newton@linaro.org>
8075         * nptl/sysdeps/pthread/pthread.h: Revert previous
8076         change.
8078         * sysdeps/generic/ldsodefs.h: Revert previous
8079         change.
8081         * libio/genops.c: Revert previous change.
8082         * libio/libioP.h: Likewise.
8083         * stdio-common/vfprintf.c: Likewise.
8085         * sysdeps/generic/math_private.h: Revert previous
8086         change.
8088         * sysdeps/generic/math_private.h: Check whether
8089         HAVE_RM_CTX is defined with #ifdef rather
8090         than #if.
8092         * argp/argp-fmtstream.h: Check whether
8093         __STRICT_ANSI__ is defined with #ifdef rather
8094         than #if.
8095         * argp/argp.h: Likewise.
8097         * libio/genops.c: Check whether
8098         _IO_JUMPS_OFFSET is defined with #ifdef rather
8099         than #if.
8100         * libio/libioP.h: Likewise.
8101         * stdio-common/vfprintf.c: Likewise.
8103         * sysdeps/generic/ldsodefs.h: Check whether
8104         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8105         than #if.
8107         * nptl/sysdeps/pthread/pthread.h: Check
8108         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8109         its value.
8111 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8113         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8114         setting O_APPEND.
8115         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8116         test case.
8118         [BZ #16680]
8119         * libio/fileops.c (_IO_file_open): Seek to end of file but
8120         don't cache the offset.
8121         (get_file_offset): Remove function.
8122         (do_ftell): Use cached offset when available.
8123         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8124         don't cache the offset.
8125         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8126         case.
8127         (do_one_test): Call it.
8128         (do_ftell_test): Fix up expected old offset for a+ mode.
8129         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8130         available.
8132         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8133         up test status with function return status.
8134         (do_write_test): Likewise.
8135         (do_append_test): Likewise.
8137         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8138         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8139         Remove.
8141 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8143         * math/gen-libm-test.pl (parse_args): Handle results specified for
8144         each rounding mode separately.
8145         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8146         tests and results from lrint_tonearest_test_data,
8147         lrint_towardzero_test_data, lrint_downward_test_data and
8148         lrint_upward_test_data.
8149         (lrint_test): Use ALL_RM_TEST.
8150         (lrint_tonearest_test_data): Remove.
8151         (lrint_test_tonearest): Likewise.
8152         (lrint_towardzero_test_data): Likewise.
8153         (lrint_test_towardzero): Likewise.
8154         (lrint_downward_test_data): Likewise.
8155         (lrint_test_downward): Likewise.
8156         (lrint_upward_test_data): Likewise.
8157         (lrint_test_upward): Likewise.
8158         (llrint_test_data): Merge in per-rounding-mode tests and results
8159         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8160         llrint_downward_test_data and llrint_upward_test_data.
8161         (llrint_test): Use ALL_RM_TEST.
8162         (llrint_tonearest_test_data): Remove.
8163         (llrint_test_tonearest): Likewise.
8164         (llrint_towardzero_test_data): Likewise.
8165         (llrint_test_towardzero): Likewise.
8166         (llrint_downward_test_data): Likewise.
8167         (llrint_test_downward): Likewise.
8168         (llrint_upward_test_data): Likewise.
8169         (llrint_test_upward): Likewise.
8170         (rint_test_data): Merge in per-rounding-mode tests and results
8171         from rint_tonearest_test_data, rint_towardzero_test_data,
8172         rint_downward_test_data and rint_upward_test_data.  Add
8173         per-rounding-mode results for tests not in those arrays.
8174         (rint_test): Use ALL_RM_TEST.
8175         (rint_tonearest_test_data): Remove.
8176         (rint_test_tonearest): Likewise.
8177         (rint_towardzero_test_data): Likewise.
8178         (rint_test_towardzero): Likewise.
8179         (rint_downward_test_data): Likewise.
8180         (rint_test_downward): Likewise.
8181         (rint_upward_test_data): Likewise.
8182         (rint_test_upward): Likewise.
8183         (main): Don't call removed functions.
8185 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8187         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8188         "Compiled on ..." crapola.  It is anti-useful.
8190 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8192         * scripts/evaluate-test.sh: Handle fourth argument to determine
8193         whether test run should stop on failure.
8194         * Makeconfig (stop-on-test-failure): New variable.
8195         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8196         $(stop-on-test-failure).
8197         * Makefile (tests): Give a summary of results from testing and
8198         exit with failure status if they include an ERROR or FAIL.
8199         (xtests): Likewise.
8200         * manual/install.texi (Configuring and compiling): Mention
8201         stop-on-test-failure=y.
8202         * INSTALL: Regenerated.
8204 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8206         * scripts/versionlist.awk: New file.
8207         * Makerules [$(build-shared) = yes]
8208         (postclean-generated): Add Versions.def, not Versions.def.v and
8209         Versions.def.v.i.
8210         ($(common-objpfx)Versions.def.v.i): Target removed.
8211         ($(common-objpfx)Versions.def): New target.
8212         ($(common-objpfx)Versions.all): Depend on that rather that
8213         $(common-objpfx)Versions.def.v.
8214         * Versions.def: File removed.
8216         * Makeconfig (+gccwarn): Add -Wundef.
8217         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8218         a dl-sysdep.h breaking its contract.
8219         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8220         * include/stackinfo.h: New file.
8221         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8222         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8223         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8224         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8225         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8226         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8227         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8228         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8229         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8230         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8231         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8232         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8233         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8234         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8235         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8237 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8239         [BZ #16707]
8240         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8241         implementation.
8242         * math/libm-test.inc (round_test_data): Add more tests.
8244         [BZ #16706]
8245         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8246         implementation.
8247         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8249         [BZ #16701]
8250         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8251         implementation.
8252         * math/libm-test.inc (ceil_test_data): Add more tests.
8254         * math/libm-test.inc (trunc_test_data): Add more tests related to
8255         BZ#16414.
8257 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8259         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8260         with #if rather than #ifdef.
8261         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8263 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8265         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8266         first.  Disable AVX-512 GCC support if assembler doesn't support
8267         it.
8268         * sysdeps/x86_64/configure: Regenerated.
8270 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8272         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8273         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8274         (__old_pthread_attr_setstack): Likewise.
8275         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8276         [!_STACK_GROWS_DOWN]: Likewise.
8278 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8280         * config.make.in (have-bash2): Delete.
8281         * configure.ac (libc_cv_have_bash2): Delete.
8282         * configure: Regenerate.
8283         * elf/Makefile (common-ldd-rewrite): Rename to ...
8284         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8285         (sh-ldd-rewrite): Delete.
8286         (bash-ldd-rewrite): Delete.
8287         (have-bash2): Delete checks.
8288         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8289         ldd-rewrite.
8291         * config.make.in (have-ksh): Delete.
8292         (KSH): Delete.
8293         * configure.ac (libc_cv_have_ksh): Delete.
8294         * configure: Regenerate.
8296         * elf/Makefile: Delete $(have-ksh) check.
8297         ($(objpfx)sotruss): Change KSH to BASH.
8298         * elf/sotruss.ksh: Rename to ...
8299         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8300         function style to match POSIX.  Drop ksh vim mode setting.
8302         * manual/time.texi (Specifying the Time Zone with TZ): Change
8303         Tuesday to Thursday.
8305         * debug/tst-longjmp_chk2.c: Update header comment.
8306         (stackoverflow_handler): Add comment.  Call assert on pass value.
8308 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8310         [BZ #16194]
8311         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8312         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8313         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8314         (La_x86_64_vector): Add zmm.
8315         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8316         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8317         ($(objpfx)tst-audit10): New target.
8318         ($(objpfx)tst-audit10.out): Likewise.
8319         (tst-audit10-ENV): New.
8320         (AVX512-CFLAGS): Likewise.
8321         (CFLAGS-tst-audit10.c): Likewise.
8322         (CFLAGS-tst-auditmod10a.c): Likewise.
8323         (CFLAGS-tst-auditmod10b.c): Likewise.
8324         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8325         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8326         * sysdeps/x86_64/configure: Regenerated.
8327         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8328         AVX-512 zmm register support.
8329         (_dl_x86_64_save_sse): Likewise.
8330         (_dl_x86_64_restore_sse): Likewise.
8331         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8332         size vector registers.
8333         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8334         (ZMM_SIZE): Likewise.
8335         * sysdeps/x86_64/tst-audit10.c: New file.
8336         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8337         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8339 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8341         * configure.ac (HAVE_EHDR_START): New check.
8342         * configure: Regenerated.
8343         * config.h.in (HAVE_EHDR_START): New #undef.
8344         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8345         assuming the lowest-addressed segment maps the start of the file.
8347 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8349         * INSTALL: Regenerated.
8351 2014-03-13  Will Newton  <will.newton@linaro.org>
8353         * manual/setjmp.texi (System V contexts): Improve
8354         clarity and grammar of documentation.
8356 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8358         [BZ #16381]
8359         * elf/Makefile (tests): Add tst-pie2.
8360         (tests-pie): Add tst-pie2.
8361         * elf/tst-pie2.c: New file.
8362         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8363         for ET_EXEC.
8364         * elf/rtld.c (map_doit): Load executable as lt_executable.
8365         (dl_main): Likewise.
8367 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8369         [BZ #16642]
8370         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8371         (__ASSUME_PSELECT): Undefine.
8373 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8375         [BZ #16689]
8376         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8377         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8378         static build.
8379         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8380         selector for static builds.
8382 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8384         [BZ #16695]
8385         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8386         key in the buffer.
8388 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8390         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8391         IFUNC selector for static builds.
8393 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8395         * sysdeps/mips/math_private.h [__mips_hard_float]
8396         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8397         libc_feresetround_mips_ctx.
8398         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8399         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8400         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8402         [BZ #16677]
8403         * math/s_nextafter.c (__nextafter): Do not return value from
8404         overflowing computation.
8405         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8406         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8407         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8408         Likewise.
8409         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8410         Likewise.
8411         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8412         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8414 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8416         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8417         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8418         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8419         the new mov targetting sp.
8421 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8423         [BZ #16683]
8424         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8425         Define it for static builds as well.
8426         (NO_BZERO_IMPL): Likewise.
8428 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8430         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8431         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8432         multiarch strspn for PPC64.
8433         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8434         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8436         (__libc_ifunc_impl_list): Likewise.
8437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8438         multiarch optimizations
8439         * string/strspn.c (strspn): Using macro to redefine symbol name.
8441 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8442             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8444         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8445         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8446         multiarch strncat for PPC64.
8447         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8448         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8450         (__libc_ifunc_impl_list): Likewise.
8451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8452         multiarch optimizations
8454 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8456         [BZ #16639]
8457         * nscd/nscd.service: Make service type forking.
8459 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8461         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8462         sign in non default rounding modes.
8463         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8465 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8467         * math/libm-test.inc (ALL_RM_TEST): New macro.
8468         (ceil_test): Use ALL_RM_TEST.
8469         (cimag_test): Likewise.
8470         (conj_test): Likewise.
8471         (copysign_test): Likewise.
8472         (cproj_test): Likewise.
8473         (creal_test): Likewise.
8474         (fabs_test): Likewise.
8475         (floor_test): Likewise.
8476         (fmax_test): Likewise.
8477         (fmin_test): Likewise.
8478         (fmod_test): Likewise.
8479         (fpclassify_test): Likewise.
8480         (frexp_test): Likewise.
8481         (ilogb_test): Likewise.
8482         (isfinite_test): Likewise.
8483         (finite_test): Likewise.
8484         (isgreater_test): Likewise.
8485         (isgreaterequal_test): Likewise.
8486         (isinf_test): Likewise.
8487         (isless_test): Likewise.
8488         (islessequal_test): Likewise.
8489         (islessgreater_test): Likewise.
8490         (isnan_test): Likewise.
8491         (isnormal_test): Likewise.
8492         (issignaling_test): Likewise.
8493         (isunordered_test): Likewise.
8494         (logb_test): Likewise.
8495         (logb_downward_test_data): Remove.
8496         (logb_test_downward): Likewise.
8497         (lround_test): Use ALL_RM_TEST.
8498         (llround_test): Likewise.
8499         (modf_test): Likewise.
8500         (nexttoward_test): Likewise.
8501         (remainder_test): Likewise.
8502         (drem_test): Likewise.
8503         (remainder_tonearest_test_data): Likewise.
8504         (remainder_test_tonearest): Likewise.
8505         (drem_test_tonearest): Likewise.
8506         (remainder_towardzero_test_data): Likewise.
8507         (remainder_test_towardzero): Likewise.
8508         (drem_test_towardzero): Likewise.
8509         (remainder_downward_test_data): Likewise.
8510         (remainder_test_downward): Likewise.
8511         (drem_test_downward): Likewise.
8512         (remainder_upward_test_data): Likewise.
8513         (remainder_test_upward): Likewise.
8514         (drem_test_upward): Likewise.
8515         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8516         (round_test): Use ALL_RM_TEST.
8517         (signbit_test): Likewise.
8518         (trunc_test): Likewise.
8519         (significand_test): Likewise.
8520         (main): Don't call removed functions.
8522 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8524         [BZ #16674]
8525         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8526         || __USE_XOPEN2K8].
8527         (ILL_ILLOPN): Likewise.
8528         (ILL_ILLADR): Likewise.
8529         (ILL_ILLTRP): Likewise.
8530         (ILL_PRVOPC): Likewise.
8531         (ILL_PRVREG): Likewise.
8532         (ILL_COPROC): Likewise.
8533         (ILL_BADSTK): Likewise.
8534         (FPE_INTDIV): Likewise.
8535         (FPE_INTOVF): Likewise.
8536         (FPE_FLTDIV): Likewise.
8537         (FPE_FLTOVF): Likewise.
8538         (FPE_FLTUND): Likewise.
8539         (FPE_FLTRES): Likewise.
8540         (FPE_FLTINV): Likewise.
8541         (FPE_FLTSUB): Likewise.
8542         (SEGV_MAPERR): Likewise.
8543         (SEGV_ACCERR): Likewise.
8544         (BUS_ADRALN): Likewise.
8545         (BUS_ADRERR): Likewise.
8546         (BUS_OBJERR): Likewise.
8547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8548         (TRAP_TRACE): Likewise.
8549         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8550         __USE_XOPEN2K8].
8551         (CLD_KILLED): Likewise.
8552         (CLD_DUMPED): Likewise.
8553         (CLD_TRAPPED): Likewise.
8554         (CLD_STOPPED): Likewise.
8555         (CLD_CONTINUED): Likewise.
8556         (POLL_IN): Likewise.
8557         (POLL_OUT): Likewise.
8558         (POLL_MSG): Likewise.
8559         (POLL_ERR): Likewise.
8560         (POLL_PRI): Likewise.
8561         (POLL_HUP): Likewise.
8562         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8563         Likewise.
8564         (ILL_ILLOPN): Likewise.
8565         (ILL_ILLADR): Likewise.
8566         (ILL_ILLTRP): Likewise.
8567         (ILL_PRVOPC): Likewise.
8568         (ILL_PRVREG): Likewise.
8569         (ILL_COPROC): Likewise.
8570         (ILL_BADSTK): Likewise.
8571         (FPE_INTDIV): Likewise.
8572         (FPE_INTOVF): Likewise.
8573         (FPE_FLTDIV): Likewise.
8574         (FPE_FLTOVF): Likewise.
8575         (FPE_FLTUND): Likewise.
8576         (FPE_FLTRES): Likewise.
8577         (FPE_FLTINV): Likewise.
8578         (FPE_FLTSUB): Likewise.
8579         (SEGV_MAPERR): Likewise.
8580         (SEGV_ACCERR): Likewise.
8581         (BUS_ADRALN): Likewise.
8582         (BUS_ADRERR): Likewise.
8583         (BUS_OBJERR): Likewise.
8584         (BUS_MCEERR_AR): Likewise.
8585         (BUS_MCEERR_AO): Likewise.
8586         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8587         (TRAP_TRACE): Likewise.
8588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8589         __USE_XOPEN2K8].
8590         (CLD_KILLED): Likewise.
8591         (CLD_DUMPED): Likewise.
8592         (CLD_TRAPPED): Likewise.
8593         (CLD_STOPPED): Likewise.
8594         (CLD_CONTINUED): Likewise.
8595         (POLL_IN): Likewise.
8596         (POLL_OUT): Likewise.
8597         (POLL_MSG): Likewise.
8598         (POLL_ERR): Likewise.
8599         (POLL_PRI): Likewise.
8600         (POLL_HUP): Likewise.
8601         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8602         (ILL_ILLOPN): Likewise.
8603         (ILL_ILLADR): Likewise.
8604         (ILL_ILLTRP): Likewise.
8605         (ILL_PRVOPC): Likewise.
8606         (ILL_PRVREG): Likewise.
8607         (ILL_COPROC): Likewise.
8608         (ILL_BADSTK): Likewise.
8609         (FPE_INTDIV): Likewise.
8610         (FPE_INTOVF): Likewise.
8611         (FPE_FLTDIV): Likewise.
8612         (FPE_FLTOVF): Likewise.
8613         (FPE_FLTUND): Likewise.
8614         (FPE_FLTRES): Likewise.
8615         (FPE_FLTINV): Likewise.
8616         (FPE_FLTSUB): Likewise.
8617         (SEGV_MAPERR): Likewise.
8618         (SEGV_ACCERR): Likewise.
8619         (BUS_ADRALN): Likewise.
8620         (BUS_ADRERR): Likewise.
8621         (BUS_OBJERR): Likewise.
8622         (BUS_MCEERR_AR): Likewise.
8623         (BUS_MCEERR_AO): Likewise.
8624         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8625         (TRAP_TRACE): Likewise.
8626         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8627         __USE_XOPEN2K8].
8628         (CLD_KILLED): Likewise.
8629         (CLD_DUMPED): Likewise.
8630         (CLD_TRAPPED): Likewise.
8631         (CLD_STOPPED): Likewise.
8632         (CLD_CONTINUED): Likewise.
8633         (POLL_IN): Likewise.
8634         (POLL_OUT): Likewise.
8635         (POLL_MSG): Likewise.
8636         (POLL_ERR): Likewise.
8637         (POLL_PRI): Likewise.
8638         (POLL_HUP): Likewise.
8639         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8640         Likewise.
8641         (ILL_ILLOPN): Likewise.
8642         (ILL_ILLADR): Likewise.
8643         (ILL_ILLTRP): Likewise.
8644         (ILL_PRVOPC): Likewise.
8645         (ILL_PRVREG): Likewise.
8646         (ILL_COPROC): Likewise.
8647         (ILL_BADSTK): Likewise.
8648         (ILL_BADIADDR): Likewise.
8649         (ILL_BREAK): Likewise.
8650         (FPE_INTDIV): Likewise.
8651         (FPE_INTOVF): Likewise.
8652         (FPE_FLTDIV): Likewise.
8653         (FPE_FLTOVF): Likewise.
8654         (FPE_FLTUND): Likewise.
8655         (FPE_FLTRES): Likewise.
8656         (FPE_FLTINV): Likewise.
8657         (FPE_FLTSUB): Likewise.
8658         (FPE_DECOVF): Likewise.
8659         (FPE_DECDIV): Likewise.
8660         (FPE_DECERR): Likewise.
8661         (FPE_INVASC): Likewise.
8662         (FPE_INVDEC): Likewise.
8663         (SEGV_MAPERR): Likewise.
8664         (SEGV_ACCERR): Likewise.
8665         (SEGV_PSTKOVF): Likewise.
8666         (BUS_ADRALN): Likewise.
8667         (BUS_ADRERR): Likewise.
8668         (BUS_OBJERR): Likewise.
8669         (BUS_MCEERR_AR): Likewise.
8670         (BUS_MCEERR_AO): Likewise.
8671         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8672         (TRAP_TRACE): Likewise.
8673         (TRAP_BRANCH): Likewise.
8674         (TRAP_HWBKPT): Likewise.
8675         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8676         __USE_XOPEN2K8].
8677         (CLD_KILLED): Likewise.
8678         (CLD_DUMPED): Likewise.
8679         (CLD_TRAPPED): Likewise.
8680         (CLD_STOPPED): Likewise.
8681         (CLD_CONTINUED): Likewise.
8682         (POLL_IN): Likewise.
8683         (POLL_OUT): Likewise.
8684         (POLL_MSG): Likewise.
8685         (POLL_ERR): Likewise.
8686         (POLL_PRI): Likewise.
8687         (POLL_HUP): Likewise.
8688         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8689         (ILL_ILLOPN): Likewise.
8690         (ILL_ILLADR): Likewise.
8691         (ILL_ILLTRP): Likewise.
8692         (ILL_PRVOPC): Likewise.
8693         (ILL_PRVREG): Likewise.
8694         (ILL_COPROC): Likewise.
8695         (ILL_BADSTK): Likewise.
8696         (FPE_INTDIV): Likewise.
8697         (FPE_INTOVF): Likewise.
8698         (FPE_FLTDIV): Likewise.
8699         (FPE_FLTOVF): Likewise.
8700         (FPE_FLTUND): Likewise.
8701         (FPE_FLTRES): Likewise.
8702         (FPE_FLTINV): Likewise.
8703         (FPE_FLTSUB): Likewise.
8704         (SEGV_MAPERR): Likewise.
8705         (SEGV_ACCERR): Likewise.
8706         (BUS_ADRALN): Likewise.
8707         (BUS_ADRERR): Likewise.
8708         (BUS_OBJERR): Likewise.
8709         (BUS_MCEERR_AR): Likewise.
8710         (BUS_MCEERR_AO): Likewise.
8711         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8712         (TRAP_TRACE): Likewise.
8713         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8714         __USE_XOPEN2K8].
8715         (CLD_KILLED): Likewise.
8716         (CLD_DUMPED): Likewise.
8717         (CLD_TRAPPED): Likewise.
8718         (CLD_STOPPED): Likewise.
8719         (CLD_CONTINUED): Likewise.
8720         (POLL_IN): Likewise.
8721         (POLL_OUT): Likewise.
8722         (POLL_MSG): Likewise.
8723         (POLL_ERR): Likewise.
8724         (POLL_PRI): Likewise.
8725         (POLL_HUP): Likewise.
8726         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8727         (ILL_ILLOPN): Likewise.
8728         (ILL_ILLADR): Likewise.
8729         (ILL_ILLTRP): Likewise.
8730         (ILL_PRVOPC): Likewise.
8731         (ILL_PRVREG): Likewise.
8732         (ILL_COPROC): Likewise.
8733         (ILL_BADSTK): Likewise.
8734         (FPE_INTDIV): Likewise.
8735         (FPE_INTOVF): Likewise.
8736         (FPE_FLTDIV): Likewise.
8737         (FPE_FLTOVF): Likewise.
8738         (FPE_FLTUND): Likewise.
8739         (FPE_FLTRES): Likewise.
8740         (FPE_FLTINV): Likewise.
8741         (FPE_FLTSUB): Likewise.
8742         (SEGV_MAPERR): Likewise.
8743         (SEGV_ACCERR): Likewise.
8744         (BUS_ADRALN): Likewise.
8745         (BUS_ADRERR): Likewise.
8746         (BUS_OBJERR): Likewise.
8747         (BUS_MCEERR_AR): Likewise.
8748         (BUS_MCEERR_AO): Likewise.
8749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8750         (TRAP_TRACE): Likewise.
8751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8752         __USE_XOPEN2K8].
8753         (CLD_KILLED): Likewise.
8754         (CLD_DUMPED): Likewise.
8755         (CLD_TRAPPED): Likewise.
8756         (CLD_STOPPED): Likewise.
8757         (CLD_CONTINUED): Likewise.
8758         (POLL_IN): Likewise.
8759         (POLL_OUT): Likewise.
8760         (POLL_MSG): Likewise.
8761         (POLL_ERR): Likewise.
8762         (POLL_PRI): Likewise.
8763         (POLL_HUP): Likewise.
8764         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8765         (ILL_ILLOPN): Likewise.
8766         (ILL_ILLADR): Likewise.
8767         (ILL_ILLTRP): Likewise.
8768         (ILL_PRVOPC): Likewise.
8769         (ILL_PRVREG): Likewise.
8770         (ILL_COPROC): Likewise.
8771         (ILL_BADSTK): Likewise.
8772         (FPE_INTDIV): Likewise.
8773         (FPE_INTOVF): Likewise.
8774         (FPE_FLTDIV): Likewise.
8775         (FPE_FLTOVF): Likewise.
8776         (FPE_FLTUND): Likewise.
8777         (FPE_FLTRES): Likewise.
8778         (FPE_FLTINV): Likewise.
8779         (FPE_FLTSUB): Likewise.
8780         (SEGV_MAPERR): Likewise.
8781         (SEGV_ACCERR): Likewise.
8782         (BUS_ADRALN): Likewise.
8783         (BUS_ADRERR): Likewise.
8784         (BUS_OBJERR): Likewise.
8785         (BUS_MCEERR_AR): Likewise.
8786         (BUS_MCEERR_AO): Likewise.
8787         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8788         (TRAP_TRACE): Likewise.
8789         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8790         __USE_XOPEN2K8].
8791         (CLD_KILLED): Likewise.
8792         (CLD_DUMPED): Likewise.
8793         (CLD_TRAPPED): Likewise.
8794         (CLD_STOPPED): Likewise.
8795         (CLD_CONTINUED): Likewise.
8796         (POLL_IN): Likewise.
8797         (POLL_OUT): Likewise.
8798         (POLL_MSG): Likewise.
8799         (POLL_ERR): Likewise.
8800         (POLL_PRI): Likewise.
8801         (POLL_HUP): Likewise.
8802         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8803         (ILL_ILLOPN): Likewise.
8804         (ILL_ILLADR): Likewise.
8805         (ILL_ILLTRP): Likewise.
8806         (ILL_PRVOPC): Likewise.
8807         (ILL_PRVREG): Likewise.
8808         (ILL_COPROC): Likewise.
8809         (ILL_BADSTK): Likewise.
8810         (ILL_DBLFLT): Likewise.
8811         (ILL_HARDWALL): Likewise.
8812         (FPE_INTDIV): Likewise.
8813         (FPE_INTOVF): Likewise.
8814         (FPE_FLTDIV): Likewise.
8815         (FPE_FLTOVF): Likewise.
8816         (FPE_FLTUND): Likewise.
8817         (FPE_FLTRES): Likewise.
8818         (FPE_FLTINV): Likewise.
8819         (FPE_FLTSUB): Likewise.
8820         (SEGV_MAPERR): Likewise.
8821         (SEGV_ACCERR): Likewise.
8822         (BUS_ADRALN): Likewise.
8823         (BUS_ADRERR): Likewise.
8824         (BUS_OBJERR): Likewise.
8825         (BUS_MCEERR_AR): Likewise.
8826         (BUS_MCEERR_AO): Likewise.
8827         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8828         (TRAP_TRACE): Likewise.
8829         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8830         __USE_XOPEN2K8].
8831         (CLD_KILLED): Likewise.
8832         (CLD_DUMPED): Likewise.
8833         (CLD_TRAPPED): Likewise.
8834         (CLD_STOPPED): Likewise.
8835         (CLD_CONTINUED): Likewise.
8836         (POLL_IN): Likewise.
8837         (POLL_OUT): Likewise.
8838         (POLL_MSG): Likewise.
8839         (POLL_ERR): Likewise.
8840         (POLL_PRI): Likewise.
8841         (POLL_HUP): Likewise.
8842         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8843         (ILL_ILLOPN): Likewise.
8844         (ILL_ILLADR): Likewise.
8845         (ILL_ILLTRP): Likewise.
8846         (ILL_PRVOPC): Likewise.
8847         (ILL_PRVREG): Likewise.
8848         (ILL_COPROC): Likewise.
8849         (ILL_BADSTK): Likewise.
8850         (FPE_INTDIV): Likewise.
8851         (FPE_INTOVF): Likewise.
8852         (FPE_FLTDIV): Likewise.
8853         (FPE_FLTOVF): Likewise.
8854         (FPE_FLTUND): Likewise.
8855         (FPE_FLTRES): Likewise.
8856         (FPE_FLTINV): Likewise.
8857         (FPE_FLTSUB): Likewise.
8858         (SEGV_MAPERR): Likewise.
8859         (SEGV_ACCERR): Likewise.
8860         (BUS_ADRALN): Likewise.
8861         (BUS_ADRERR): Likewise.
8862         (BUS_OBJERR): Likewise.
8863         (BUS_MCEERR_AR): Likewise.
8864         (BUS_MCEERR_AO): Likewise.
8865         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8866         (TRAP_TRACE): Likewise.
8867         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8868         __USE_XOPEN2K8].
8869         (CLD_KILLED): Likewise.
8870         (CLD_DUMPED): Likewise.
8871         (CLD_TRAPPED): Likewise.
8872         (CLD_STOPPED): Likewise.
8873         (CLD_CONTINUED): Likewise.
8874         (POLL_IN): Likewise.
8875         (POLL_OUT): Likewise.
8876         (POLL_MSG): Likewise.
8877         (POLL_ERR): Likewise.
8878         (POLL_PRI): Likewise.
8879         (POLL_HUP): Likewise.
8880         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8881         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8883         [BZ #16670]
8884         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8885         before #include of <time.h>.
8886         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8887         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8888         (test-xfail-UNIX98/sched.h/conform): Likewise.
8890 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8892         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8893         error absence of trapping exception support.
8894         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8896 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8898         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8899         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8900         * timezone/Makefile (testdata): Move definition above include of
8901         Rules.
8902         (test-zones): New variable.
8903         (tests-special): Add zone files.
8904         (build-testdata): Use $(evaluate-test).
8906         * elf/Makefile (tests-special): Rename tests to end with .out.
8907         ($(objpfx)noload-mem): Likewise.
8908         ($(objpfx)tst-leaks1-mem): Likewise.
8909         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8910         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8911         $(objpfx)test-iconvconfig.out.
8912         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8913         set -e inside subshell and redirect output to file.
8914         * iconvdata/Makefile (generated): Rename tests to end with .out.
8915         Correct type.
8916         (tests-special): Rename tests to end with .out.
8917         ($(objpfx)mtrace-tst-loading): Likewise.
8918         * intl/Makefile (generated): Likewise.
8919         (tests-special): Likewise.
8920         ($(objpfx)mtrace-tst-gettext): Likewise.
8921         * misc/Makefile (generated): Likewise.
8922         (tests-special): Likewise.
8923         ($(objpfx)tst-error1-mem): Likewise.
8924         * nptl/Makefile (tests-special): Likewise.
8925         ($(objpfx)tst-stack3-mem): Likewise.
8926         (generated): Likewise.
8927         * posix/Makefile (generated): Likewise.
8928         (tests-special): Likewise.
8929         (xtests-special): Likewise.
8930         ($(objpfx)tst-fnmatch-mem): Likewise.
8931         ($(objpfx)bug-regex2-mem): Likewise.
8932         ($(objpfx)bug-regex14-mem): Likewise.
8933         ($(objpfx)bug-regex21-mem): Likewise.
8934         ($(objpfx)bug-regex31-mem): Likewise.
8935         ($(objpfx)tst-vfork3-mem): Likewise.
8936         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8937         ($(objpfx)tst-pcre-mem): Likewise.
8938         ($(objpfx)tst-boost-mem): Likewise.
8939         ($(objpfx)bug-ga2-mem): Likewise.
8940         ($(objpfx)bug-glob2-mem): Likewise.
8941         * resolv/Makefile (generate): Likewise.
8942         (tests-special): Likewise.
8943         (xtests-special): Likewise.
8944         (generated): Likewise.
8945         ($(objpfx)mtrace-tst-leaks): Likewise.
8946         ($(objpfx)mtrace-tst-leaks2): Likewise.
8948         * scripts/merge-test-results.sh: New file.
8949         * Makefile (tests-special-notdir): New variable.
8950         (tests): Run merge-test-results.sh.
8951         (xtests): Likewise.
8952         * Rules (tests-special-notdir): New variable.
8953         (xtests-special-notdir): Likewise.
8954         (tests): Run merge-test-results.sh
8955         (xtests): Likewise.
8957         * Makeconfig (test-xfail-name): New variable.
8958         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8959         compute variable name for expected failures.
8960         * conform/Makefile (conformtest-headers-data): New variable.
8961         (conformtest-standards): Likewise.
8962         (conformtest-headers-ISO): Likewise.
8963         (conformtest-headers-ISO99): Likewise.
8964         (conformtest-headers-ISO11): Likewise.
8965         (conformtest-headers-POSIX): Likewise.
8966         (conformtest-headers-XPG3): Likewise.
8967         (conformtest-headers-XPG4): Likewise.
8968         (conformtest-headers-UNIX98): Likewise.
8969         (conformtest-headers-XOPEN2K): Likewise.
8970         (conformtest-headers-POSIX2008): Likewise.
8971         (conformtest-headers-XOPEN2K8): Likewise.
8972         (conformtest-header-list-base): Likewise.
8973         (conformtest-header-list-tests): Likewise.
8974         (conformtest-header-base): Likewise.
8975         (conformtest-header-tests): Likewise.
8976         (tests-special): Add $(conformtest-header-list-tests).  If
8977         [$(fast-check) && !$(cross-compiling)], add
8978         $(conformtest-header-tests) instead of
8979         $(objpfx)run-conformtest.out.
8980         (generated): Add $(conformtest-header-list-base).  If
8981         [$(fast-check) && !$(cross-compiling)], add
8982         $(conformtest-header-base).  Remove previous setting.
8983         ($(conformtest-header-list-tests)): New target.
8984         (test-xfail-run-conformtest): Remove variable.
8985         ($(objpfx)run-conformtest.out): Remove target.
8986         (test-xfail-ISO11/complex.h/conform): New variable.
8987         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8988         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8989         (test-xfail-XPG3/varargs.h/conform): Likewise.
8990         (test-xfail-XPG4/varargs.h/conform): Likewise.
8991         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8992         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8993         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8994         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8995         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8996         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8997         (test-xfail-XPG3/ftw.h/conform): Likewise.
8998         (test-xfail-XPG3/grp.h/conform): Likewise.
8999         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9000         (test-xfail-XPG3/limits.h/conform): Likewise.
9001         (test-xfail-XPG3/pwd.h/conform): Likewise.
9002         (test-xfail-XPG3/search.h/conform): Likewise.
9003         (test-xfail-XPG3/signal.h/conform): Likewise.
9004         (test-xfail-XPG3/stdio.h/conform): Likewise.
9005         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9006         (test-xfail-XPG3/string.h/conform): Likewise.
9007         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9008         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9009         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9010         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9011         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9012         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9013         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9014         (test-xfail-XPG3/termios.h/conform): Likewise.
9015         (test-xfail-XPG3/time.h/conform): Likewise.
9016         (test-xfail-XPG3/unistd.h/conform): Likewise.
9017         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9018         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9019         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9020         (test-xfail-XPG4/netdb.h/conform): Likewise.
9021         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9022         (test-xfail-XPG4/signal.h/conform): Likewise.
9023         (test-xfail-XPG4/stdio.h/conform): Likewise.
9024         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9025         (test-xfail-XPG4/stropts.h/conform): Likewise.
9026         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9027         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9028         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9029         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9030         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9031         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9032         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9033         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9034         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9035         (test-xfail-XPG4/termios.h/conform): Likewise.
9036         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9037         (test-xfail-XPG4/unistd.h/conform): Likewise.
9038         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9039         (test-xfail-POSIX/sched.h/conform): Likewise.
9040         (test-xfail-POSIX/signal.h/conform): Likewise.
9041         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9042         (test-xfail-POSIX/tar.h/conform): Likewise.
9043         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9044         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9045         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9046         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9047         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9048         (test-xfail-UNIX98/sched.h/conform): Likewise.
9049         (test-xfail-UNIX98/signal.h/conform): Likewise.
9050         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9051         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9052         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9053         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9054         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9055         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9056         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9057         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9058         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9059         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9060         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9061         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9062         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9063         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9064         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9065         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9066         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9067         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9068         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9069         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9070         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9071         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9072         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9073         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9074         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9075         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9076         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9077         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9078         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9079         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9080         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9081         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9082         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9083         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9084         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9085         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9086         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9087         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9088         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9089         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9090         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9091         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9092         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9093         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9094         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9095         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9096         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9097         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9098         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9099         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9100         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9101         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9102         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9103         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9104         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9105         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9106         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9107         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9108         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9109         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9110         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9111         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9112         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9113         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9114         (conformtest-cc-flags): Likewise.
9115         ($(conformtest-header-tests): New target.
9116         * conform/check-header-lists.sh: New file.
9117         * conform/run-conformtest.sh: Remove.
9119         * conform/conformtest.pl: Allow ' and \ in values given for
9120         constants.
9121         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9122         inclusion.
9123         [POSIX] (sys/types.h): Likewise.
9124         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9125         inclusion.
9126         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9127         inclusion.
9128         * conform/data/signal.h-data (SIGIO): Remove expectation.
9129         [XPG3] (SIGBUS): Do not expect.
9130         [POSIX || XPG3] (SIGPOLL): Likewise.
9131         [POSIX || XPG3] (SIGPROF): Likewise.
9132         [POSIX || XPG3] (SIGSYS): Likewise.
9133         [XPG3] (SIGTRAP): Likewise.
9134         [POSIX || XPG3] (SIGURG): Likewise.
9135         [POSIX || XPG3] (SIGVTALRM): Likewise.
9136         [POSIX || XPG3] (SIGXCPU): Likewise.
9137         [POSIX || XPG3] (SIGXFSZ): Likewise.
9138         [POSIX] (SA_SIGINFO): Expect.
9139         [XPG3] (siginfo_t): Do not expect type or contents.
9140         [POSIX] (si_pid): Do not expect element.
9141         [POSIX] (si_uid): Likewise.
9142         [POSIX] (si_addr): Likewise.
9143         [POSIX] (si_status): Likewise.
9144         [POSIX] (si_band): Likewise.
9145         [XPG4] (si_value): Likewise.
9146         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9147         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9148         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9149         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9150         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9151         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9152         [POSIX || XPG3] (ILL_COPROC): Likewise.
9153         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9154         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9155         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9156         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9157         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9158         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9159         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9160         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9161         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9162         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9163         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9164         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9165         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9166         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9167         [POSIX || XPG3] (CLD_EXITED): Likewise.
9168         [POSIX || XPG3] (CLD_KILLED): Likewise.
9169         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9170         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9171         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9172         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9173         [POSIX || XPG3] (POLL_IN): Likewise.
9174         [POSIX || XPG3] (POLL_OUT): Likewise.
9175         [POSIX || XPG3] (POLL_MSG): Likewise.
9176         [POSIX || XPG3] (POLL_ERR): Likewise.
9177         [POSIX || XPG3] (POLL_PRI): Likewise.
9178         [POSIX || XPG3] (POLL_HUP): Likewise.
9179         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9180         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9181         (SIG*): Do not allow.
9182         [XPG3] (si_*): Likewise.
9183         [XPG3] (SI_*): Likewise.
9184         [XPG3 || XPG4] (sigev_*): Likewise.
9185         [XPG3 || XPG4] (SIGEV_*): Likewise.
9186         [XPG3 || XPG4] (sival_*): Likewise.
9187         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9188         [POSIX || XPG3] (BUS_*): Likewise.
9189         [POSIX || XPG3] (CLD_*): Likewise.
9190         [POSIX || XPG3] (FPE_*): Likewise.
9191         [POSIX || XPG3] (ILL_*): Likewise.
9192         [POSIX || XPG3] (POLL_*): Likewise.
9193         [POSIX || XPG3] (SEGV_*): Likewise.
9194         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9195         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9196         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9197         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9198         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9199         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9200         Specify type and value.
9201         (TVERSLEN): Likewise.
9202         (REGTYPE): Likewise.
9203         (AREGTYPE): Likewise.
9204         (LNKTYPE): Likewise.
9205         (SYMTYPE): Likewise.
9206         (CHRTYPE): Likewise.
9207         (BLKTYPE): Likewise.
9208         (DIRTYPE): Likewise.
9209         (FIFOTYPE): Likewise.
9210         (CONTTYPE): Likewise.
9211         (TSUID): Likewise.
9212         (TSGID): Likewise.
9213         (TSVTX): Likewise.
9214         (TUREAD): Likewise.
9215         (TUWRITE): Likewise.
9216         (TUEXEC): Likewise.
9217         (TGREAD): Likewise.
9218         (TGWRITE): Likewise.
9219         (TGEXEC): Likewise.
9220         (TOREAD): Likewise.
9221         (TOWRITE): Likewise.
9222         (TOEXEC): Likewise.
9223         [POSIX] (TSVTX): Expect constant.
9225 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9227         * Makefile (tests): Change dependencies to ....
9228         (tests-special): ... additions to this variable.
9229         (tests): Depend on $(tests-special).
9230         * Makerules (check-abi-list): New variable.
9231         (check-abi): Depend on $(check-abi-list).
9232         [$(subdir) = elf] (tests-special): Add
9233         $(objpfx)check-abi-libc.out.
9234         [$(build-shared) = yes && subdir] (tests-special): Add
9235         $(check-abi-list).
9236         [$(build-shared) = yes && subdir] (tests): Do not depend on
9237         check-abi.
9238         * Rules (tests): Depend on $(tests-special).
9239         (xtests): Depend on $(xtests-special).
9240         * catgets/Makefile (tests): Change dependencies to ....
9241         (tests-special): ... additions to this variable.
9242         * conform/Makefile (tests): Change dependencies to ....
9243         (tests-special): ... additions to this variable.
9244         * elf/Makefile (tests): Change dependencies to ....
9245         (tests-special): ... additions to this variable.
9246         * grp/Makefile (tests): Change dependencies to ....
9247         (tests-special): ... additions to this variable.
9248         * iconv/Makefile (xtests): Change dependencies to ....
9249         (xtests-special): ... additions to this variable.
9250         * iconvdata/Makefile (tests): Change dependencies to ....
9251         (tests-special): ... additions to this variable.
9252         * intl/Makefile (tests): Change dependencies to ....
9253         (tests-special): ... additions to this variable.  Also add
9254         $(objpfx)tst-gettext.out.
9255         * io/Makefile (tests): Change dependencies to ....
9256         (tests-special): ... additions to this variable.
9257         * libio/Makefile (tests): Change dependencies to ....
9258         (tests-special): ... additions to this variable.
9259         * malloc/Makefile (tests): Change dependencies to ....
9260         (tests-special): ... additions to this variable.
9261         * misc/Makefile (tests): Change dependencies to ....
9262         (tests-special): ... additions to this variable.
9263         * nptl/Makefile (tests): Change dependencies to ....
9264         (tests-special): ... additions to this variable.
9265         * nptl_db/Makefile (tests): Change dependencies to ....
9266         (tests-special): ... additions to this variable.
9267         * posix/Makefile (tests): Change dependencies to ....
9268         (tests-special): ... additions to this variable.
9269         (xtests): Change dependencies to ....
9270         (xtests-special): ... additions to this variable.
9271         * resolv/Makefile (tests): Change dependencies to ....
9272         (tests-special): ... additions to this variable.
9273         (xtests): Change dependencies to ....
9274         (xtests-special): ... additions to this variable.
9275         * stdio-common/Makefile (tests): Change dependencies to ....
9276         (tests-special): ... additions to this variable.
9277         (do-tst-unbputc): Remove target.
9278         (do-tst-printf): Likewise.
9279         * stdlib/Makefile (tests): Change dependencies to ....
9280         (tests-special): ... additions to this variable.
9281         * string/Makefile (tests): Change dependencies to ....
9282         (tests-special): ... additions to this variable.
9283         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9284         (tests-special): ... additions to this variable.
9286         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9287         whole file.
9288         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9289         whole file.
9290         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9291         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9293         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9294         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9295         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9296         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9297         * conform/data/libgen.h-data [XPG3]: Likewise.
9298         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9299         * conform/data/ndbm.h-data [XPG3]: Likewise.
9300         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9301         * conform/data/netdb.h-data [XPG3]: Likewise.
9302         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9303         * conform/data/poll.h-data [XPG3]: Likewise.
9304         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9305         * conform/data/strings.h-data [XPG3]: Likewise.
9306         * conform/data/stropts.h-data [XPG3]: Likewise.
9307         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9308         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9309         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9310         Likewise.
9311         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9312         * conform/data/sys/time.h-data [XPG3]: Likewise.
9313         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9314         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9315         * conform/data/sys/un.h-data [XPG3]: Likewise.
9316         * conform/data/syslog.h-data [XPG3]: Likewise.
9317         * conform/data/ucontext.h-data [XPG3]: Likewise.
9318         * conform/data/utmpx.h-data [XPG3]: Likewise.
9319         * conform/data/varargs.h-data [UNIX98]: Enable file.
9321         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9323         * math/libm-test.inc (struct test_f_f_data): Move expected results
9324         into structure for each rounding mode.
9325         (struct test_ff_f_data): Likewise.
9326         (struct test_ff_f_data_nexttoward): Likewise.
9327         (struct test_fi_f_data): Likewise.
9328         (struct test_fl_f_data): Likewise.
9329         (struct test_if_f_data): Likewise.
9330         (struct test_fff_f_data): Likewise.
9331         (struct test_c_f_data): Likewise.
9332         (struct test_f_f1_data): Likewise.
9333         (struct test_fF_f1_data): Likewise.
9334         (struct test_ffI_f1_data): Likewise.
9335         (struct test_c_c_data): Likewise.
9336         (struct test_cc_c_data): Likewise.
9337         (struct test_f_i_data): Likewise.
9338         (struct test_ff_i_data): Likewise.
9339         (struct test_f_l_data): Likewise.
9340         (struct test_f_L_data): Likewise.
9341         (struct test_fFF_11_data): Likewise.
9342         (RM_): New macro.
9343         (RM_FE_DOWNWARD): Likewise.
9344         (RM_FE_TONEAREST): Likewise.
9345         (RM_FE_TOWARDZERO): Likewise.
9346         (RM_FE_UPWARD): Likewise.
9347         (RUN_TEST_LOOP_f_f): Update references to expected results.
9348         (RUN_TEST_LOOP_2_f): Likewise.
9349         (RUN_TEST_LOOP_fff_f): Likewise.
9350         (RUN_TEST_LOOP_c_f): Likewise.
9351         (RUN_TEST_LOOP_f_f1): Likewise.
9352         (RUN_TEST_LOOP_fF_f1): Likewise.
9353         (RUN_TEST_LOOP_fI_f1): Likewise.
9354         (RUN_TEST_LOOP_ffI_f1): Likewise.
9355         (RUN_TEST_LOOP_c_c): Likewise.
9356         (RUN_TEST_LOOP_cc_c): Likewise.
9357         (RUN_TEST_LOOP_f_i): Likewise.
9358         (RUN_TEST_LOOP_f_i_tg): Likewise.
9359         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9360         (RUN_TEST_LOOP_f_b): Likewise.
9361         (RUN_TEST_LOOP_f_b_tg): Likewise.
9362         (RUN_TEST_LOOP_f_l): Likewise.
9363         (RUN_TEST_LOOP_f_L): Likewise.
9364         (RUN_TEST_LOOP_fFF_11): Likewise.
9365         * math/gen-libm-test.pl (parse_args): Output four copies of
9366         expected results for each test.
9368         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9369         (__ASSUME_UTIMES): Remove.
9370         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9371         (__ASSUME_UTIMES): Likewise.
9373         * math/gen-auto-libm-tests.c: Update comment on output format.
9374         (output_for_one_input_case): Generate before-rounding and
9375         after-rounding information as conditions on output flags not
9376         floating-point format.
9377         * math/auto-libm-test-out: Regenerated.
9378         * math/gen-libm-test.pl (cond_value): New function.
9379         (or_cond_value): Use cond_value.
9380         (generate_testfile): Handle conditional exceptions.
9382 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9384         * math/libm-test.inc (max_valid_error): New variable.
9385         (init_max_error): Take new argument specifying whether function
9386         results are exactly determined.  Set max_valid_error and bound
9387         other variables for errors based on this argument.
9388         (set_max_error): Do not record results above max_valid_error.
9389         (check_float_internal): Only accept errors of up to 0.5ulps if
9390         also at most max_valid_error.
9391         (START): Take new argument EXACT and pass it to init_max_error.
9392         (acos_test): Update call to START.
9393         (acos_test_tonearest): Likewise.
9394         (acos_test_towardzero): Likewise.
9395         (acos_test_downward): Likewise.
9396         (acos_test_upward): Likewise.
9397         (acosh_test): Likewise.
9398         (asin_test): Likewise.
9399         (asin_test_tonearest): Likewise.
9400         (asin_test_towardzero): Likewise.
9401         (asin_test_downward): Likewise.
9402         (asin_test_upward): Likewise.
9403         (asinh_test): Likewise.
9404         (atan_test): Likewise.
9405         (atanh_test): Likewise.
9406         (atan2_test): Likewise.
9407         (cabs_test): Likewise.
9408         (cacos_test): Likewise.
9409         (cacosh_test): Likewise.
9410         (carg_test): Likewise.
9411         (casin_test): Likewise.
9412         (casinh_test): Likewise.
9413         (catan_test): Likewise.
9414         (catanh_test): Likewise.
9415         (cbrt_test): Likewise.
9416         (ccos_test): Likewise.
9417         (ccosh_test): Likewise.
9418         (ceil_test): Likewise.
9419         (cexp_test): Likewise.
9420         (cimag_test): Likewise.
9421         (clog_test): Likewise.
9422         (clog10_test): Likewise.
9423         (conj_test): Likewise.
9424         (copysign_test): Likewise.
9425         (cos_test): Likewise.
9426         (cos_test_tonearest): Likewise.
9427         (cos_test_towardzero): Likewise.
9428         (cos_test_downward): Likewise.
9429         (cos_test_upward): Likewise.
9430         (cosh_test): Likewise.
9431         (cosh_test_tonearest): Likewise.
9432         (cosh_test_towardzero): Likewise.
9433         (cosh_test_downward): Likewise.
9434         (cosh_test_upward): Likewise.
9435         (cpow_test): Likewise.
9436         (cproj_test): Likewise.
9437         (creal_test): Likewise.
9438         (csin_test): Likewise.
9439         (csinh_test): Likewise.
9440         (csqrt_test): Likewise.
9441         (ctan_test): Likewise.
9442         (ctan_test_tonearest): Likewise.
9443         (ctan_test_towardzero): Likewise.
9444         (ctan_test_downward): Likewise.
9445         (ctan_test_upward): Likewise.
9446         (ctanh_test): Likewise.
9447         (ctanh_test_tonearest): Likewise.
9448         (ctanh_test_towardzero): Likewise.
9449         (ctanh_test_downward): Likewise.
9450         (ctanh_test_upward): Likewise.
9451         (erf_test): Likewise.
9452         (erfc_test): Likewise.
9453         (exp_test): Likewise.
9454         (exp_test_tonearest): Likewise.
9455         (exp_test_towardzero): Likewise.
9456         (exp_test_downward): Likewise.
9457         (exp_test_upward): Likewise.
9458         (exp10_test): Likewise.
9459         (exp10_test_tonearest): Likewise.
9460         (exp10_test_towardzero): Likewise.
9461         (exp10_test_downward): Likewise.
9462         (exp10_test_upward): Likewise.
9463         (pow10_test): Likewise.
9464         (exp2_test): Likewise.
9465         (expm1_test): Likewise.
9466         (expm1_test_tonearest): Likewise.
9467         (expm1_test_towardzero): Likewise.
9468         (expm1_test_downward): Likewise.
9469         (expm1_test_upward): Likewise.
9470         (fabs_test): Likewise.
9471         (fdim_test): Likewise.
9472         (floor_test): Likewise.
9473         (fma_test): Likewise.
9474         (fma_test_towardzero): Likewise.
9475         (fma_test_downward): Likewise.
9476         (fma_test_upward): Likewise.
9477         (fmax_test): Likewise.
9478         (fmin_test): Likewise.
9479         (fmod_test): Likewise.
9480         (fpclassify_test): Likewise.
9481         (frexp_test): Likewise.
9482         (hypot_test): Likewise.
9483         (ilogb_test): Likewise.
9484         (isfinite_test): Likewise.
9485         (finite_test): Likewise.
9486         (isgreater_test): Likewise.
9487         (isgreaterequal_test): Likewise.
9488         (isinf_test): Likewise.
9489         (isless_test): Likewise.
9490         (islessequal_test): Likewise.
9491         (islessgreater_test): Likewise.
9492         (isnan_test): Likewise.
9493         (isnormal_test): Likewise.
9494         (issignaling_test): Likewise.
9495         (isunordered_test): Likewise.
9496         (j0_test): Likewise.
9497         (j1_test): Likewise.
9498         (jn_test): Likewise.
9499         (ldexp_test): Likewise.
9500         (lgamma_test): Likewise.
9501         (gamma_test): Likewise.
9502         (lrint_test): Likewise.
9503         (lrint_test_tonearest): Likewise.
9504         (lrint_test_towardzero): Likewise.
9505         (lrint_test_downward): Likewise.
9506         (lrint_test_upward): Likewise.
9507         (llrint_test): Likewise.
9508         (llrint_test_tonearest): Likewise.
9509         (llrint_test_towardzero): Likewise.
9510         (llrint_test_downward): Likewise.
9511         (llrint_test_upward): Likewise.
9512         (log_test): Likewise.
9513         (log10_test): Likewise.
9514         (log1p_test): Likewise.
9515         (log2_test): Likewise.
9516         (logb_test): Likewise.
9517         (logb_test_downward): Likewise.
9518         (lround_test): Likewise.
9519         (llround_test): Likewise.
9520         (modf_test): Likewise.
9521         (nearbyint_test): Likewise.
9522         (nextafter_test): Likewise.
9523         (nexttoward_test): Likewise.
9524         (pow_test): Likewise.
9525         (pow_test_tonearest): Likewise.
9526         (pow_test_towardzero): Likewise.
9527         (pow_test_downward): Likewise.
9528         (pow_test_upward): Likewise.
9529         (remainder_test): Likewise.
9530         (drem_test): Likewise.
9531         (remainder_test_tonearest): Likewise.
9532         (drem_test_tonearest): Likewise.
9533         (remainder_test_towardzero): Likewise.
9534         (drem_test_towardzero): Likewise.
9535         (remainder_test_downward): Likewise.
9536         (drem_test_downward): Likewise.
9537         (remainder_test_upward): Likewise.
9538         (drem_test_upward): Likewise.
9539         (remquo_test): Likewise.
9540         (rint_test): Likewise.
9541         (rint_test_tonearest): Likewise.
9542         (rint_test_towardzero): Likewise.
9543         (rint_test_downward): Likewise.
9544         (rint_test_upward): Likewise.
9545         (round_test): Likewise.
9546         (scalb_test): Likewise.
9547         (scalbn_test): Likewise.
9548         (scalbln_test): Likewise.
9549         (signbit_test): Likewise.
9550         (sin_test): Likewise.
9551         (sin_test_tonearest): Likewise.
9552         (sin_test_towardzero): Likewise.
9553         (sin_test_downward): Likewise.
9554         (sin_test_upward): Likewise.
9555         (sincos_test): Likewise.
9556         (sinh_test): Likewise.
9557         (sinh_test_tonearest): Likewise.
9558         (sinh_test_towardzero): Likewise.
9559         (sinh_test_downward): Likewise.
9560         (sinh_test_upward): Likewise.
9561         (sqrt_test): Likewise.
9562         (sqrt_test_tonearest): Likewise.
9563         (sqrt_test_towardzero): Likewise.
9564         (sqrt_test_downward): Likewise.
9565         (sqrt_test_upward): Likewise.
9566         (tan_test): Likewise.
9567         (tan_test_tonearest): Likewise.
9568         (tan_test_towardzero): Likewise.
9569         (tan_test_downward): Likewise.
9570         (tan_test_upward): Likewise.
9571         (tanh_test): Likewise.
9572         (tgamma_test): Likewise.
9573         (trunc_test): Likewise.
9574         (y0_test): Likewise.
9575         (y1_test): Likewise.
9576         (yn_test): Likewise.
9577         (significand_test): Likewise.
9579         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9580         individual tests in comment.
9581         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9582         (prev_max_error): New variable.
9583         (prev_real_max_error): Likewise.
9584         (prev_imag_max_error): Likewise.
9585         (compare_ulp_data): Don't refer to test names in comment.
9586         (find_test_ulps): Remove function.
9587         (find_function_ulps): Likewise.
9588         (find_complex_function_ulps): Likewise.
9589         (init_max_error): Take function name as argument.  Look up ulps
9590         for that function.
9591         (print_ulps): Remove function.
9592         (print_max_error): Use prev_max_error instead of calling
9593         find_function_ulps.
9594         (print_complex_max_error): Use prev_real_max_error and
9595         prev_imag_max_error instead of calling find_complex_function_ulps.
9596         (check_float_internal): Take max_ulp parameter instead of calling
9597         find_test_ulps.  Don't call print_ulps.
9598         (check_float): Update call to check_float_internal.
9599         (check_complex): Update calls to check_float_internal.
9600         (START): Pass argument to init_max_error.
9601         * math/gen-libm-test.pl (%results): Don't include "kind"
9602         information.
9603         (parse_ulps): Don't handle ulps of individual tests.
9604         (print_ulps_file): Likewise.
9605         (output_ulps): Likewise.
9606         * math/README.libm-test: Update.
9607         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9608         individual tests.
9609         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9610         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9611         * sysdeps/arm/libm-test-ulps: Likewise.
9612         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9613         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9614         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9615         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9616         * sysdeps/microblaze/libm-test-ulps: Likewise.
9617         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9618         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9619         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9620         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9621         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9622         * sysdeps/sh/libm-test-ulps: Likewise.
9623         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9624         * sysdeps/tile/libm-test-ulps: Likewise.
9625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9627 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9629         * math/libm-test.inc (print_complex_max_error): Check separately
9630         whether real and imaginary errors are within allowed range and
9631         pass 0 to print_complex_function_ulps instead of value within
9632         allowed range.
9634 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9636         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9637         formatting.
9638         (get_handles_fopen): Likewise.
9639         (do_write_test): Likewise.
9641         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9643         * libio/fileops.c (do_ftell): Use cached offset when
9644         available.
9645         * libio/iofwide.c (do_ftell_wide): Likewise.
9646         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9647         _IO_file_attach.
9648         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9650         [BZ #16532]
9651         * libio/libioP.h (get_file_offset): New function.
9652         * libio/fileops.c (get_file_offset): Likewise.
9653         (do_ftell): Likewise.
9654         (_IO_new_file_seekoff): Split out ftell logic.
9655         * libio/wfileops.c (do_ftell_wide): Likewise.
9656         (_IO_wfile_seekoff): Split out ftell logic.
9657         * libio/tst-ftell-active-handler.c: New test case.
9658         * libio/Makefile (tests): Add it.
9660 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9662         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9663         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9665 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9667         [BZ #16639]
9668         * nscd/connections.c (nscd_init): Call do_exit.
9669         (start_threads): Call do_exit and notify_parent.
9670         (begin_drop_privileges): Call do_exit.
9671         (finish_drop_privileges): Likewise.
9672         * nscd/selinux.c (preserve_capabilities): Likewise.
9673         (install_real_capabilities): Likewise.
9674         (nscd_selinux_enabled): Likewise.
9675         (avc_create_thread): Likewise.
9676         (avc_alloc_lock): Likewise.
9677         (nscd_avc_init): Likewise.
9678         * nscd/nscd.c (parent_fd): New static variable.
9679         (main): Create a pipe between parent and child processes.
9680         Skip closing parent_fd.
9681         (monitor_child): New function.
9682         (do_exit): Likewise.
9683         (notify_parent): Likewise.
9684         * nscd/nscd.h (notify_parent): Likewise.
9685         (do_exit): Likewise.
9687 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9689         * malloc/malloc.c (__libc_calloc): Revert last change.
9691 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9695 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9697         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9699         implementation.
9700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9701         (__libc_ifunc_impl_list): Likewise.
9702         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9703         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9704         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9705         * string/strrchr.c: Define STRRCHR.
9707 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9709         * benchtest/bench-strtok.c (simple_strtok): Delete.
9710         (strtok_string): Use as benchmark.
9711         * string/strtok (STRTOK): New macro.
9713 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9715         * manual/threads.texi: Add header and standard comments to all
9716         functions.
9718         * elf/dl-lookup.c (check_match): New function.
9719         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9720         (do_lookup_x): Remove nested function check_match. Use non-nested
9721         function check_match.
9723 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9725         * csu/Makefile (generated, before-compile): Use += rather than =.
9726         * catgets/Makefile (generated, generated-dirs): Likewise.
9727         * debug/Makefile (generated): Likewise.
9728         * dlfcn/Makefile (generated): Likewise.
9729         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9730         * iconvdata/Makefile (before-compile, generated): Likewise.
9731         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9732         * libio/Makefile (generated): Likewise.
9733         * malloc/Makefile (generated): Likewise.
9734         * manual/Makefile (generated, generated-dirs): Likewise.
9735         * misc/Makefile (generated): Likewise.
9736         * posix/Makefile (generated): Likewise.
9737         * resolv/Makefile (generated): Likewise.
9738         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9739         * timezone/Makefile (generated, generated-dirs): Likewise.
9741         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9743 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9746         power8 implementation.
9747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9748         file: POWER8 llround ifunc implementation.
9749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9750         (__lllround): Add POWER8 implementation.
9751         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9752         POWER8 llround implementation.
9754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9755         power8 implementation.
9756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9757         file: POWER8 llrint ifunc implementation.
9758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9759         Add POWER8 implementation.
9760         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9761         POWER8 llrint implementation.
9763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9764         power8 implementation.
9765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9766         file: POWER8 finite ifunc implementation.
9767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9768         Add POWER8 implementation.
9769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9770         Likewise.
9771         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9772         POWER8 finite implementation.
9773         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9776         power8 implementation.
9777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9778         file: POWER8 isinf ifunc implementation.
9779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9780         POWER8 implementation.
9781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9782         Likewise.
9783         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9784         isinf implementation.
9785         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9787         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9788         (INIT_ARCH): Add hwcap2 initialization.
9789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9790         power8 implementation.
9791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9792         file: POWER8 isnan ifunc implementation.
9793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9794         POWER8 implementation.
9795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9796         Likewise.
9797         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9798         isnan implementation.
9799         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9801 2014-02-27  Joey Ye  <joey.ye@arm.com>
9803         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9804         (_FP_NANFRAC_Q): Set to zero.
9806 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9808         [BZ #16623]
9809         * math/auto-libm-test-in: New test inputs.
9810         * math/auto-libm-test-out: Regenerate.
9811         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9812         and DA.
9813         (__cos): Likewise.
9814         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9816 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9818         * scripts/evaluate-test.sh: Take new argument indicating whether
9819         failure is expected.
9820         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9821         indicating whether failure is expected.
9822         * conform/Makefile (test-xfail-run-conformtest): New variable.
9823         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9824         level.
9825         * posix/Makefile (test-xfail-annexc): New variable.
9826         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9828 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9830         * argp/Makefile: Include Makeconfig immediately after defining
9831         subdir.
9832         * assert/Makefile: Likewise.
9833         * benchtests/Makefile: Likewise.
9834         * catgets/Makefile: Likewise.
9835         * conform/Makefile: Likewise.
9836         * crypt/Makefile: Likewise.
9837         * csu/Makefile: Likewise.
9838         (all): Remove target.
9839         * ctype/Makefile: Include Makeconfig immediately after defining
9840         subdir.
9841         * debug/Makefile: Likewise.
9842         * dirent/Makefile: Likewise.
9843         * dlfcn/Makefile: Likewise.
9844         * gmon/Makefile: Likewise.
9845         * gnulib/Makefile: Likewise.
9846         * grp/Makefile: Likewise.
9847         * gshadow/Makefile: Likewise.
9848         * hesiod/Makefile: Likewise.
9849         * hurd/Makefile: Likewise.
9850         (all): Remove target.
9851         * iconvdata/Makefile: Include Makeconfig immediately after
9852         defining subdir.
9853         * inet/Makefile: Likewise.
9854         * intl/Makefile: Likewise.
9855         * io/Makefile: Likewise.
9856         * libio/Makefile: Likewise.
9857         (all): Remove target.
9858         * locale/Makefile: Include Makeconfig immediately after defining
9859         subdir.
9860         * login/Makefile: Likewise.
9861         * mach/Makefile: Likewise.
9862         (all): Remove target.
9863         * malloc/Makefile: Include Makeconfig immediately after defining
9864         subdir.
9865         (all): Remove target.
9866         * manual/Makefile: Include Makeconfig immediately after defining
9867         subdir.
9868         * math/Makefile: Likewise.
9869         * misc/Makefile: Likewise.
9870         * nis/Makefile: Likewise.
9871         * nss/Makefile: Likewise.
9872         * po/Makefile: Likewise.
9873         (all): Remove target.
9874         * posix/Makefile: Include Makeconfig immediately after defining
9875         subdir.
9876         * pwd/Makefile: Likewise.
9877         * resolv/Makefile: Likewise.
9878         * resource/Makefile: Likewise.
9879         * rt/Makefile: Likewise.
9880         * setjmp/Makefile: Likewise.
9881         * shadow/Makefile: Likewise.
9882         * signal/Makefile: Likewise.
9883         * socket/Makefile: Likewise.
9884         * soft-fp/Makefile: Likewise.
9885         * stdio-common/Makefile: Likewise.
9886         * stdlib/Makefile: Likewise.
9887         * streams/Makefile: Likewise.
9888         * string/Makefile: Likewise.
9889         * sunrpc/Makefile: Likewise.
9890         (all): Remove target.
9891         * sysvipc/Makefile: Include Makeconfig immediately after defining
9892         subdir.
9893         * termios/Makefile: Likewise.
9894         * time/Makefile: Likewise.
9895         * timezone/Makefile: Likewise.
9896         (all): Remove target.
9897         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9898         subdir.
9899         * wctype/Makefile: Likewise.
9901 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9903         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9904         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9905         (libc_feholdexcept_setround_mips): Ditto.
9906         (libc_feholdsetround): New.
9907         (libc_feholdsetroundf): New.
9908         (libc_feholdsetroundl): New.
9909         (libc_feupdateenv_test_mips): New.
9910         (libc_feupdateenv_test): New.
9911         (libc_feupdateenv_testf): New.
9912         (libc_feupdateenv_testl): New.
9913         (libc_feresetround): New.
9914         (libc_feresetroundf): New.
9915         (libc_feresetroundl): New.
9916         (libc_fetestexcept_mips): New.
9917         (libc_fetestexcept): New.
9918         (libc_fetestexceptf): New.
9919         (libc_fetestexceptl): New.
9920         (HAVE_RM_CTX): New.
9921         (libc_feholdexcept_setround_mips_ctx): New.
9922         (libc_feholdexcept_setround_ctx): New.
9923         (libc_feholdexcept_setroundf_ctx): New.
9924         (libc_feholdexcept_setroundl_ctx): New.
9925         (libc_fesetenv_mips_ctx): New.
9926         (libc_fesetenv_ctx): New.
9927         (libc_fesetenv_ctxf): New.
9928         (libc_fesetenv_ctxl): New.
9929         (libc_feupdateenv_mips_ctx): New.
9930         (libc_feupdateenv_ctx): New.
9931         (libc_feupdateenvf_ctx): New.
9932         (libc_feupdateenvl_ctx): New.
9933         (libc_feholdsetround_mips_ctx): New.
9934         (libc_feholdsetround_ctx): New.
9935         (libc_feholdsetroundf_ctx): New.
9936         (libc_feholdsetroundl_ctx): New.
9937         (libc_feresetround_mips_ctx): New.
9938         (libc_feresetround_ctx): New.
9939         (libc_feresetroundf_ctx): New.
9940         (libc_feresetroundl_ctx): New.
9942 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9944         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9946         * manual/ipc.texi: New file.
9947         * manual/Makefile (chapters): Add ipc.
9948         * manual/job.texi: Add "Inter-Process Communication" to next.
9949         * manual/process.texi: Add "Inter-Process Communication" to prev.
9951 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9955 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9957         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9959         * manual/arith.texi: Fix spaces after sentences.
9960         * manual/charset.texi: Likewise.
9961         * manual/errno.texi: Likewise.
9962         * manual/install.texi: Likewise.
9963         * manual/llio.texi: Likewise.
9964         * manual/locale.texi: Likewise.
9965         * manual/maint.texi: Likewise.
9966         * manual/math.texi: Likewise.
9967         * manual/memory.texi: Likewise.
9968         * manual/message.texi: Likewise.
9969         * manual/probes.texi: Likewise.
9970         * manual/resource.texi: Likewise.
9971         * manual/signal.texi: Likewise.
9972         * manual/socket.texi: Likewise.
9973         * manual/stdio.texi: Likewise.
9974         * manual/string.texi: Likewise.
9975         * manual/time.texi: Likewise.
9976         * manual/users.texi: Likewise.
9978 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9980         [BZ #16632]
9981         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9982         _DEFAULT_SOURCE is defined.
9984 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9985             Carlos O'Donell  <carlos@redhat.com>
9987         [BZ #16613]
9988         * elf/dl-tls.c (_dl_count_modids): New function.
9989         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9990         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9991         audit library and increment generation counter.
9992         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9993         * elf/tst-audit9.c: New file.
9994         * elf/tst-auditmod9a.c: New file.
9995         * elf/tst-auditmod9b.c: New file.
9996         * elf/Makefile: Add rules to build and run tst-audit9.
9998 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10000         [BZ #15347]
10001         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10003 2014-02-25  Will Newton  <will.newton@linaro.org>
10005         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10006         (__longjmp): Restore sp and lr before restoring callee
10007         saved registers.  Add longjmp and longjmp_target
10008         SystemTap probe point.
10009         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10010         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10011         Define to zero to match jmpbuf layout.
10012         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10013         (__sigsetjmp): Save sp and lr before saving callee
10014         saved registers.  Add setjmp SystemTap probe point.
10016 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10018         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10020 2014-02-24  Andreas Schwab  <schwab@suse.de>
10022         [BZ #15804]
10023         * elf/pldd.c (wait_for_ptrace_stop): New function.
10024         (main): Call it after attaching.
10026 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10028         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10029         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10030         Versions files is now verboten.
10031         * hurd/Versions (libc: GLIBC_2.0):
10032         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10033         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10034         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10035         * mach/Versions: Likewise.
10037         * csu/Versions: Remove unused %include.
10038         * resolv/Versions: Likewise.
10040 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10042         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10043         ($(objpfx)check-local-headers.out): Likewise.
10044         ($(objpfx)begin-end-check.out): Likewise.
10045         * Makerules (check-abi-%.out): Likewise.
10046         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10047         ($(objpfx)test2.cat): Likewise.
10048         ($(objpfx)de/libc.cat): Likewise.
10049         ($(objpfx)test-gencat.out): Likewise.
10050         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10051         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10052         ($(objpfx)noload-mem): Likewise.
10053         ($(objpfx)tst-pathopt.out): Likewise.
10054         ($(objpfx)tst-rtld-load-self.out): Likewise.
10055         ($(objpfx)tst-array1-cmp.out): Likewise.
10056         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10057         ($(objpfx)tst-array2-cmp.out): Likewise.
10058         ($(objpfx)tst-array3-cmp.out): Likewise.
10059         ($(objpfx)tst-array4-cmp.out): Likewise.
10060         ($(objpfx)tst-array5-cmp.out): Likewise.
10061         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10062         ($(objpfx)check-textrel.out): Likewise.
10063         ($(objpfx)check-execstack.out): Likewise.
10064         ($(objpfx)check-localplt.out): Likewise.
10065         ($(objpfx)order2-cmp.out): Likewise.
10066         ($(objpfx)tst-leaks1-mem): Likewise.
10067         ($(objpfx)tst-leaks1-static-mem): Likewise.
10068         ($(objpfx)tst-initorder-cmp.out): Likewise.
10069         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10070         ($(objpfx)tst-unused-dep.out): Likewise.
10071         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10072         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10073         * iconv/Makefile (test-iconvconfig): Likewise.
10074         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10075         ($(objpfx)iconv-test.out): Likewise.
10076         ($(objpfx)tst-tables.out): Likewise.
10077         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10078         ($(objpfx)tst-gettext.out): Likewise.
10079         ($(objpfx)tst-translit.out): Likewise.
10080         ($(objpfx)tst-gettext2.out): Likewise.
10081         ($(objpfx)tst-gettext4.out): Likewise.
10082         ($(objpfx)tst-gettext6.out): Likewise.
10083         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10084         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10085         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10086         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10087         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10088         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10089         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10090         ($(objpfx)wordexp-tst.out): Likewise.
10091         ($(objpfx)annexc.out): Likewise.
10092         ($(objpfx)tst-fnmatch-mem): Likewise.
10093         ($(objpfx)bug-regex2-mem): Likewise.
10094         ($(objpfx)bug-regex14-mem): Likewise.
10095         ($(objpfx)bug-regex21-mem): Likewise.
10096         ($(objpfx)bug-regex31-mem): Likewise.
10097         ($(objpfx)tst-vfork3-mem): Likewise.
10098         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10099         ($(objpfx)tst-pcre-mem): Likewise.
10100         ($(objpfx)tst-boost-mem): Likewise.
10101         ($(objpfx)tst-getconf.out): Likewise.
10102         ($(objpfx)bug-ga2-mem): Likewise.
10103         ($(objpfx)bug-glob2-mem): Likewise.
10104         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10105         ($(objpfx)mtrace-tst-leaks2): Likewise.
10106         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10107         ($(objpfx)tst-printf.out): Likewise.
10108         ($(objpfx)tst-setvbuf1.out): Likewise.
10109         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10110         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10111         ($(objpfx)tst-fmtmsg.out): Likewise.
10112         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10113         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10115         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10116         * bits/sigaction.h [__USE_MISC]: Likewise.
10117         * bits/waitstatus.h: Update #endif comments.
10118         * ctype/ctype.h: Likewise.
10119         * dirent/dirent.h: Likewise.
10120         [__USE_MISC]: Remove redundant conditionals.
10121         * grp/grp.h: Update #endif comments.
10122         [__USE_GNU]: Remove redundant conditionals.
10123         [__USE_MISC]: Likewise.
10124         * inet/netinet/in.h [__USE_GNU]: Likewise.
10125         * io/sys/stat.h [__USE_MISC]: Likewise.
10126         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10127         * libio/bits/stdio.h: Update #endif comments.
10128         [__USE_MISC]: Remove redundant conditionals.
10129         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10130         * libio/stdio.h: Update #endif comments.
10131         [__USE_MISC]: Remove redundant conditionals.
10132         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10133         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10134         * math/math.h: Update #else and #endif comments.
10135         [__USE_MISC]: Remove redundant conditionals.
10136         * misc/sys/uio.h: Update #endif comments.
10137         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10138         * posix/glob.h [__USE_MISC]: Likewise.
10139         * posix/sys/types.h: Update #endif comments.
10140         [__USE_MISC]: Remove redundant conditionals.
10141         * posix/sys/wait.h: Update #endif comments.
10142         [__USE_MISC]: Remove redundant conditionals.
10143         * posix/unistd.h: Update #endif comments.
10144         [__USE_MISC]: Remove redundant conditionals.
10145         * pwd/pwd.h [__USE_GNU]: Likewise.
10146         [__USE_MISC]: Likewise.
10147         * resolv/netdb.h [__USE_GNU]: Likewise.
10148         * signal/signal.h: Update #endif comments.
10149         [__USE_MISC]: Remove redundant conditionals.
10150         * stdlib/stdlib.h: Update #else and #endif comments.
10151         [__USE_MISC]: Remove redundant conditionals.
10152         [__USE_GNU]: Likewise.
10153         * string/bits/string2.h [__USE_MISC]: Likewise.
10154         * string/string.h: Update #endif comments.
10155         [__USE_MISC]: Remove redundant conditionals.
10156         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10157         Likewise.
10158         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10159         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10160         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10161         Likewise.
10162         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10163         Likewise.
10164         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10165         comments.
10166         [__USE_MISC]: Remove redundant conditionals.
10167         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10168         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10169         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10170         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10171         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10172         Likewise.
10173         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10174         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10175         Likewise.
10176         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10177         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10178         Likewise.
10179         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10180         Likewise.
10181         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10182         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10183         Likewise.
10184         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10185         Likewise.
10186         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10187         * sysdeps/x86/bits/string.h: Update #endif comments.
10188         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10189         conditionals.
10190         * time/sys/time.h: Update #endif comments.
10191         * time/time.h: Likewise.
10192         [__USE_MISC]: Remove redundant conditionals.
10194 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10196         [BZ #16600]
10197         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10199 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10201         * Versions.def (librt): Add GLIBC_2.17.
10203 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10205         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10206         synonym for _SYS_AUXV_H to allow direct inclusion.
10207         * sysdeps/sparc/bits/hwcap.h: Likewise.
10208         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10209         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10210         * sysdeps/sparc/sysdep.h: Likewise.
10212 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10214         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10216 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10218         * benchtests/bench-strrchr.c: Print length instead of position.
10220 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10222         [BZ #16611]
10223         * sysdeps/unix/sysv/linux/kernel-features.h
10224         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10225         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10226         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10227         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10228         Likewise.
10229         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10230         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10231         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10232         (__ASSUME_SENDMMSG): Define instead of using previous
10233         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10234         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10235         (__ASSUME_SENDMMSG_SYSCALL): Define.
10236         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10237         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10238         Likewise.
10239         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10240         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10241         Likewise.
10242         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10243         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10244         Likewise.
10245         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10246         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10247         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10248         [__ASSUME_SENDMMSG]: Change conditionals to
10249         [__ASSUME_SENDMMSG_SOCKETCALL].
10250         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10251         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10252         Define.
10253         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10254         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10255         Likewise.
10256         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10257         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10258         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10259         [!__ASSUME_SENDMMSG]: Change conditional to
10260         [!__ASSUME_SENDMMSG_SOCKETCALL].
10261         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10262         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10263         Define.
10265         [BZ #16610]
10266         * sysdeps/unix/sysv/linux/kernel-features.h
10267         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10268         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10269         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10270         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10271         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10272         [__i386__ || __sparc__]
10273         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10274         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10275         (__ASSUME_RECVMMSG): Define instead of using previous
10276         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10277         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10278         (__ASSUME_RECVMMSG_SYSCALL): Define.
10279         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10280         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10281         Likewise.
10282         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10283         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10284         Likewise.
10285         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10287         Likewise.
10288         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10289         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10290         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10291         [__ASSUME_RECVMMSG]: Change condition to
10292         [__ASSUME_RECVMMSG_SOCKETCALL].
10293         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10294         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10295         Define.
10296         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10297         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10298         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10299         Likewise.
10300         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10301         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10302         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10303         [!__ASSUME_RECVMMSG]: Change condition to
10304         [!__ASSUME_RECVMMSG_SOCKETCALL].
10305         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10306         (__ASSUME_RECVMMSG_SYSCALL): Define.
10308         [BZ #16609]
10309         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10310         __powerpc__ || __s390__ || __sh__ || __sparc__]
10311         (__ASSUME_SOCKETCALL): Define.
10312         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10313         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10314         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10315         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10316         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10317         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10318         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10319         (__ASSUME_ACCEPT4): Define instead of using previous
10320         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10321         __powerpc__ || __sparc__ || __s390__)] condition.
10322         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10323         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10324         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10325         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10326         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10327         [!__ASSUME_ACCEPT4]: Change condition to
10328         [!__ASSUME_ACCEPT4_SOCKETCALL].
10329         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10330         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10331         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10332         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10333         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10334         __ASSUME_ACCEPT4_SYSCALL.
10335         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10336         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10337         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10338         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10339         __ASSUME_ACCEPT4_SYSCALL.
10340         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10341         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10342         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10343         [__ASSUME_ACCEPT4]: Change condition to
10344         [__ASSUME_ACCEPT4_SOCKETCALL].
10345         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10346         (__ASSUME_SOCKETCALL): Define.
10347         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10348         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10349         (__ASSUME_SOCKETCALL): Define.
10350         (__ASSUME_ACCEPT4): Remove.
10351         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10352         Define.
10353         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10354         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10355         Likewise.
10356         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10357         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10359         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10360         macro.
10361         (HWCAP_ARM_LPAE): Likewise.
10362         (HWCAP_ARM_EVTSTRM): Likewise.
10363         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10364         Add vpfd32, lpae and evtstrm.
10365         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10366         Increase to 22.
10368 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10370         * math/auto-libm-test-in: Add tests of clog10.
10371         * math/auto-libm-test-out: Regenerated.
10372         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10373         * sysdeps/i386/fpu/libm-test-ulps: Update.
10374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10376 2014-02-18  Andreas Schwab  <schwab@suse.de>
10378         [BZ #16574]
10379         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10380         Store non-zero if the second buffer was newly allocated.
10381         (send_dg): Likewise.
10382         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10383         to send_vc and send_dg.
10384         (res_nsend): Pass NULL for ansp2_malloced.
10385         * resolv/res_query.c (__libc_res_nquery): Add parameter
10386         answerp2_malloced and pass it down to __libc_res_nsend.
10387         (res_nquery): Pass additional NULL to __libc_res_nquery.
10388         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10389         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10390         second answer buffer if answerp2_malloced was set.
10391         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10392         (__libc_res_nquerydomain): Add parameter
10393         answerp2_malloced and pass it down to __libc_res_nquery.
10394         (res_nquerydomain): Pass additional NULL to
10395         __libc_res_nquerydomain.
10396         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10397         additional NULL to __libc_res_nsend and __libc_res_nquery.
10398         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10399         additional NULL to __libc_res_nsearch.
10400         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10401         parameter of __libc_res_nsearch to check for separately allocated
10402         second buffer.
10403         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10404         __libc_res_nquery.
10405         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10406         additional NULL to __libc_res_nquery.
10407         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10408         __libc_res_nsearch.
10409         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10410         * include/resolv.h: Update prototypes of __libc_res_nquery,
10411         __libc_res_nsearch, __libc_res_nsend.
10413 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10415         * math/auto-libm-test-in: Add tests of fma.
10416         * math/auto-libm-test-out: Regenerated.
10417         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10418         (fma_towardzero_test_data): Likewise.
10419         (fma_downward_test_data): Likewise.
10420         (fma_upward_test_data): Likewise.
10421         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10422         mpc_mode.
10423         (rounding_modes): Add values for new field.
10424         (func_calc_method): Add value mpfr_fff_f.
10425         (func_calc_desc): Add mpfr_fff_f union field.
10426         (test_function): Add field exact_args.
10427         (FUNC): Add macro argument EXACT_ARGS.
10428         (FUNC_mpfr_f_f): Update call to FUNC.
10429         (FUNC_mpfr_f_f): Likewise.
10430         (FUNC_mpfr_ff_f): Likewise.
10431         (FUNC_mpfr_if_f): Likewise.
10432         (FUNC_mpc_c_f): Likewise.
10433         (FUNC_mpc_c_c): Likewise.
10434         (test_functions): Add fma.  Update calls to FUNC.
10435         (handle_input_arg): Add argument exact_args.
10436         (add_test): Update call to handle_input_arg.
10437         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10438         (output_for_one_input_case): Update call to calc_generic_results.
10439         Recalculate exact zero results in each rounding mode.
10441         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10442         non-negative before setting low bit.
10443         * math/auto-libm-test-in: Mark one asin test possibly having
10444         spurious underflow.
10445         * math/auto-libm-test-out: Regenerated.
10446         * sysdeps/i386/fpu/libm-test-ulps: Update.
10447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10449 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10451         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10452         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10453         ports/sysdeps/unix/sysv/linux/microblaze.
10454         * README: Add missing listing for microblaze*-*-linux-gnu.
10456 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10458         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10459         duplicate code
10461 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10463         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10464         * sysdeps/unix/sysv/linux/ia64: Move directory from
10465         ports/sysdeps/unix/sysv/linux/ia64.
10466         * README: Update listing for ia64-*-linux-gnu.
10468 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10469             Joseph Myers  <joseph@codesourcery.com>
10471         * Makeconfig (test-name): New variable.
10472         (evaluate-test): Likewise.
10473         * Makerules (do-test-clean): Remove .test-result files.
10474         (common-mostlyclean): Likewise.
10475         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10476         * scripts/evaluate-test.sh: New file.
10478 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10480         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10481         separate $(objpfx)tst-fopenloc-cmp.out and
10482         $(objpfx)tst-fopenloc-mem.out targets.
10483         (tests): Update dependencies.
10484         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10485         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10486         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10487         (tst-rxspencer-no-utf8-ARGS): New variable.
10488         (tst-rxspencer-no-utf8-ENV): Likewise.
10489         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10490         instead of $(objpfx)tst-rxspencer-mem.
10491         ($(objpfx)tst-rxspencer-mem): Change target to
10492         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10493         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10494         * posix/tst-rxspencer-no-utf8.c: New file.
10496         * elf/Makefile ($(objpfx)order.out): Remove rule.
10497         [$(run-built-tests) = yes] (tests): Depend on
10498         $(objpfx)order-cmp.out.
10499         ($(objpfx)order-cmp.out): New rule.
10500         [$(run-built-tests) = yes] (tests): Depend on
10501         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10502         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10503         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10504         $(objpfx)tst-array5-static-cmp.out.
10505         ($(objpfx)tst-array1.out): Remove rule.
10506         ($(objpfx)tst-array1-cmp.out): New rule.
10507         ($(objpfx)tst-array1-static.out): Remove rule.
10508         ($(objpfx)tst-array1-static-cmp.out): New rule.
10509         ($(objpfx)tst-array2.out): Remove rule.
10510         ($(objpfx)tst-array2-cmp.out): New rule.
10511         ($(objpfx)tst-array3.out): Remove rule.
10512         ($(objpfx)tst-array3-cmp.out): New rule.
10513         ($(objpfx)tst-array4.out): Remove rule.
10514         ($(objpfx)tst-array4-cmp.out): New rule.
10515         ($(objpfx)tst-array5.out): Remove rule.
10516         ($(objpfx)tst-array5-cmp.out): New rule.
10517         ($(objpfx)tst-array5-static.out): Remove rule.
10518         ($(objpfx)tst-array5-static-cmp.out): New rule.
10519         [$(run-built-tests) = yes] (tests): Depend on
10520         $(objpfx)order2-cmp.out.
10521         ($(objpfx)order2.out): Remove rule.
10522         ($(objpfx)order2-cmp.out): New rule.
10523         ($(objpfx)tst-initorder.out): Remove rule.
10524         [$(run-built-tests) = yes] (tests): Depend on
10525         $(objpfx)tst-initorder-cmp.out.
10526         ($(objpfx)tst-initorder-cmp.out): New rule.
10527         ($(objpfx)tst-initorder2.out): Remove rule.
10528         [$(run-built-tests) = yes] (tests): Depend on
10529         $(objpfx)tst-initorder2-cmp.out.
10530         ($(objpfx)tst-initorder2-cmp.out): New rule.
10531         [$(run-built-tests) = yes] (tests): Depend on
10532         $(objpfx)tst-unused-dep-cmp.out.
10533         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10534         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10535         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10536         on $(objpfx)tst-setvbuf1-cmp.out.
10537         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10538         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10539         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10540         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10541         ($(objpfx)tst-svc.out): Remove rule.
10542         ($(objpfx)tst-svc-cmp.out): New rule.
10544 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10546         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10547         * ctype/ctype.h [__USE_MISC]: Likewise.
10548         * dirent/dirent.h [__USE_MISC]: Likewise.
10549         * grp/grp.h [__USE_MISC]: Likewise.
10550         * io/fcntl.h [__USE_MISC]: Likewise.
10551         * io/sys/stat.h [__USE_MISC]: Likewise.
10552         * libio/stdio.h [__USE_MISC]: Likewise.
10553         * posix/unistd.h [__USE_MISC]: Likewise.
10554         * pwd/pwd.h [__USE_MISC]: Likewise.
10555         * stdlib.h [__USE_MISC]: Likewise.
10556         * string/bits/string2.h [__USE_MISC]: Likewise.
10557         * string/string.h [__USE_MISC]: Likewise.
10558         * time/time.h [__USE_MISC]: Likewise.
10560 2014-02-13  Andreas Schwab  <schwab@suse.de>
10562         [BZ #16574]
10563         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10564         second answer buffer if it was separately allocated.
10566 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10568         * sysdeps/mips/math-tests.h: Include <features.h>.
10569         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10570         (ROUNDING_TESTS_long_double): Do not define.
10571         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10572         (EXCEPTION_TESTS_long_double): Likewise.
10573         * sysdeps/mips/mips64/libm-test-ulps: Update.
10575         * include/features.h (__USE_BSD): Remove macro definitions.
10576         (__USE_SVID): Likewise.
10577         (_BSD_SOURCE): Likewise.
10578         (_SVID_SOURCE): Likewise.
10579         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10580         from definition of _DEFAULT_SOURCE.
10581         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10582         [_DEFAULT_SOURCE].
10583         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10584         * bits/mman.h [__USE_BSD]: Likewise.
10585         * bits/termios.h [__USE_BSD]: Likewise.
10586         * bits/waitstatus.h [__USE_BSD]: Likewise.
10587         * ctype/ctype.h [__USE_SVID]: Likewise.
10588         * dirent/dirent.h [__USE_BSD]: Likewise.
10589         * grp/grp.h [__USE_SVID]: Likewise.
10590         [__USE_BSD]: Likewise.
10591         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10592         * io/fcntl.h [__USE_BSD]: Likewise.
10593         * io/ftw.h [__USE_BSD]: Likewise.
10594         * io/sys/stat.h [__USE_BSD]: Likewise.
10595         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10596         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10597         * libio/stdio.h [__USE_SVID]: Likewise.
10598         [__USE_BSD]: Likewise.
10599         * math/math.h [__USE_SVID]: Likewise.
10600         [__USE_BSD]: Likewise.
10601         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10602         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10603         * misc/search.h [__USE_SVID]: Likewise.
10604         * misc/sys/mman.h [__USE_BSD]: Likewise.
10605         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10606         * misc/sys/uio.h [__USE_BSD]: Likewise.
10607         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10608         * posix/glob.h [__USE_BSD]: Likewise.
10609         * posix/regex.h [__USE_BSD]: Likewise.
10610         * posix/sys/types.h [__USE_BSD]: Likewise.
10611         [__USE_SVID]: Likewise.
10612         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10613         * posix/sys/wait.h [__USE_BSD]: Likewise.
10614         [__USE_SVID]: Likewise.
10615         * posix/unistd.h [__USE_BSD]: Likewise.
10616         [__USE_SVID]: Likewise.
10617         * pwd/pwd.h [__USE_SVID]: Likewise.
10618         * resolv/netdb.h [__USE_BSD]: Likewise.
10619         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10620         * signal/signal.h [__USE_BSD]: Likewise.
10621         [__USE_SVID]: Likewise.
10622         * socket/sys/socket.h [__USE_BSD]: Likewise.
10623         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10624         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10625         [__USE_SVID]: Likewise.
10626         * string/bits/string2.h [__USE_BSD]: Likewise.
10627         [__USE_SVID]: Likewise.
10628         * string/bits/string3.h [__USE_BSD]: Likewise.
10629         * string/endian.h [__USE_BSD]: Likewise.
10630         * string/string.h [__USE_SVID]: Likewise.
10631         [__USE_BSD]: Likewise.
10632         * string/strings.h [__USE_BSD]: Likewise.
10633         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10634         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10635         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10636         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10637         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10638         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10639         Likewise.
10640         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10641         Likewise.
10642         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10643         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10644         Likewise.
10645         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10646         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10647         Likewise.
10648         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10649         Likewise.
10650         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10651         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10652         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10653         Likewise.
10654         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10655         Likewise.
10656         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10657         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10658         * termios/termios.h [__USE_BSD]: Likewise.
10659         * time/sys/time.h [__USE_BSD]: Likewise.
10660         * time/time.h [__USE_BSD]: Likewise.
10661         [__USE_SVID]: Likewise.
10663         * Makefile (subdir_targets): Remove subdir_lint.out.
10665         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10666         (do-tst-printf): Likewise.
10667         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10668         $(objpfx)tst-printf.out.
10670         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10672         * Makerules (check-abi-%): Change target to
10673         $(objpfx)check-abi-%.out.
10674         (check-abi target): Update dependencies.
10675         (check-abi-pattern variable): Redirect output of diff to $@.
10676         (check-abi variable): Likewise.
10677         * elf/Makefile (check-abi): Update dependencies.
10679         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10680         unused.
10681         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10682         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10683         subnormal range.
10684         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10685         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10686         value has largest subnormal exponent.
10687         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10688         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10689         * sysdeps/aarch64/soft-fp/sfp-machine.h
10690         (_FP_TININESS_AFTER_ROUNDING): New macro.
10691         * sysdeps/alpha/soft-fp/sfp-machine.h
10692         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10693         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10694         Likewise.
10695         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10696         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10697         * sysdeps/mips/soft-fp/sfp-machine.h
10698         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10699         * sysdeps/powerpc/soft-fp/sfp-machine.h
10700         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10701         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10702         Likewise.
10703         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10704         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10705         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10706         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10707         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10708         Likewise.
10710 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10712         [BZ #16545]
10713         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10714         model 1.
10716 2014-02-12  Richard Henderson  <rth@redhat.com>
10718         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10719         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10720         * sysdeps/unix/sysv/linux/alpha: Move directory from
10721         ports/sysdeps/unix/sysv/linux/alpha.
10722         * README: Update listing for alpha-*-linux-gnu.
10724 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10726         * include/features.h: Update comment documenting feature test
10727         macros.
10728         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10729         _DEFAULT_SOURCE.
10730         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10731         (_SVID_SOURCE): Likewise.
10732         (_DEFAULT_SOURCE): Update description of default features.
10733         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10734         with _GNU_SOURCE.
10735         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10736         (S_ISVTX): Likewise.
10737         * manual/math.texi (Mathematical Constants): Likewise.
10738         * manual/signal.texi (Interrupted Primitives): Likewise.
10739         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10740         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10741         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10742         Don't refer to _SVID_SOURCE in warning text.
10744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10746         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10747         already defined.
10748         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10749         * sysdeps/mips/dl-lookup.c: Remove.
10750         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10752 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10754         [BZ #16447]
10755         * math/auto-libm-test-in: Add testcase for expl.
10756         * math/auto-libm-test-out: Regenerate.
10757         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10758         calculation of unsafe.
10759         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10761 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10763         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10764         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10765         ports/sysdeps/unix/sysv/linux/aarch64.
10766         * README: Update listing for aarch64*-*-linux-gnu.
10768 2014-02-11  Will Newton  <will.newton@linaro.org>
10770         * manual/probes.texi (Mathematical Function Probes): Use
10771         "triggered" instead of "hit".
10773         * manual/probes.texi (Internal Probes): Add documentation
10774         of setjmp, longjmp and longjmp_target probes.
10776         * include/stap-probe.h: Add comment about probe argument
10777         format.
10779         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10780         definition.  (tr_where, tr_freehook, tr_mallochook,
10781         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10783 2014-02-11  David S. Miller  <davem@davemloft.net>
10785         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10786         processing int_tests.
10788 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10790         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10791         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10792         * sysdeps/unix/sysv/linux/mips: Move directory from
10793         ports/sysdeps/unix/sysv/linux/mips.
10794         * README: Update listing for mips-*-linux-gnu and
10795         mips64-*-linux-gnu.
10797 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10799         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10800         * sysdeps/unix/sysv/linux/m68k: Move directory from
10801         ports/sysdeps/unix/sysv/linux/m68k.
10802         * README: Update listing for m68k-*-linux-gnu.
10804 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10806         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10807         * sysdeps/unix/sysv/linux/generic: Move directory from
10808         ports/sysdeps/unix/sysv/linux/generic.
10809         * sysdeps/unix/sysv/linux/tile: Move directory from
10810         ports/sysdeps/unix/sysv/linux/tile.
10811         * README: Update listing for tile*-*-linux-gnu.
10813 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10815         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10816         __builtin_expect.
10817         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10818         * catgets/open_catalog.c (__open_catalog): Likewise.
10819         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10820         * debug/confstr_chk.c: Likewise.
10821         * debug/fread_chk.c (__fread_chk): Likewise.
10822         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10823         * debug/getgroups_chk.c: Likewise.
10824         * debug/mbsnrtowcs_chk.c: Likewise.
10825         * debug/mbsrtowcs_chk.c: Likewise.
10826         * debug/mbstowcs_chk.c: Likewise.
10827         * debug/memcpy_chk.c: Likewise.
10828         * debug/memmove_chk.c: Likewise.
10829         * debug/mempcpy_chk.c: Likewise.
10830         * debug/memset_chk.c: Likewise.
10831         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10832         * debug/strcat_chk.c (__strcat_chk): Likewise.
10833         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10834         * debug/strncat_chk.c (__strncat_chk): Likewise.
10835         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10836         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10837         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10838         * debug/wcpncpy_chk.c: Likewise.
10839         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10840         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10841         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10842         * debug/wcsncpy_chk.c: Likewise.
10843         * debug/wcsnrtombs_chk.c: Likewise.
10844         * debug/wcsrtombs_chk.c: Likewise.
10845         * debug/wcstombs_chk.c: Likewise.
10846         * debug/wmemcpy_chk.c: Likewise.
10847         * debug/wmemmove_chk.c: Likewise.
10848         * debug/wmempcpy_chk.c: Likewise.
10849         * debug/wmemset_chk.c: Likewise.
10850         * dirent/scandirat.c (SCANDIRAT): Likewise.
10851         * dlfcn/dladdr1.c (dladdr1): Likewise.
10852         * dlfcn/dladdr.c (dladdr): Likewise.
10853         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10854         * dlfcn/dlerror.c (__dlerror): Likewise.
10855         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10856         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10857         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10858         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10859         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10860         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10861         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10862         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10863         Likewise.
10864         * elf/dl-conflict.c: Likewise.
10865         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10866         * elf/dl-dst.h: Likewise.
10867         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10868         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10869         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10870         * elf/dl-init.c (call_init, _dl_init): Likewise.
10871         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10872         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10873         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10874         Likewise.
10875         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10876         Likewise.
10877         * elf/dl-minimal.c (__libc_memalign): Likewise.
10878         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10879         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10880         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10881         * elf/dl-sym.c (do_sym): Likewise.
10882         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10883         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10884         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10885         * elf/dl-writev.h (_dl_writev): Likewise.
10886         * elf/ldconfig.c (search_dir): Likewise.
10887         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10888         (dl_main): Likewise.
10889         * elf/setup-vdso.h (setup_vdso): Likewise.
10890         * grp/compat-initgroups.c (compat_call): Likewise.
10891         * grp/fgetgrent.c (fgetgrent): Likewise.
10892         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10893         * grp/putgrent.c (putgrent): Likewise.
10894         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10895         Likewise.
10896         * hurd/hurdinit.c: Likewise.
10897         * iconvdata/8bit-gap.c (struct): Likewise.
10898         * iconvdata/ansi_x3.110.c : Likewise.
10899         * iconvdata/big5.c : Likewise.
10900         * iconvdata/big5hkscs.c : Likewise.
10901         * iconvdata/cp1255.c: Likewise.
10902         * iconvdata/cp1258.c : Likewise.
10903         * iconvdata/cp932.c : Likewise.
10904         * iconvdata/euc-cn.c: Likewise.
10905         * iconvdata/euc-jisx0213.c : Likewise.
10906         * iconvdata/euc-jp.c: Likewise.
10907         * iconvdata/euc-jp-ms.c : Likewise.
10908         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10909         * iconvdata/gb18030.c : Likewise.
10910         * iconvdata/gbbig5.c (const): Likewise.
10911         * iconvdata/gbgbk.c: Likewise.
10912         * iconvdata/gbk.c : Likewise.
10913         * iconvdata/ibm1364.c : Likewise.
10914         * iconvdata/ibm930.c : Likewise.
10915         * iconvdata/ibm932.c: Likewise.
10916         * iconvdata/ibm933.c : Likewise.
10917         * iconvdata/ibm935.c : Likewise.
10918         * iconvdata/ibm937.c : Likewise.
10919         * iconvdata/ibm939.c : Likewise.
10920         * iconvdata/ibm943.c: Likewise.
10921         * iconvdata/iso_11548-1.c: Likewise.
10922         * iconvdata/iso-2022-cn.c : Likewise.
10923         * iconvdata/iso-2022-cn-ext.c : Likewise.
10924         * iconvdata/iso-2022-jp-3.c: Likewise.
10925         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10926         * iconvdata/iso-2022-kr.c : Likewise.
10927         * iconvdata/iso646.c (gconv_end): Likewise.
10928         * iconvdata/iso_6937-2.c : Likewise.
10929         * iconvdata/iso_6937.c : Likewise.
10930         * iconvdata/iso8859-1.c: Likewise.
10931         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10932         * iconvdata/shift_jisx0213.c : Likewise.
10933         * iconvdata/sjis.c : Likewise.
10934         * iconvdata/t.61.c : Likewise.
10935         * iconvdata/tcvn5712-1.c : Likewise.
10936         * iconvdata/tscii.c: Likewise.
10937         * iconvdata/uhc.c : Likewise.
10938         * iconvdata/unicode.c (gconv_end): Likewise.
10939         * iconvdata/utf-16.c (gconv_end): Likewise.
10940         * iconvdata/utf-32.c (gconv_end): Likewise.
10941         * iconvdata/utf-7.c (base64): Likewise.
10942         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10943         * iconv/gconv_close.c (__gconv_close): Likewise.
10944         * iconv/gconv_open.c (__gconv_open): Likewise.
10945         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10946         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10947         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10948         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10949         (ucs4le_internal_loop_single): Likewise.
10950         * iconv/iconv.c (iconv): Likewise.
10951         * iconv/iconv_close.c: Likewise.
10952         * iconv/loop.c (SINGLE): Likewise.
10953         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10954         * include/atomic.h: Likewise.
10955         * inet/inet6_option.c (option_alloc): Likewise.
10956         * intl/bindtextdom.c (set_binding_values): Likewise.
10957         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10958         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10959         * intl/localealias.c (read_alias_file): Likewise.
10960         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10961         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10962         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10963         * libio/fmemopen.c (fmemopen): Likewise.
10964         * libio/iofgets.c (_IO_fgets): Likewise.
10965         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10966         * libio/iofgetws.c (fgetws): Likewise.
10967         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10968         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10969         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10970         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10971         * locale/findlocale.c (_nl_find_locale): Likewise.
10972         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10973         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10974         Likewise.
10975         * locale/setlocale.c (setlocale): Likewise.
10976         * login/programs/pt_chown.c (main): Likewise.
10977         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10978         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10979         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10980         (mmap, mmap64, mremap, munmap): Likewise.
10981         * math/e_exp2l.c: Likewise.
10982         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10983         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10984         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10985         * math/s_catan.c (__catan): Likewise.
10986         * math/s_catanf.c (__catanf): Likewise.
10987         * math/s_catanh.c (__catanh): Likewise.
10988         * math/s_catanhf.c (__catanhf): Likewise.
10989         * math/s_catanhl.c (__catanhl): Likewise.
10990         * math/s_catanl.c (__catanl): Likewise.
10991         * math/s_ccosh.c (__ccosh): Likewise.
10992         * math/s_ccoshf.c (__ccoshf): Likewise.
10993         * math/s_ccoshl.c (__ccoshl): Likewise.
10994         * math/s_cexp.c (__cexp): Likewise.
10995         * math/s_cexpf.c (__cexpf): Likewise.
10996         * math/s_cexpl.c (__cexpl): Likewise.
10997         * math/s_clog10.c (__clog10): Likewise.
10998         * math/s_clog10f.c (__clog10f): Likewise.
10999         * math/s_clog10l.c (__clog10l): Likewise.
11000         * math/s_clog.c (__clog): Likewise.
11001         * math/s_clogf.c (__clogf): Likewise.
11002         * math/s_clogl.c (__clogl): Likewise.
11003         * math/s_csin.c (__csin): Likewise.
11004         * math/s_csinf.c (__csinf): Likewise.
11005         * math/s_csinh.c (__csinh): Likewise.
11006         * math/s_csinhf.c (__csinhf): Likewise.
11007         * math/s_csinhl.c (__csinhl): Likewise.
11008         * math/s_csinl.c (__csinl): Likewise.
11009         * math/s_csqrt.c (__csqrt): Likewise.
11010         * math/s_csqrtf.c (__csqrtf): Likewise.
11011         * math/s_csqrtl.c (__csqrtl): Likewise.
11012         * math/s_ctan.c (__ctan): Likewise.
11013         * math/s_ctanf.c (__ctanf): Likewise.
11014         * math/s_ctanh.c (__ctanh): Likewise.
11015         * math/s_ctanhf.c (__ctanhf): Likewise.
11016         * math/s_ctanhl.c (__ctanhl): Likewise.
11017         * math/s_ctanl.c (__ctanl): Likewise.
11018         * math/w_pow.c: Likewise.
11019         * math/w_powf.c: Likewise.
11020         * math/w_powl.c: Likewise.
11021         * math/w_scalb.c (sysv_scalb): Likewise.
11022         * math/w_scalbf.c (sysv_scalbf): Likewise.
11023         * math/w_scalbl.c (sysv_scalbl): Likewise.
11024         * misc/error.c (error_tail): Likewise.
11025         * misc/pselect.c (__pselect): Likewise.
11026         * nis/nis_callback.c (__nis_create_callback): Likewise.
11027         * nis/nis_call.c (__nisfind_server): Likewise.
11028         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11029         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11030         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11031         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11032         * nis/nis_lookup.c (nis_lookup): Likewise.
11033         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11034         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11035         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11036         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11037         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11038         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11039         * nis/nss_compat/compat-initgroups.c (add_group)
11040         (internal_getgrent_r): Likewise.
11041         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11042         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11043         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11044         (internal_getspnam_r): Likewise.
11045         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11046         (_nss_nis_getaliasbyname_r): Likewise.
11047         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11048         (_nss_nis_getntohost_r): Likewise.
11049         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11050         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11051         (_nss_nis_getgrgid_r): Likewise.
11052         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11053         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11054         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11055         (_nss_nis_gethostbyname4_r): Likewise.
11056         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11057         (initgroups_netid): Likewise.
11058         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11059         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11060         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11061         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11062         (_nss_nis_getprotobynumber_r): Likewise.
11063         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11064         (_nss_nis_getsecretkey): Likewise.
11065         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11066         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11067         (_nss_nis_getpwuid_r): Likewise.
11068         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11069         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11070         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11071         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11072         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11073         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11074         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11075         Likewise.
11076         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11077         (_nss_nisplus_getntohost_r): Likewise.
11078         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11079         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11080         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11081         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11082         Likewise.
11083         * nis/nss_nisplus/nisplus-initgroups.c
11084         (_nss_nisplus_initgroups_dyn): Likewise.
11085         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11086         (_nss_nisplus_getnetbyaddr_r): Likewise.
11087         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11088         (_nss_nisplus_getprotobynumber_r): Likewise.
11089         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11090         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11091         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11092         Likewise.
11093         * nis/nss_nisplus/nisplus-service.c
11094         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11095         (_nss_nisplus_getservbyport_r): Likewise.
11096         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11097         (_nss_nisplus_getspnam_r): Likewise.
11098         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11099         Likewise.
11100         * nscd/aicache.c (addhstaiX): Likewise.
11101         * nscd/cache.c (cache_search, prune_cache): Likewise.
11102         * nscd/connections.c (register_traced_file, send_ro_fd)
11103         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11104         (main_loop_epoll): Likewise.
11105         * nscd/grpcache.c (addgrbyX): Likewise.
11106         * nscd/hstcache.c (addhstbyX): Likewise.
11107         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11108         * nscd/mem.c (gc, mempool_alloc): Likewise.
11109         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11110         (addinnetgrX): Likewise.
11111         * nscd/nscd-client.h (__nscd_acquire_maplock)
11112         (__nscd_drop_map_ref): Likewise.
11113         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11114         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11115         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11116         Likewise.
11117         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11118         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11119         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11120         (__nscd_get_map_ref): Likewise.
11121         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11122         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11123         Likewise.
11124         * nscd/pwdcache.c (addpwbyX): Likewise.
11125         * nscd/selinux.c (preserve_capabilities): Likewise.
11126         * nscd/servicescache.c (addservbyX): Likewise.
11127         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11128         * posix/fnmatch.c (fnmatch): Likewise.
11129         * posix/getopt.c (_getopt_internal_r): Likewise.
11130         * posix/glob.c (glob, glob_in_dir): Likewise.
11131         * posix/wordexp.c (exec_comm_child): Likewise.
11132         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11133         (getanswer_r, gaih_getanswer_slice): Likewise.
11134         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11135         * resolv/res_init.c: Likewise.
11136         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11137         * resolv/res_query.c (__libc_res_nquery): Likewise.
11138         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11139         Likewise.
11140         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11141         * stdio-common/perror.c (perror): Likewise.
11142         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11143         * stdio-common/tmpnam.c (tmpnam): Likewise.
11144         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11145         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11146         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11147         Likewise.
11148         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11149         * stdlib/putenv.c (putenv): Likewise.
11150         * stdlib/setenv.c (__add_to_environ): Likewise.
11151         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11152         * stdlib/strtol_l.c (INTERNAL): Likewise.
11153         * string/memmem.c (memmem): Likewise.
11154         * string/strerror.c (strerror): Likewise.
11155         * string/strnlen.c (__strnlen): Likewise.
11156         * string/test-memmem.c (simple_memmem): Likewise.
11157         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11158         * sunrpc/pm_getport.c (__get_socket): Likewise.
11159         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11160         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11161         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11162         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11163         Likewise.
11164         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11165         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11166         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11167         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11168         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11169         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11170         Likewise.
11171         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11172         Likewise.
11173         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11174         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11175         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11176         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11177         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11179         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11180         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11181         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11182         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11183         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11184         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11185         Likewise.
11186         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11187         Likewise.
11188         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11189         Likewise.
11190         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11191         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11192         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11193         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11194         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11195         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11196         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11197         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11198         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11199         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11200         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11201         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11202         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11203         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11205         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11206         Likewise.
11207         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11208         Likewise.
11209         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11210         Likewise.
11211         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11212         Likewise.
11213         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11215         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11216         Likewise.
11217         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11218         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11219         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11220         * sysdeps/posix/sleep.c: Likewise.
11221         * sysdeps/posix/tempname.c: Likewise.
11222         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11223         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11224         Likewise.
11225         * sysdeps/powerpc/powerpc32/dl-machine.h
11226         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11227         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11228         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11229         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11230         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11231         Likewise.
11232         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11233         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11234         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11235         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11236         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11237         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11238         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11239         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11240         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11241         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11242         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11243         (elf_machine_lazy_rel): Likewise.
11244         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11245         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11246         (elf_machine_lazy_rel): Likewise.
11247         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11248         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11249         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11250         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11251         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11252         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11253         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11254         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11255         Likewise.
11256         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11257         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11258         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11259         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11260         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11261         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11262         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11263         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11264         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11265         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11266         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11267         Likewise.
11268         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11269         (__posix_fallocate64_l64): Likewise.
11270         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11271         (posix_fallocate): Likewise.
11272         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11273         Likewise.
11274         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11275         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11276         (getifaddrs_internal): Likewise.
11277         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11278         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11279         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11280         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11281         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11282         (__posix_fallocate64_l64): Likewise.
11283         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11284         Likewise.
11285         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11286         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11287         (__get_clockfreq): Likewise.
11288         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11289         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11290         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11292         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11293         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11294         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11295         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11296         Likewise.
11297         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11298         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11299         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11300         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11301         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11302         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11303         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11304         Likewise.
11305         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11306         (posix_fallocate): Likewise.
11307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11308         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11309         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11310         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11311         (elf_machine_rela, elf_machine_rela_relative)
11312         (elf_machine_lazy_rel): Likewise.
11313         * time/asctime.c (asctime_internal): Likewise.
11314         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11315         * time/tzset.c (__tzset_parse_tz): Likewise.
11316         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11317         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11318         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11319         * wcsmbs/wcsmbsload.h: Likewise.
11321         [BZ #15894]
11322         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11324         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11325         (arena_get2): Remove THREAD_STATS conditionals.
11326         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11327         (__malloc_stats, int): Likewise.
11329 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11331         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11332         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11334         * manual/setjmp.texi: Fix typos/grammar errors.
11336         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11337         Only return early when n is <= 0.  Delete unused return statement.
11339         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11340         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11341         * debug/tst-longjmp_chk3.c: New file.
11343         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11344         (test_main): Replace code with set_fortify_handler call.
11345         * debug/test-strcpy_chk.c: Likewise.
11346         * debug/tst-chk1.c: Likewise.
11347         * debug/tst-longjmp_chk.c: Likewise.
11348         * test-skeleton.c: Include fcntl.h & paths.h
11349         (set_fortify_handler): Define.
11351         * debug/tst-longjmp_chk.c: Add header comment and include
11352         ../test-skeleton.c.
11353         (do_test): Mark static.
11354         (TEST_FUNCTION): Define.
11356         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11357         (IP_PMTUDISC_INTERFACE): Likewise.
11358         (IP_MULTICAST_IF): Likewise.
11359         (IP_MULTICAST_TTL): Likewise.
11360         (IP_MULTICAST_LOOP): Likewise.
11361         (IP_ADD_MEMBERSHIP): Likewise.
11362         (IP_DROP_MEMBERSHIP): Likewise.
11363         (IP_UNBLOCK_SOURCE): Likewise.
11364         (IP_BLOCK_SOURCE): Likewise.
11365         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11366         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11367         (IP_MSFILTER): Likewise.
11368         (MCAST_JOIN_GROUP): Likewise.
11369         (MCAST_BLOCK_SOURCE): Likewise.
11370         (MCAST_UNBLOCK_SOURCE): Likewise.
11371         (MCAST_LEAVE_GROUP): Likewise.
11372         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11373         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11374         (MCAST_MSFILTER): Likewise.
11375         (IP_MULTICAST_ALL): Likewise.
11376         (IP_UNICAST_IF): Likewise.
11378         * timezone/Makefile: Delete $(have-ksh) check.
11379         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11380         * timezone/tzselect.ksh: Add +x mode bits.
11382         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11383         (ANON_INODE_FS_MAGIC): Likewise.
11384         (BDEVFS_MAGIC): Likewise.
11385         (BINFMTFS_MAGIC): Likewise.
11386         (BTRFS_TEST_MAGIC): Likewise.
11387         (CRAMFS_MAGIC_WEND): Likewise.
11388         (DEBUGFS_MAGIC): Likewise.
11389         (ECRYPTFS_SUPER_MAGIC): Likewise.
11390         (EXT3_SUPER_MAGIC): Likewise.
11391         (EXT4_SUPER_MAGIC): Likewise.
11392         (FUTEXFS_SUPER_MAGIC): Likewise.
11393         (HOSTFS_SUPER_MAGIC): Likewise.
11394         (HUGETLBFS_MAGIC): Likewise.
11395         (MINIX3_SUPER_MAGIC): Likewise.
11396         (MTD_INODE_FS_MAGIC): Likewise.
11397         (NILFS_SUPER_MAGIC): Likewise.
11398         (OPENPROM_SUPER_MAGIC): Likewise.
11399         (PIPEFS_MAGIC): Likewise.
11400         (PSTOREFS_MAGIC): Likewise.
11401         (QNX6_SUPER_MAGIC): Likewise.
11402         (RAMFS_MAGIC): Likewise.
11403         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11404         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11405         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11406         (SECURITYFS_MAGIC): Likewise.
11407         (SELINUX_MAGIC): Likewise.
11408         (SMACK_MAGIC): Likewise.
11409         (SOCKFS_MAGIC): Likewise.
11410         (SQUASHFS_MAGIC): Likewise.
11411         (STACK_END_MAGIC): Likewise.
11412         (TMPFS_MAGIC): Likewise.
11413         (USBDEVICE_SUPER_MAGIC): Likewise.
11414         (V9FS_MAGIC): Likewise.
11415         (XENFS_SUPER_MAGIC): Likewise.
11416         (CRAMFS_MAGIC): Fix typo in comment.
11417         (EXT2_SUPER_MAGIC): Update comment.
11418         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11420 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11422         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11423         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11424         * sysdeps/unix/sysv/linux/arm: Move directory from
11425         ports/sysdeps/unix/sysv/linux/arm.
11426         * README: Update listing for arm-*-linux-gnueabi.
11428         * README: Remove mention of am33.
11430 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11432         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11433         than the comma operator, to avoid "rhs of comma has no effect"
11434         compiler warnings.
11435         (__sigfillset, __sigandset, __sigorset): Likewise.
11436         * include/signal.h (__sigemptyset): Likewise.
11437         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11439 2014-02-07  Allan McRae  <allan@archlinux.org>
11441         * version.h (RELEASE): Set to "development".
11442         (VERSION): Set to "2.19.90"
11443         * NEWS: Add 2.20 section.
11445 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11447         [BZ #16529]
11448         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11450 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11452         * manual/contrib.texi: Update entry for Carlos O'Donell,
11453         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11455 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11457         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11459         * sysdeps/unix/sysv/linux/kernel-features.h
11460         [__LINUX_KERNEL_VERSION >= 0x020621]
11461         (__ASSUME_PROC_PID_TASK_COMM): Define.
11463 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11465         [BZ #16398]
11466         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11467         conversion when destination buffer does not have enough space.
11468         * libio/tst-ftell-partial-wide.c: New test case.
11469         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11471         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11472         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11473         Leonard and Allan McRae.
11475 2014-02-04  David S. Miller  <davem@davemloft.net>
11477         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11478         32-bit.
11480 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11483         New file
11484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11485         New file
11486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11487         New file.
11488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11489         New file.
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11491         New file.
11492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11493         New file.
11494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11495         New file.
11496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11497         New file.
11498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11499         New file.
11500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11501         New file.
11502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11503         New file.
11504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11505         New file.
11506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11507         New file.
11509 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11511         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11512         * shlib-versions: Likewise.
11514 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11515             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11517         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11518         (abilist-pattern): New variable, set to %-le.abilist.
11520         * Makerules (abilist-pattern): New variable.
11521         (vpath): Use $(abilist-pattern) in place of %.abilist.
11522         (check-abi-% pattern rule): Likewise.
11523         (check-abi, update-abi): Likewise.
11525 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11529 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11531         * manual/startup.texi: Add next, previous, and top entries for
11532         the `Program Arguments' and `Environment Variables' nodes.
11534 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11536         * manual/macros.texi: Add comments before MTASC-safety macros.
11538         * manual/users.texi: Document MTASC-safety properties.
11540         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11541         (pthread_getspecific, pthread_setspecific): Format with
11542         @deftypefun, and add @safety note.
11543         * manual/signal.texi: Move comments that analyze the above
11544         functions to their home place.
11546 2014-02-03  Allan McRae  <allan@archlinux.org>
11548         * po/sl.po: Update Slovenian translation from translation project.
11550 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11552         * manual/time.texi (timegm): Add missing blank after @c.
11553         Reported by Joseph Myers <joseph@codesourcery.com>.
11555 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11557         * manual/check-safety.sh: New.
11558         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11560         * manual/terminal.texi: Document MTASC-safety properties.
11562         * manual/filesys.texi: Document MTASC-safety properties.
11564         * manual/errno.texi: Document MTASC-safety properties.
11566         * manual/intro.texi: Document safety identifiers and
11567         conditionals.
11569         * manual/string.texi (wcstok): Fix prototype.
11570         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11572         * manual/time.texi: Document MTASC-safety properties.
11574         * manual/string.texi: Document MTASC-safety properties.
11576         * manual/threads.texi: Document MTASC-safety properties.
11578         * manual/stdio.texi: Document MTASC-safety properties.
11580         * manual/syslog.texi: Document MTASC-safety properties.
11582         * manual/sysinfo.texi: Document MTASC-safety properties.
11584         * manual/startup.texi: Document MTASC-safety properties.
11586         * manual/socket.texi: Document MTASC-safety properties.
11588         * manual/signal.texi: Document MTASC-safety properties.
11590 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11592         * manual/setjmp.texi: Document MTASC-safety properties.
11594         * manual/search.texi: Document MTASC-safety properties.
11596         * manual/resource.texi: Document MTASC-safety properties.
11598         * manual/process.texi: Document MTASC-safety properties.
11600         * manual/platform.texi: Document MTASC-safety properties.
11602         * manual/pipe.texi: Document MTASC-safety properties.
11604         * manual/pattern.texi: Document MTASC-safety properties.
11606         * manual/message.texi: Document MTASC-safety properties.
11608         [BZ #12751]
11609         * manual/memory.texi: Document MTASC-safety properties.
11611         * manual/math.texi: Document MTASC-safety properties.
11613         * manual/locale.texi: Document MTASC-safety properties.
11615         * manual/llio.texi: Document MTASC-safety properties.
11617         * manual/libdl.texi: New.
11619         * manual/lang.texi: Document MTASC-safety properties.
11621         * manual/job.texi: Document MTASC-safety properties.
11623         * manual/getopt.texi: Document MTASC-safety properties.
11625         * manual/ctype.texi: Document MTASC-safety properties.
11627 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11629         [BZ #16046]
11630         * csu/libc-tls.c (static_map): Remove variable.
11631         (__libc_setup_tls): Use main executable's link map for TLS data.
11632         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11633         casing for LM_ID_BASE and GL(dl_nns).
11634         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11635         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11636         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11637         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11638         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11639         member.
11640         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11641         l_phnum members.
11643 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11645         * manual/debug.texi: Document MTASC-safety properties.
11647 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11649         [BZ #16510]
11650         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11651         of __x86_64__ when disabling x87 inline functions.
11653 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11655         * manual/charset.texi: Document MTASC-safety properties.
11657         * manual/crypt.texi: Document MTASC-safety properties.
11659         * manual/conf.texi: Document MTASC-safety properties.
11661         * manual/arith.texi: Document MTASC-safety properties.
11663         * manual/argp.texi: Document MTASC-safety properties.
11665         * manual/macros.texi: Introduce macros to document multi
11666         thread, asynchronous signal and asynchronous cancellation
11667         safety properties.
11668         * manual/intro.texi: Introduce the properties themselves.
11670 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11672         * sysdeps/sh/sh4/Makefile: New file.
11674 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11676         * math/gen-libm-test.pl ($srcdir): New variable.
11677         ($auto_input): Use it.
11679 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11681         [BZ #16506]
11682         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11683         access beyond array bounds when parsing netgroups file.
11685         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11686         the old buffer before realloc.
11688 2014-01-27  Allan McRae  <allan@archlinux.org>
11690         * po/fr.po: Update French translation from translation project.
11692 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11694         * sysdeps/sh/libm-test-ulps: Regenerate.
11696 2014-01-24  David S. Miller  <davem@davemloft.net>
11698         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11700 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11702         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11703         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11705 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11707         [BZ #16474]
11708         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11709         string pointers after reallocation.
11711 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11713         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11714         __SH4A__ instead of __SH_FPU_ANY__.
11716 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11718         * sysdeps/sh/fpu_control.h: New file.
11719         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11720         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11721         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11722         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11723         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11724         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11725         * sysdeps/sh/sys/ucontext.h: Remove.
11726         * sysdeps/sh/sys: Remove directory.
11728 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11730         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11731         s390/sys/ucontext.h.
11732         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11733         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11735 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11737         [BZ #15605]
11738         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11740 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11742         [BZ#16431]
11743         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11744         Adjust the vDSO correctly for internal calls.
11745         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11747 2014-01-20  Allan McRae  <allan@archlinux.org>
11749         * po/ca.po: Update Catalan translation from translation project.
11751 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11753         * sysdeps/s390/sotruss-lib.c: New file.
11755 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11757         [BZ#16430]
11758         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11759         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11760         local calls issues by not having a PLT stub required for IFUNC calls.
11761         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11763 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11765         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11766         * math/test-fpucw-static.c: Likewise.
11768 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11770         [BZ #16453]
11771         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11773 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11775         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11776         implementation for powerpc.
11778 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11780         [BZ #14782]
11781         * sysdeps/posix/system.c (__libc_system): Do not enable
11782         asynchronous cancellation.
11784 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11786         [BZ #16427]
11787         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11788         handling only for numbers special also in the IEEE case.
11790 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11792         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11794 2014-01-11  Allan McRae  <allan@archlinux.org>
11796         * po/bg.po: Update Bulgarian translation from translation project.
11798         * po/de.po: Update German translation from translation project.
11800 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11802         * sysdeps/generic/gcc-compat.h: New file.
11804 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11806         * benchtests/asin-inputs: Correct slow inputs.
11807         * benchtests/acos-inputs: Likewise.
11809 2014-01-10  Allan McRae  <allan@archlinux.org>
11811         * po:sv.po: Update Swedish translation from translation project.
11813         * po/vi.po: Update Vietnamese translation from translation project.
11815         * po/eo.po: Update Esperanto translation from translation project.
11817         * po/cs.po: Update Czech translation from translation project.
11819         * po/nl.po: Update Dutch translation from translation project.
11821         * po/pl.po: Update Polish translation from translation project.
11823         * po/ru.po: Update Russian translation from translation project.
11825         * po/uk.po: Update Ukrainian translation from translation project.
11827 2014-01-08  Brooks Moses  <bmoses@google.com>
11829         * elf/dl-load.c: Fix comment typo.
11831 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11833         * po/header.pot: Rename to...
11834         * po/pot.header: ... this.
11835         * po/Makefile: Use pot.header.
11837 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11838             Maxim Kuvyrkov  <maxim@kugelworks.com>
11840         [BZ #16394]
11841         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11842         SRC and DEST against LEN.
11844 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11846         [BZ #16414]
11847         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11848         implementation.
11849         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11851 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11855 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11857         [BZ #16408]
11858         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11859         for large positive arguments.
11861 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11863         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11865         * math/auto-libm-test-in: Mark various tests with
11866         xfail-rounding:ldbl-128ibm.
11867         * math/auto-libm-test-out: Regenerated.
11869         [BZ #16407]
11870         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11871         Increase overflow threshold.
11873 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11875         [BZ #14286]
11876         * stdio-common/vfprintf.c: Check for integer overflow.
11878 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11880         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11881         the first argument and return value of __tls_get_addr_internal.
11883 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11885         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11886         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11888 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11890         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11891         * sysdeps/s390/rtld-global-offsets.sym: New file.
11892         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11893         GLIBC_2.19 symbol.
11894         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11895         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11896         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11897         ... this.
11898         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11899         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11900         ... this.
11901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11902         Regenerate.
11903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11904         Regenerate.
11905         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11906         halfs of GPRs for high_gprs contexts.
11907         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11908         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11909         field.
11910         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11911         uc_flags field.
11912         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11913         64 bit versions:
11914         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11915         for high GPRs (uc_high_gprs) and for future extensions
11916         (__reserved).
11917         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11918         for future extensions (__reserved).
11919         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11920         64 bit versions:
11921         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11922         SC_HIGHGPRS offset definition.
11923         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11924         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11926         * Versions.def: Add GLIBC_2.19 for libpthread.
11927         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11928         siglongjmp for libpthread with GLIBC_2.19 symver.
11929         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11930         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11931         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11932         * sysdeps/s390/__longjmp.c: New file.
11933         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11934         * sysdeps/s390/longjmp.c: New file.
11935         * sysdeps/s390/setjmp.S: New file.
11936         * sysdeps/s390/sigjmp.S: New file.
11937         * sysdeps/s390/v1-longjmp.c: New file.
11938         * sysdeps/s390/v1-setjmp.h: New file.
11939         * sysdeps/s390/v1-sigjmp.c: New file.
11940         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11941         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11942         GLIBC_2.19 version.
11943         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11944         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11945         versioned symbols for ____longjmp_chk.
11946         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11947         Likewise.
11948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11949         Regenerate.
11950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11951         Regenerate.
11952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11953         Regenerate.
11954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11955         Regenerate.
11956         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11957         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11958         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11959         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11960         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11961         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11962         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11963         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11964         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11965         * sysdeps/s390/rtld-__longjmp.c: New file.
11966         * sysdeps/s390/rtld-setjmp.S: New file.
11968 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11970         [BZ #16400]
11971         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11972         Return -__logl (x) for small positive arguments without evaluating
11973         a polynomial.
11975 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11977         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11978         Rename to ...
11979         (__ptrace_peeksiginfo_args): ... this.
11980         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11981         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11982         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11984 2014-01-06  Allan McRae  <allan@archlinux.org>
11986         * inet/netinet/in.h: Fix typo in comment.
11988 2014-01-05  Andreas Jaeger  <aj@suse.de>
11990         * sysdeps/i386/fpu/libm-test-ulps: Update.
11992 2014-01-05  Allan McRae  <allan@archlinux.org>
11994         * po/libc.pot: Regenerated.
11996         * malloc/memusagestat.c: Fix gettext call formatting.
11998 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12000         * nscd/nscd.c: Improve usage() output.
12002 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12004         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12005         * sysdeps/unix/sysv/linux/configure: Regenerated.
12006         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12007         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12009 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12011         [BZ #16390]
12012         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12013         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12015 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12017         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12018         extra tokens at end of #undef directive.
12019         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12020         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12021         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12023 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12025         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12027         * math/auto-libm-test-in: Mark various tests with
12028         xfail-rounding:ldbl-128ibm.
12029         * math/auto-libm-test-out: Regenerated.
12031 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12033         [BZ #16386]
12034         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12035         numbers with subnormal high part when calculating exponent.
12037         [BZ #16385]
12038         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12039         fabs.
12041         [BZ #16384]
12042         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12043         M_LN2l.
12044         (__ieee754_acoshl): Use __log1pl not __log1p.
12046 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12048         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12049         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12050         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12051         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12052         (reused_arena, arena_get2): Convert to GNU style.
12053         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12054         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12055         (memalign_check, __malloc_set_state): Likewise.
12056         * malloc/mallocbug.c (main): Likewise.
12057         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12058         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12059         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12060         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12061         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12062         (__posix_memalign, malloc_info): Likewise.
12063         * malloc/malloc.h: Likewise.
12064         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12065         (mallochook, memalignhook, reallochook, mabort): Likewise.
12066         * malloc/mcheck.h: Likewise.
12067         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12068         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12069         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12070         * malloc/morecore.c (__default_morecore): Likewise.
12071         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12072         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12073         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12074         (print_and_abort): Likewise.
12075         * malloc/obstack.h: Likewise.
12076         * malloc/set-freeres.c (__libc_freeres): Likewise.
12077         * malloc/tst-mallocstate.c (main): Likewise.
12078         * malloc/tst-mtrace.c (main): Likewise.
12079         * malloc/tst-realloc.c (do_test): Likewise.
12081 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12083         [BZ #16366]
12084         * nscd/netgroupcache.c (do_notfound): New function.
12085         (addgetnetgrentX): Use it.
12087         [BZ # 16365]
12088         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12089         NSS_STATUS_NOTFOUND.
12091 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12093         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12096 2014-01-01  Allan McRae  <allan@archlinux.org>
12098         * scripts/update-copyrights: Update configure input file suffix.
12100         * NEWS: Update copyright year.
12101         * catgets/gencat.c: Likewise.
12102         * csu/version.c: Likewise.
12103         * debug/catchsegv.sh: Likewise.
12104         * debug/pcprofiledump.c: Likewise.
12105         * debug/xtrace.sh: Likewise.
12106         * elf/ldconfig.c: Likewise.
12107         * elf/ldd.bash.in: Likewise.
12108         * elf/pldd.c: Likewise.
12109         * elf/sotruss.ksh: Likewise.
12110         * elf/sprof.c: Likewise.
12111         * iconv/iconv_prog.c: Likewise.
12112         * iconv/iconvconfig.c: Likewise.
12113         * locale/programs/locale.c: Likewise.
12114         * locale/programs/localedef.c: Likewise.
12115         * login/programs/pt_chown.c: Likewise.
12116         * malloc/memusage.sh: Likewise.
12117         * malloc/memusagestat.c: Likewise.
12118         * malloc/mtrace.pl: Likewise.
12119         * manual/libc.texinfo: Likewise.
12120         * nscd/nscd.c: Likewise.
12121         * nss/getent.c: Likewise.
12122         * nss/makedb.c: Likewise.
12123         * posix/getconf.c: Likewise.
12124         * scripts/test-installation.pl: Likewise.
12126         * All files with FSF copyright notices: Update copyright dates
12127         using scripts/update-copyrights.
12128         * intl/plural.c: Regenerated.
12129         * locale/programs/charmap-kw.h: Likewise.
12130         * locale/programs/locfile-kw.h: Likewise.
12132 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12134         * sysdeps/unix/sysv/linux/configure: Regenerated.
12135         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12136         the linux/fanotify.h header.
12137         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12138         HAVE_LINUX_FANOTIFY_H is defined.
12140 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12142         * benchtests/cos-inputs: New inputs.
12143         * benchtests/sin-inputs: Likewise.
12145         * benchtests/atan-inputs: New inputs. Fix name of multiple
12146         precision fallback inputs.
12148         * benchtests/atanh-inputs: New inputs.
12149         * benchtests/tanh-inputs: Likewise.
12151         * benchtests/acosh-inputs: New inputs.
12152         * benchtests/asinh-inputs: Likewise.
12154         * benchtests/cosh-inputs: New inputs.
12155         * benchtests/sinh-inputs: Likewise.
12157         * benchtests/acos-inputs: Add more inputs.
12158         * benchtests/asin-inputs: Likewise.
12160 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12162         [BZ #16375]
12163         * manual/arith.texi: Fix spelling.
12164         * manual/charset.texi: Likewise.
12165         * manual/errno.texi: Likewise.
12166         * manual/filesys.texi: Likewise.
12167         * manual/lang.texi: Likewise.
12168         * manual/llio.texi: Likewise.
12169         * manual/locale.texi: Likewise.
12170         * manual/message.texi: Likewise.
12171         * manual/resource.texi: Likewise.
12172         * manual/search.texi: Likewise.
12173         * manual/setjmp.texi: Likewise.
12174         * manual/stdio.texi: Likewise.
12175         * manual/string.texi: Likewise.
12176         * manual/sysinfo.texi: Likewise.
12177         * manual/time.texi: Likewise.
12179 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12181         * po/sl.po: New file.
12183 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12185         * .gitignore: Add core/.gdbinit/.gdb_history.
12187 2013-12-27  Allan McRae  <allan@archlinux.org>
12189         [BZ #16369]
12190         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12191         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12193 2013-12-24  Brooks Moses  <bmoses@google.com>
12195         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12196         all compilers that claim C++98 compliance, not just GCC.
12197         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12198         Likewise.
12200 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12202         * NEWS: Restore accidentally deleted bug-fix entries.
12204 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12205             Ondřej Bílka  <neleai@seznam.cz>
12207         [BZ #15073]
12208         * malloc/malloc.c (_int_free): Perform sanity check only if we
12209         have_lock.
12211 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12213         [BZ #12986]
12214         * manual/stdio.texi (String Input Conversions): Clarify that character
12215         classes are not supported.
12217 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12221 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12223         [BZ #16337]
12224         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12225         Calculate results for small negative arguments directly rather
12226         than using reflection formula with special underflow handling.
12228         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12229         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12230         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12231         (fchflags): Likewise.
12232         (revoke): Likewise.
12233         (setlogin): Likewise.
12234         (sigaltstack): Likewise.
12235         (wait4): Likewise.
12236         (sigblock): Remove.
12237         (sigsetmask): Likewise.
12238         (wait3): Likewise.
12239         (waitpid): Likewise.
12240         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12241         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12242         file.
12243         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12244         * sysdeps/unix/bsd/Makefile: ... here.
12245         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12246         * sysdeps/unix/bsd/Versions: ... here.
12247         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12248         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12249         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12250         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12251         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12252         * sysdeps/unix/bsd/sigblock.c: ... here.
12253         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12254         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12255         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12256         * sysdeps/unix/bsd/sigvec.c: ... here.
12257         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12258         * sysdeps/unix/bsd/tcdrain.c: ... here.
12259         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12260         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12261         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12262         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12263         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12264         * sysdeps/unix/bsd/wait.c: ... here.
12265         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12266         * sysdeps/unix/bsd/wait3.c: ... here.
12267         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12268         * sysdeps/unix/bsd/waitpid.c: ... here.
12270 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12272         [BZ #16356]
12273         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12274         round-to-nearest for [!USE_AS_EXPM1L].
12275         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12276         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12277         more tests of exp and exp10.  Expect some exp10 tests to miss
12278         exceptions or fail in directed rounding modes.
12279         * math/auto-libm-test-out: Regenerated.
12280         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12281         (exp10_test_tonearest): New function.
12282         (exp10_towardzero_test_data): New array.
12283         (exp10_test_towardzero): New function.
12284         (exp10_downward_test_data): New array.
12285         (exp10_test_downward): New function.
12286         (exp10_upward_test_data): New array.
12287         (exp10_test_upward): New function.
12288         (main): Call the new functions.
12289         * sysdeps/i386/fpu/libm-test-ulps: Update.
12290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12292 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12294         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12295         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12296         * math/auto-libm-test-out: Regenerated.
12297         * math/libm-test.inc (acosh_test_data): Add more tests.
12298         (atanh_test_data): Likewise.
12299         (ceil_test_data): Likewise.
12300         (copysign_test_data): Likewise.
12301         * sysdeps/i386/fpu/libm-test-ulps: Update.
12302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12304         * timezone/checktab.awk: Update from tzcode 2013i.
12305         * timezone/private.h: Likewise.
12306         * timezone/scheck.c: Likewise.
12307         * timezone/tzfile.h: Likewise.
12308         * timezone/tzselect.ksh: Likewise.
12309         * timezone/zdump.c: Likewise.
12310         * timezone/zic.c: Likewise.
12312         * math/auto-libm-test-in: Add tests of cpow.
12313         * math/auto-libm-test-out: Regenerated.
12314         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12315         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12316         mpc_cc_c.
12317         (func_calc_desc): Add mpc_cc_c union field.
12318         (test_functions): Add cpow.
12319         (special_fill_2pi): New function.
12320         (special_real_inputs): Add 2pi.
12321         (calc_generic_results): Handle mpc_cc_c.
12322         * sysdeps/i386/fpu/libm-test-ulps: Update.
12323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12325         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12326         csqrt, ctan and ctanh.
12327         * math/auto-libm-test-out: Regenerated.
12328         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12329         (TEST_COND_x86): Likewise.
12330         (ccos_test_data): Use AUTO_TESTS_c_c.
12331         (ccosh_test_data): Likewise.
12332         (cexp_test_data): Likewise.
12333         (clog_test_data): Likewise.
12334         (csqrt_test_data): Likewise.
12335         (ctan_test_data): Likewise.
12336         (ctan_tonearest_test_data): Likewise.
12337         (ctan_towardzero_test_data): Likewise.
12338         (ctan_downward_test_data): Likewise.
12339         (ctan_upward_test_data): Likewise.
12340         (ctanh_test_data): Likewise.
12341         (ctanh_tonearest_test_data): Likewise.
12342         (ctanh_towardzero_test_data): Likewise.
12343         (ctanh_downward_test_data): Likewise.
12344         (ctanh_upward_test_data): Likewise.
12345         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12346         mpc_c_c.
12347         (func_calc_desc): Add mpc_c_c union field.
12348         (FUNC_mpc_c_c): New macro.
12349         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12350         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12351         ctanh.
12352         (special_fill_min_subnorm_p120): New function.
12353         (special_real_inputs): Add min_subnorm_p120.
12354         (calc_generic_results): Handle mpc_c_c.
12355         * sysdeps/i386/fpu/libm-test-ulps: Update.
12356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12358 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12360         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12361         (do_sin_slow): New functions.
12362         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12363         (cslow2, csloww1, csloww2): Use the new functions.
12365         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12366         Use M to change sign of result instead of X.  Assume X is
12367         positive.
12368         (csloww1): Likewise.
12369         (__sin): Adjust.
12370         (__cos): Adjust.
12372         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12373         arguments A and DA.
12374         (__sin): Adjust.
12375         (__cos): Likewise.
12377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12378         (__cos): Likewise.
12379         (sloww1): Don't adjust sign of DX.
12380         (csloww1): Likewise.
12381         (sloww2): Use X directly and don't adjust sign of DX.
12382         (csloww2): Likewise.
12384 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12386         * math/auto-libm-test-in: Add tests of cabs and carg.
12387         * math/auto-libm-test-out: Regenerated.
12388         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12389         (carg_test_data): Likewise.
12390         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12391         mpc_c_f.
12392         (func_calc_desc): Add mpc_c_f union field.
12393         (test_functions): Add cabs and carg.
12394         (calc_generic_results): Handle mpc_c_f.
12396         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12397         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12398         as a macro and a compat symbol.
12399         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12400         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12401         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12402         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12403         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12404         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12405         not use .hidden.
12406         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12407         Likewise.
12408         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12409         Likewise.
12410         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12411         Likewise.
12412         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12413         Likewise.
12414         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12415         Likewise.
12416         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12417         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12418         from GLIBC_2.3.2.
12420 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12424 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12426         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12427         trailing whitespace removed.
12428         * scripts/config.guess: Update to version 2013-11-29.
12429         * scripts/config.sub: Update to version 2013-10-01.
12431         * math/auto-libm-test-in: Add tests of sincos.
12432         * math/auto-libm-test-out: Regenerated.
12433         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12434         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12435         mpfr_f_11.
12436         (func_calc_desc): Add mpfr_f_11 union field.
12437         (test_functions): Add sincos.
12438         (calc_generic_results): Handle mpfr_f_11.
12439         * sysdeps/i386/fpu/libm-test-ulps: Update.
12440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12442 2013-12-19  Andreas Schwab  <schwab@suse.de>
12444         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12445         CALL_MCOUNT.
12446         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12447         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12448         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12450 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12452         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12453         * sysdeps/i386/fpu/libm-test-ulps: Update.
12454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12456         [BZ #16293]
12457         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12458         round-to-nearest mode when using frndint.
12459         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12460         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12461         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12462         Likewise.
12463         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12464         sinh test to fail.
12465         * math/auto-libm-test-out: Regenerated.
12466         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12467         (TEST_COND_x86): Likewise.
12468         (expm1_tonearest_test_data): New array.
12469         (expm1_test_tonearest): New function.
12470         (expm1_towardzero_test_data): New array.
12471         (expm1_test_towardzero): New function.
12472         (expm1_downward_test_data): New array.
12473         (expm1_test_downward): New function.
12474         (expm1_upward_test_data): New array.
12475         (expm1_test_upward): New function.
12476         (main): Run the new test functions.
12477         * sysdeps/i386/fpu/libm-test-ulps: Update.
12478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12480         * include/features.h: Update comment documenting feature test
12481         macros.  Mention _DEFAULT_SOURCE in comment.
12482         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12483         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12484         _BSD_SOURCE and _SVID_SOURCE.
12485         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12486         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12487         !_SVID_SOURCE]: Likewise.
12488         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12489         (__USE_POSIX_IMPLICITLY): Define.
12490         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12491         (_POSIX_SOURCE): Undefine and redefine.
12492         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12493         (_POSIX_C_SOURCE): Likewise.
12494         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12495         (Feature Test Macros): Update documentation of default features.
12497 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12499         * benchtests/Makefile: Add bench-strtok.
12500         * benchtests/bench-strtok.c: New file: strtok benchtest.
12502 2013-12-19  Allan McRae  <allan@archlinux.org>
12504         * manual/install.texi: Suppress menu for plain text output.
12505         * INSTALL: Regenerated.
12507 2013-12-18  Brooks Moses  <bmoses@google.com>
12509         [BZ #15846]
12510         * misc/getauxval.c: Include errno.h.
12511         (__getauxval): Set errno to ENOENT if the requested type is not
12512         found.
12513         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12514         don't declare with __attribute_const__.
12515         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12516         * manual/startup.texi: Document that getauxval sets errno.
12518 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12520         * math/auto-libm-test-in: Add tests of jn and yn.
12521         * math/auto-libm-test-out: Regenerated.
12522         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12523         (yn_test_data): Likewise.
12524         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12525         mpfr_if_f.
12526         (func_calc_desc): Add mpfr_if_f union field.
12527         (FUNC_mpfr_if_f): New macro.
12528         (test_functions): Add jn and yn.
12529         (calc_generic_results): Assert type of second input for
12530         mpfr_ff_f.  Handle mpfr_if_f.
12531         (output_for_one_input_case): Disable all checking for arguments
12532         fitting floating-point types in case of an integer argument.
12533         * sysdeps/i386/fpu/libm-test-ulps: Update.
12534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12537         Don't expect fegetround reference in libm.so.
12539 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12541         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12542         $(config-cflags-nofma).
12544 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12546         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12547         * math/auto-libm-test-out: Regenerated.
12549         [BZ #16338]
12550         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12551         to determine exponent and adjust argument to have exponent of -1.
12552         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12553         log2.
12554         * math/auto-libm-test-out: Regenerated.
12555         * sysdeps/i386/fpu/libm-test-ulps: Update.
12556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12558 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12560         * manual/probes.texi: Remove cases when per-thread arenas are
12561         disabled.
12563 2013-12-18  Andreas Schwab  <schwab@suse.de>
12565         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12566         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12567         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12568         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12569         * sysdeps/i386/i686/multiarch/Makefile: Update.
12570         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12572 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12574         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12575         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12577 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12579         [BZ #15968]
12580         Support TZ transition times < 00:00:00.
12581         This is needed for version-3 tz-format files; it supports time
12582         stamps past 2037 for America/Godthab (the only entry in the tz
12583         database for which this change is relevant).
12584         * manual/time.texi (TZ Variable): Document transition times
12585         from -167:59:59 through -00:00:01.
12586         * time/tzset.c (tz_rule): Time of day is now signed.
12587         (__tzset_parse_tz): Parse negative time of day.
12589         Document TZ transition times >= 25:00:00.
12590         * manual/time.texi (TZ Variable): Document transition times from
12591         25:00:00 through 167:59:59.  These are already supported, and this
12592         support will help with version-3 tz-format files.
12594         * manual/time.texi (TZ Variable): Modernize North America example
12595         to reflect current (i.e., 2007-and-later) daylight saving rules.
12597         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12599 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12601         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12602         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12603         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12605         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12606         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12607         * sysdeps/unix/bsd/clock.c: Likewise.
12608         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12609         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12610         * sysdeps/unix/bsd/init-posix.c: Likewise.
12611         * sysdeps/unix/bsd/poll.c: Likewise.
12612         * sysdeps/unix/bsd/ptsname.c: Likewise.
12613         * sysdeps/unix/bsd/seekdir.c: Likewise.
12614         * sysdeps/unix/bsd/setegid.c: Likewise.
12615         * sysdeps/unix/bsd/seteuid.c: Likewise.
12616         * sysdeps/unix/bsd/setgid.c: Likewise.
12617         * sysdeps/unix/bsd/setrgid.c: Likewise.
12618         * sysdeps/unix/bsd/setruid.c: Likewise.
12619         * sysdeps/unix/bsd/setsid.c: Likewise.
12620         * sysdeps/unix/bsd/setuid.c: Likewise.
12621         * sysdeps/unix/bsd/sigaction.c: Likewise.
12622         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12623         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12624         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12625         * sysdeps/unix/bsd/telldir.c: Likewise.
12626         * sysdeps/unix/bsd/times.c: Likewise.
12627         * sysdeps/unix/bsd/usleep.c: Likewise.
12629         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12630         ($(objpfx)libbsd-compat.a): Remove rule.
12632         * include/features.h (__FAVOR_BSD): Do not define.
12633         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12634         features conflicting with POSIX.
12635         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12636         (_BSD_SOURCE): Remove description of not being a subset of other
12637         feature test macros.
12638         * manual/job.texi (getpgrp): Do not document BSD version.
12639         (getpgid): Do not document by reference to BSD getpgrp.
12640         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12641         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12642         * signal/signal.h [__FAVOR_BSD]: Likewise.
12643         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12644         instead of making contents conditional on [__FAVOR_BSD].
12645         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12647 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12651 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12653         [BZ #16314]
12654         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12655         values below 2**-450, not 2**-500.
12656         * math/auto-libm-test-in: Don't allow spurious underflow from
12657         hypot.
12658         * math/auto-libm-test-out: Regenerated.
12660         [BZ #16316]
12661         [BZ #16330]
12662         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12663         values of ha and hb and sort them after adjusting subnormal
12664         arguments.
12665         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12666         Likewise.
12667         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12668         values of ea and eb and sort them after adjusting subnormal
12669         arguments.
12670         * math/auto-libm-test-in: Do not expect some hypot tests of
12671         subnormals to fail.  Add more hypot tests.
12672         * math/auto-libm-test-out: Regenerated.
12674 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12676         [BZ #13304]
12677         * sysdeps/sh/s_fma.c: New file.
12678         * sysdeps/sh/s_fmaf.c: New file.
12679         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12680         version.
12681         * sysdeps/sh/Implies: Add sh/soft-fp.
12683 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12685         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12686         level of indirection to members `objname', `errstring', `malloced'.
12687         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12688         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12689         it as the __longjmp argument (just pass 1 instead).
12690         (_dl_catch_error): Initialize C with argument pointers and address of
12691         volatile local ERRCODE rather than copying values out of C at return.
12693 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12695         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12696         * math/auto-libm-test-out: Regenerated.
12697         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12698         (hypot_test_data): Likewise.
12699         (pow_test_data): Likewise.
12700         (pow_tonearest_test_data): Likewise.
12701         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12702         mpfr_ff_f.
12703         (func_calc_desc): Add mpfr_ff_f union field.
12704         (FUNC_mpfr_ff_f): New macro.
12705         (test_functions): Add atan2, hypot and pow.
12706         (special_fill_min): New function.
12707         (special_fill_minus_min): Likewise.
12708         (special_fill_min_subnorm): Likewise.
12709         (special_fill_minus_min_subnorm): Likewise.
12710         (special_real_inputs): Add min, -min, min_subnorm and
12711         -min_subnorm.
12712         (calc_generic_results): Handle mpfr_ff_f.
12713         * sysdeps/i386/fpu/libm-test-ulps: Update.
12714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12716 2013-12-16  Will Newton  <will.newton@linaro.org>
12718         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12719         (Aligned Memory Blocks): Add documentation for aligned_alloc
12720         and suggest it as an alternative to posix_memalign.
12721         (Hooks for Malloc): Document __memalign_hook is also called
12722         for aligned_alloc.  (Summary of Malloc): Add summary for
12723         aligned alloc.  Document __memalign_hook is also called
12724         for aligned_alloc.
12726 2013-12-16  Will Newton  <will.newton@linaro.org>
12728         * manual/memory.texi (Malloc Examples): Clarify default
12729         alignment documentation.  Suggest posix_memalign rather
12730         than memalign or valloc.
12731         (Aligned Memory Blocks): Remove suggestion to use memalign
12732         or valloc.  Remove obsolete comment about BSD.
12733         Document memalign errno values and mark the function obsolete.
12734         Document posix_memalign returned error codes.  Mark valloc
12735         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12736         called for posix_memalign and valloc.
12737         (Summary of Malloc): Add posix_memalign to function summary.
12738         __memalign_hook is also called for posix_memalign and valloc.
12740 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12742         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12743         TAYLOR_SIN.
12744         (__sin): Adjust.
12745         (__cos): Likewise.
12746         (sloww): Use mynumber union.  Expand ternary operator into
12747         if-else statements.
12748         (cslow): use mynumber union.
12750 2013-12-16  Allan McRae  <allan@archlinux.org>
12752         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12753         * configure: Regenerated.
12755         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12757         [BZ #14120]
12758         * configure.ac: Added --enable-maintainer-mode. Check for
12759         autoconf when enabled.
12760         * configure: Regenerated.
12762         * nscd/nscd.service: New file.
12763         * nscd/nscd.tmpfiles: New file.
12765 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12767         [BZ #12100]
12768         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12769         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12770         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12771         (strstr): Add __strstr_sse2_unaligned ifunc.
12772         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12773         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12774         (strcasestr): Remove __strcasestr_sse42 ifunc.
12775         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12776         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12779 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12781         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12782         * sysdeps/sh/bits/fenv.h: ... here.
12783         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12785 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12787         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12790         hypotf multiarch implementations.
12791         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12792         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12793         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12794         multiarch hypot for PPC64.
12795         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12796         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12797         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12798         multiarch hypotf for PPC64.
12800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12801         modff multiarch implementations.
12802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12805         multiarch modf for PPC64.
12806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12809         multiarch modff for PPC64.
12811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12812         and logl multiarch implementations.
12813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12816         multiarch logb for PPC64.
12817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12820         multiarch logb for PPC64.
12821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12824         multiarch logb for PPC64.
12826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12827         isinff multiarch implementation.
12828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12829         file.
12830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12832         multiarch isinf for PPC64.
12833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12834         file.
12835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12836         multiarch isinff for PPC64.
12838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12839         finitef multiarch implementation.
12840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12841         file.
12842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12844         multiarch finite for PPC64.
12845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12846         file.
12847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12848         multiarch finitef for PPC64.
12850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12851         lrint multiarch implementation.
12852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12853         file.
12854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12856         multiarch llrint for PPC64.
12857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12858         multiarch lrint for PPC64.
12860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12861         copysignf multiarch implementation.
12862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12863         file.
12864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12865         file.
12866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12867         multiarch copysign for PPC64.
12868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12869         multiarch copysignf for PPC64.
12871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12872         multiarch implementation.
12873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12874         file.
12875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12876         file.
12877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12878         file.
12879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12880         file.
12881         multiarch llround for PPC64.
12882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12883         multiarch trunc for PPC64.
12884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12885         multiarch truncf for PPC64.
12887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12888         multiarch implementation.
12889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12890         file.
12891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12892         file.
12893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12894         file.
12895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12896         file.
12897         multiarch llround for PPC64.
12898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12899         multiarch round for PPC64.
12900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12901         multiarch roundf for PPC64.
12903         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12904         multiarch implementation.
12905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12906         file.
12907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12908         file.
12909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12910         file.
12911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12912         file.
12913         multiarch llround for PPC64.
12914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12915         multiarch floor for PPC64.
12916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12917         multiarch floorf for PPC64.
12919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12920         multiarch implementation.
12921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12922         file.
12923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12924         file.
12925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12926         file.
12927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12928         file.
12929         multiarch llround for PPC64.
12930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12931         multiarch ceil for PPC64.
12932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12933         multiarch ceilf for PPC64.
12935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12936         multiarch implementation.
12937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12938         file.
12939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12940         file.
12941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12942         file.
12943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12944         multiarch llround for PPC64.
12945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12946         multiarch lround for PPC64.
12948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12949         multiarch implementation.
12950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12953         file.
12954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12957         multiarch isnan for PPC64.
12958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12959         multiarch isnanf for PPC64.
12961         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12962         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12963         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12964         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12965         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12968         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12969         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12970         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12971         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12974         multiarch implementations.
12975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12976         (__libc_ifunc_impl_list): Likewise.
12977         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12978         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12979         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12980         multiarch stpcpy for PPC64.
12982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12983         multiarch implementations.
12984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12985         (__libc_ifunc_impl_list): Likewise.
12986         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12987         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12988         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12989         multiarch strcpy for PPC64.
12991         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12992         redefine function name.
12993         (_wordcopy_fwd_dest_aligned): Likewise.
12994         (_wordcopy_bwd_aligned): Likewise.
12995         (_wordcopy_bwd_dest_aligned): Likewise.
12996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12997         multiarch implementations.
12998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12999         (__libc_ifunc_impl_list): Likewise.
13000         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13001         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13002         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13003         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13004         multiarch wcscpy for PPC64.
13006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13007         multiarch implementations.
13008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13009         (__libc_ifunc_impl_list): Likewise.
13010         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13011         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13012         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13013         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13014         multiarch wcscpy for PPC64.
13016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13017         multiarch implementations.
13018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13019         (__libc_ifunc_impl_list): Likewise.
13020         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13021         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13022         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13023         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13024         multiarch wcsrchr for PPC64.
13026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13027         multiarch implementations.
13028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13029         (__libc_ifunc_impl_list): Likewise.
13030         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13031         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13032         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13033         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13034         multiarch wcschr for PPC64.
13036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13037         multiarch implementations.
13038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13039         (__libc_ifunc_impl_list): Likewise.
13040         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13041         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13042         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13043         multiarch strchrnul for PPC64.
13045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13046         implementations.
13047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13048         (__libc_ifunc_impl_list): Likewise.
13049         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13050         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13051         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13052         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13053         strchr for PPC64.
13055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13056         implementations.
13057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13058         (__libc_ifunc_impl_list): Likewise.
13059         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13060         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13061         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13062         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13063         strncmp for PPC64.
13065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13066         multiarch implementations.
13067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13068         (__libc_ifunc_impl_list): Likewise.
13069         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13070         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13071         strncasecmp for PPC64.
13072         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13073         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13074         multiarch strncasecmp_l for PPC64.
13076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13077         multiarch implementations.
13078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13079         (__libc_ifunc_impl_list): Likewise.
13080         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13081         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13082         multiarch strcasecmp for PPC64.
13083         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13084         file.
13085         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13086         multiarch strcasecmp_l for PPC64.
13088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13089         implementations.
13090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13091         (__libc_ifunc_impl_list): Likewise.
13092         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13093         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13094         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13095         strnlen for PPC64.
13097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13098         implementations.
13099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13100         (__libc_ifunc_impl_list): Likewise.
13101         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13102         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13103         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13104         strlen for PPC64.
13106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13107         implementations.
13108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13109         (__libc_ifunc_impl_list): Likewise.
13110         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13111         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13112         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13113         rawmemrchr for PPC64.
13115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13116         implementation.
13117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13118         (__libc_ifunc_impl_list): Likewise.
13119         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13120         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13121         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13122         memrchr for PPC64.
13124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13125         implementation.
13126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13127         (__libc_ifunc_impl_list): Likewise.
13128         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13129         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13130         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13131         memchr for PPC64.
13133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13134         implementation.
13135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13136         (__libc_ifunc_impl_list): Likewise.
13137         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13138         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13139         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13140         mempcpy for PPC64.
13142         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13143         avoid cretion of __bzero symbol.
13144         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13145         Likewise.
13146         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13147         Likewise.
13148         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13149         Likewise.
13150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13151         multiarch implementations.
13152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13153         (__libc_ifunc_impl_list): Likewise.
13154         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13155         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13156         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13157         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13158         bzero for PPC32.
13159         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13160         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13161         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13162         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13163         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13164         memset for PPC64.
13165         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13167         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13169         implementations.
13170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13171         (__libc_ifunc_impl_list): Likewise.
13172         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13173         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13174         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13175         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13176         memcmp for PPC64.
13178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13179         multiarch for POWER/PPC64.
13180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13181         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13182         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13183         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13184         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13185         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13186         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13187         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13188         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13189         memcpy for PPC64.
13191         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13192         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13193         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13194         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13195         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13196         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13197         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13198         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13199         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13200         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13201         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13202         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13203         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13204         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13205         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13214 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13216         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13218 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13220         * benchtests/Makefile (bench): Add exp2 and log2.
13221         (LDLIBS-bench-exp2): Add -lm.
13222         (LDLIBS-bench-log2): Likewise.
13223         * benchtests/exp2-inputs: New inputs file.
13224         * benchtests/log2-inputs: New inputs file.
13225         * benchtests/log-inputs: Add new inputs.
13226         * benchtests/tan-inputs: Likewise.
13228 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13230         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13231         definition...
13232         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13233         (csloww2): ... from here.
13235         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13236         instead of structures.
13237         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13238         (POLYNOMIAL): Likewise.
13239         (TAYLOR_SLOW): Likewise.
13240         (__sin): Likewise.
13241         (__cos): Likewise.
13242         (slow1): Likewise.
13243         (slow2): Likewise.
13244         (sloww): Likewise.
13245         (sloww1); Likewise.
13246         (sloww2): Likewise.
13247         (bsloww1): Likewise.
13248         (bsloww2): Likewise.
13249         (cslow2): Likewise.
13250         (csloww): Likewise.
13251         (csloww1): Likewise.
13252         (csloww2): Likewise.
13254 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13256         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13257         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13258         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13259         * malloc/hooks.c (realloc_check): Likewise.
13261         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13262         * malloc/arena.c: Remove PER_THREAD conditional.
13263         [!PER_THREAD]: Remove code.
13264         (ptmalloc_unlock_all2): Likewise.
13265         (ptmalloc_init): Likewise.
13266         (_int_new_arena): Likewise.
13267         (arena_get2): Likewise.
13268         * malloc/hooks.c (__malloc_get_state): Likewise.
13269         (__malloc_set_state): Likewise.
13270         * malloc/malloc.c: Likewise.
13271         (struct malloc_state): Likewise.
13272         (struct malloc_par): Likewise.
13273         (__libc_realloc): Likewise.
13274         (__libc_mallopt): Likewise.
13276 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13278         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13280 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13282         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13283         macro to a function.  Check for zero perturb_byte.
13284         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13286         * malloc/malloc.c: (force_reg): Remove.
13287         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13288         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13289         force_reg by atomic_forced_read.
13290         * malloc/arena.c (ptmalloc_init): Likewise.
13291         * malloc/hooks.c (top_check): Likewise.
13293 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13297 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13301 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13303         * math/auto-libm-test-in: Add tests of lgamma.
13304         * math/auto-libm-test-out: Regenerated.
13305         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13306         (M_LOG_2_SQRT_PIl): Likewise.
13307         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13308         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13309         mpfr_f_f1.
13310         (func_calc_desc): Add mpfr_f_f1 union field.
13311         (ARGS1): New macro.
13312         (ARGS2): Likewise.
13313         (ARGS3): Likewise.
13314         (ARGS4): Likewise.
13315         (RET1): Likewise.
13316         (RET2): Likewise.
13317         (CALC): Likewise.
13318         (FUNC): Likewise.
13319         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13320         (test_functions): Add lgamma.
13321         (calc_generic_results): Handle mpfr_f_f1.
13322         * sysdeps/i386/fpu/libm-test-ulps: Update.
13323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13325 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13327         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13328         __mpn_add_n for PowerPC64/POWER7.
13329         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13330         __mpn_sub_n for PowerPC64/POWER7.
13332         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13333         __mpn_addmul_1 for PowerPC64.
13334         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13335         __mpn_submul_1 for PowerPC64.
13336         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13337         for PowerPC64.
13338         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13339         for PowerPC64.
13341 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13343         [BZ #15089]
13344         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13346 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13348         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13350         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13351         add multiarch folders.
13352         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13353         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13354         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13355         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13356         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13357         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13358         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13359         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13360         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13361         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13362         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13371         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13373         New file.
13374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13375         New file.
13376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13377         multiarch __ieee754_hypot for PowerPC32.
13378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13379         New file.
13380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13381         New file.
13382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13383         multiarch __ieee754_hypotf for PowerPC32.
13385         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13386         long_double_symbol only if __logbl is defined.
13387         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13388         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13389         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13390         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13391         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13392         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13393         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13394         path for implementation.
13395         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13396         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13398         logb, and logbl multiarch implementations for PowerPC32.
13399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13400         file.
13401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13402         file.
13403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13404         multiarch logb for PowerPC32.
13405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13406         file.
13407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13408         file.
13409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13410         multiarch logbf for PowerPC32.
13411         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13413         file.
13414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13415         multiarch logbl implementation for PowerPC32.
13417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13418         and modff multiarch implementations.
13419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13420         New file.
13421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13422         New file.
13423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13424         multiarch modf for PowerPC32.
13425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13426         New file.
13427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13428         New file.
13429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13430         multiarch modff for PowerPC32.
13432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13433         and lrintf multiarch implementations.
13434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13435         New file.
13436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13437         New file.
13438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13439         multiarch lrint for PowerPC32.
13440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13441         file: multiarch lrintf for PowerPC32.
13443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13444         and lroundf multiarch implementations.
13445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13446         New file.
13447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13448         New file.
13449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13450         New file.
13451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13452         multiarch lround for PowerPC32.
13453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13454         file: multiarch lroundf for PowerPC32.
13456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13457         copysign and copysignf multiarch implementations.
13458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13459         New file.
13460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13461         New file.
13462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13463         file: multiarch copysign for PowerPC32.
13464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13465         file: multiarch copysignf for PowerPC32.
13467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13468         and truncf multiarch implementations.
13469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13470         New file.
13471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13472         file.
13473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13474         multiarch trunc for PowerPC32.
13475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13476         New file.
13477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13478         New file.
13479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13480         multiarch truncf for PowerPC32.
13482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13483         and roundf multiarch implementations.
13484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13485         New file.
13486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13487         file.
13488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13489         multiarch round for PowerPC32.
13490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13491         New file.
13492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13493         New file.
13494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13495         multiarch roundf for PowerPC32.
13497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13498         and floorf multiarch implementations.
13499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13500         New file.
13501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13502         file.
13503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13504         multiarch floor for PowerPC32.
13505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13506         New file.
13507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13508         New file.
13509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13510         multiarch floorf for PowerPC32.
13512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13513         and ceilf multiarch implementations.
13514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13515         New file.
13516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13517         file.
13518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13519         multiarch ceil for PowerPC32.
13520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13521         New file.
13522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13523         file.
13524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13525         multiarch ceilf for PowerPC32.
13527         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13528         is defined.
13529         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13530         FINITEF is defined.
13531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13532         and finitef multiarch implementations.
13533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13534         New file.
13535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13536         file.
13537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13538         multiarch finite for PowerPC32.
13539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13540         New file.
13541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13542         file: multiarch finitef for PowerPC32.
13544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13545         and isinff multiarch implementations.
13546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13547         file.
13548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13549         file.
13550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13551         multiarch isinf for PowerPC32.
13552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13553         New file.
13554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13555         multiarch isinff for PowerPC32.
13557         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13558         alias when __isnan is defined.
13559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13560         and isnanf multiarch implementations.
13561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13562         file.
13563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13564         file.
13565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13566         file.
13567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13568         file.
13569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13570         multiarch isnan for PowerPC32.
13571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13572         New file.
13573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13574         New file.
13575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13576         multiarch isnanf for PowerPC32.
13578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13579         and sqrtf multiarch implementations.
13580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13581         file.
13582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13583         file.
13584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13585         multiarch sqrt for PowerPC32.
13586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13587         file.
13588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13589         file.
13590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13591         multiarch sqrtf for PowerPC32.
13593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13594         and llroundf multiarch implementations.
13595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13596         New file.
13597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13598         New file.
13599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13600         New file.
13601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13602         file: multiarch llround for PowerPC32.
13603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13604         file: multiarch llroundf for PowerPC32.
13606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13607         multiarch PowerPC32 fpu implementations.
13608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13609         New file.
13610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13611         New file.
13612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13613         multiarch llrint for PowerPC32.
13614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13615         New file.
13616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13617         New file.
13618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13619         file.
13621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13623         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13624         file.
13625         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13626         file.
13627         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13628         file.
13629         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13630         multiarch wordcopy for PPC32.
13631         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13632         wordcopy objects.
13633         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13634         (__libc_ifunc_impl_list): Likewise.
13635         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13636         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13637         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13638         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13639         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13640         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13642         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13644         file.
13645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13646         file.
13647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13648         file.
13649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13650         multiarch wcscpy for PPC32.
13651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13652         multiarch objects.
13653         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13654         (__libc_ifunc_impl_list): Likewise.
13655         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13656         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13657         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13658         sysdeps/powerpc/power6/wcscpy.c.
13660         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13661         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13662         file.
13663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13664         file.
13665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13666         file.
13667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13668         multiarch wcsrchr for PPC32.
13669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13670         multiarch objects.
13671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13672         (__libc_ifunc_impl_list): Likewise.
13673         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13674         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13675         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13676         sysdeps/powerpc/power6/wcsrchr.c.
13678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13679         file.
13680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13681         file.
13682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13684         multiarch wcschr for PPc32.
13685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13686         multiarch objects.
13687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13688         (__libc_ifunc_impl_list): Likewise.
13689         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13690         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13691         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13692         sysdeps/powerpc/power6/wcschr.c.
13694         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13695         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13696         file.
13697         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13698         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13699         file: multiarch strchr for PPC32.
13700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13701         multiarch objects.
13702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13703         (__libc_ifunc_impl_list): Likewise.
13705         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13706         name.
13707         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13708         file.
13709         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13710         file.
13711         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13712         multiarch strchrnul for PPC32.
13713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13714         multiarch objects.
13715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13716         (__libc_ifunc_impl_list): Likewise.
13718         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13719         file.
13720         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13721         multiarch strncasecmp for PPC32.
13722         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13723         file.
13724         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13725         multiarch strncasecmp_l for PPC32.
13726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13727         strncasecmp multiarch objects.
13728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13729         (__libc_ifunc_impl_list): Likewise.
13731         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13732         file.
13733         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13734         multiarch strncasecmp for PPC32.
13735         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13736         New file.
13737         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13738         multiarch strcasecmp_l for PPC32.
13739         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13740         multiarch objects.
13741         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13742         (__libc_ifunc_impl_list): Likewise.
13744         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13745         file.
13746         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13747         file.
13748         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13749         multiarch strncmp for PPC32.
13750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13751         multiarch objects.
13752         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13753         (__libc_ifunc_impl_list): Likewise.
13755         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13756         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13757         file.
13758         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13759         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13761         multiarch objects.
13762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13763         (__libc_ifunc_impl_list): Likewise.
13765         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13766         file.
13767         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13768         file.
13769         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13771         multiarch objects.
13772         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13773         (__libc_ifunc_impl_list): Likewise.
13775         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13776         file.
13777         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13778         file.
13779         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13780         multiarch rawmemchr for PPC32.
13781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13782         multiarch objects.
13783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13784         (__libc_ifunc_impl_list): Likewise.
13786         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13787         file.
13788         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13789         file.
13790         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13791         file: memrchr multiarch for PPC32.
13792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13793         multiarch objects.
13794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13795         (__libc_ifunc_impl_list): Likewise.
13797         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13799         file.
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13801         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13802         multiarch memchr for PPC32.
13803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13804         multiarch objects.
13805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13806         (__libc_ifunc_impl_list): Likewise.
13808         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13809         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13810         file.
13811         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13812         file.
13813         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13814         file: multiarch mempcpy for PPC32.
13815         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13816         multiarch objects.
13817         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13818         (__libc_ifunc_impl_list): Likewise.
13820         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13821         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13822         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13823         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13824         multiarch bzero for PPC32.
13825         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13826         file.
13827         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13828         file.
13829         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13830         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13831         file: multiarch memset for PPC32.
13832         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13834         memset multiarch objects.
13835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13836         (__libc_ifunc_impl_list): Likewise.
13838         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13839         file.
13840         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13842         memcmp for PPC32.
13843         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13845         multiarch objects.
13846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13847         (__libc_ifunc_impl_list): Likewise.
13849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13850         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13851         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13852         file.
13853         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13854         file.
13855         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13856         file.
13857         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13858         multiarch memcpy for PPC32.
13859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13860         multiarch objects.
13861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13862         (__libc_ifunc_impl_list): Likewise.
13864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13865         support multiarch for POWER/PPC32.
13866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13867         Likewise.
13868         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13870         Implies file to make multiarch folder appers before the fpu and
13871         default folder for power4 configuration.
13873 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13875         * scripts/bench.pl: Append volatile keyword to type.
13877 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13879         * sysdeps/sh/sotruss-lib.c: New file.
13880         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13882 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13886 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13888         [BZ #6810]
13889         * math/w_tgamma.c: Include <errno.h>.
13890         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13891         * math/w_tgammaf.c: Include <errno.h>.
13892         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13893         * math/w_tgammal.c: Include <errno.h>.
13894         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13895         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13896         underflow.  Add more tgamma tests.
13897         * math/auto-libm-test-out: Regenerated.
13898         * sysdeps/i386/fpu/libm-test-ulps: Update.
13899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13901         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13902         sin, sinh, tan, tanh, tgamma, y0 and y1.
13903         * math/auto-libm-test-out: Regenerated.
13904         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13905         (TEST_COND_x86): Likewise.
13906         (M_E2l): Remove macro.
13907         (M_E3l): Likewise.
13908         (M_2_SQRT_PIl): Likewise.
13909         (M_SQRT_PIl): Likewise.
13910         (M_1_DIV_El): Likewise.
13911         (log_test_data): Use AUTO_TESTS_f_f.
13912         (log10_test_data): Likewise.
13913         (log1p_test_data): Likewise.
13914         (log2_test_data): Likewise.
13915         (sin_test_data): Likewise.
13916         (sin_tonearest_test_data): Likewise.
13917         (sin_towardzero_test_data): Likewise.
13918         (sin_downward_test_data): Likewise.
13919         (sin_upward_test_data): Likewise.
13920         (sinh_test_data): Likewise.
13921         (sinh_tonearest_test_data): Likewise.
13922         (sinh_towardzero_test_data): Likewise.
13923         (sinh_downward_test_data): Likewise.
13924         (sinh_upward_test_data): Likewise.
13925         (tan_test_data): Likewise.
13926         (tan_tonearest_test_data): Likewise.
13927         (tan_towardzero_test_data): Likewise.
13928         (tan_downward_test_data): Likewise.
13929         (tan_upward_test_data): Likewise.
13930         (tanh_test_data): Likewise.
13931         (tgamma_test_data): Likewise.
13932         (y0_test_data): Likewise.
13933         (y1_test_data): Likewise.
13934         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13935         (special_real_inputs): Add pi/4.
13936         * sysdeps/i386/fpu/libm-test-ulps: Update.
13937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13939 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13941         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13942         "longjmp_target" static probes.
13943         (__longjmp): Rename to __longjmp_symbol.
13944         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13945         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13946         on which longjmp to generate.
13947         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13948         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13949         probe.
13950         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13951         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13952         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13953         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13954         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13955         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13957         __longjmp_symbol based on which __longjmp to generate.
13958         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13959         probe.
13960         (setjmp): Rename to setjmp_symbol.
13961         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13962         (_setjmp): Rename to _setjmp_symbol.
13963         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13964         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13965         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13966         which setjmp to generate.
13967         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13968         "longjmp_target" static probes.
13970 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13972         * benchtests/README: Add note about output arguments.
13973         * benchtests/bench-sincos.c: Remove file.
13974         * benchtests/sincos-inputs: New file.
13975         * scripts/bench.pl: Identify output arguments and define
13976         static variables for them.
13978         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13980         [BZ #15941]
13981         * Makefile (INSTALL): Add install-plain.texi as the primary
13982         dependency.
13983         * manual/install-plain.texi: New file.
13984         * manual/install.texi: Include node directive only for
13985         non-plaintext output.
13987 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13989         * stdlib/longlong.h: Update from GCC.
13991         [BZ #6807]
13992         [BZ #15901]
13993         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13994         * math/w_j0f.c (y0f): Likewise.
13995         * math/w_j0l.c (__y0l): Likewise.
13996         * math/w_j1.c (y1): Likewise.
13997         * math/w_j1f.c (y1f): Likewise.
13998         * math/w_j1l.c (__y1l): Likewise
13999         * math/w_jn.c (yn): Likewise.
14000         * math/w_jnf.c (ynf): Likewise.
14001         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14002         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14003         value for Bessel function domain errors outside _SVID_ mode.
14004         Adjust sign of return value for yn (negative integer, 0).
14005         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14006         by zero in return for negative x and set sign appropriately for
14007         negative n.
14008         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14009         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14010         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14011         expectations in error cases.
14012         (y1_test_data): Likewise.
14013         (yn_test_data): Likewise.
14014         * sysdeps/i386/fpu/libm-test-ulps: Update.
14015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14017 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14019         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14020         "64" to "64-v1".  Add "64-v2".
14021         (abi-64-options): Rename to ...
14022         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14023         (abi-64-condition): Rename to ...
14024         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14025         (abi-64-ld-soname): Rename to ...
14026         (abi-64-v1-ld-soname): ... this.
14027         (abi-64-v2-options): Define.
14028         (abi-64-v2-condition): Likewise.
14029         (abi-64-v2-ld-soname): Likewise.
14030         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14031         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14036 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14037             Alan Modra  <amodra@gmail.com>
14039         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14040         New versions for use with the ELFv2 ABI.
14041         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14042         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14043         declaration.
14044         (struct La_ppc64v2_retval): Likewise.
14045         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14046         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14047         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14048         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14049         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14050         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14051         Do not save or restore CR.
14052         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14053         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14054         return values for ELFv2 ABI.  Fix location of FPR return registers.
14055         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14056         updated values for _CALL_ELF == 2.
14057         (La_regs, La_retval, int_retval): Likewise.
14059 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14061         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14062         (FRAME_MIN_SIZE_PARM): Likewise.
14063         (FRAME_BACKCHAIN): Likewise.
14064         (FRAME_CR_SAVE): Likewise.
14065         (FRAME_LR_SAVE): Likewise.
14066         (FRAME_TOC_SAVE): Likewise.
14067         (FRAME_PARM_SAVE): Likewise.
14068         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14069         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14070         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14071         (call_mcount_parm_offset): New macro.
14072         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14073         (PROF): Use symbolic stack frame offsets.
14074         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14075         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14076         Redefine in terms of FRAME_MIN_SIZE.
14077         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14078         (_dl_profile_resolve): Likewise.  Update comment.
14079         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14080         symbols stack frame offsets.
14081         (__sigsetjmp): Likewise.
14082         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14083         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14084         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14085         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14088         (FRAME_BACKCHAIN): Remove.
14089         (FRAME_CR_SAVE): Likewise.
14090         (FRAME_LR_SAVE): Likewise.
14091         (FRAME_COMPILER_DW): Likewise.
14092         (FRAME_LINKER_DW): Likewise.
14093         (FRAME_TOC_SAVE): Likewise.
14094         (FRAME_PARM_SAVE): Likewise.
14095         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14096         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14097         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14099         (CHECK_SP): Use symbolic stack frame offsets.
14100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14101         zone" instead of caller's parameter save area for temp storage.
14102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14103         Likewise.  Also, use symbolic stack frame offsets.
14104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14105         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14106         our own stack frame instead of the caller's.
14107         (__socket): Use symbolic stack frame offsets.
14109 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14110             Alan Modra  <amodra@gmail.com>
14112         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14113         Define.
14114         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14115         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14116         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14117         New function.
14118         (elf_machine_fixup_plt): Call it.
14119         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14120         reloc arguments.
14121         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14122         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14123         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14124         r2 before calling target.
14126 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14127             Alan Modra  <amodra@gmail.com>
14129         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14130         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14131         versions of macros to support ELFv2 ABI.
14132         (LOCALENTRY): New macro.
14133         (ENTRY, EALIGN): Use it.
14134         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14135         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14136         fall through into ENTRY entry point.
14137         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14138         Only define if _CALL_ELF != 2.
14140         (elf_machine_matches_host): Verify ABI version matches.
14141         (RTLD_START): Use LOCALENTRY.
14142         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14143         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14144         (PLT_ENTRY_WORDS): New macro.
14145         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14146         (elf_machine_runtime_setup): Support ELFv2 ABI.
14147         (elf_machine_fixup_plt): Likewise.
14148         (elf_machine_plt_conflict): Likewise.
14149         (resolve_ifunc): Likewise.
14150         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14151         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14152         Likewise.
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14154         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14156         (makecontext): Support ELFv2 ABI.
14157         * elf/elf.h (EF_PPC64_ABI): Define.
14159 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14161         * sysdeps/powerpc/powerpc64/sysdep.h
14162         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14163         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14164         (ENTRY) [ASSEMBLER]: ... but instead here ...
14165         (EALIGN) [ASSEMBLER]: ... and here.
14166         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14167         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14168         (ENTRY_2) [!ASSEMBLER]: Use it.
14169         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14170         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14171         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14172         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14173         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14175         Use PPC64_LOAD_FUNCPTR.
14177         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14179 2013-12-04  Alan Modra  <amodra@gmail.com>
14181         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14182         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14183         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14184         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14186         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14187         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14188         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14189         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14190         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14191         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14193 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14196         (__makecontext): Fix incorrect CFI when backtracing out of
14197         context created via makecontext.
14198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14199         (__setcontext): Fix incorrect CFI during switch to new context.
14200         (__novec_setcontext): Likewise.
14202 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14204         [BZ #4772]
14205         * time/strptime_l.c (__strptime_internal): Allow modifiers
14206         in strptime.
14207         * time/tst-strptime.c (day_tests): Add testcase.
14209 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14211         * scripts/bench.pl: Skip over blank lines.
14213 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14215         [BZ #926]
14216         * manual/time.texi (Calendar Time): Clarify what timezone functions
14217         use.
14219 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14223 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14225         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14226         implementation.
14227         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14228         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14229         * debug/memset_chk.c (__memset_chk): Likewise.
14230         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14231         * debug/strncpy_chk.c: Likewise.
14233 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14235         [BZ #15268]
14236         [BZ #15425]
14237         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14238         (__ieee754_exp): For possibly underflowing results, check size of
14239         result and force underflow exception if required.
14240         * math/auto-libm-test-in: Add more tests of exp.
14241         * math/auto-libm-test-out: Regenerated.
14242         * sysdeps/i386/fpu/libm-test-ulps: Update.
14243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14245         [BZ #16283]
14246         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14247         * math/w_exp2f.c (__exp2f): Likewise.
14248         * math/w_exp2l.c (__exp2l): Likewise.
14249         * math/auto-libm-test-in: Do not allow missing errno on exp2
14250         underflow.
14251         * math/auto-libm-test-out: Regenerated.
14253 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14255         [BZ #16274]
14256         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14257         handle filename validation.
14258         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14259         (do_open): Delete.
14261 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14263         [BZ #6786]
14264         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14265         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14266         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14267         <float.h>.
14268         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14269         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14270         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14271         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14272         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14273         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14274         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14275         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14276         Add more erfc tests.
14277         * math/auto-libm-test-out: Regenerated.
14278         * sysdeps/i386/fpu/libm-test-ulps: Update.
14279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14281         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14282         exp2, expm1, j0 and j1.
14283         * math/auto-libm-test-out: Regenerated.
14284         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14285         (erfc_test_data): Likewise.
14286         (exp_test_data): Likewise.
14287         (exp_tonearest_test_data): Likewise.
14288         (exp_towardzero_test_data): Likewise.
14289         (exp_downward_test_data): Likewise.
14290         (exp_upward_test_data): Likewise.
14291         (exp10_test_data): Likewise.
14292         (exp2_test_data): Likewise.
14293         (expm1_test_data): Likewise.
14294         (j0_test_data): Likewise.
14295         (j1_test_data): Likewise.
14296         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14297         (input_flag_type): Add flag_xfail_rounding.
14298         (input_flags): Add xfail-rounding.
14299         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14300         (output_for_one_input_case): Handle flag_xfail_rounding.
14301         * sysdeps/i386/fpu/libm-test-ulps: Update.
14302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14304 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14306         [BZ #16289]
14307         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14308         division by 0.
14310 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14312         [BZ #16195]
14313         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14314         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14315         (STAP_PROBE0): New macro.
14316         (STAP_PROBE1): Likewise.
14317         (STAP_PROBE2): Likewise.
14318         (STAP_PROBE3): Likewise.
14319         (STAP_PROBE4): Likewise.
14321 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14323         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14325 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14327         * benchtests/Makefile (bench): Add sqrt.
14328         (LDLIBS-bench-sqrt): New.
14329         * benchtests/sqrt-input: New.
14331 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14333         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14334         (GAIH_EAI): Likewise.
14335         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14336         (gaih_inet): Likewise.
14337         (getaddrinfo): Don't use GAIH_EAI.
14339         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14340         (struct gaih): Remove definition.
14342 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14344         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14345         Use HERRNOP directly.
14347 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14351 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14353         * math/gen-auto-libm-tests.c (test_functions): Add more
14354         single-argument functions.
14355         (special_fill_pi_2): New function.
14356         (special_fill_minus_pi_2): Likewise.
14357         (special_fill_pi_6): Likewise.
14358         (special_fill_minus_pi_6): Likewise.
14359         (special_fill_pi_3): Likewise.
14360         (special_fill_2pi_3): Likewise.
14361         (special_fill_e): Likewise.
14362         (special_fill_1_e): Likewise.
14363         (special_fill_e_minus_1): Likewise.
14364         (special_real_inputs): Add more special inputs.
14365         (output_for_one_input_case): Do not require ERANGE on underflow to
14366         zero if round-to-nearest result does not underflow to zero, unless
14367         exact results required.
14368         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14369         atan, atanh, cbrt, cos and cosh.
14370         * math/auto-libm-test-out: Regenerated.
14371         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14372         (acos_tonearest_test_data): Likewise.
14373         (acos_towardzero_test_data): Likewise.
14374         (acos_downward_test_data): Likewise.
14375         (acos_upward_test_data): Likewise.
14376         (acosh_test_data): Likewise.
14377         (asin_test_data): Likewise.
14378         (asin_tonearest_test_data): Likewise.
14379         (asin_towardzero_test_data): Likewise.
14380         (asin_upward_test_data): Likewise.
14381         (asinh_test_data): Likewise.
14382         (atan_test_data): Likewise.
14383         (atanh_test_data): Likewise.
14384         (cbrt_test_data): Likewise.
14385         (cos_test_data): Likewise.
14386         (cos_tonearest_test_data): Likewise.
14387         (cos_towardzero_test_data): Likewise.
14388         (cos_downward_test_data): Likewise.
14389         (cos_upward_test_data): Likewise.
14390         (cosh_test_data): Likewise.
14391         (cosh_tonearest_test_data): Likewise.
14392         (cosh_towardzero_test_data): Likewise.
14393         (cosh_downward_test_data): Likewise.
14394         (cosh_upward_test_data): Likewise.
14395         * sysdeps/i386/fpu/libm-test-ulps: Update.
14396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14398 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14400         [BZ #6787]
14401         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14402         * math/w_exp10f.c (__exp10f): Likewise.
14403         * math/w_exp10l.c (__exp10l): Likewise.
14404         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14405         errno settings in existing tests.
14407         [BZ #14032]
14408         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14409         precision control set to double precision.
14410         * sysdeps/i386/fpu/w_sqrt.c: New file.
14411         * math/auto-libm-test-in: Add more tests.
14412         * math/auto-libm-test-out: Update.
14414         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14415         (sqrt_test_tonearest): New function.
14416         (sqrt_towardzero_test_data): New variable.
14417         (sqrt_test_towardzero): New function.
14418         (sqrt_downward_test_data): New variable.
14419         (sqrt_test_downward): New function.
14420         (sqrt_upward_test_data): New variable.
14421         (sqrt_test_upward): New function.
14422         (main): Call the new functions.
14424         * math/gen-auto-libm-tests.c: New file.
14425         * math/auto-libm-test-in: Likewise.
14426         * math/auto-libm-test-out: New generated file.
14427         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14428         variables.
14429         (%beautify): Add generated representations of zero.
14430         (top level): Set $auto_input and call parse_auto_input.
14431         (beautify): Remove trailing "f" from hex float constants.
14432         (parse_args): Handle XFAIL_TEST.
14433         (convert_condition): New function.
14434         (or_value): Likewise.
14435         (or_cond_value): Likewise.
14436         (generate_testfile): Handle AUTO_TESTS_* lines.
14437         (parse_auto_input): New function.
14438         * math/libm-test.inc (XFAIL_TEST): New macro.
14439         (ERRNO_UNCHANGED): Update value.
14440         (ERRNO_EDOM): Likewise.
14441         (ERRNO_ERANGE): Likewise.
14442         (IGNORE_RESULT): Likewise.
14443         (TEST_COND_flt_32): New macro.
14444         (TEST_COND_dbl_64): Likewise.
14445         (TEST_COND_ldbl_96_intel): Likewise.
14446         (TEST_COND_ldbl_96_m68k): Likewise.
14447         (TEST_COND_ldbl_128): Likewise.
14448         (TEST_COND_ldbl_128ibm): Likewise.
14449         (TEST_COND_long32): Likewise.
14450         (TEST_COND_long64): Likewise.
14451         (TEST_COND_before_rounding): Likewise.
14452         (TEST_COND_after_rounding): Likewise.
14453         (enable_test): Handle XFAIL_TEST flag.
14454         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14455         with finite results.
14456         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14457         auto-libm-test-out.
14459 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14460             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14462         [BZ #16214]
14463         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14464         __tls_get_addr_internal instead of __tls_get_offset in order to
14465         avoid GOT pointer dependency.  Make rtld export
14466         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14467         __tls_get_addr since we are a __tls_get_offset platform.
14468         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14469         GOT pointer being set up before.
14470         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14472 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14474         * manual/math.texi (Errors in Math Functions): Document accuracy
14475         goals.
14477         [BZ #15004]
14478         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14479         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14480         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14481         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14482         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14483         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14484         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14485         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14486         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14487         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14488         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14489         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14490         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14491         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14492         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14493         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14495         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14496         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14497         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14498         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14499         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14500         Likewise.
14501         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14502         Likewise.
14503         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14504         Likewise.
14505         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14506         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14507         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14508         atomic-feupdateenv and flt-rounds.
14509         * sysdeps/powerpc/nofpu/Versions (libc): Add
14510         __atomic_feholdexcept, __atomic_feclearexcept,
14511         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14512         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14513         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14514         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14515         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14516         here.
14517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14518         Update.
14520         * manual/arith.texi (FP Exceptions): Document that exceptions may
14521         not be raised when matherr is used.
14522         (Math Error Reporting): Document overflow in directed rounding
14523         modes.  Document that errno may not be set when finite values are
14524         returned on overflow.  Document intent to set errno on underflow
14525         only for underflow to zero.
14527         [BZ #16271]
14528         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14529         round-to-nearest then adjust result for other rounding modes.
14530         * include/fenv.h (fegetround): Use libm_hidden_proto.
14531         * math/fegetround.c (fegetround): Use libm_hidden_def.
14532         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14533         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14534         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14535         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14536         Likewise.
14537         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14538         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14539         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14540         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14542 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14544         [BZ #16077]
14545         * nss/Versions (libnss_files): Add
14546         _nss_files_gethostbyname3_r.
14547         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14548         New function.
14549         (HOST_DB_LOOKUP): Remove macro.
14550         (_nss_files_gethostbyname_r): Implement function without the
14551         HOST_DB_LOOKUP macro.
14552         (_nss_files_gethostbyname2_r): Likewise.
14554 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14556         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14558 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14560         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14561         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14562         warning.
14564 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14566         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14567         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14568         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14569         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14570         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14571         __fe_nomask_env_priv and attribute_hidden.
14572         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14573         (libc_feupdateenv_test_ppc): Likewise.
14574         (libc_feresetround_ppc): Likewise.
14575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14576         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14577         compat_symbol macro.
14578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14579         (__fe_nomask_env): Likewise.
14580         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14582 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14584         * string/Makefile: Remove ifunc tests.
14585         * string/test-string.h: Define TEST_IFUNC.
14586         * string/test-bcopy-ifunc.c: Remove.
14587         * string/test-bzero-ifunc.c: Likewise.
14588         * string/test-memccpy-ifunc.c: Likewise.
14589         * string/test-memchr-ifunc.c: Likewise.
14590         * string/test-memcmp-ifunc.c: Likewise.
14591         * string/test-memcpy-ifunc.c: Likewise.
14592         * string/test-memmem-ifunc.c: Likewise.
14593         * string/test-memmove-ifunc.c: Likewise.
14594         * string/test-mempcpy-ifunc.c: Likewise.
14595         * string/test-memrchr-ifunc.c: Likewise.
14596         * string/test-memset-ifunc.c: Likewise.
14597         * string/test-rawmemchr-ifunc.c: Likewise.
14598         * string/test-stpcpy-ifunc.c: Likewise.
14599         * string/test-stpncpy-ifunc.c: Likewise.
14600         * string/test-strcasecmp-ifunc.c: Likewise.
14601         * string/test-strcasestr-ifunc.c: Likewise.
14602         * string/test-strcat-ifunc.c: Likewise.
14603         * string/test-strchr-ifunc.c: Likewise.
14604         * string/test-strchrnul-ifunc.c: Likewise.
14605         * string/test-strcmp-ifunc.c: Likewise.
14606         * string/test-strcpy-ifunc.c: Likewise.
14607         * string/test-strcspn-ifunc.c: Likewise.
14608         * string/test-strlen-ifunc.c: Likewise.
14609         * string/test-strncasecmp-ifunc.c: Likewise.
14610         * string/test-strncat-ifunc.c: Likewise.
14611         * string/test-strncmp-ifunc.c: Likewise.
14612         * string/test-strncpy-ifunc.c: Likewise.
14613         * string/test-strnlen-ifunc.c: Likewise.
14614         * string/test-strpbrk-ifunc.c: Likewise.
14615         * string/test-strrchr-ifunc.c: Likewise.
14616         * string/test-strspn-ifunc.c: Likewise.
14617         * string/test-strstr-ifunc.c: Likewise.
14619 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14621         * benchtests/Makefile: Remove ifunc tests.
14622         * benchtests/bench-string.h: Define TEST_IFUNC.
14623         * benchtests/bench-bcopy-ifunc.c: Remove.
14624         * benchtests/bench-bzero-ifunc.c: Likewise.
14625         * benchtests/bench-memccpy-ifunc.c: Likewise.
14626         * benchtests/bench-memchr-ifunc.c: Likewise.
14627         * benchtests/bench-memcmp-ifunc.c: Likewise.
14628         * benchtests/bench-memcpy-ifunc.c: Likewise.
14629         * benchtests/bench-memmem-ifunc.c: Likewise.
14630         * benchtests/bench-memmove-ifunc.c: Likewise.
14631         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14632         * benchtests/bench-memrchr-ifunc.c: Likewise.
14633         * benchtests/bench-memset-ifunc.c: Likewise.
14634         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14635         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14636         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14637         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14638         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14639         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14640         * benchtests/bench-strcat-ifunc.c: Likewise.
14641         * benchtests/bench-strchr-ifunc.c: Likewise.
14642         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14643         * benchtests/bench-strcmp-ifunc.c: Likewise.
14644         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14645         * benchtests/bench-strcpy-ifunc.c: Likewise.
14646         * benchtests/bench-strcspn-ifunc.c: Likewise.
14647         * benchtests/bench-strlen-ifunc.c: Likewise.
14648         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14649         * benchtests/bench-strncat-ifunc.c: Likewise.
14650         * benchtests/bench-strncmp-ifunc.c: Likewise.
14651         * benchtests/bench-strncpy-ifunc.c: Likewise.
14652         * benchtests/bench-strnlen-ifunc.c: Likewise.
14653         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14654         * benchtests/bench-strrchr-ifunc.c: Likewise.
14655         * benchtests/bench-strsep-ifunc.c: Likewise.
14656         * benchtests/bench-strspn-ifunc.c: Likewise.
14657         * benchtests/bench-strstr-ifunc.c: Likewise.
14659 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14661         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14663 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14665         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14666         * rt/aio.h: Likewise.
14667         * sysdeps/gnu/bits/utmp.h: Likewise.
14668         * sysdeps/gnu/bits/utmpx.h: Likewise.
14669         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14670         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14671         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14672         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14673         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14674         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14675         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14676         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14677         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14678         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14679         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14680         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14681         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14683         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14684         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14685         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14686         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14687         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14688         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14689         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14690         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14691         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14692         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14693         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14695         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14696         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14697         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14698         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14699         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14700         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14701         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14702         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14703         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14704         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14705         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14706         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14707         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14708         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14709         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14710         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14712 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14714         [BZ #16245]
14715         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14716         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14718 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14720         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14721         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14722         Likewise.
14724 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14726         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14727         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14728         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14729         (__fesetround): Remove define.
14730         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14731         rounding and exceptions handling.
14732         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14733         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14734         (__fe_nomask_env): Likewise.
14735         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14736         __fegetround instead of fegetround.
14737         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14738         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14740 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14742         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14743         it's there.
14745         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14747 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14749         [BZ #11157]
14750         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14751         (encrypt_r): Likewise.
14752         * malloc/obstack.h (obstack_free): Likewise.
14753         * posix/unistd.h (encrypt): Likewise.
14755 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14757         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14758         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14759         DL_CALL_DT_FINI() that call the functions directly.
14760         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14761         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14762         * elf/dl-fini.c: Likewise.
14764 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14766         * malloc/hooks.c (memalign_check): Add alignment rounding.
14767         * malloc/malloc.c (_mid_memalign): New function.
14768         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14769         Implement by calling _mid_memalign.
14770         * manual/probes.texi (Memory Allocation Probes): Remove
14771         memory_valloc_retry and memory_pvalloc_retry.
14773 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14775         * locale/programs/locarchive.c (open_archive): Add const
14776         qualifier to ARCHIVEFNAME and copy default fname to
14777         DEFAULT_FNAME.
14779         [BZ #15601]
14780         * libio/tst-widetext.input: Rename Oriya to Odia.
14781         * locale/iso-639.def: Likewise.
14783         * manual/probes.texi (Mathematical Function Probes): Add
14784         documentation for sin, cos, asin and acos probes.
14785         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14786         (__sin32): Add slowasin probe.
14787         (__cos32): Add slowacos probe.
14788         (__mpsin): Add slowsin probe.
14789         (__mpcos): Add slowcos probe.
14791 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14793         [BZ #15483]
14794         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14795         thread-local __sim_exceptions_thread and global
14796         __sim_exceptions_global.
14797         (__sim_disabled_exceptions): Change to thread-local
14798         __sim_disabled_exceptions_thread and global
14799         __sim_disabled_exceptions_global.
14800         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14801         and global __sim_round_mode_global.
14802         (__simulate_exceptions): Use thread-local floating-point state and
14803         set global state from it as needed.
14804         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14805         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14806         __sim_round_mode_thread.
14807         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14808         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14809         and global __sim_exceptions_global.
14810         (__sim_disabled_exceptions): Change to thread-local
14811         __sim_disabled_exceptions_thread and global
14812         __sim_disabled_exceptions_global.
14813         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14814         and global __sim_round_mode_global.
14815         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14816         (SIM_SET_GLOBAL): Likewise.
14817         * sysdeps/powerpc/soft-fp/sfp-machine.h
14818         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14819         __sim_round_mode_thread.
14820         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14821         __sim_disabled_exceptions_thread.
14822         (__sim_exceptions): Change to __sim_exceptions_thread.
14823         (__sim_disabled_exceptions): Change to
14824         __sim_disabled_exceptions_thread.
14825         (__sim_round_mode): Change to __sim_round_mode_thread.
14826         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14827         thread-local floating-point state and set global state from it as
14828         needed.
14829         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14830         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14831         (__sim_disabled_exceptions): Remove extern declaration.
14832         (feenableexcept): Use thread-local floating-point state and set
14833         global state from it as needed.
14834         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14835         extern declaration.
14836         (__sim_disabled_exceptions): Likewise.
14837         (__sim_round_mode): Likewise.
14838         (__fegetenv): Use thread-local floating-point state.
14839         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14840         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14841         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14842         floating-point state and set global state from it as needed.
14843         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14844         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14845         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14846         Likewise.
14847         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14848         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14849         Likewise.
14850         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14851         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14852         Use __sim_round_mode_thread.
14853         * math/test-fenv-tls.c: New file.
14854         * math/Makefile (tests): Add test-fenv-tls.
14855         ($(objpfx)test-fenv-tls): Depend on
14856         $(common-objpfx)nptl/libpthread.so.
14858 2013-11-19  Andreas Schwab  <schwab@suse.de>
14860         * locale/programs/locale.c (show_info): Decode wordarray elements.
14861         * locale/categories.def (LC_MONETARY): Add element for
14862         _NL_MONETARY_CRNCYSTR.
14863         * locale/C-monetary.c (conversion_rate): New variable.
14864         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14865         element.
14867 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14869         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14870         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14872 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14874         * elf/Makefile (tst-auxv): New test.
14875         * elf/tst-auxv.c: New
14876         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14878 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14880         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14881         (hidden_proto): Caller changed.
14882         (hidden_tls_proto): New macro.
14883         (libc_hidden_tls_proto): Likewise.
14884         (rtld_hidden_tls_proto): Likewise.
14885         (libm_hidden_tls_proto): Likewise.
14886         (libresolv_hidden_tls_proto): Likewise.
14887         (librt_hidden_tls_proto): Likewise.
14888         (libdl_hidden_tls_proto): Likewise.
14889         (libnss_files_hidden_tls_proto): Likewise.
14890         (libnsl_hidden_tls_proto): Likewise.
14891         (libnss_nisplus_hidden_tls_proto): Likewise.
14892         (libutil_hidden_tls_proto): Likewise.
14894 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14896         [BZ #10253]
14897         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14898         (decompose_rpath): Defer expansion to fillin_rpath.
14899         (_dl_init_paths): Pass linkmap to fillin_rpath.
14901 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14903         * benchtests/Makefile: Add strsep.
14904         * benchtests/bench-strsep.c: New file: strsep benchtest.
14905         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14907 2013-11-18  Andreas Schwab  <schwab@suse.de>
14909         * locale/programs/locale.c (show_info) [case byte]: Check for
14910         '\377' instead of '\177'.
14911         * locale/C-monetary.c (not_available): Always use "\377".
14912         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14913         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14914         detect unavailable sign_posn locale elements.
14915         * locale/localeconv.c (__localeconv): For grouping and
14916         mon_grouping handle "\177" and "\377" like no grouping.
14917         (INT_ELEM): New macro.  Use it to set all numeric members.
14918         * locale/programs/ld-monetary.c (monetary_read)
14919         <tok_mon_grouping>: Normalize single -1 to the empty string.
14920         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14921         Likewise.
14923 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14925         [BZ #16055]
14926         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14927         when we match (nil).
14928         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14930 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14932         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14933         (NO_TEST_INLINE): Update value.
14934         (ERRNO_UNCHANGED): Likewise.
14935         (ERRNO_EDOM): Likewise.
14936         (ERRNO_ERANGE): Likewise.
14937         (IGNORE_RESULT): Likewise.
14938         (check_float_internal): Check signs of NaN results if
14939         TEST_NAN_SIGN used.
14940         (check_complex): Pass TEST_NAN_SIGN flag through to second
14941         check_float_internal call.
14942         (copysign_test_data): Add tests with quiet NaNs as second
14943         argument.  Use TEST_NAN_SIGN.
14944         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14945         TEST_NAN_SIGN.
14946         (signbit_test_data): Add tests of quiet NaN argument.
14947         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14949         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14950         $ignore_result.
14951         (parse_args): Handle function results specified as IGNORE.
14952         * math/libm-test.inc (IGNORE_RESULT): New macro.
14953         (check_float_internal): Do not check numerical result if flag
14954         IGNORE_RESULT set.
14955         (check_complex): Pass through IGNORE_RESULT to second
14956         check_float_internal call.
14957         (check_int): Do not check numerical result if flag IGNORE_RESULT
14958         set.
14959         (check_long): Likewise.
14960         (check_bool): Likewise.
14961         (check_longlong): Likewise.
14962         (lrint_test_data): Add tests of infinite and NaN arguments.
14963         (lrint_tonearest_test_data): Likewise.
14964         (lrint_towardzero_test_data): Likewise.
14965         (lrint_downward_test_data): Likewise.
14966         (lrint_upward_test_data): Likewise.
14967         (llrint_test_data): Likewise.
14968         (llrint_tonearest_test_data): Likewise.
14969         (llrint_towardzero_test_data): Likewise.
14970         (llrint_downward_test_data): Likewise.
14971         (llrint_upward_test_data): Likewise.
14972         (lround_test_data): Likewise.
14973         (llround_test_data): Likewise.
14975         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14976         (ERRNO_UNCHANGED): Update value.
14977         (ERRNO_EDOM): Likewise.
14978         (ERRNO_ERANGE): Likewise.
14979         (NO_TEST_INLINE_FLOAT): New macro.
14980         (NO_TEST_INLINE_DOUBLE): Likewise.
14981         (enable_test): New function.
14982         (RUN_TEST_f_f): Check enable_test before running test.
14983         (RUN_TEST_2_f): Likewise.
14984         (RUN_TEST_fff_f): Likewise.
14985         (RUN_TEST_c_f): Likewise.
14986         (RUN_TEST_f_f1): Likewise.
14987         (RUN_TEST_fF_f1): Likewise.
14988         (RUN_TEST_fI_f1): Likewise.
14989         (RUN_TEST_ffI_f1): Likewise.
14990         (RUN_TEST_c_c): Likewise.
14991         (RUN_TEST_cc_c): Likewise.
14992         (RUN_TEST_f_i): Likewise.
14993         (RUN_TEST_f_i_tg): Likewise.
14994         (RUN_TEST_ff_i_tg): Likewise.
14995         (RUN_TEST_f_b): Likewise.
14996         (RUN_TEST_f_b_tg): Likewise.
14997         (RUN_TEST_f_l): Likewise.
14998         (RUN_TEST_f_L): Likewise.
14999         (RUN_TEST_fFF_11): Likewise.
15000         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15001         conditionals.
15002         (cosh_test_data): Likewise.
15003         (exp_test_data): Likewise.
15004         (expm1_test_data): Likewise.
15005         (hypot_test_data): Likewise.
15006         (pow_test_data): Likewise.
15007         (sinh_test_data): Likewise.
15008         (tanh_test_data): Likewise.
15009         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15010         flags argument.
15012         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15013         tests with quiet NaN input and output.
15014         (acosh_test_data): Likewise.
15015         (asin_test_data): Likewise.
15016         (asinh_test_data): Likewise.
15017         (atan_test_data): Likewise.
15018         (atanh_test_data): Likewise.
15019         (atan2_test_data): Likewise.
15020         (cbrt_test_data): Likewise.
15021         (cos_test_data): Likewise.
15022         (cosh_test_data): Likewise.
15023         (erf_test_data): Likewise.
15024         (erfc_test_data): Likewise.
15025         (exp_test_data): Likewise.
15026         (exp10_test_data): Likewise.
15027         (exp2_test_data): Likewise.
15028         (expm1_test_data): Likewise.
15029         (hypot_test_data): Likewise.
15030         (j0_test_data): Likewise.
15031         (j1_test_data): Likewise.
15032         (jn_test_data): Likewise.
15033         (lgamma_test_data): Likewise.
15034         (log_test_data): Likewise.
15035         (log10_test_data): Likewise.
15036         (log1p_test_data): Likewise.
15037         (log2_test_data): Likewise.
15038         (pow_test_data): Likewise.
15039         (scalb_test_data): Likewise.
15040         (sin_test_data): Likewise.
15041         (sincos_test_data): Likewise.
15042         (sinh_test_data): Likewise.
15043         (tan_test_data): Likewise.
15044         (tanh_test_data): Likewise.
15045         (tgamma_test_data): Likewise.
15046         (y0_test_data): Likewise.
15047         (y1_test_data): Likewise.
15048         (yn_test_data): Likewise.
15050         [BZ #16167]
15051         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15052         argument being NaN and avoid computations with second argument in
15053         that case.
15054         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15055         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15056         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15058 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15060         * locale/iso-639.def: Add Chitwani Tharu (the).
15062 2013-11-14  Andreas Schwab  <schwab@suse.de>
15064         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15065         word instead of empty string.
15067 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15070         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15072         (__fe_nomask_env): Likewise.
15074 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15076         * benchtests/bench-timing.h: Include time.h.
15078 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15080         [BZ #15997]
15081         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15082         to 3.4.0 for x32.
15083         * sysdeps/unix/sysv/linux/configure: Regenerated.
15085 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15087         [BZ #16151]
15088         * stdlib/strtod_l.c (round_and_return): Do not consider
15089         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15090         exponent one less than half the least subnormal exponent.
15091         * stdlib/test-strtod-round-data: Add more tests.
15092         * stdlib/tst-strtod-round.c (tests): Regenerated.
15094 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15096         [BZ #14143]
15097         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15098         (__fe_mask_env): Likewise.
15099         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15100         libm_hidden_proto and add function prototype.
15101         (__fe_mask_env): Add function prototype.
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15103         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15105         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15107         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15109 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15111         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15112         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15114 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15116         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15117         of htab_find_slot().
15119 2013-11-11  David S. Miller  <davem@davemloft.net>
15121         [BZ #16150]
15122         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15123         symbol in the non-vis3 case in static builds.
15124         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15125         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15126         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15127         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15129 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15131         [BZ #387]
15132         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15133         it is empty.
15135 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15137         * benchtests/Makefile: Add bench-strtod.
15138         * benchtests/bench-strtod.c: New file: strtod benchtest
15140 2013-11-11  Andreas Schwab  <schwab@suse.de>
15142         [BZ #16153]
15143         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15144         terminating NUL in key length.
15146 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15148         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15149         Add artificial ODP entry for vDSO symbol for PPC64.
15150         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15151         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15153 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15155         [BZ #15374]
15156         * nss/getent.c (services_keys): Recognize services starting with digit.
15158 2013-11-06  David S. Miller  <davem@davemloft.net>
15160         [BZ #15985]
15161         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15162         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15164 2013-11-06  Will Newton  <will.newton@linaro.org>
15166         * manual/memory.texi (Malloc Examples): Remove register
15167         keyword from examples.
15169 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15171         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15173 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15175         [BZ #6981]
15176         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15177         depending on [__GCC_IEC_559 > 0].
15178         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15179         depending on [__GCC_IEC_559_COMPLEX > 0].
15181 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15183         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15184         to iso-639.def.
15186 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15188         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15190 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15192         [BZ #16112]
15193         * malloc/malloc (malloc_info): Do not handle first bin as
15194         special case.
15196 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15198         * locale/iso-639.def: Add Central Nahuatl (nhn).
15200 2013-11-01  Bruno Haible  <bruno@clisp.org>
15202         [BZ #7003]
15203         * manual/math.texi (BSD Random): Specify range upper bound as
15204         in POSIX.
15206 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15208         * locale/iso-639.def: Add Meadow Mari (mhr).
15210 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15212         [BZ #14752], [BZ #15763]
15213         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15214         Validate name.
15215         * rt/tst_shm.c: Add test for escaping directory.
15217 2013-10-31  Andreas Schwab  <schwab@suse.de>
15219         [BZ #15917]
15220         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15221         followed by 'x' as part of digit sequence.
15222         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15224 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15226         [BZ #16037]
15227         * configure.ac: allow GNU Make 4.0 and greater.
15228         * configure: Regenerated.
15230 2013-10-30  Will Newton  <will.newton@linaro.org>
15232         [BZ #16038]
15233         * malloc/hooks.c (memalign_check): Limit alignment to the
15234         maximum representable power of two.
15235         * malloc/malloc.c (__libc_memalign): Likewise.
15236         * malloc/tst-memalign.c (do_test): Add test for very
15237         large alignment values.
15238         * malloc/tst-posix_memalign.c (do_test): Likewise.
15240 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15242         [BZ #11087]
15243         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15244         (munmap_chunk): Likewise.
15245         (mremap_chunk): Likewise.
15247 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15249         [BZ #15799]
15250         * stdlib/div.c (div): Remove obsolete code.
15251         * stdlib/ldiv.c (ldiv): Likewise.
15252         * stdlib/lldiv.c (lldiv): Likewise.
15254 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15256         [BZ #16071]
15257         * nss/nss_files/files-XXX.c (get_contents_ret): New
15258         enumerator.
15259         (get_contents): New function.
15260         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15262 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15264         * configure.in: Moved to ...
15265         * configure.ac: ... here. Change reference to configure.in
15266         to configure.ac.
15267         * sysdeps/arm/preconfigure.ac: ... here.
15268         configure.in to configure.ac.
15269         * sysdeps/gnu/configure.in: Moved to ...
15270         * sysdeps/gnu/configure.ac: ... here.
15271         * sysdeps/i386/configure.in: Moved to ...
15272         * sysdeps/i386/configure.ac: ... here.
15273         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15274         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15275         * sysdeps/mach/configure.in: Moved to ...
15276         * sysdeps/mach/configure.ac: ... here.
15277         * sysdeps/mach/hurd/configure.in: Moved to ...
15278         * sysdeps/mach/hurd/configure.ac: ... here.
15279         * sysdeps/powerpc/configure.in: Moved to ...
15280         * sysdeps/powerpc/configure.ac: ... here.
15281         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15282         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15283         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15284         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15285         * sysdeps/s390/s390-32/configure.in: Moved to ...
15286         * sysdeps/s390/s390-32/configure.ac: ... here.
15287         * sysdeps/s390/s390-64/configure.in: Moved to ...
15288         * sysdeps/s390/s390-64/configure.ac: ... here.
15289         * sysdeps/sh/configure.in: Moved to ...
15290         * sysdeps/sh/configure.ac: ... here.
15291         * sysdeps/sparc/configure.in: Moved to ...
15292         * sysdeps/sparc/configure.ac: ... here.
15293         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15294         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15295         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15296         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15297         * sysdeps/x86_64/configure.in: Moved to ...
15298         * sysdeps/x86_64/configure.ac: ... here.
15299         * sysdeps/x86_64/preconfigure.in: Moved to ...
15300         * sysdeps/x86_64/preconfigure.ac: ... here.
15301         * aclocal.m4: Change reference to configure.in to configure.ac.
15302         * config.h.in: Likewise.
15303         * manual/install.texi: Likewise.
15304         * manual/maint.texi: Likewise.
15305         * Makefile: Likewise.
15306         * malloc/Makefile: Likewise.
15307         * nscd/Makefile: Likewise.
15308         * Makeconfig: Change reference to configure.in and
15309         preconfigure.in to configure.ac and preconfigure.ac
15310         respectively.
15311         * INSTALL: Regenerated.
15312         * configure: Likewise.
15313         * sysdeps/gnu/configure: Likewise.
15314         * sysdeps/i386/configure: Likewise.
15315         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15316         * sysdeps/mach/configure: Likewise.
15317         * sysdeps/mach/hurd/configure: Likewise.
15318         * sysdeps/powerpc/configure: Likewise.
15319         * sysdeps/powerpc/powerpc32/configure: Likewise.
15320         * sysdeps/powerpc/powerpc64/configure: Likewise.
15321         * sysdeps/s390/s390-32/configure: Likewise.
15322         * sysdeps/s390/s390-64/configure: Likewise.
15323         * sysdeps/sh/configure: Likewise.
15324         * sysdeps/sparc/configure: Likewise.
15325         * sysdeps/unix/sysv/linux/configure: Likewise.
15326         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15327         * sysdeps/x86_64/configure: Likewise.
15328         * sysdeps/x86_64/preconfigure: Likewise.
15330 2013-10-29  Andreas Schwab  <schwab@suse.de>
15332         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15334 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15336         * benchtests/pow-inputs: Add new inputs.
15338         * benchtests/exp-inputs: Add new inputs.
15340         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15341         conditional check for return value.
15342         (__cos32): Likewise.
15344 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15346         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15347         to provide a boost for large inputs with word alignment.
15348         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15349         implementation based on optimized PPC64 strcpy.
15350         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15351         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15352         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15353         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15355 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15357         [BZ #2801]
15358         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15360 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15362         [BZ #14876]
15363         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15364         * time/tst-strptime.c (day_tests): Add testcase.
15366 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15368         [BZ #14029]
15369         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15371 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15373         [BZ #16074]
15374         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15375         MAP_FAILED on error.
15377 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15379         [BZ #16072]
15380         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15381         heap for large requests.
15383 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15385         [BZ #9954]
15386         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15387         result if the result has no associated interface.
15388         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15389         interface for all 127.X.Y.Z addresses.
15391 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15393         * locale/iso-639.def: Add Ligurian (lij)
15395 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15397         [BZ #15825]
15398         * sunrpc/rpc_main.c: Document rpcgen -5.
15400 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15402         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15404 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15406         [BZ #10278]
15407         * posix/glob.c: Match only directories when trailing slash is present.
15408         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15409         (main): Add testcase.
15411 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15413         [BZ #15670]
15414         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15416 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15418         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15419         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15420         AUTH_DES and cindex for FIPS 140-2.
15421         (DES Encryption): Add cindex FIPS 46-3.
15423         * locale/locarchive.h (struct locarhandle): Add fname.
15424         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15425         if an optional argument was specified to --list-archive,
15426         otherwise NULL.
15427         * locale/programs/locarchive.c (show_archive_content): Take new
15428         argument fname and pass it via ah.fname to open_archive.
15429         * locale/programs/localedef.h: Update decl.
15430         (open_archive): If AH->fname is non-null, open that file
15431         rather than the default file name, and don't ignore ENOENT.
15432         (create_archive): Set AH.fname to NULL.
15433         (delete_locales_from_archive): Likewise.
15434         (add_locales_to_archive): Likewise.
15435         * locale/programs/locfile.c (write_all_categories): Likewise.
15437 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15438             Aldy Hernandez  <aldyh@redhat.com>
15440         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15441         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15442         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15443         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15444         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15445         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15446         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15447         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15448         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15449         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15450         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15451         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15452         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15453         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15454         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15455         Likewise.
15456         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15457         Likewise.
15458         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15459         Likewise.
15460         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15461         Likewise.
15462         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15463         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15464         Likewise.
15465         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15466         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15467         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15468         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15469         Likewise.
15470         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15471         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15472         * sysdeps/powerpc/preconfigure: Likewise.
15473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15474         Likewise.
15475         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15476         Replace contents of file by #include of <fenv_libc.h>.
15477         * sysdeps/powerpc/soft-fp/sfp-machine.h
15478         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15479         and <sys/prctl.h>.
15480         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15482         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15483         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15484         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15485         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15487         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15488         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15491         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15493         Allow copysignl PLT reference to be missing.
15495 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15496             Joseph Myers  <joseph@codesourcery.com
15498         [BZ #15948]
15499         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15500         single character.
15501         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15503 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15505         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15506         * elf/tst-tls1.c: Likewise.
15507         * elf/tst-tls10.h: Likewise.
15508         * elf/tst-tls14.c: Likewise.
15509         * elf/tst-tls2.c: Likewise.
15510         * elf/tst-tls3.c: Likewise.
15511         * elf/tst-tls4.c: Likewise.
15512         * elf/tst-tls5.c: Likewise.
15513         * elf/tst-tls6.c: Likewise.
15514         * elf/tst-tls7.c: Likewise.
15515         * elf/tst-tls8.c: Likewise.
15516         * elf/tst-tls9.c: Likewise.
15517         * elf/tst-tlsmod1.c: Likewise.
15518         * elf/tst-tlsmod13.c: Likewise.
15519         * elf/tst-tlsmod13a.c: Likewise.
15520         * elf/tst-tlsmod14a.c: Likewise.
15521         * elf/tst-tlsmod16a.c: Likewise.
15522         * elf/tst-tlsmod16b.c: Likewise.
15523         * elf/tst-tlsmod2.c: Likewise.
15524         * elf/tst-tlsmod3.c: Likewise.
15525         * elf/tst-tlsmod4.c: Likewise.
15526         * elf/tst-tlsmod5.c: Likewise.
15527         * elf/tst-tlsmod6.c: Likewise.
15529 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15531         [BZ #12486]
15532         * malloc/malloc.c: remove checks for statistics.
15534 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15536         [BZ #15277]
15537         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15538         * inet/tst-network.c: Add testcase.
15540 2013-10-17  Andreas Schwab  <schwab@suse.de>
15542         [BZ #15218]
15543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15544         to determine canonical name.
15546 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15548         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15549         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15550         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15551         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15553         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15554         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15555         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15556         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15557         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15558         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15559         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15560         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15561         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15562         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15563         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15564         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15565         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15566         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15567         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15568         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15569         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15571         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15572         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15573         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15574         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15575         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15576         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15577         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15578         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15579         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15580         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15581         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15582         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15583         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15584         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15585         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15586         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15587         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15588         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15589         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15590         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15591         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15592         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15593         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15594         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15595         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15596         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15597         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15598         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15599         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15600         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15601         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15602         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15603         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15604         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15605         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15607 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15609         [BZ #16041]
15610         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15611         make result into a quiet NaN.
15613 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15615         * soft-fp/adddf3.c: Fix horizontal whitespace.
15616         * soft-fp/addsf3.c: Likewise.
15617         * soft-fp/addtf3.c: Likewise.
15618         * soft-fp/divdf3.c: Likewise.
15619         * soft-fp/divsf3.c: Likewise.
15620         * soft-fp/divtf3.c: Likewise.
15621         * soft-fp/double.h: Likewise.
15622         * soft-fp/eqdf2.c: Likewise.
15623         * soft-fp/eqsf2.c: Likewise.
15624         * soft-fp/eqtf2.c: Likewise.
15625         * soft-fp/extenddftf2.c: Likewise.
15626         * soft-fp/extended.h: Likewise.
15627         * soft-fp/extendsfdf2.c: Likewise.
15628         * soft-fp/extendsftf2.c: Likewise.
15629         * soft-fp/extendxftf2.c: Likewise.
15630         * soft-fp/fixdfdi.c: Likewise.
15631         * soft-fp/fixdfsi.c: Likewise.
15632         * soft-fp/fixdfti.c: Likewise.
15633         * soft-fp/fixsfdi.c: Likewise.
15634         * soft-fp/fixsfsi.c: Likewise.
15635         * soft-fp/fixsfti.c: Likewise.
15636         * soft-fp/fixtfdi.c: Likewise.
15637         * soft-fp/fixtfsi.c: Likewise.
15638         * soft-fp/fixtfti.c: Likewise.
15639         * soft-fp/fixunsdfdi.c: Likewise.
15640         * soft-fp/fixunsdfsi.c: Likewise.
15641         * soft-fp/fixunsdfti.c: Likewise.
15642         * soft-fp/fixunssfdi.c: Likewise.
15643         * soft-fp/fixunssfsi.c: Likewise.
15644         * soft-fp/fixunssfti.c: Likewise.
15645         * soft-fp/fixunstfdi.c: Likewise.
15646         * soft-fp/fixunstfsi.c: Likewise.
15647         * soft-fp/fixunstfti.c: Likewise.
15648         * soft-fp/floatdidf.c: Likewise.
15649         * soft-fp/floatdisf.c: Likewise.
15650         * soft-fp/floatditf.c: Likewise.
15651         * soft-fp/floatsidf.c: Likewise.
15652         * soft-fp/floatsisf.c: Likewise.
15653         * soft-fp/floatsitf.c: Likewise.
15654         * soft-fp/floattidf.c: Likewise.
15655         * soft-fp/floattisf.c: Likewise.
15656         * soft-fp/floattitf.c: Likewise.
15657         * soft-fp/floatundidf.c: Likewise.
15658         * soft-fp/floatundisf.c: Likewise.
15659         * soft-fp/floatunditf.c: Likewise.
15660         * soft-fp/floatunsidf.c: Likewise.
15661         * soft-fp/floatunsisf.c: Likewise.
15662         * soft-fp/floatunsitf.c: Likewise.
15663         * soft-fp/floatuntidf.c: Likewise.
15664         * soft-fp/floatuntisf.c: Likewise.
15665         * soft-fp/floatuntitf.c: Likewise.
15666         * soft-fp/fmadf4.c: Likewise.
15667         * soft-fp/fmasf4.c: Likewise.
15668         * soft-fp/fmatf4.c: Likewise.
15669         * soft-fp/gedf2.c: Likewise.
15670         * soft-fp/gesf2.c: Likewise.
15671         * soft-fp/getf2.c: Likewise.
15672         * soft-fp/ledf2.c: Likewise.
15673         * soft-fp/lesf2.c: Likewise.
15674         * soft-fp/letf2.c: Likewise.
15675         * soft-fp/muldf3.c: Likewise.
15676         * soft-fp/mulsf3.c: Likewise.
15677         * soft-fp/multf3.c: Likewise.
15678         * soft-fp/negdf2.c: Likewise.
15679         * soft-fp/negsf2.c: Likewise.
15680         * soft-fp/negtf2.c: Likewise.
15681         * soft-fp/op-1.h: Likewise.
15682         * soft-fp/op-2.h: Likewise.
15683         * soft-fp/op-4.h: Likewise.
15684         * soft-fp/op-8.h: Likewise.
15685         * soft-fp/op-common.h: Likewise.
15686         * soft-fp/quad.h: Likewise.
15687         * soft-fp/single.h: Likewise.
15688         * soft-fp/soft-fp.h: Likewise.
15689         * soft-fp/sqrtdf2.c: Likewise.
15690         * soft-fp/sqrtsf2.c: Likewise.
15691         * soft-fp/sqrttf2.c: Likewise.
15692         * soft-fp/subdf3.c: Likewise.
15693         * soft-fp/subsf3.c: Likewise.
15694         * soft-fp/subtf3.c: Likewise.
15695         * soft-fp/truncdfsf2.c: Likewise.
15696         * soft-fp/trunctfdf2.c: Likewise.
15697         * soft-fp/trunctfsf2.c: Likewise.
15698         * soft-fp/trunctfxf2.c: Likewise.
15699         * soft-fp/unorddf2.c: Likewise.
15700         * soft-fp/unordsf2.c: Likewise.
15701         * soft-fp/unordtf2.c: Likewise.
15703 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15705         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15706         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15708 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15710         * elf/dl-libc.c: Clear initfini list after freeing.
15712 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15714         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15715         * soft-fp/addsf3.c: Likewise.
15716         * soft-fp/addtf3.c: Likewise.
15717         * soft-fp/divdf3.c: Likewise.
15718         * soft-fp/divsf3.c: Likewise.
15719         * soft-fp/divtf3.c: Likewise.
15720         * soft-fp/double.h: Likewise.
15721         * soft-fp/eqdf2.c: Likewise.
15722         * soft-fp/eqsf2.c: Likewise.
15723         * soft-fp/eqtf2.c: Likewise.
15724         * soft-fp/extenddftf2.c: Likewise.
15725         * soft-fp/extended.h: Likewise.
15726         * soft-fp/extendsfdf2.c: Likewise.
15727         * soft-fp/extendsftf2.c: Likewise.
15728         * soft-fp/extendxftf2.c: Likewise.
15729         * soft-fp/fixdfdi.c: Likewise.
15730         * soft-fp/fixdfsi.c: Likewise.
15731         * soft-fp/fixdfti.c: Likewise.
15732         * soft-fp/fixsfdi.c: Likewise.
15733         * soft-fp/fixsfsi.c: Likewise.
15734         * soft-fp/fixsfti.c: Likewise.
15735         * soft-fp/fixtfdi.c: Likewise.
15736         * soft-fp/fixtfsi.c: Likewise.
15737         * soft-fp/fixtfti.c: Likewise.
15738         * soft-fp/fixunsdfdi.c: Likewise.
15739         * soft-fp/fixunsdfsi.c: Likewise.
15740         * soft-fp/fixunsdfti.c: Likewise.
15741         * soft-fp/fixunssfdi.c: Likewise.
15742         * soft-fp/fixunssfsi.c: Likewise.
15743         * soft-fp/fixunssfti.c: Likewise.
15744         * soft-fp/fixunstfdi.c: Likewise.
15745         * soft-fp/fixunstfsi.c: Likewise.
15746         * soft-fp/fixunstfti.c: Likewise.
15747         * soft-fp/floatdidf.c: Likewise.
15748         * soft-fp/floatdisf.c: Likewise.
15749         * soft-fp/floatditf.c: Likewise.
15750         * soft-fp/floatsidf.c: Likewise.
15751         * soft-fp/floatsisf.c: Likewise.
15752         * soft-fp/floatsitf.c: Likewise.
15753         * soft-fp/floattidf.c: Likewise.
15754         * soft-fp/floattisf.c: Likewise.
15755         * soft-fp/floattitf.c: Likewise.
15756         * soft-fp/floatundidf.c: Likewise.
15757         * soft-fp/floatundisf.c: Likewise.
15758         * soft-fp/floatunsidf.c: Likewise.
15759         * soft-fp/floatunsisf.c: Likewise.
15760         * soft-fp/floatuntidf.c: Likewise.
15761         * soft-fp/floatuntisf.c: Likewise.
15762         * soft-fp/floatuntitf.c: Likewise.
15763         * soft-fp/fmadf4.c: Likewise.
15764         * soft-fp/fmasf4.c: Likewise.
15765         * soft-fp/fmatf4.c: Likewise.
15766         * soft-fp/gedf2.c: Likewise.
15767         * soft-fp/gesf2.c: Likewise.
15768         * soft-fp/getf2.c: Likewise.
15769         * soft-fp/ledf2.c: Likewise.
15770         * soft-fp/lesf2.c: Likewise.
15771         * soft-fp/letf2.c: Likewise.
15772         * soft-fp/muldf3.c: Likewise.
15773         * soft-fp/mulsf3.c: Likewise.
15774         * soft-fp/multf3.c: Likewise.
15775         * soft-fp/negdf2.c: Likewise.
15776         * soft-fp/negsf2.c: Likewise.
15777         * soft-fp/negtf2.c: Likewise.
15778         * soft-fp/op-1.h: Likewise.
15779         * soft-fp/op-2.h: Likewise.
15780         * soft-fp/op-4.h: Likewise.
15781         * soft-fp/op-8.h: Likewise.
15782         * soft-fp/op-common.h: Likewise.
15783         * soft-fp/quad.h: Likewise.
15784         * soft-fp/single.h: Likewise.
15785         * soft-fp/soft-fp.h: Likewise.
15786         * soft-fp/sqrtdf2.c: Likewise.
15787         * soft-fp/sqrtsf2.c: Likewise.
15788         * soft-fp/sqrttf2.c: Likewise.
15789         * soft-fp/subdf3.c: Likewise.
15790         * soft-fp/subsf3.c: Likewise.
15791         * soft-fp/subtf3.c: Likewise.
15792         * soft-fp/truncdfsf2.c: Likewise.
15793         * soft-fp/trunctfdf2.c: Likewise.
15794         * soft-fp/trunctfsf2.c: Likewise.
15795         * soft-fp/trunctfxf2.c: Likewise.
15796         * soft-fp/unorddf2.c: Likewise.
15797         * soft-fp/unordsf2.c: Likewise.
15798         * soft-fp/unordtf2.c: Likewise.
15800 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15802         [BZ #15672]
15803         * misc/error.c (error_tail): Fix possible buffer overflow.
15805 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15807         [BZ #13028]
15808         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15809         address.
15811 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15813         [BZ #832]
15814         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15815         testing pipefail option.
15817 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15819         * soft-fp/double.h: Indent preprocessor directives inside #if.
15820         * soft-fp/extended.h: Likewise.
15821         * soft-fp/op-2.h: Likewise.
15822         * soft-fp/op-4.h: Likewise.
15823         * soft-fp/op-common.h: Likewise.
15824         * soft-fp/quad.h: Likewise.
15825         * soft-fp/single.h: Likewise.
15826         * soft-fp/soft-fp.h: Likewise.
15828 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15830         * iconv/iconv_prog.c: Fix typos.
15831         * stdio-common/psiginfo-data.h: Likewise.
15833 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15835         [BZ #15764]
15836         * locale/setlocale.c: Fix typo.
15838 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15840         [BZ #16036]
15841         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15842         signaling NaN arguments.
15843         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15844         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15846         [BZ #14910]
15847         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15848         unordered operands.
15849         * soft-fp/gesf2.c (__gesf2): Likewise.
15850         * soft-fp/getf2.c (__getf2): Likewise.
15851         * soft-fp/ledf2.c (__ledf2): Likewise.
15852         * soft-fp/lesf2.c (__lesf2): Likewise.
15853         * soft-fp/letf2.c (__letf2): Likewise.
15855         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15856         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15857         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15858         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15859         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15860         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15861         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15862         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15863         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15864         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15865         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15866         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15867         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15868         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15869         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15870         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15871         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15872         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15873         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15874         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15875         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15876         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15877         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15878         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15879         * soft-fp/floattidf.c (__floattidf): Likewise.
15880         * soft-fp/floattisf.c (__floattisf): Likewise.
15881         * soft-fp/floattitf.c (__floattitf): Likewise.
15882         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15883         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15884         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15885         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15886         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15887         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15888         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15889         * soft-fp/gesf2.c (__gesf2): Likewise.
15890         * soft-fp/getf2.c (__getf2): Likewise.
15891         * soft-fp/ledf2.c (__ledf2): Likewise.
15892         * soft-fp/lesf2.c (__lesf2): Likewise.
15893         * soft-fp/letf2.c (__letf2): Likewise.
15895         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15896         Undefine and redefine.
15897         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15898         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15899         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15900         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15901         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15902         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15903         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15904         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15905         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15906         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15907         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15908         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15909         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15910         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15911         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15913         [BZ #16032]
15914         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15915         without decrementing exponent if mantissa >= that for the
15916         denominator, not >.
15917         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15918         denominator, not >.  Decrement exponent in < case instead of
15919         incrementing in >= case.
15920         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15921         without decrementing exponent if mantissa >= that for the
15922         denominator, not >.
15924         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15925         computing saturated result for unsigned overflow.
15927 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15928             Jeff Law  <law@redhat.com>
15930         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15931         (atan2Mp): Add systemtap probe marker.
15932         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15933         (__ieee754_log): Add systemtap probe marker.
15934         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15935         (atanMp): Add systemtap probe marker.
15936         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15937         (tanMp): Add systemtap probe marker.
15938         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15939         (__slowexp): Add systemtap probe marker.
15940         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15941         (__slowpow): Add systemtap probe marker.
15942         * manual/probes.texi: Document probes.
15944 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15946         [BZ #15362]
15947         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15948         written.
15949         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15950         written.
15951         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15952         written to buffer but not flushed.
15953         * libio/iofwrite_u.c:  Likewise.
15954         * libio/iopadn.c:  Return bytes returned even if EOF was
15955         encountered.
15956         * libio/iowpadn.c:  Likewise.
15957         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15958         if _IO_padn does not write the whole buffer.
15959         [!COMPILE_WPRINTF] (PAD): Likewise.
15961 2013-10-10  David S. Miller  <davem@davemloft.net>
15963         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15964         directory block.
15966 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15968         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15969         instead of FSF address.
15970         * soft-fp/fixdfti.c: Likewise.
15971         * soft-fp/fixsfti.c: Likewise.
15972         * soft-fp/fixtfti.c: Likewise.
15973         * soft-fp/fixunsdfti.c: Likewise.
15974         * soft-fp/fixunssfti.c: Likewise.
15975         * soft-fp/fixunstfti.c: Likewise.
15976         * soft-fp/floattidf.c: Likewise.
15977         * soft-fp/floattisf.c: Likewise.
15978         * soft-fp/floattitf.c: Likewise.
15979         * soft-fp/floatuntidf.c: Likewise.
15980         * soft-fp/floatuntisf.c: Likewise.
15981         * soft-fp/floatuntitf.c: Likewise.
15982         * soft-fp/trunctfxf2.c: Likewise.
15984         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15985         * soft-fp/fixdfti.c: Likewise.
15986         * soft-fp/fixsfti.c: Likewise.
15987         * soft-fp/fixtfti.c: Likewise.
15988         * soft-fp/fixunsdfti.c: Likewise.
15989         * soft-fp/fixunssfti.c: Likewise.
15990         * soft-fp/fixunstfti.c: Likewise.
15991         * soft-fp/floattidf.c: Likewise.
15992         * soft-fp/floattisf.c: Likewise.
15993         * soft-fp/floattitf.c: Likewise.
15994         * soft-fp/floatuntidf.c: Likewise.
15995         * soft-fp/floatuntisf.c: Likewise.
15996         * soft-fp/floatuntitf.c: Likewise.
15997         * soft-fp/trunctfxf2.c: Likewise.
15999 2013-10-10  David S. Miller  <davem@davemloft.net>
16001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16003 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16005         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16006         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16007         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16008         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16009         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16010         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16011         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16013         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16014         for NaNs before doing comparisons on argument.
16015         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16016         Likewise.
16018 2013-10-10  Will Newton  <will.newton@linaro.org>
16020         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16021         passed to _int_memalign does not overflow.
16023 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16025         * scripts/bench.pl: Add include-sources directive.
16026         * benchtests/README: Update documentation.
16028 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16030         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16031         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16032         instead of FP_INIT_ROUNDMODE.
16033         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16034         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16036         [BZ #16034]
16037         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16038         copy class of input value.
16039         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16040         not handle exceptions.
16041         * soft-fp/negsf2.c (__negsf2): Likewise.
16042         * soft-fp/negtf2.c (__negtf2): Likewise.
16043         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16045 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16047         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16048         semicolon.  From Linux kernel.
16050 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16052         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16054 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16056         [BZ #156]
16057         * manual/socket.texi: Added statement about buffer
16058         for gethostbyname2_r.
16060 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16062         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16063         Use .p2align directive instead, throughout.
16064         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16065         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16066         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16067         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16068         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16069         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16070         * sysdeps/x86_64/strchr.S: Likewise.
16071         * sysdeps/x86_64/strrchr.S: Likewise.
16073 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16075         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16077         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16079         * sysdeps/generic/math_private.h (__mpsin1): Remove
16080         declaration.
16081         (__mpcos1): Likewise.
16082         (__mpsin): New argument __range_reduce.
16083         (__mpcos): Likewise.
16084         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16085         (slow): Use __mpsin and __mpcos.
16086         (slow1): Likewise.
16087         (slow2): Likewise.
16088         (sloww): Likewise.
16089         (sloww1): Likewise.
16090         (sloww2): Likewise.
16091         (bsloww): Likewise.
16092         (bsloww1): Likewise.
16093         (bsloww2): Likewise.
16094         (cslow2): Likewise.
16095         (csloww): Likewise.
16096         (csloww1): Likewise.
16097         (csloww2): Likewise.
16098         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16099         range_reduce.  Merge in __mpsin1.
16100         (__mpcos): Likewise.
16101         (__mpsin1): Remove.
16102         (__mpcos1): Likewise.
16104 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16106         * locale/loadlocale.c (_nl_intern_locale_data): Use
16107         LOCFILE_ALIGNED_P.
16108         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16109         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16110         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16111         obstack data is appropriately aligned.
16112         (obstack_int32_grow_fast): Likewise.
16113         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16114         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16115         (add_locale_uint32_array): Likewise.
16117 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16119         * benchtests/Makefile: Remove ARGLIST and RET variables.
16120         ($(objpfx)bench-%.c): Pass only function name to the script.
16121         * benchtests/README: Update documentation.
16122         * benchtests/acos-inputs: Add new directives.
16123         * benchtests/acosh-inputs: Likewise.
16124         * benchtests/asin-inputs: Likewise.
16125         * benchtests/asinh-inputs: Likewise.
16126         * benchtests/atan-inputs: Likewise.
16127         * benchtests/atanh-inputs: Likewise.
16128         * benchtests/cos-inputs: Likewise.
16129         * benchtests/cosh-inputs: Likewise.
16130         * benchtests/exp-inputs: Likewise.
16131         * benchtests/log-inputs: Likewise.
16132         * benchtests/pow-inputs: Likewise.
16133         * benchtests/rint-inputs: Likewise.
16134         * benchtests/sin-inputs: Likewise.
16135         * benchtests/sinh-inputs: Likewise.
16136         * benchtests/tan-inputs: Likewise.
16137         * benchtests/tanh-inputs: Likewise.
16138         * scripts/bench.pl: Add support for new directives.
16140 2013-10-07  Alan Modra  <amodra@gmail.com>
16142         * README: Fix careless merge.
16144 2013-10-05  Alan Modra  <amodra@gmail.com>
16146         * NEWS: Mention powerpc64le support and bugs fixed.
16147         * README: Both big-endian and little-endian powerpc64 supported.
16149 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16151         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16152         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16153         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16154         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16156 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16158         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16159         match prototype.
16161 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16163         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16164         Move -mhard-float appending from
16165         ports/sysdeps/powerpc/powerpc32/Makefile.
16166         [$(with-fp) = yes] (ASFLAGS): Likewise.
16167         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16168         * sysdeps/powerpc/nofpu: Move directory from
16169         ports/sysdeps/powerpc/nofpu.
16170         * sysdeps/powerpc/soft-fp: Move directory from
16171         ports/sysdeps/powerpc/soft-fp.
16172         * sysdeps/powerpc/powerpc32/405: Move directory from
16173         ports/sysdeps/powerpc/powerpc32/405.
16174         * sysdeps/powerpc/powerpc32/440: Move directory from
16175         ports/sysdeps/powerpc/powerpc32/440.
16176         * sysdeps/powerpc/powerpc32/464: Move directory from
16177         ports/sysdeps/powerpc/powerpc32/464.
16178         * sysdeps/powerpc/powerpc32/476: Move directory from
16179         ports/sysdeps/powerpc/powerpc32/476.
16180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16181         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16183         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16185         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16187         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16189         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16190         * README: Update for powerpc-*-linux-gnu software floating point
16191         support in libc.
16193         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16194         case to powerpc/powerpc32*.
16195         * sysdeps/unix/sysv/linux/configure: Regenerated.
16197         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16198         (_FPU_MASK_OM): Define as 0x04.
16199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16201         0x00c10080.
16202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16203         0x0000003c.
16204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16207         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16208         getcontext_e500.
16209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16210         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16211         setcontext_e500.
16212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16213         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16214         and setcontext_e500.
16216 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16218         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16220 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16222         * manual/threads.texi (Default Thread Attributes): Fix typo.
16224 2013-10-04  Will Newton  <will.newton@linaro.org>
16226         * malloc/Makefile: Add tst-memalign.
16227         * malloc/tst-memalign.c: New file.
16229         * malloc/tst-posix_memalign.c: Add comments.
16230         (do_test): Add comments and call free on all potentially
16231         allocated pointers. Add space after cast.
16233         * malloc/tst-pvalloc.c: Add comments.
16234         (do_test): Add comments and call free on all potentially
16235         allocated pointers. Remove duplicate check for NULL pointer.
16236         Add space after cast.
16238         * malloc/tst-valloc.c: Add comments.
16239         (do_test): Add comments and call free on all potentially
16240         allocated pointers. Remove duplicate check for NULL pointer.
16241         Add space after cast.
16243 2013-10-04  Alan Modra  <amodra@gmail.com>
16245         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16246         Use stdint types in rather than __attribute__((mode())).
16247         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16249 2013-10-04  Alan Modra  <amodra@gmail.com>
16251         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16252         Correct handling of unaligned relocs for little-endian.
16253         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16255 2013-10-04  Alan Modra  <amodra@gmail.com>
16257         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16258         * configure: Regenerate.
16259         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16260         * shlib-versions: Likewise.
16262 2013-10-04  Alan Modra  <amodra@gmail.com>
16264         * string/tester.c (test_memrchr): Increment reported test cycle.
16266 2013-10-04  Alan Modra  <amodra@gmail.com>
16268         * string/test-memcpy.c (do_one_test): When reporting errors, print
16269         string address and don't overrun end of string.
16271 2013-10-04  Alan Modra  <amodra@gmail.com>
16273         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16274         insrdi.  Make better use of reg selection to speed exit slightly.
16275         Schedule entry path a little better.  Remove useless "are we done"
16276         checks on entry to main loop.  Handle wrapping around zero address.
16277         Correct main loop count.  Handle single left-over word from main
16278         loop inline rather than by using loop_small.  Remove extra word
16279         case in loop_small caused by wrong loop count.  Add little-endian
16280         support.
16281         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16282         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16283         cache hint.
16284         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16285         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16286         support.  Avoid rlwimi.
16287         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16289 2013-10-04  Alan Modra  <amodra@gmail.com>
16291         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16292         insrdi.  Formatting.
16293         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16294         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16295         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16296         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16297         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16298         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16300 2013-10-04  Alan Modra  <amodra@gmail.com>
16302         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16303         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16304         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16305         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16306         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16307         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16308         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16309         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16310         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16311         use of regs.  Use power7 mtocrf.  Tidy function tails.
16313 2013-10-04  Alan Modra  <amodra@gmail.com>
16315         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16316         Formatting.  Consistently use rXXX register defines or rN defines.
16317         Use early exit labels that avoid restoring unused non-volatile regs.
16318         Make cr field use more consistent with rWORDn compares.  Rename
16319         regs used as shift registers for unaligned loop, using rN defines
16320         for short lifetime/multiple use regs.
16321         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16322         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16323         addi 1,1,64 to pop stack frame.  Simplify return value code.
16324         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16326 2013-10-04  Alan Modra  <amodra@gmail.com>
16328         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16329         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16330         rather than rlwimi.
16331         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16332         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16333         little-endian support.  Correct typos.
16334         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16335         rather than rlwimi.
16336         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16337         in loop and entry code to keep "and." results.
16338         (strchr): Add little-endian support.  Comment.  Move cntlzd
16339         earlier in tail.
16340         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16342 2013-10-04  Alan Modra  <amodra@gmail.com>
16344         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16345         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16346         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16347         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16349 2013-10-04  Alan Modra  <amodra@gmail.com>
16351         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16352         (rTMP): Define as r11.
16353         (strcmp): Add little-endian support.  Optimise tail.
16354         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16355         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16356         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16357         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16358         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16359         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16360         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16362 2013-10-04  Alan Modra  <amodra@gmail.com>
16364         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16365         little-endian support.  Remove unnecessary "are we done" tests.
16366         Handle "s" wrapping around zero and extremely large "size".
16367         Correct main loop count.  Handle single left-over word from main
16368         loop inline rather than by using small_loop.  Correct comments.
16369         Delete "zero" tail, use "end_max" instead.
16370         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16372 2013-10-04  Alan Modra  <amodra@gmail.com>
16374         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16375         support.  Don't branch over align.
16376         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16377         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16378         support.  Rearrange tmp reg use to suit.  Comment.
16379         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16381 2013-10-04  Alan Modra  <amodra@gmail.com>
16383         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16385 2013-10-04  Alan Modra  <amodra@gmail.com>
16387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16388         conditional form of branch and link when obtaining pc.
16389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16391 2013-10-04  Alan Modra  <amodra@gmail.com>
16393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16394         HIWORD/LOWORD.
16395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16398 2013-10-04  Alan Modra  <amodra@gmail.com>
16400         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16401         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16402         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16403         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16404         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16405         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16406         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16407         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16408         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16409         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16411 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16412             Alistair Popple <alistair@ozlabs.au.ibm.com>
16413             Alan Modra <amodra@gmail.com>
16415         [BZ #15723]
16416         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16417         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16418         _dl_hwcap access for little-endian.
16419         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16420         destroy vmx regs when saving unaligned.
16421         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16422         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16423         destroy vmx regs when saving unaligned.
16425 2013-10-04  Alan Modra  <amodra@gmail.com>
16427         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16428         Don't use a union to pack hi/low value.
16430 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16432         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16433         for little-endian.
16434         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16435         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16436         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16437         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16438         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16440 2013-10-04  Alan Modra  <amodra@gmail.com>
16442         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16443         constants to usual value for .cst8 section, and remove redundant
16444         high address load.
16445         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16446         constant for 0x1p52.  Load little-endian words of double from
16447         correct stack offsets.
16449 2013-10-04  Alan Modra  <amodra@gmail.com>
16451         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16452         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16453         words of double from correct stack offsets.
16454         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16455         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16456         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16457         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16458         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16459         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16460         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16461         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16462         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16463         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16464         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16465         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16466         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16467         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16468         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16469         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16470         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16472 2013-10-04  Alan Modra  <amodra@gmail.com>
16474         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16475         64-bit int/double union.
16476         (_FPU_SETCW): Likewise.
16477         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16478         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16480 2013-10-04  Alan Modra  <amodra@gmail.com>
16482         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16483         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16485 2013-10-04  Alan Modra  <amodra@gmail.com>
16487         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16488         use vector int constants.
16489         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16491 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16493         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16494         array with long long.
16495         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16496         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16497         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16498         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16499         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16500         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16501         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16502         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16503         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16504         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16505         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16506         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16507         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16509 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16511         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16512         (__signbit): Likewise.  Correct for little-endian.
16513         (__signbitl): Call __signbit.
16514         (lrint): Correct for little-endian.
16515         (lrintf): Call lrint.
16517 2013-10-04  Alan Modra  <amodra@gmail.com>
16519         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16520         union 32-bit int array member with 64-bit int array.
16521         (t515, tm256): Double rather than long double.
16522         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16524 2013-10-04  Alan Modra  <amodra@gmail.com>
16526         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16527         Delete.
16528         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16529         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16530         version of math_ldbl.h.
16532 2013-10-04  Alan Modra  <amodra@gmail.com>
16534         [BZ #15734], [BZ #15735]
16535         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16536         all uses of ieee875 long double macros and unions.  Simplify test
16537         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16538         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16539         normalize after ldbl_extract_mantissa, and don't add hidden bit
16540         already handled.  Don't treat low word of ieee854 mantissa like
16541         low word of IBM long double and mask off bit when testing for
16542         zero.
16543         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16544         all uses of ieee875 long double macros and unions.  Simplify tests
16545         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16546         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16547         two1022, instead use their values.  Recognise that tests for large
16548         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16549         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16550         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16551         test for 0.0L and nan.  Correct negation.
16552         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16553         ieee875 long double macros and unions.  Correct output for large
16554         magnitude x.  Correct absolute value calculation.
16555         (__erfcl): Likewise.
16556         * math/libm-test.inc: Add tests for errors discovered in IBM long
16557         double versions of fmodl, remainderl, erfl and erfcl.
16559 2013-10-04  Alan Modra  <amodra@gmail.com>
16561         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16562         all uses of ieee854 long double macros and unions.  Simplify tests
16563         for long doubles that are fully specified by the high double.
16564         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16565         Likewise.
16566         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16567         Remove dead code too.
16568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16569         (__ieee754_ynl): Likewise.
16570         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16571         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16572         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16573         Remove dead code too.
16574         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16575         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16576         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16577         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16578         Simplify.
16579         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16580         Simplify.
16581         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16582         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16583         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16584         Comment on variable precision.
16585         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16586         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16587         Likewise.
16588         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16589         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16590         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16591         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16592         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16594 2013-10-04  Alan Modra  <amodra@gmail.com>
16596         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16597         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16598         all uses of ieee854 long double macros and unions.
16599         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16600         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16601         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16602         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16603         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16604         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16605         Likewise.
16606         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16607         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16608         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16609         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16610         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16611         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16612         Simplify sign and nan test too.
16613         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16614         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16615         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16616         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16617         Likewise.
16618         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16619         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16620         Likewise.
16621         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16622         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16623         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16624         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16625         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16626         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16628 2013-10-04  Alan Modra  <amodra@gmail.com>
16630         * stdio-common/printf_size.c (__printf_size): Don't use
16631         union ieee854_long_double in fpnum union.
16632         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16633         signbit macro to retrieve sign from long double.
16634         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16635         retrieve sign from long double.
16636         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16637         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16638         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16639         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16640         * math/test-misc.c (main): Don't use union ieee854_long_double.
16642 2013-10-04  Alan Modra  <amodra@gmail.com>
16644         [BZ #15680]
16645         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16646         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16647         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16648         calculation.  Remove unnecessary test for denormal exponent.
16649         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16650         Correct handling of denormals.  Avoid undefined shift behaviour.
16651         Correct normalisation of low mantissa when low double is denormal.
16652         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16653         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16654         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16655         Correct normalisation of low mantissa.  Test for overflow of high
16656         mantissa and normalise.
16657         (ldbl_nearbyint): Use more readable constant for two52.
16658         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16659         (__mpn_construct_long_double): Fix test for overflow of high
16660         mantissa and correct normalisation.  Avoid undefined shift.
16662 2013-10-04  Alan Modra  <amodra@gmail.com>
16664         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16665         (union ibm_extended_long_double): Define as an array of ieee754_double.
16666         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16667         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16668         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16669         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16670         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16671         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16672         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16673         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16674         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16675         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16676         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16678 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16680         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16681         page size instead of calling getpagesize.
16683         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16684         (LOCFILE_ALIGN_MASK): Likewise.
16685         (LOCFILE_ALIGN_UP): Likewise.
16686         (LOCFILE_ALIGNED_P): Likewise.
16687         * locale/programs/ld-collate.c (collate_output): Use the new
16688         macros instead of __alignof__ (int32_t).
16689         * locale/weight.h (findidx): Likewise.
16691 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16693         [BZ #431]
16694         * manual/string.texi: Fix strncat and wcsncat.
16696 2013-10-03  Brooks Moses  <bmoses@google.com>
16698         [BZ #15915]
16699         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16700         * Makerules: ...here, and adjust associated comments.
16702 2013-10-02  Will Newton  <will.newton@linaro.org>
16704         * malloc/Makefile: Add tst-pvalloc.
16705         * malloc/tst-pvalloc.c: New file.
16707 2013-10-02  Will Newton  <will.newton@linaro.org>
16709         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16710         improve test coverage.
16712 2013-10-02  Will Newton  <will.newton@linaro.org>
16714         * malloc/Makefile: Add tst-posix_memalign.
16715         * malloc/tst-posix_memalign.c: New file.
16717 2013-10-01  Eric Blake  <eblake@redhat.com>
16719         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16720         Use __THROWNL rather than __THROW on static functions.
16722 2013-09-30  Petr Machata  <pmachata@redhat.com>
16724         * elf/elf.h (R_AARCH64_ABS16): New macro.
16725         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16726         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16727         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16728         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16729         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16730         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16731         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16732         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16733         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16734         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16735         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16736         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16737         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16738         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16739         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16740         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16741         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16742         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16743         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16744         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16745         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16746         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16747         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16748         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16749         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16750         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16751         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16752         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16753         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16754         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16755         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16756         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16757         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16758         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16759         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16760         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16761         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16762         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16763         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16764         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16765         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16766         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16767         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16768         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16769         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16770         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16771         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16772         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16773         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16774         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16775         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16776         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16777         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16778         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16779         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16780         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16781         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16782         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16783         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16784         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16785         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16786         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16787         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16788         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16789         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16790         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16791         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16792         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16793         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16794         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16795         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16796         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16797         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16798         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16799         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16800         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16801         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16802         (R_AARCH64_TLSDESC_LDR): Likewise.
16803         (R_AARCH64_TLSDESC_ADD): Likewise.
16804         (R_AARCH64_TLSDESC_CALL): Likewise.
16806 2013-09-30  Andreas Schwab  <schwab@suse.de>
16808         [BZ #15048]
16809         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16810         the nss database lookup.
16811         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16814 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16816         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16818 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16820         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16821         ${Bash-specific parameter/pattern/string} parameter expansion.
16822         * sysdeps/unix/make-syscalls.sh: Likewise.
16824 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16826         * sysdeps/sh/stackguard-macros.h: New file.
16828 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16832         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16833         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16834         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16835         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16837 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16839         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16840         Fix thread ID register.
16842 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16844         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16845         [POSIX || UNIX98]: Require rather than permitting all symbols from
16846         <time.h>.
16847         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16848         element of struct sched_param.
16849         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16850         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16851         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16852         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16853         constant.
16855 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16857         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16858         argument calculation.
16860 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16862         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16863         Expect macro.
16864         [POSIX] (pthread_attr_t): Do not require type.
16865         [POSIX] (pthread_cond_t): Likewise.
16866         [POSIX] (pthread_condattr_t): Likewise.
16867         [POSIX] (pthread_key_t): Likewise.
16868         [POSIX] (pthread_mutex_t): Likewise.
16869         [POSIX] (pthread_mutexattr_t): Likewise.
16870         [POSIX] (pthread_once_t): Likewise.
16871         [POSIX] (pthread_t): Likewise.
16872         [POSIX-based standards] (pthread_atfork): Expect function.
16874 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16875             Richard Sandiford  <richard@codesourcery.com>
16877         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16878         (swap_endianness_p): New extern variable.
16879         (set_big_endian): New inline function.
16880         (maybe_swap_uint32): Likewise.
16881         (maybe_swap_uint32_array): Likewise.
16882         (maybe_swap_uint32_obstack): Likewise.
16883         * locale/programs/locfile.c: Include <stdbool.h>.
16884         (swap_endianness_p): New variable.
16885         (add_locale_uint32): Call maybe_swap_uint32.
16886         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16887         (write_locale_data): Call maybe_swap_uint32_array.
16888         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16889         maybe_swap_uint32.
16890         (obstack_int32_grow_fast): Likewise.
16891         (output_weightwc): Call maybe_swap_uint32_obstack.
16892         (collate_output): Likewise.
16893         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16894         (OPT_LITTLE_ENDIAN): Likewise.
16895         (options): Add --little-endian and --big-endian options.
16896         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16897         * locale/programs/locarchive.c: Include "locfile.h".
16898         (GET): New macro.
16899         (SET): Likewise.
16900         (INC): Likewise.
16901         (create_archive): Use the new macros to access fields of
16902         structures directly mapped from or written to locale archives.
16903         (oldlocrecentcmp): Likewise.
16904         (enlarge_archive): Likewise.
16905         (insert_name): Likewise.
16906         (add_alias): Likewise.
16907         (add_locale): Likewise.
16908         (delete_locales_from_archive): Likewise.
16909         (show_archive_content): Likewise.
16910         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16911         locale data.
16913 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16915         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16916         http://www.gnu.org/doc/freemanuals.texi.
16917         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16919 2013-09-24  Will Newton  <will.newton@linaro.org>
16921         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16922         macro.
16924 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16926         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16927         unsigned char.
16929 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16931         * manual/threads.texi (POSIX Threads): Fix a typo.
16933 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16935         [BZ #14547]
16936         * string/tst-strcoll-overflow.c: New test case.
16937         * string/Makefile (xtests): Add tst-strcoll-overflow.
16938         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16939         cache if string sizes may cause integer overflow.
16941         [BZ #14547]
16942         * string/strcoll_l.c (coll_seq): New members rule, idx,
16943         save_idx and back_us.
16944         (get_next_seq_nocache): New function.
16945         (do_compare_nocache): New function.
16946         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16947         when malloc fails.
16949 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16951         [BZ #15754]
16952         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16953         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16954         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16956         [BZ #15754]
16957         * elf/Makefile (tests): Add tst-ptrguard1.
16958         (tests-static): Add tst-ptrguard1-static.
16959         (tst-ptrguard1-ARGS): Define.
16960         (tst-ptrguard1-static-ARGS): Define.
16961         * elf/tst-ptrguard1.c: New file.
16962         * elf/tst-ptrguard1-static.c: New file.
16963         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16964         * sysdeps/i386/stackguard-macros.h: Likewise.
16965         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16966         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16967         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16968         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16969         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16970         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16972 2013-09-23  Hector Marco  <hecmargi@upv.es>
16973             Ismael Ripoll  <iripoll@disca.upv.es>
16974             Carlos O'Donell  <carlos@redhat.com>
16976         [BZ #15754]
16977         * sysdeps/generic/stackguard-macros.h: Define
16978         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16979         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16980         Define __pointer_chk_guard_local.
16981         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16982         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16984 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16986         [BZ #15859]
16987         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16989 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16991         * include/string.h (__ffs): Declare as hidden.
16992         * string/ffs.c (__ffs): Define as hidden.
16993         * sysdeps/i386/ffs.c (__ffs): Likewise.
16994         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16995         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16996         * sysdeps/s390/ffs.c (__ffs): Likewise.
16997         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16999 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17001         * NEWS: Mention malloc probes.
17003         * malloc/arena.c (new_heap): New memory_heap_new probe.
17004         (grow_heap): New memory_heap_more probe.
17005         (shrink_heap): New memory_heap_less probe.
17006         (heap_trim): New memory_heap_free probe.
17007         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17008         (systrim): New memory_sbrk_less probe.
17009         * manual/probes.texi: Document them.
17011         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17012         * manual/probes.texi: Document it.
17014         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17015         (__libc_realloc): Add memory_realloc_retry probe.
17016         (__libc_memalign): Add memory_memalign_retry probe.
17017         (__libc_valloc): Add memory_valloc_retry probe.
17018         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17019         (__libc_calloc): Add memory_calloc_retry probe.
17020         * manual/probes.texi: Document them.
17022         * malloc/arena.c (get_free_list): Add probe
17023         memory_arena_reuse_free_list.
17024         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17025         and memory_arena_reuse.
17026         (arena_get2) [!PER_THREAD]: Likewise.
17027         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17028         memory_arena_reuse_realloc.
17029         * manual/probes.texi: Document them.
17031         * malloc/malloc.c (__libc_free): Add
17032         memory_mallopt_free_dyn_thresholds probe.
17033         (__libc_mallopt): Add multiple memory_mallopt probes.
17034         * manual/probes.texi: Document them.
17036         * malloc/malloc.c: Include stap-probe.h.
17037         (__libc_mallopt): Add memory_mallopt probe.
17038         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17039         * manual/probes.texi: New.
17040         * manual/Makefile (chapters): Add probes.
17041         * manual/threads.texi: Set next node.
17043 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17045         [BZ #15963, #13985]
17046         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17047         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17048         Add `Chinese' to `nan' entry name.
17050 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17052         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17053         (POLYNOMIAL): Likewise.
17054         (TAYLOR_SINCOS): Likewise.
17055         (TAYLOR_SLOW): Likewise.
17056         (__sin): Use TAYLOR_SINCOS.
17057         (__cos): Likewise.
17058         (slow): Use TAYLOR_SLOW.
17059         (sloww): Likewise.
17060         (bsloww): Likewise.
17061         (csloww): Likewise.
17063 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17065         * stdlib/strtod_l.c: Fix buffer overrun.
17067 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17069         * benchtests/Makefile (bench): Add sincos.
17070         * benchtests/bench-sincos.c: New file.
17072         * math/libm-test.inc (cos_test_data): New test inputs.
17073         (sin_test_data): Likewise.
17075         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17076         macro.
17077         (__sin): Use it.
17078         (__cos): Likewise.
17079         (slow1): Likewise.
17080         (slow2): Likewise.
17081         (sloww1): Likewise.
17082         (sloww2): Likewise.
17083         (bsloww1): Likewise.
17084         (bsloww2): Likewise.
17085         (cslow2): Likewise.
17086         (csloww1): Likewise.
17087         (csloww2): Likewise.
17089         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17090         function.
17091         (__sin): Use it.
17092         (__cos): Likewise.
17094         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17095         gotos.
17096         (__cos): Likewise.
17098 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17100         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17101         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17102         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17103         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17104         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17105         * elf/cache.c (print_entry): Handle the new cache flags.
17107 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17108             Aldy Hernandez  <aldyh@redhat.com>
17110         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17111         Change condition to [_SOFT_FLOAT].
17112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17124         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17127         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17128         declaration.
17130 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17132         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17133         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17134         (__longjmp): Use LOAD_GP to load saved GPRs.
17135         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17136         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17137         (__sigsetjmp): Use SAVE_GP to save GPRs.
17139         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17140         Do not append -msoft-float.
17141         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17143 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17145         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17147 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17149         [BZ #15966]
17150         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17151         (_FPU_GETCW): Use initial "__" on variable and field names but not
17152         on macro parameter name.
17153         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17154         parentheses around reference to macro parameter.
17156 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17158         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17159         prototype.
17160         (ctype_startup): Use uint32_t in cast and sizeof for
17161         ctype->charnames.
17163 2013-09-11  Jia Liu  <proljc@gmail.com>
17165         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17166         __daddr_t_defined.
17167         [__FreeBSD__]: Likewise.
17169 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17171         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17172         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17173         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17174         (strchr): Remove __strchr_sse42 ifunc selection.
17175         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17176         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17178 2013-09-11  Will Newton  <will.newton@linaro.org>
17180         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17181         parameter to RES. Remove hardcoded 1000 value.
17182         * benchtests/bench-skeleton.c (main): Pass RES parameter
17183         to TIMING_INIT and multiply result by 1000.
17185 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17189 2013-09-11  Andreas Schwab  <schwab@suse.de>
17191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17192         if not defined.
17193         (O_TMPFILE) [__USE_GNU]: Define.
17194         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17195         Define.
17197 2013-09-11  Will Newton  <will.newton@linaro.org>
17199         [BZ #15857]
17200         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17201         does not overflow.
17203 2013-09-11  Will Newton  <will.newton@linaro.org>
17205         [BZ #15856]
17206         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17207         does not overflow.
17209 2013-09-11  Will Newton  <will.newton@linaro.org>
17211         [BZ #15855]
17212         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17213         does not overflow.
17215 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17217         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17218         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17219         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17220         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17221         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17223 2013-09-10  Allan McRae  <allan@archlinux.org>
17225         [BZ #15748]
17226         * manual/arith.texi (Parsing of Floats): Clarify
17227         cross-reference.
17229         [BZ #15849]
17230         * manual/install.texi (Running make install): Mention
17231         --enable-pt-chown.
17232         * INSTALL: Regenerated.
17234 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17236         * csu/init-first.c (_init): Remove the !SHARED condition around
17237         FPU control word initialization.
17238         * elf/dl-support.c (_dl_fpu_control): New variable.
17239         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17240         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17241         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17242         * math/test-fpucw-static.c: New file.
17243         * math/test-fpucw-ieee.c: New file.
17244         * math/test-fpucw-ieee-static.c: New file.
17245         * math/Makefile (tests): Add `test-fpucw-ieee' and
17246         `$(tests-static)'.
17247         (tests-static): New variable.
17248         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17249         dependency to...
17250         [($(build-shared),yes)]
17251         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17252         ... this.
17253         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17254         New dependency.
17256 2013-09-09  Allan McRae  <allan@archlinux.org>
17258         [BZ #15939]
17259         * manual/string.texi (Collation Functions): Fix typo in
17260         strcoll example.
17261         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17263         [BZ #15893]
17264         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17266         [BZ #15892]
17267         * libio/memstream.c (open_memstream): Fix memory leak.
17268         * libio/wmemstream.c (open_wmemstream): Likewise.
17270         [BZ #15895]
17271         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17273 2013-09-09  Will Newton  <will.newton@linaro.org>
17275         * malloc/Makefile: Add tst-realloc to tests.
17276         * malloc/tst-realloc.c: New file.
17278 2013-09-09  Allan McRae  <allan@archlinux.org>
17280         [BZ #15844]
17281         * COPYING: Update from GNU website to fix FSF address.
17282         * COPYING.LIB: Likewise.
17284 2013-09-06  David S. Miller  <davem@davemloft.net>
17286         * po/zh_TW.po: Update Chinese (traditional) translation from
17287         translation project.
17289 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17290             Joseph Myers  <joseph@codesourcery.com>
17292         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17293         "localeinfo.h".
17294         (obstack_chunk_alloc): New macro.
17295         (obstack_chunk_free): Likewise.
17296         (record_offset): New function.
17297         (init_locale_data): Likewise.
17298         (align_locale_data): Likewise.
17299         (add_locale_empty): Likewise.
17300         (add_locale_raw_data): Likewise.
17301         (add_locale_raw_obstack): Likewise.
17302         (add_locale_string): Likewise.
17303         (add_locale_wstring): Likewise.
17304         (add_locale_uint32): Likewise.
17305         (add_locale_uint32_array): Likewise.
17306         (add_locale_char): Likewise.
17307         (start_locale_structure): Likewise.
17308         (end_locale_structure): Likewise.
17309         (start_locale_prelude): Likewise.
17310         (end_locale_prelude): Likewise.
17311         (write_locale_data): Take locale_file structure rather than an
17312         iovec.
17313         * locale/programs/locfile.h: Include "obstack.h".
17314         (struct locale_file): Change to store locale file contents instead
17315         of header.
17316         (init_locale_data): New prototype.
17317         (align_locale_data): Likewise.
17318         (add_locale_empty): Likewise.
17319         (add_locale_raw_data): Likewise.
17320         (add_locale_raw_obstack): Likewise.
17321         (add_locale_string): Likewise.
17322         (add_locale_wstring): Likewise.
17323         (add_locale_uint32): Likewise.
17324         (add_locale_uint32_array): Likewise.
17325         (add_locale_char): Likewise.
17326         (start_locale_structure): Likewise.
17327         (end_locale_structure): Likewise.
17328         (start_locale_prelude): Likewise.
17329         (end_locale_prelude): Likewise.
17330         (write_locale_data): Update prototype.
17331         * locale/programs/3level.h (struct TABLE): Remove result field.
17332         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17333         Use new locale_file interface.
17334         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17335         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17336         * locale/programs/ld-address.c (address_output): Use new
17337         locale_file interface.
17338         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17339         NO_ADD_LOCALE.
17340         (collate_finish): Don't call collseq_table_finalize.
17341         (collate_output): Use new locale_file interface.
17342         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17343         in file.
17344         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17345         (TABLE): Move defines earlier in file.
17346         (ELEMENT): Likewise.
17347         (DEFAULT): Likewise.
17348         (wctrans_table_add): Move macro and inline function earlier in
17349         file.
17350         (struct wctype_table): Move type earlier in file.
17351         (add_locale_wctype_table): New static prototype.
17352         (struct locale_ctype_t): Use logical types instead of struct iovec
17353         pointers for members.
17354         (ctype_output): Use new locale_file interface.
17355         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17356         new locale_file interface.
17357         (allocate_arrays): Update for use of new locale_file interface.
17358         * locale/programs/ld-identification.c (identification_output): Use
17359         new locale_file interface.
17360         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17361         * locale/programs/ld-messages.c (messages_output): Likewise.
17362         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17363         * locale/programs/ld-name.c (name_output): Likewise.
17364         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17365         * locale/programs/ld-paper.c (paper_output): Likewise.
17366         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17367         * locale/programs/ld-time.c (time_output): Likewise.
17369 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17371         * benchtests/Makefile: Add memrchr benchmark.
17372         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17373         benchmark as memrchr.
17374         * benchtests/bench-memrchr-ifunc.c: New file.
17375         * benchtests/bench-memrchr.c: New file.
17377 2013-09-06   Will Newton  <will.newton@linaro.org>
17379         * benchtests/Makefile (string-bench): Add memcpy.
17381 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17382             Cong Wang  <amwang@redhat.com>
17384         [BZ #15850]
17385         * sysdeps/unix/sysv/linux/bits/in.h
17386         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17387         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17388         before __USE_KERNEL_IPV6_DEFS uses.
17389         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17390         IPPROTO_BEETPH.
17391         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17392         sockaddr_in6, or ipv6_mreq.
17394 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17396         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17397         memory access for final bytes in some large inputs.
17398         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17400 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17402         * string/test-memrchr.c: New file.
17403         * string/test-memrchr-ifunc.c: New file.
17404         * string/Makefile: Add new memrchr testcase.
17406 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17408         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17409         fanotify_init returns EPERM.
17411 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17413         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17414         errors.
17415         (top level): Treat second token from macro or constant entries for
17416         allowed headers as allowed.
17417         * include/complex.h: Condition internal declarations on
17418         [!_ISOMAC].
17419         * include/fenv.h: Condition include of <stdbool.h> and internal
17420         declarations on [!_ISOMAC].
17422 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17424         [BZ #15923]
17425         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17427 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17429         * configure.in (--enable-versioning): Remove configure option.
17430         (libc_cv_asm_symver_directive): Remove configure test.
17431         (libc_cv_ld_version_script_option): Likewise.
17432         (VERSIONING): Remove variable and AC_SUBST.
17433         (DO_VERSIONING): Remove AC_DEFINE.
17434         * configure: Regenerated.
17435         * config.h.in (DO_VERSIONING): Remove macro.
17436         * Makerules [$(versioning) = yes]: Change conditionals to
17437         [$(build-shared) = yes].
17438         * config.make.in (versioning): Remove variable.
17439         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17440         [$(build-shared) = yes].
17441         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17442         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17443         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17444         [$(build-shared) = yes].
17445         * extra-lib.mk [$(versioning) = yes]: Likewise.
17446         * hurd/Makefile [$(versioning) = yes]: Likewise.
17447         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17448         [SHARED].
17449         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17450         [SHARED].
17451         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17452         [SHARED && !NO_HIDDEN].
17453         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17454         [SHARED].
17455         [SHARED && DO_VERSIONING]: Likewise..
17456         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17457         [$(build-shared) = yes].
17458         * manual/install.texi (--disable-versioning): Remove
17459         documentation.
17460         * INSTALL: Regenerated.
17461         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17462         to [SHARED].
17463         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17464         [$(build-shared) = yes].
17465         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17466         * sysdeps/i386/i686/multiarch/strstr-c.c
17467         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17468         [SHARED && !NO_HIDDEN].
17469         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17470         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17471         * sysdeps/powerpc/powerpc32/dl-machine.c
17472         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17473         * sysdeps/powerpc/powerpc32/sysdep.h
17474         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17475         to [SHARED && PIC && !NO_HIDDEN].
17476         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17477         conditional to [SHARED].
17479 2013-09-04   Will Newton  <will.newton@linaro.org>
17481         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17482         * benchtests/bench-string.h: Include bench-timing.h instead
17483         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17484         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17485         call to HP_TIMING_DIFF_INIT.
17486         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17487         instead of hp-timing.h macros.
17488         * benchtests/bench-memchr.c: Likewise.
17489         * benchtests/bench-memcmp.c: Likewise.
17490         * benchtests/bench-memcpy.c: Likewise.
17491         * benchtests/bench-memmem.c: Likewise.
17492         * benchtests/bench-memmove.c: Likewise.
17493         * benchtests/bench-memset.c: Likewise.
17494         * benchtests/bench-rawmemchr.c: Likewise.
17495         * benchtests/bench-strcasecmp.c: Likewise.
17496         * benchtests/bench-strcasestr.c: Likewise.
17497         * benchtests/bench-strcat.c: Likewise.
17498         * benchtests/bench-strchr.c: Likewise.
17499         * benchtests/bench-strcmp.c: Likewise.
17500         * benchtests/bench-strcpy.c: Likewise.
17501         * benchtests/bench-strcpy_chk.c: Likewise.
17502         * benchtests/bench-strlen.c: Likewise.
17503         * benchtests/bench-strncasecmp.c: Likewise.
17504         * benchtests/bench-strncat.c: Likewise.
17505         * benchtests/bench-strncmp.c: Likewise.
17506         * benchtests/bench-strncpy.c: Likewise.
17507         * benchtests/bench-strnlen.c: Likewise.
17508         * benchtests/bench-strpbrk.c: Likewise.
17509         * benchtests/bench-strrchr.c: Likewise.
17510         * benchtests/bench-strspn.c: Likewise.
17511         * benchtests/bench-strstr.c: Likewise.
17513 2013-09-04  Will Newton  <will.newton@linaro.org>
17515         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17517 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17519         [BZ #15427]
17520         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17521         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17522         * math/libm-test.inc (lgamma_test_data): Add more tests.
17523         * sysdeps/i386/fpu/libm-test-ulps: Update.
17524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17526 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17528         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17530         Add ifunc.
17531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17532         Add strcmp-sse2-unaligned
17533         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17535 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17537         * Versions.def (libc): Add GLIBC_2.19.
17539 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17541         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17542         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17544 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17546         [BZ #14155]
17547         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17548         intermediate calculations in recurrence.
17549         (__ieee754_ynf): Likewise.
17550         * math/libm-test.inc (jn_test_data): Do not allow spurious
17551         underflow exception.  Add more tests.
17552         (yn_test_data): Add more tests.
17553         * sysdeps/i386/fpu/libm-test-ulps: Update.
17554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17556 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17558         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17560 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17562         * csu/init-first.c: Fix then/than typos.
17563         * locale/programs/ld-collate.c: Likewise.
17564         * locale/programs/linereader.h: Likewise.
17565         * manual/charset.texi: Likewise.
17566         * manual/filesys.texi: Likewise.
17567         * manual/stdio.texi: Likewise.
17568         * manual/string.texi: Likewise.
17569         * stdlib/fmtmsg.c: Likewise.
17570         * sysdeps/i386/stpncpy.S: Likewise.
17571         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17572         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17573         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17574         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17576 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17578         * elf/dl-open.c: Fix typos.
17579         * iconvdata/gbbig5.c: Likewise.
17580         * iconvdata/iso-2022-jp.c: Likewise.
17581         * iconv/gconv_int.h: Likewise.
17582         * iconv/loop.c: Likewise.
17583         * nis/rpcsvc/nis.h: Likewise.
17584         * resolv/ns_name.c: Likewise.
17585         * stdio-common/vfscanf.c: Likewise.
17586         * streams/stropts.h: Likewise.
17587         * sunrpc/rpc_thread.c: Likewise.
17588         * sysdeps/i386/strpbrk.S: Likewise.
17589         * sysdeps/ieee754/k_standard.c: Likewise.
17590         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17591         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17592         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17593         * sysdeps/mach/hurd/profil.c: Likewise.
17594         * sysdeps/s390/dl-procinfo.h: Likewise.
17595         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17596         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17597         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17598         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17599         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17601 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17603         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17606 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17608         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17609         aix specific files.
17610         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17611         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17612         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17613         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17614         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17615         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17616         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17617         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17619 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17620             Roland McGrath  <roland@hack.frob.com>
17622         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17623         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17625 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17627         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17628         __executable_start symbol instead of _start.
17630 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17632         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17633         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17634         Move macros to...
17635         * sysdeps/gnu/ldsodefs.h: ... this new file.
17637         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17638         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17639         instead of ELFOSABI_LINUX.
17641         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17642         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17643         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17644         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17645         Likewise.
17646         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17647         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17648         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17649         Likewise.
17650         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17651         (ibm_extended_long_double): Add ieee_nan member.
17652         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17653         (do_test): New function.
17655         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17656         TEST_TRUNC.
17657         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17658         functions, renamed from truncdfsf_test, trunctfsf_test,
17659         trunctfdf_test.
17660         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17661         functions.
17662         (do_test): Run all these.
17664 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17666         * argp/argp-help.c: Fix typos.
17667         * argp/argp-parse.c: Likewise.
17668         * debug/backtracesyms.c: Likewise.
17669         * elf/elf.h: Likewise.
17670         * malloc/malloc.c: Likewise.
17671         * nis/nis_print.c: Likewise.
17672         * resolv/res_comp.c: Likewise.
17673         * stdlib/stdlib.h: Likewise.
17674         * sunrpc/clnt_tcp.c: Likewise.
17675         * sunrpc/clnt_udp.c: Likewise.
17676         * sunrpc/clnt_unix.c: Likewise.
17677         * sysdeps/unix/bsd/ptsname.c: Likewise.
17678         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17679         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17681         Likewise.
17682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17683         Likewise.
17684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17685         Likewise.
17686         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17688 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17690         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17693 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17695         [BZ #15897]
17696         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17697         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17698         ($(objpfx)bug-dl-leaf): New rule.
17699         ($(objpfx)bug-dl-leaf.so): Likewise.
17700         ($(objpfx)bug-dl-leaf.out): Likewise.
17701         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17702         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17703         * dlfcn/bug-dl-leaf.c: New test.
17704         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17705         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17706         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17707         (dlclose): Likewise.
17708         (dlmopen): Likewise.
17710 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17712         * include/netdb.h [!_ISOMAC]:
17713         Don't include <tls.h>.
17714         (h_errno, __libc_h_errno): Move declaration and macros out of
17715         [_LIBC_REENTRANT].
17717         * include/resolv.h [_RESOLV_H_]:
17718         Don't include <tls.h>.
17719         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17720         * resolv/res_libc.c: Don't include <tls.h>.
17721         (_res): Use __attribute__ ((nocommon)) in place of
17722         __attribute__ ((section (".bss"))).
17724         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17725         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17727         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17729         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17730         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17732         * resolv/res_mkquery.c: Include <sys/time.h>.
17734         * inet/ifreq.c: Moved to ...
17735         * sysdeps/unix/ifreq.c: ... here.
17736         * inet/ifreq.c: New file, true stub version.
17738         * socket/sa_len.c: New file.
17739         * socket/Makefile (aux): Add it.
17740         * sysdeps/unix/sysv/linux/Makefile
17741         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17742         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17743         and #include <socket/sa_len.c>.
17744         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17745         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17747         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17748         * bits/socket.h: ... here.
17750         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17751         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17752         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17754 2013-08-27  Andreas Schwab  <schwab@suse.de>
17756         [BZ #15736]
17757         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17758         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17759         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17760         * string/test-strcasecmp.c (test_main): Run tests in several
17761         locales.
17762         * string/test-strncasecmp.c (test_main): Likewise.
17764         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17765         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17766         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17767         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17768         (__strncasecmp_ssse3) [PIC]: Likewise.
17770 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17772         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17774         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17775         instead of explicitly declaring xdecrypt.
17776         * nis/nss_nis/nis-publickey.c: Likewise.
17778 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17780         [BZ #15890]
17781         * nscd/aicache.c: Include res_hconf.h.
17782         (addhstaiX): Initialize res_hconf.
17784 2013-08-26  Andreas Schwab  <schwab@suse.de>
17786         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17787         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17789 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17791         * nscd/aicache.c (addhstaiX): Fix indentation.
17793 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17795         * configure.ac: Quote $build_pt_chown test.
17796         * configure: Regenerated.
17798 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17800         [BZ #15532]
17801         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17802         * math/s_cexpf.c (__cexpf): Likewise.
17803         * math/s_cexpl.c (__cexpl): Likewise.
17804         * math/libm-test.inc (cexp_test_data): Correct expected return
17805         value for NaN + i0.  Add another test.
17807 2013-08-22  David S. Miller  <davem@davemloft.net>
17809         * po/ca.po: Update Catalan translation from translation project.
17810         * po/uk.po: Add Ukrainian translations from translation project.
17812 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17814         [BZ #15797]
17815         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17816         is infinite, not alongside NaN test.
17817         * math/s_fdimf.c (__fdimf): Likewise.
17818         * math/s_fdiml.c (__fdiml): Likewise.
17819         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17820         errno is unchanged.
17822 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17824         * argp/argp-help.c: Fix typos.
17825         * crypt/speeds.c: Likewise.
17826         * csu/check_fds.c: Likewise.
17827         * elf/dl-load.c: Likewise.
17828         * elf/dl-open.c: Likewise.
17829         * elf/reldep3.c: Likewise.
17830         * elf/reldep.c: Likewise.
17831         * elf/sprof.c: Likewise.
17832         * iconv/iconv_charmap.c: Likewise.
17833         * iconv/skeleton.c: Likewise.
17834         * iconv/strtab.c: Likewise.
17835         * io/lockf64.c: Likewise.
17836         * libio/libioP.h: Likewise.
17837         * resolv/gai_notify.c: Likewise.
17838         * resolv/ns_name.c: Likewise.
17839         * resolv/ns_samedomain.c: Likewise.
17840         * resolv/res_send.c: Likewise.
17841         * stdlib/random.c: Likewise.
17842         * sunrpc/rpc/xdr.h: Likewise.
17843         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17844         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17845         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17846         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17847         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17848         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17849         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17850         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17851         * sysdeps/mach/hurd/check_fds.c: Likewise.
17852         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17853         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17854         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17855         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17856         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17857         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17858         * sysdeps/pthread/aio_notify.c: Likewise.
17859         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17860         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17861         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17862         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17863         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17865 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17867         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17868         version if bit_Slow_SSE4_2 is set.
17869         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17870         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17872 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17874         [BZ #15867]
17875         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17876         trampoline stack frame information.
17877         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17878         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17879         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17880         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17881         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17882         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17883         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17884         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17885         sa_flags value.
17886         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17887         interrupting a syscall and set with option SA_SIGINFO.
17889 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17891         [BZ #15531]
17892         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17893         argument is infinite.
17894         * math/s_cprojf.c (__cprojf): Likewise.
17895         * math/s_cprojl.c (__cprojl): Likewise.
17896         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17897         * math/libm-test.inc (cproj_test_data): Add more tests.
17899         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17901         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17902         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17903         size.  Use __ffs to determine corresponding shift.
17905 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17906             Roland McGrath  <roland@hack.frob.com>
17908         * Makefile (INSTALL): Remove trailing blank lines from output of
17909         makeinfo.
17911 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17913         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17914         Align 32 bit compat elf_greg to 8 bytes.
17916 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17918         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17920 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17922         * string/strcoll_l.c (coll_seq): New structure.
17923         (get_next_seq_cached): New function.
17924         (get_next_seq): New function.
17925         (do_compare): New function.
17926         (STRCOLL): Use GNU style definition.  Simplify implementation
17927         by using get_next_seq, get_next_seq_cached and do_compare.
17929 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17931         [BZ #14699]
17932         CVE-2013-4237
17933         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17934         member.
17935         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17936         member.
17937         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17938         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17939         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17940         conditional.
17941         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17942         GETDENTS_64BIT_ALIGNED.
17943         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17944         * manual/filesys.texi (Reading/Closing Directory): Document
17945         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17946         strongly.
17947         * manual/conf.texi (Limits for Files): Add portability note to
17948         NAME_MAX, PATH_MAX.
17949         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17951 2013-08-13  Andreas Schwab  <schwab@suse.de>
17953         [BZ #15749]
17954         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17955         of fabs.
17956         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17957         LDBL_MAX_EXP >= 16384]: Add tests for it.
17959 2013-08-12  David S. Miller  <davem@davemloft.net>
17961         * version.h (RELEASE): Set to "development".
17962         (VERSION): Set to "2.18.90".
17963         * NEWS: Add 2.19 section.
17965 2013-08-03  David S. Miller  <davem@davemloft.net>
17967         * po/ko.po: Update Korean translation from translation project.
17969 2013-08-01  David S. Miller  <davem@davemloft.net>
17971         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17972         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17973         Bilka.
17975 2013-07-30  David S. Miller  <davem@davemloft.net>
17977         * po/fr.po: Update French translation from translation project.
17979 2013-07-28  David S. Miller  <davem@davemloft.net>
17981         * po/cs.po: Update Czech translation from translation project.
17983         * po/sv.po: Update Swedish translation from translation project.
17985 2013-07-27  David S. Miller  <davem@davemloft.net>
17987         * po/eo.po: Update Esperanto translation from translation project.
17989         * po/vi.po: Update Vietnamese translation from translation project.
17991         * po/de.po: Update German translation from translation project.
17993 2013-07-26  David S. Miller  <davem@davemloft.net>
17995         * po/bg.po: Update Bulgarian translation from translation project.
17997         * po/nl.po: Update Dutch translation from translation project.
17998         * po/pl.po: Update Polish translation from translation project.
17999         * po/ru.po: Update Russian translation from translation project.
18001 2013-07-24  David S. Miller  <davem@davemloft.net>
18003         * po/libc.pot: Update.
18005 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18007         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18008         variable page size.
18009         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18010         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18011         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18013 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18015         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18017 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18018             Andreas Schwab  <schwab@suse.de>
18019             Roland McGrath  <roland@hack.frob.com>
18020             Joseph Myers  <joseph@codesourcery.com>
18021             Carlos O'Donell  <carlos@redhat.com>
18023         [BZ #15755]
18024         * config.h.in: Define HAVE_PT_CHOWN.
18025         * config.make.in (build-pt-chown): New variable.
18026         * configure.in (--enable-pt_chown): New configure option.
18027         * configure: Regenerate.
18028         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18029         build-pt-chown is enabled.
18030         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18031         pt_chown to fix pty ownership.
18032         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18033         CLOSE_ALL_FDS.
18034         * manual/install.texi (Configuring and compiling): Mention
18035         --enable-pt_chown. Add @findex for grantpt.
18036         * INSTALL: Regenerate.
18038 2013-07-20  David S. Miller  <davem@davemloft.net>
18040         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18041         difference between 32-bit and 64-bit.
18043 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18045         [BZ #15711]
18046         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18047         Avoid system header dependency with -ffreestanding.
18048         ($(objpfx)bits/syscall%d): Likewise.
18050 2013-07-13  David S. Miller  <davem@davemloft.net>
18052         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18053         underflows from atanl/atan2l due to bug 15319.
18054         (casinh_test_data): Likewise.
18056 2013-07-07  David S. Miller  <davem@davemloft.net>
18058         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18060 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18062         * sysdeps/i386/fpu/libm-test-ulps: Update.
18063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18065 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18067         * configure.in (--enable-lock-elision): Fix message text.
18068         * INSTALL: Regenerate.
18069         * configure: Regenerate.
18071 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18075 2013-07-03  Andreas Jaeger  <aj@suse.de>
18077         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18078         define.
18079         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18080         (ptrace_peeksiginfo_args): Add.
18081         (__ptrace_peeksiginfo_flags): Add.
18082         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18083         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18084         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18086 2013-07-03  Allan McRae  <allan@archlinux.org>
18088         * sysdeps/i386/fpu/libm-test-ulps: Update.
18090 2013-07-02  David S. Miller  <davem@davemloft.net>
18092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18094 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18098 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18100         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18103 2013-07-02  Andi Kleen <ak@linux.intel.com>
18105         * config.h.in (ENABLE_LOCK_ELISION): Add.
18106         * configure.in (--enable-lock-elision): Add option.
18107         * manual/install.texi: Document --enable lock elision.
18108         * configure: Regenerate
18109         * INSTALL: Regenerate.
18111 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18113         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18114         SSE4.2 strcasecmp for libc.a.
18115         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18117 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18119         [BZ #13304]
18120         * soft-fp/op-common.h (_FP_FMA): New macro.
18121         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18122         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18123         (_FP_MUL_MEAT_1_imm): ... here.
18124         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18125         (_FP_MUL_MEAT_1_wide): ... here.
18126         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18127         (_FP_MUL_MEAT_1_hard): ... here.
18128         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18129         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18130         (_FP_MUL_MEAT_2_wide): ... here.
18131         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18132         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18133         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18134         (_FP_MUL_MEAT_2_gmp): ... here.
18135         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18136         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18137         (_FP_MUL_MEAT_4_wide): ... here.
18138         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18139         (_FP_MUL_MEAT_4_gmp): ... here.
18140         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18141         (_FP_WFRACBITS_DW_S): Likewise.
18142         (_FP_WFRACXBITS_DW_S): Likewise.
18143         (_FP_HIGHBIT_DW_S): Likewise.
18144         (FP_FMA_S): Likewise.
18145         (_FP_FRAC_HIGH_DW_S): Likewise.
18146         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18147         (_FP_WFRACBITS_DW_D): Likewise.
18148         (_FP_WFRACXBITS_DW_D): Likewise.
18149         (_FP_HIGHBIT_DW_D): Likewise.
18150         (FP_FMA_D): Likewise.
18151         (_FP_FRAC_HIGH_DW_D): Likewise.
18152         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18153         (_FP_WFRACBITS_DW_E): Likewise.
18154         (_FP_WFRACXBITS_DW_E): Likewise.
18155         (_FP_HIGHBIT_DW_E): Likewise.
18156         (FP_FMA_E): Likewise.
18157         (_FP_FRAC_HIGH_DW_E): Likewise.
18158         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18159         (_FP_WFRACBITS_DW_Q): Likewise.
18160         (_FP_WFRACXBITS_DW_Q): Likewise.
18161         (_FP_HIGHBIT_DW_Q): Likewise.
18162         (FP_FMA_Q): Likewise.
18163         (_FP_FRAC_HIGH_DW_Q): Likewise.
18164         * soft-fp/fmasf4.c: New file.
18165         * soft-fp/fmadf4.c: Likewise.
18166         * soft-fp/fmatf4.c: Likewise.
18168 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18171         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18172         Silvermont.
18173         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18174         macro.
18175         (index_Slow_SSE4_2): Likewise.
18176         (index_Prefer_PMINUB_for_stringop): Likewise.
18177         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18178         bit_Slow_SSE4_2 is set.
18179         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18180         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18182 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18184         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18185         rtld_global._dl_hwcap2.
18186         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18187         POWER8.
18188         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18189         POWER8 feature descriptions defined in _dl_hwcap2.
18190         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18191         string handling for POWER8 feature bits.
18192         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18193         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18194         _dl_powerpc_cap_flags.
18195         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18196         * sysdeps/powerpc/rtld-global-offsets.sym
18197         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18198         _dl_hwcap2 in the rtld_global_ro structure.
18200 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18202         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18203         hardware capabilities in support of AT_HWCAP2.
18204         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18205         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18206         GLRO(dl_hwcap2).
18207         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18208         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18209         explicitly the unknown a_type display mechanism is used.
18210         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18211         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18212         struct member.
18213         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18214         to macro prototype for AT_HWCAP2 support.
18215         * sysdeps/i386/dl-procinfo.h: Likewise.
18216         * sysdeps/s390/dl-procinfo.h: Likewise.
18217         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18218         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18219         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18220         return -1 for unknown a_type display fallback.
18221         * sysdeps/sparc/dl-procinfo.h: Likewise.
18222         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18223         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18225 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18227         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18228         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18230 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18232         [BZ #12492]
18233         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18234         mprotect making __stack_prot writable.
18236 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18237             Joseph Myers  <joseph@codesourcery.com>
18239         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18240         as being properly aligned.
18242 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18244         * dlfcn/modstatic5.c: New file.
18245         * dlfcn/tststatic5.c: New file.
18246         * dlfcn/Makefile (tests): Add tststatic5.
18247         (tests-static): Likewise.
18248         (modules-names): Add modstatic5.
18249         (tststatic5-ENV): New variable.
18250         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18252         [BZ #15022]
18253         * elf/dl-support.c (_dl_main_map): New variable.
18254         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18255         (_dl_nns, _dl_load_adds): Set to 1.
18256         (_dl_initial_searchlist): Refer to _dl_main_map.
18257         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18258         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18259         call to _dl_get_origin.
18260         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18261         around call_map.
18262         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18263         * dlfcn/modstatic3.c: New file.
18264         * dlfcn/tststatic3.c: New file.
18265         * dlfcn/tststatic4.c: New file.
18266         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18267         (tests-static): Likewise.
18268         (modules-names): Add modstatic3.
18269         (tststatic3-ENV, tststatic4-ENV): New variables.
18270         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18271         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18273 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18275         * configure.in (CC): Require GCC version 4.4 or later.
18276         * configure: Regenerated.
18277         * manual/install.texi (Tools for Compilation): Update GCC version
18278         requirement.
18279         * INSTALL: Regenerated.
18281 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18283         [BZ #15674]
18284         * string/test-memcmp.c (check2): New.
18285         (main): Call check2.
18287         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18289 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18291         [BZ #15022]
18292         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18293         over to...
18294         (dl_open_worker) [!SHARED]: ... here.
18296 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18298         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18300 2013-06-25  Richard Henderson  <rth@redhat.com>
18302         * locale/programs/locarchive.c: Include <libc-internal.h>
18304 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18306         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18307         trailing whitespace removed.
18309 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18311         [BZ #10283]
18312         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18313         * locale/programs/locarchive.c: Include libc-mmap.h.
18314         (prepare_address_space): Take two new outputs (the mmap base and len).
18315         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18316         values.
18317         (create_archive): Declare new mmap base and len values for
18318         prepare_address_space, and store the result in ah.
18319         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18320         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18321         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18322         Declare new mmap base and len values for
18323         prepare_address_space, and store the result in new_ah.
18324         (open_archive): Declare new mmap base and len values for
18325         prepare_address_space, and store the result in ah.
18326         (close_archive): If ah->mmap_base is not NULL, use that and
18327         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18328         * sysdeps/generic/libc-mmap.h: New file.
18330 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18332         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18333         (ALIGN_UP): Likewise.
18334         (PTR_ALIGN_DOWN): Likewise.
18335         (PTR_ALIGN_UP): Likewise.
18337 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18339         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18340         entry mapped to PPC_PLATFORM_POWER8.
18341         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18342         POWER8.
18343         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18344         (_dl_string_platform): Add case for exporting platform position for
18345         POWER8.
18346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18347         search path to sysdeps/powerpc/powerpc32/power8 directory.
18348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18349         search path to sysdeps/powerpc/powerpc64/power8 directory.
18350         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18351         power7 directories.
18352         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18353         power7 directories.
18355 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18357         * INSTALL: Regenerate.
18359         * nscd/connections.c (nscd_init): Fix comment.
18361 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18363         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18365         [BZ #15667]
18366         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18367         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18369 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18371         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18372         DL_DST_REQ_STATIC.
18373         (DL_DST_REQ_STATIC): Remove macro.
18375 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18377         [BZ #7006]
18378         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18379         with a shift of 0 bits.
18381 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18383         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18384         $(tststatic-ENV).
18386 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18388         [BZ #15655]
18389         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18391 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18393         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18394         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18395         accepts -fno-tree-loop-distribute-patterns.
18396         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18397         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18398         recursive call.
18399         * string/memset.c (memset): Likewise.
18400         * string/test-memmove.c (simple_memmove): Disable loop transformation
18401         to library calls.
18402         * string/test-memset.c (simple_memset): Likewise.
18403         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18404         * benchtests/bench-memset.c (simple_memset): Likewise.
18405         * configure: Regenerated.
18407 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18409         * math/test-misc.c (main): Ignore fesetround failure when failures
18410         of subsequent rounding tests would be ignored.
18412         [BZ #15654]
18413         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18414         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18415         * math/fegetenv.c (__fegetenv): Return 0.
18416         * math/fegetexcept.c (fegetexcept): Return 0.
18417         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18418         FE_TONEAREST.
18419         * math/feholdexcpt.c (feholdexcept): Return 0.
18420         * math/fesetenv.c (__fesetenv): Return 0.
18421         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18422         argument FE_TONEAREST.
18423         * math/feupdateenv.c (__feupdateenv): Return 0.
18424         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18426 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18428         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18429         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18430         ($(objpfx)rtld-%.os rules): Use them.
18432 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18434         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18435         fields.
18437 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18439         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18440         length of target pattern, then descending length of dependency pattern.
18441         * configure.in (AWK): Require gawk 3.1.2 or newer.
18442         * manual/install.texi (Tools for Compilation): Say that we do.
18443         * configure: Regenerated.
18445         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18446         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18447         * scripts/sysd-rules.awk: ... this new script.
18448         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18449         than a glob-style pattern.
18451 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18453         * math/test-misc.c (main): Do not treat incorrectly rounded
18454         conversions as failure unless ROUNDING_TESTS passes.
18456 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18458         [BZ #15631]
18459         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18460         restore exception state around main square root computation, then
18461         check for inexactness explicitly.
18463         * math/libm-test.inc (fma_test_data): Add another test.
18465 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18467         * manual/threads.texi (Non-POSIX Extensions): New document
18468         node.  Document pthread_getattr_default_np and
18469         pthread_setattr_default_np.
18471         * Versions.def (libpthread): Add GLIBC_2.18.
18472         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18474         Likewise.
18475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18476         Likewise.
18477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18478         Likewise.
18479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18480         Likewise.
18481         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18482         Likewise.
18483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18484         Likewise.
18485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18486         Likewise.
18487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18488         Likewise.
18489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18490         Likewise.
18492 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18495         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18497 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18498             H.J. Lu  <hjl.tools@gmail.com>
18500         [BZ #15627]
18501         * sysdeps/x86_64/rtld-memset.c: Remove file.
18502         * sysdeps/x86_64/rtld-memset.S: New file.
18504 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18506         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18507         (test_in_one_mode): Take arguments for whether the rounding mode
18508         is supported for each floating-point type.
18509         (do_test): Pass new arguments to test_in_one_mode using
18510         ROUNDING_TESTS.
18512 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18514         * posix/tst-waitid.c (do_test): Distinguish different instances of
18515         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18516         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18517         before entering the kernel for waitpid.
18519 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18521         * NEWS: Fix note on clock function precision.  Text by Roland
18522         McGrath.
18524 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18526         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18527         it into place only when and if the sanity check passes.
18529 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18531         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18532         output for whether conversion result is exact.  Take argument
18533         indicating whether type is IBM long double.
18534         (round_for_all): Change need_exact field to ibm_ld.
18535         * stdlib/tst-strtod-round.c (struct exactness): New type.
18536         (struct test): Change bool ld_ok field to struct exactness exact.
18537         (TEST): Update all definitions for change to field.
18538         (tests): Regenerate array contents.
18539         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18540         field value.  Check for IBM long double here.
18541         (do_test): Update calls to test_in_one_mode.
18543 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18545         [BZ #12515]
18546         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18547         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18549 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18551         [BZ #15605]
18552         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18553         generated by the compiler on loop optimizations.
18554         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18555         general definitions.
18557 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18559         * math/bug-nextafter.c: Include <math-tests.h>.
18560         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18561         the relevant type.
18562         * math/bug-nexttoward.c: Include <math-tests.h>.
18563         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18564         the relevant type.
18565         * math/test-misc.c: Include <math-tests.h>.
18566         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18567         the relevant type.
18569 2013-06-12  Andreas Jaeger  <aj@suse.de>
18571         * po/ia.po: Update Interlingua translation from translation
18572         project.
18574 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18576         * include/fenv.h: Include stdbool.h.
18577         (struct rm_ctx): New structure.
18578         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18579         Define macro.
18580         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18581         (SET_RESTORE_ROUNDF): Likewise.
18582         (SET_RESTORE_ROUNDL): Likewise.
18583         (SET_RESTORE_ROUND_NOEX): Likewise.
18584         (SET_RESTORE_ROUND_NOEXF): Likewise.
18585         (SET_RESTORE_ROUND_NOEXL): Likewise.
18586         (SET_RESTORE_ROUND_53BIT): Likewise.
18587         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18588         (libc_feresetround_noexf_ctx): Likewise.
18589         (libc_feresetround_noexl_ctx): Likewise.
18590         (libc_feholdsetround_53bit_ctx): Likewise.
18591         (libc_feresetround_53bit_ctx): Likewise.
18592         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18593         (libc_feholdexcept_setround_sse_ctx): New function.
18594         (libc_fesetenv_sse_ctx): Likewise.
18595         (libc_feupdateenv_sse_ctx): Likewise.
18596         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18597         (libc_feholdexcept_setround_387_ctx): Likewise.
18598         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18599         (libc_feholdsetround_387_prec_ctx): Likewise.
18600         (libc_feholdsetround_387_ctx): Likewise.
18601         (libc_feholdsetround_387_53bit_ctx): Likewise.
18602         (libc_feholdsetround_sse_ctx): Likewise.
18603         (libc_feresetround_sse_ctx): Likewise.
18604         (libc_feresetround_387_ctx): Likewise.
18605         (libc_feupdateenv_387_ctx): Likewise.
18606         (libc_feholdexcept_setroundf_ctx): Define macro.
18607         (libc_fesetenvf_ctx): Likewise.
18608         (libc_feupdateenvf_ctx): Likewise.
18609         (libc_feholdsetroundf_ctx): Likewise.
18610         (libc_feresetroundf_ctx): Likewise.
18611         (libc_feholdexcept_setround_ctx): Likewise.
18612         (libc_fesetenv_ctx): Likewise.
18613         (libc_feupdateenv_ctx): Likewise.
18614         (libc_feholdsetround_ctx): Likewise.
18615         (libc_feresetround_ctx): Likewise.
18616         (libc_feholdexcept_setroundl_ctx): Likewise.
18617         (libc_feupdateenvl_ctx): Likewise.
18618         (libc_feholdsetroundl_ctx): Likewise.
18619         (libc_feresetroundl_ctx): Likewise.
18620         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18621         (libc_feresetround_53bit_ctx): Likewise.
18623 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18625         * locale/iso-639.def: Convert to UTF-8.
18627 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18629         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18630         (EXCEPTION_TESTS_double): Likewise.
18631         (EXCEPTION_TESTS_long_double): Likewise.
18632         (EXCEPTION_TESTS): Likewise.
18633         * math/libm-test.inc (test_exceptions): Only test exceptions if
18634         EXCEPTION_TESTS (FLOAT).
18636 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18638         * benchtests/Makefile (string-bench): Add strcpy_chk and
18639         stpcpy_chk.
18640         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18641         * benchtests/bench-stpcpy_chk.c: New file.
18642         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18643         * benchtests/bench-strcpy_chk.c: New file.
18644         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18645         code.
18646         (do_test): Likewise.
18648 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18650         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18651         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18652         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18653         with tabs where appropriate.
18654         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18655         dl-procinfo.h.
18656         [PPC_PLATFORM_PPC440]: Likewise.
18657         [PPC_PLATFORM_PPC464]: Likewise.
18658         [PPC_PLATFORM_PPC476]: Likewise.
18659         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18660         ppc464, and ppc476 platform strings merging from ports/
18661         dl-procinfo.h.
18663 2013-06-11  Andreas Schwab  <schwab@suse.de>
18665         [BZ #14991]
18666         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18667         (from_ucs4_idx): Regenerate.
18668         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18669         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18670         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18671         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18672         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18673         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18674         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18675         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18676         from FROM_LOOP and TO_LOOP specific macros.
18677         (BODY): Handle combining characters.
18678         * iconvdata/BIG5HKSCS.irreversible: Update.
18679         * iconvdata/BIG5HKSCS.precomposed: New file.
18680         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18681         characters.
18682         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18684 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18686         * include/sys/time.h: Fix indentation and add copyright header.
18688         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18689         (do_test): Likewise.
18690         * string/test-memchr.c (do_one_test): Likewise.
18691         (do_test): Likewise.
18692         * string/test-memcmp.c (do_one_test): Likewise.
18693         (do_test): Likewise.
18694         * string/test-memcpy.c (do_one_test): Likewise.
18695         (do_test): Likewise.
18696         * string/test-memmem.c (do_one_test): Likewise.
18697         (do_test): Likewise.
18698         (do_random_tests): Likewise.
18699         * string/test-memmove.c (do_one_test): Likewise.
18700         (do_test): Likewise.
18701         * string/test-memset.c (do_one_test): Likewise.
18702         (do_test): Likewise.
18703         * string/test-rawmemchr.c (do_one_test): Likewise.
18704         (do_test): Likewise.
18705         * string/test-strcasecmp.c (do_one_test): Likewise.
18706         (do_test): Likewise.
18707         * string/test-strcasestr.c (do_one_test): Likewise.
18708         (do_test): Likewise.
18709         * string/test-strcat.c (do_one_test): Likewise.
18710         (do_test): Likewise.
18711         * string/test-strchr.c (do_one_test): Likewise.
18712         (do_test): Likewise.
18713         * string/test-strcmp.c (do_one_test): Likewise.
18714         (do_test): Likewise.
18715         * string/test-strcpy.c (do_one_test): Likewise.
18716         (do_test): Likewise.
18717         * string/test-string.h: Likewise.
18718         (test_init): Likewise.
18719         * string/test-strlen.c (do_one_test): Likewise.
18720         (do_test): Likewise.
18721         * string/test-strncasecmp.c (do_one_test): Likewise.
18722         (do_test): Likewise.
18723         * string/test-strncat.c (do_one_test): Likewise.
18724         (do_test): Likewise.
18725         * string/test-strncmp.c (do_one_test): Likewise.
18726         (do_test_limit): Likewise.
18727         (do_test): Likewise.
18728         * string/test-strncpy.c (do_one_test): Likewise.
18729         (do_test): Likewise.
18730         * string/test-strnlen.c (do_one_test): Likewise.
18731         (do_test): Likewise.
18732         * string/test-strpbrk.c (do_one_test): Likewise.
18733         (do_test): Likewise.
18734         * string/test-strrchr.c (do_one_test): Likewise.
18735         (do_test): Likewise.
18736         * string/test-strspn.c (do_one_test): Likewise.
18737         (do_test): Likewise.
18738         * string/test-strstr.c (do_one_test): Likewise.
18739         (do_test): Likewise.
18741         * benchtests/Makefile (string-bench): Add string benchmarks.
18742         * benchtests/bench-bcopy-ifunc.c: New file.
18743         * benchtests/bench-bcopy.c: New file.
18744         * benchtests/bench-bzero-ifunc.c: New file.
18745         * benchtests/bench-bzero.c: New file.
18746         * benchtests/bench-memccpy-ifunc.c: New file.
18747         * benchtests/bench-memccpy.c: New file.
18748         * benchtests/bench-memchr-ifunc.c: New file.
18749         * benchtests/bench-memchr.c: New file.
18750         * benchtests/bench-memcmp-ifunc.c: New file.
18751         * benchtests/bench-memcmp.c: New file.
18752         * benchtests/bench-memmem-ifunc.c: New file.
18753         * benchtests/bench-memmem.c: New file.
18754         * benchtests/bench-memmove-ifunc.c: New file.
18755         * benchtests/bench-memmove.c: New file.
18756         * benchtests/bench-mempcpy-ifunc.c: New file.
18757         * benchtests/bench-mempcpy.c: New file.
18758         * benchtests/bench-memset-ifunc.c: New file.
18759         * benchtests/bench-memset.c: New file.
18760         * benchtests/bench-rawmemchr-ifunc.c: New file.
18761         * benchtests/bench-rawmemchr.c: New file.
18762         * benchtests/bench-stpcpy-ifunc.c: New file.
18763         * benchtests/bench-stpcpy.c: New file.
18764         * benchtests/bench-stpncpy-ifunc.c: New file.
18765         * benchtests/bench-stpncpy.c: New file.
18766         * benchtests/bench-strcasecmp-ifunc.c: New file.
18767         * benchtests/bench-strcasecmp.c: New file.
18768         * benchtests/bench-strcasestr-ifunc.c: New file.
18769         * benchtests/bench-strcasestr.c: New file.
18770         * benchtests/bench-strcat-ifunc.c: New file.
18771         * benchtests/bench-strcat.c: New file.
18772         * benchtests/bench-strchr-ifunc.c: New file.
18773         * benchtests/bench-strchr.c: New file.
18774         * benchtests/bench-strchrnul-ifunc.c: New file.
18775         * benchtests/bench-strchrnul.c: New file.
18776         * benchtests/bench-strcmp-ifunc.c: New file.
18777         * benchtests/bench-strcmp.c: New file.
18778         * benchtests/bench-strcpy-ifunc.c: New file.
18779         * benchtests/bench-strcpy.c: New file.
18780         * benchtests/bench-strcspn-ifunc.c: New file.
18781         * benchtests/bench-strcspn.c: New file.
18782         * benchtests/bench-strlen-ifunc.c: New file.
18783         * benchtests/bench-strlen.c: New file.
18784         * benchtests/bench-strncasecmp-ifunc.c: New file.
18785         * benchtests/bench-strncasecmp.c: New file.
18786         * benchtests/bench-strncat-ifunc.c: New file.
18787         * benchtests/bench-strncat.c: New file.
18788         * benchtests/bench-strncmp-ifunc.c: New file.
18789         * benchtests/bench-strncmp.c: New file.
18790         * benchtests/bench-strncpy-ifunc.c: New file.
18791         * benchtests/bench-strncpy.c: New file.
18792         * benchtests/bench-strnlen-ifunc.c: New file.
18793         * benchtests/bench-strnlen.c: New file.
18794         * benchtests/bench-strpbrk-ifunc.c: New file.
18795         * benchtests/bench-strpbrk.c: New file.
18796         * benchtests/bench-strrchr-ifunc.c: New file.
18797         * benchtests/bench-strrchr.c: New file.
18798         * benchtests/bench-strspn-ifunc.c: New file.
18799         * benchtests/bench-strspn.c: New file.
18800         * benchtests/bench-strstr-ifunc.c: New file.
18801         * benchtests/bench-strstr.c: New file.
18803         * benchtests/Makefile: Disable parallel execution of targets.
18804         (string-bench): Add memcpy.
18805         (benchset): New variable to store a list of benchmark sets.
18806         (bench-func): Renamed from bench.
18807         (bench-set): New target.
18808         (bench): Depend on bench-func and bench-set.
18809         * benchtests/README: Add section on benchmark sets.
18810         * benchtests/bench-memcpy-ifunc.c: New file.
18811         * benchtests/bench-memcpy.c: New file.
18812         * benchtests/bench-string.h: New file.
18814 2013-06-11  Andreas Schwab  <schwab@suse.de>
18816         [BZ #15577]
18817         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18818         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18819         values in the triple.
18820         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18821         terminator in the group key.
18823 2013-06-11  Andreas Jaeger  <aj@suse.de>
18825         * po/zh_TW.po: Update Chinese (traditional) translation from
18826         translation project.
18828 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18830         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18831         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18832         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18833         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18834         (clock_getcpuclockid): Likewise.
18835         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18836         Add weak_alias and libc_hidden_def.
18837         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18838         * rt/clock_gettime.c (clock_gettime): Rename to
18839         __clock_gettime.  Add weak_alias and libc_hidden_def.
18840         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18841         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18842         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18843         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18844         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18845         Likewise.
18846         * rt/clock_settime.c (clock_settime): Rename to
18847         __clock_settime.  Add weak_alias and libc_hidden_def.
18848         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18850 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18852         * mach/err_boot.sub: Remove trailing whitespace.
18853         * mach/err_ipc.sub: Likewise.
18854         * mach/err_mach.sub: Likewise.
18856         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18857         (ROUNDING_TESTS_double): Likewise.
18858         (ROUNDING_TESTS_long_double): Likewise.
18859         (ROUNDING_TESTS): Likewise.
18860         * math/libm-test.inc: Include <math-tests.h>.
18861         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18862         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18863         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18864         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18866 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18868         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18869         of assigning.
18871 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18873         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18874         otherwise empty TRANS lines.
18875         * sysdeps/gnu/errlist.c: Regenerated.
18877         * catgets/gencat.c (error_print): Use (void) in function
18878         definition.
18879         * crypt/crypt_util.c (__init_des): Likewise.
18880         * crypt/speeds.c (Stop): Likewise.
18881         (main): Likewise.
18882         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18883         * inet/ruserpass.c (token): Likewise.
18884         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18885         * intl/localealias.c (extend_alias_table): Likewise.
18886         * intl/plural-exp.c (init_germanic_plural): Likewise.
18887         * libio/fcloseall.c (__fcloseall): Likewise.
18888         * libio/genops.c (_IO_flush_all): Likewise.
18889         (_IO_flush_all_linebuffered): Likewise.
18890         (_IO_cleanup): Likewise.
18891         (_IO_iter_begin): Likewise.
18892         (_IO_iter_end): Likewise.
18893         (_IO_list_lock): Likewise.
18894         (_IO_list_unlock): Likewise.
18895         (_IO_list_resetlock): Likewise.
18896         * libio/getchar.c (getchar): Likewise.
18897         * libio/getchar_u.c (getchar_unlocked): Likewise.
18898         * libio/getwchar.c (getwchar): Likewise.
18899         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18900         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18901         * login/getpt.c (__getpt): Likewise.
18902         * login/tst-utmp.c (main): Likewise.
18903         * malloc/hooks.c (__malloc_check_init): Likewise.
18904         * malloc/malloc.c (__malloc_stats): Likewise.
18905         * malloc/mtrace.c (tr_break): Likewise.
18906         (mtrace): Likewise.
18907         (muntrace): Likewise.
18908         * misc/fstab.c (endfsent): Likewise.
18909         * misc/getclktck.c (__getclktck): Likewise.
18910         * misc/getdtsz.c (__getdtablesize): Likewise.
18911         * misc/gethostid.c (gethostid): Likewise.
18912         * misc/getpagesize.c (__getpagesize): Likewise.
18913         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18914         (__get_nprocs): Likewise.
18915         (__get_phys_pages): Likewise.
18916         (__get_avphys_pages): Likewise.
18917         * misc/getttyent.c (getttyent): Likewise.
18918         (setttyent): Likewise.
18919         (endttyent): Likewise.
18920         * misc/getusershell.c (getusershell): Likewise.
18921         (endusershell): Likewise.
18922         (setusershell): Likewise.
18923         (initshells): Likewise.
18924         * misc/hsearch.c (__hdestroy): Likewise.
18925         * misc/sync.c (sync): Likewise.
18926         * misc/syslog.c (closelog_internal): Likewise.
18927         (closelog): Likewise.
18928         * misc/ttyslot.c (ttyslot): Likewise.
18929         * misc/vhangup.c (vhangup): Likewise.
18930         * posix/fork.c (__fork): Likewise.
18931         * posix/getegid.c (__getegid): Likewise.
18932         * posix/geteuid.c (__geteuid): Likewise.
18933         * posix/getgid.c (__getgid): Likewise.
18934         * posix/getpid.c (__getpid): Likewise.
18935         * posix/getppid.c (__getppid): Likewise.
18936         * posix/getuid.c (__getuid): Likewise.
18937         * posix/pause.c (pause): Likewise.
18938         * posix/setpgrp.c (setpgrp): Likewise.
18939         * posix/setsid.c (__setsid): Likewise.
18940         * posix/test-vfork.c (noop): Likewise.
18941         * resolv/gethnamaddr.c (_endhtent): Likewise.
18942         (_gethtent): Likewise.
18943         (ht_endhostent): Likewise.
18944         (gethostent): Likewise.
18945         (dns_service): Likewise.
18946         * stdlib/drand48.c (drand48): Likewise.
18947         * stdlib/lrand48.c (lrand48): Likewise.
18948         * stdlib/mrand48.c (mrand48): Likewise.
18949         * stdlib/rand.c (rand): Likewise.
18950         * stdlib/random.c (__random): Likewise.
18951         * stdlib/setenv.c (clearenv): Likewise.
18952         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18953         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18954         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18955         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18956         (__get_nprocs): Likewise.
18957         (__get_phys_pages): Likewise.
18958         (__get_avphys_pages): Likewise.
18959         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18960         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18961         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18962         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18963         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18964         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18965         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18966         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18967         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18968         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18969         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18970         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18971         * sysdeps/posix/clock.c (clock): Likewise.
18972         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18973         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18974         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18975         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18976         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18977         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18978         (__get_nprocs_conf): Likewise.
18979         (__get_phys_pages): Likewise.
18980         (__get_avphys_pages): Likewise.
18981         * time/clock.c (clock): Likewise.
18982         * time/tzset.c (__tzname_max): Likewise.
18984 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18986         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18987         (__bswap_32): Do not use "register".
18988         * crypt/crypt.c (_ufc_doit_r): Likewise.
18989         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18990         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18991         * gmon/gmon.c (__monstartup): Likewise.
18992         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18993         * hurd/hurdmalloc.c (more_memory): Likewise.
18994         (malloc): Likewise.
18995         (free): Likewise.
18996         (realloc): Likewise.
18997         (malloc_fork_prepare): Likewise.
18998         (malloc_fork_parent): Likewise.
18999         (malloc_fork_child): Likewise.
19000         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19001         (_svcauth_des): Likewise.
19002         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19003         * inet/inet_net.c (inet_network): Likewise.
19004         * inet/inet_netof.c (inet_netof): Likewise.
19005         * inet/rcmd.c (__validuser2_sa): Likewise.
19006         * io/fts.c (fts_open): Likewise.
19007         (fts_load): Likewise.
19008         (fts_close): Likewise.
19009         (fts_read): Likewise.
19010         (fts_children): Likewise.
19011         (fts_build): Likewise.
19012         (fts_stat): Likewise.
19013         (fts_sort): Likewise.
19014         (fts_alloc): Likewise.
19015         (fts_lfree): Likewise.
19016         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19017         (_IO_file_xsgetn): Likewise.
19018         (_IO_file_xsgetn_mmap): Likewise.
19019         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19020         (_IO_cookie_write): Likewise.
19021         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19022         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19023         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19024         * malloc/obstack.c (_obstack_begin): Likewise.
19025         (_obstack_begin_1): Likewise.
19026         (_obstack_newchunk): Likewise.
19027         (_obstack_allocated_p): Likewise.
19028         (obstack_free): Likewise.
19029         (_obstack_memory_used): Likewise.
19030         * misc/getttyent.c (getttynam): Likewise.
19031         (getttyent): Likewise.
19032         (skip): Likewise.
19033         (value): Likewise.
19034         * misc/getusershell.c (initshells): Likewise.
19035         * misc/syslog.c (__vsyslog_chk): Likewise.
19036         * misc/ttyslot.c (ttyslot): Likewise.
19037         * nis/nis_hash.c (__nis_hash): Likewise.
19038         * posix/fnmatch_loop.c (FCT): Likewise.
19039         * posix/getconf.c (print_all): Likewise.
19040         (main): Likewise.
19041         * posix/getopt.c (exchange): Likewise.
19042         * posix/glob.c (globfree): Likewise.
19043         (prefix_array): Likewise.
19044         (__glob_pattern_type): Likewise.
19045         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19046         (NS_GET32): Likewise.
19047         (NS_PUT16): Likewise.
19048         (NS_PUT32): Likewise.
19049         * resolv/gethnamaddr.c (getanswer): Likewise.
19050         (gethostbyname2): Likewise.
19051         (gethostbyaddr): Likewise.
19052         (_gethtent): Likewise.
19053         (_gethtbyname2): Likewise.
19054         (_gethtbyaddr): Likewise.
19055         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19056         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19057         * resolv/res_init.c (__res_vinit): Likewise.
19058         (net_mask): Likewise.
19059         * resolv/res_mkquery.c (outchar): Likewise.
19060         (PRINT): Likewise.
19061         * stdio-common/printf_fp.c (outchar): Likewise.
19062         (PRINT): Likewise.
19063         * stdio-common/printf_fphex.c (outchar): Likewise.
19064         (PRINT): Likewise.
19065         * stdio-common/printf_size.c (outchar): Likewise.
19066         (PRINT): Likewise.
19067         * stdio-common/test_rdwr.c (main): Likewise.
19068         * stdio-common/tfformat.c (matches): Likewise.
19069         * stdio-common/vfprintf.c (outchar): Likewise.
19070         (printf_unknown): Likewise.
19071         (buffered_vfprintf): Likewise.
19072         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19073         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19074         (ReadFile): Likewise.
19075         * stdlib/qsort.c (SWAP): Likewise.
19076         (_quicksort): Likewise.
19077         * stdlib/setenv.c (__add_to_environ): Likewise.
19078         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19079         * stdlib/strtol_l.c (__strtol_l): Likewise.
19080         * stdlib/tst-strtod.c (main): Likewise.
19081         * stdlib/tst-strtol.c (main): Likewise.
19082         * stdlib/tst-strtoll.c (main): Likewise.
19083         * string/bits/string2.h (__strcmp_cc): Likewise.
19084         (__strcmp_cg): Likewise.
19085         (__strcspn_c1): Likewise.
19086         (__strcspn_c2): Likewise.
19087         (__strcspn_c3): Likewise.
19088         (__strspn_c1): Likewise.
19089         (__strspn_c2): Likewise.
19090         (__strspn_c3): Likewise.
19091         (__strsep_1c): Likewise.
19092         (__strsep_2c): Likewise.
19093         (__strsep_3c): Likewise.
19094         * string/memccpy.c (__memccpy): Likewise.
19095         * string/stpcpy.c (__stpcpy): Likewise.
19096         * string/strcmp.c (strcmp): Likewise.
19097         * string/strrchr.c (strrchr): Likewise.
19098         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19099         Likewise.
19100         * sysdeps/mach/hurd/getcwd.c
19101         (_hurd_canonicalize_directory_name_internal): Likewise.
19102         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19103         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19104         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19105         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19106         Likewise, in both definitions.
19107         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19108         definitions.
19109         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19110         64] (__bswap_64): Likewise.
19111         * time/test_time.c (main): Likewise.
19112         * time/tzfile.c (__tzfile_read): Likewise.
19113         (__tzfile_compute): Likewise.
19114         * time/tzset.c (__tzset_parse_tz): Likewise.
19115         (tzset_internal): Likewise.
19116         (compute_change): Likewise.
19117         * wcsmbs/wcscat.c (__wcscat): Likewise.
19118         * wcsmbs/wcschr.c (wcschr): Likewise.
19119         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19120         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19121         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19122         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19123         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19124         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19125         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19126         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19127         * wcsmbs/wmemset.c (wmemset): Likewise.
19129 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19131         * scripts/config.guess: Update to version 2013-05-16.
19132         * scripts/config.sub: Update to version 2013-04-24.
19133         * scripts/install-sh: Update to version 2011-11-20.07.
19134         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19135         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19137 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19139         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19140         * elf/sln.c: Likewise.
19141         * hurd/hurd/ioctl.h: Likewise.
19142         * hurd/hurdmalloc.c: Likewise.
19143         * hurd/xattr.c: Likewise.
19144         * include/shlib-compat.h: Likewise.
19145         * inet/ruserpass.c: Likewise.
19146         * libio/iofgets_u.c: Likewise.
19147         * libio/iofgetws_u.c: Likewise.
19148         * locale/programs/ld-identification.c: Likewise.
19149         * locale/programs/ld-time.c: Likewise.
19150         * mach/msg-destroy.c: Likewise.
19151         * nss/nss_files/files-netgrp.c: Likewise.
19152         * resolv/res_data.c: Likewise.
19153         * soft-fp/op-1.h: Likewise.
19154         * soft-fp/op-2.h: Likewise.
19155         * soft-fp/op-4.h: Likewise.
19156         * soft-fp/op-common.h: Likewise.
19157         * stdio-common/printf_fphex.c: Likewise.
19158         * stdlib/strtod_l.c: Likewise.
19159         * sunrpc/rpc/clnt.h: Likewise.
19160         * sysdeps/generic/framestate.c: Likewise.
19161         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19162         * sysdeps/i386/bsd-setjmp.S: Likewise.
19163         * sysdeps/i386/__longjmp.S: Likewise.
19164         * sysdeps/i386/setjmp.S: Likewise.
19165         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19166         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19167         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19168         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19169         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19170         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19171         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19172         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19173         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19174         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19175         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19176         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19177         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19178         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19179         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19180         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19181         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19182         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19183         * sysdeps/ieee754/support.c: Likewise.
19184         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19185         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19186         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19187         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19188         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19189         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19190         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19191         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19192         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19193         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19194         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19195         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19196         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19197         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19198         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19199         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19200         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19203 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19205         * posix/transbug.c: Remove executable mode.
19207 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19209         * crypt/speeds.c: Remove trailing whitespace.
19210         * dlfcn/default.c: Likewise.
19211         * elf/ifuncdep2.c: Likewise.
19212         * elf/ifuncmain1.c: Likewise.
19213         * elf/ifuncmain1vis.c: Likewise.
19214         * elf/testobj.h: Likewise.
19215         * elf/tst-stackguard1.c: Likewise.
19216         * gmon/sys/gmon.h: Likewise.
19217         * hurd/hurdmsg.c: Likewise.
19218         * hurd/new-fd.c: Likewise.
19219         * hurd/ports-get.c: Likewise.
19220         * iconvdata/ibm1008_420.c: Likewise.
19221         * inet/tst-getni1.c: Likewise.
19222         * inet/tst-getni2.c: Likewise.
19223         * libio/ioungetc.c: Likewise.
19224         * libio/wfiledoalloc.c: Likewise.
19225         * manual/libm-err-tab.pl: Likewise.
19226         * math/w_dremf.c: Likewise.
19227         * misc/ftruncate.c: Likewise.
19228         * posix/bug-glob2.c: Likewise.
19229         * posix/tst-pcre.c: Likewise.
19230         * posix/wait4.c: Likewise.
19231         * resolv/README: Likewise.
19232         * resolv/res_debug.h: Likewise.
19233         * resolv/tst-inet_ntop.c: Likewise.
19234         * setjmp/bug269-setjmp.c: Likewise.
19235         * soft-fp/extended.h: Likewise.
19236         * soft-fp/op-1.h: Likewise.
19237         * soft-fp/op-2.h: Likewise.
19238         * soft-fp/op-4.h: Likewise.
19239         * soft-fp/op-8.h: Likewise.
19240         * soft-fp/testit.c: Likewise.
19241         * stdio-common/bug16.c: Likewise.
19242         * stdlib/random.c: Likewise.
19243         * sunrpc/rpcsvc/rquota.x: Likewise.
19244         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19245         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19246         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19247         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19248         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19249         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19250         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19251         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19252         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19253         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19254         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19255         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19256         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19257         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19258         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19259         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19260         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19261         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19262         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19263         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19264         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19265         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19266         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19267         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19268         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19269         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19270         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19271         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19272         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19273         * sysdeps/ieee754/s_lib_version.c: Likewise.
19274         * sysdeps/mach/hurd/check_fds.c: Likewise.
19275         * sysdeps/mach/hurd/getsockname.c: Likewise.
19276         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19277         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19278         * sysdeps/powerpc/bits/link.h: Likewise.
19279         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19280         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19281         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19282         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19283         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19284         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19285         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19286         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19287         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19288         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19289         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19290         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19291         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19292         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19293         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19294         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19295         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19296         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19297         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19298         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19299         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19300         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19301         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19302         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19303         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19304         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19305         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19306         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19307         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19308         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19309         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19310         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19311         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19312         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19313         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19314         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19315         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19316         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19317         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19318         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19319         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19320         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19321         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19322         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19323         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19324         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19325         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19326         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19327         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19328         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19329         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19330         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19331         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19332         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19333         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19334         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19335         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19336         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19337         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19338         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19339         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19340         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19341         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19342         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19343         * sysdeps/powerpc/sysdep.h: Likewise.
19344         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19345         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19346         * sysdeps/sh/dl-trampoline.S: Likewise.
19347         * sysdeps/sh/memset.S: Likewise.
19348         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19349         * sysdeps/sh/strlen.S: Likewise.
19350         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19351         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19352         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19353         * sysdeps/sparc/sparc32/rem.S: Likewise.
19354         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19355         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19356         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19357         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19358         * sysdeps/sparc/sparc32/urem.S: Likewise.
19359         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19360         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19361         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19362         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19363         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19364         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19365         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19366         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19367         * sysdeps/unix/bsd/times.c: Likewise.
19368         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19369         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19373         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19374         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19375         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19376         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19377         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19378         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19379         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19380         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19381         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19382         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19383         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19384         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19385         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19386         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19387         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19388         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19389         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19390         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19391         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19392         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19393         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19394         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19395         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19396         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19397         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19398         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19399         * sysdeps/x86_64/strcspn.S: Likewise.
19401 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19403         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19404         generated file.  Regenerate properly from gen-translit.pl.
19405         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19406         locale/C-translit.h.
19408 2013-06-05  Andreas Schwab  <schwab@suse.de>
19410         [BZ #15100]
19411         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19412         week as 6 instead of -1.
19413         * time/tst-strptime.c (day_tests): Add test case.
19415 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19417         * sysdeps/generic/math_private.h
19418         (libc_feholdexcept_setround_53bit): Replace with
19419         libc_feholdsetround_53bit.
19420         (libc_feupdateenv_53bit): Replace with
19421         libc_feresetround_53bit.
19422         (SET_RESTORE_ROUND_53BIT): Adjust.
19424 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19426         * string/test-strchrnul.c: Add copyright header.
19428         * posix/tst-getaddrinfo4.c: Increase test timeout.
19430 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19432         [BZ #15536]
19433         * math/libm-test.inc (MAX_EXP): Remove
19434         (MIN_EXP): Define.
19435         (ulp): Use MIN_EXP - MANT_DIG.
19436         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19438 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19440         * po/be.po: Revert last change.
19441         * po/zh_CN.po: Likewise.
19442         * po/header.pot: Likewise.
19444 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19446         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19447         link-libc-deps to empty as target-specific variable.
19448         * Makerules (link-libc-args): New variable.
19449         (libc-for-link): Likewise.
19450         (link-libc-deps): Likewise.
19451         (lib%.so): Depend on $(link-libc-deps).  Link with
19452         $(link-libc-args).
19453         (build-module): Link with $(link-libc-args).
19454         (build-module-asneeded): Likewise.
19455         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19456         list of objects.
19457         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19458         target-specific variable.
19459         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19460         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19461         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19462         libc.
19463         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19464         libc and ld.so.
19465         ($(objpfx)libpcprofile.so): Likewise.
19466         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19467         libc_nonshared.a.
19468         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19469         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19470         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19471         $(link-libc-deps).
19472         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19473         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19474         * login/Makefile ($(objpfx)libutil.so): Likewise.
19475         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19476         * math/Makefile ($(objpfx)libm.so): Likewise.
19477         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19478         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19479         variable instead of depending directly on libc.
19480         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19481         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19482         $(link-libc-deps).
19483         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19484         libc.
19485         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19486         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19487         ($(objpfx)libanl.so): Likewise.
19488         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19489         ld.so.
19490         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19491         $(link-libc-deps).
19492         * sysdeps/i386/fpu/Makefile: Remove file.
19493         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19494         ($(objpfx)libm.so): Remove dependency on ld.so.
19496 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19498         [BZ # 15553]
19499         * nis/yp_xdr.c (XDRMAXNAME): Define.
19500         (XDRMAXRECORD): Define.
19501         (xdr_domainname): Use XDRMAXNAME.
19502         (xdr_mapname): Likewise.
19503         (xdr_peername): Likewise.
19504         (xdr_keydat): Use XDRMAXRECORD.
19505         (xdr_valdat): Likewise.
19507 2013-05-30  Jeff Law  <law@redhat.com>
19509         [BZ #14256]
19510         * manual/errno.texi (ESTALE): Update to account for more than
19511         just NFS file systems.
19512         * sysdeps/gnu/errlist.c: Regenerated.
19514 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19516         [BZ #15465]
19517         * elf/Makefile (tests): Add tst-null-argv.
19518         (modules-names):  Add tst-null-argv-lib.
19519         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19520         (tst-null-argv-ENV): Set environment for tst-null-argv.
19521         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19522         (RTLD_PROGNAME): New macro.
19523         * elf/tst-null-argv.c: New test case.
19524         * elf/tst-null-argv-lib.c: Library for test case.
19525         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19526         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19527         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19528         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19529         * elf/dl-init.c (call_init): Likewise.
19530         (_dl_init): Likewise.
19531         * elf/dl-load.c (print_search_path): Likewise.
19532         (_dl_map_object): Likewise.
19533         * elf/dl-lookup.c (do_lookup_x): Likewise.
19534         (add_dependency): Likewise.
19535         (_dl_lookup_symbol_x): Likewise.
19536         (_dl_debug_bindings): Likewise.
19537         * elf/dl-open.c (_dl_show_scope): Likewise.
19538         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19539         * elf/dl-version.c (match_symbol): Likewise.
19540         (_dl_check_map_versions): Likewise.
19541         * elf/rtld.c (dl_main): Likewise.
19542         (print_unresolved): Use RTLD_PROGNAME.
19543         (print_missing_version): Likewise.
19544         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19545         (elf_machine_rela): Likewise.
19546         * sysdeps/powerpc/powerpc32/dl-machine.c
19547         (__process_machine_rela): Likewise.
19548         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19549         Likewise.
19550         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19551         Likewise.
19552         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19553         Likewise.
19554         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19555         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19556         Likewise.
19557         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19558         Likewise.
19559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19561 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19563         * po/be.po: Add descriptive title.
19564         * po/zh_CN.po: Likewise.
19565         * po/header.pot: Likewise.
19567 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19569         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19570         error message.
19571         (enlarge_archive): Likewise.
19573 2013-05-28  Ben North  <ben@redfrontdoor.org>
19575         * manual/arith.texi (frexp): It is the magnitude of the return
19576         value which lies in [0.5, 1), not the return value itself.
19578 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19582 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19584         * stdio-common/bug26.c (main): Correct fscanf template.
19586         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19587         declare _dl_skip_args.
19589         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19590         Don't declare.
19592         * manual/platform.texi: Add missing @end deftypefun.
19594 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19596         [BZ #15529]
19597         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19598         bit of mantissa of 2^16382.
19599         * math/libm-test.inc (hypot_test_data): Add more tests.
19601         * math/libm-test.inc: Add drem and pow10 to list of tested
19602         functions.
19603         (pow10_test): New function.
19604         (drem_test): Likewise.
19605         (drem_test_tonearest): Likewise.
19606         (drem_test_towardzero): Likewise.
19607         (drem_test_downward): Likewise.
19608         (drem_test_upward): Likewise.
19609         (main): Call the new functions.
19611         * math/libm-test.inc (finite_test_data): Remove.
19612         (finite_test): Run tests from isfinite_test_data.
19613         (gamma_test_data): Remove.
19614         (gamma_test): Run tests from lgamma_test_data.
19615         * sysdeps/i386/fpu/libm-test-ulps: Update.
19616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19618 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19620         * manual/platform.texi: Add PowerPC PPR function set documentation.
19621         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19622         implementation.
19624 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19626         * math/libm-test.inc (MAX_EXP): Define.
19627         (ULPDIFF): Define.
19628         (ulp): New function.
19629         (check_float_internal): Use ULPDIFF.
19630         (cpow_test): Disable failing test.
19631         (check_ulp): Test ulp() implemetnation.
19632         (main): Call check_ulp before starting tests.
19634 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19636         * math/gen-libm-test.pl (generate_testfile): Do not handle
19637         START_DATA and END_DATA.
19638         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19639         END_DATA.
19640         (acos_tonearest_test_data): Likewise.
19641         (acos_towardzero_test_data): Likewise.
19642         (acos_downward_test_data): Likewise.
19643         (acos_upward_test_data): Likewise.
19644         (acosh_test_data): Likewise.
19645         (asin_test_data): Likewise.
19646         (asin_tonearest_test_data): Likewise.
19647         (asin_towardzero_test_data): Likewise.
19648         (asin_downward_test_data): Likewise.
19649         (asin_upward_test_data): Likewise.
19650         (asinh_test_data): Likewise.
19651         (atan_test_data): Likewise.
19652         (atanh_test_data): Likewise.
19653         (atan2_test_data): Likewise.
19654         (cabs_test_data): Likewise.
19655         (cacos_test_data): Likewise.
19656         (cacosh_test_data): Likewise.
19657         (carg_test_data): Likewise.
19658         (casin_test_data): Likewise.
19659         (casinh_test_data): Likewise.
19660         (catan_test_data): Likewise.
19661         (catanh_test_data): Likewise.
19662         (cbrt_test_data): Likewise.
19663         (ccos_test_data): Likewise.
19664         (ccosh_test_data): Likewise.
19665         (ceil_test_data): Likewise.
19666         (cexp_test_data): Likewise.
19667         (cimag_test_data): Likewise.
19668         (clog_test_data): Likewise.
19669         (clog10_test_data): Likewise.
19670         (conj_test_data): Likewise.
19671         (copysign_test_data): Likewise.
19672         (cos_test_data): Likewise.
19673         (cos_tonearest_test_data): Likewise.
19674         (cos_towardzero_test_data): Likewise.
19675         (cos_downward_test_data): Likewise.
19676         (cos_upward_test_data): Likewise.
19677         (cosh_test_data): Likewise.
19678         (cosh_tonearest_test_data): Likewise.
19679         (cosh_towardzero_test_data): Likewise.
19680         (cosh_downward_test_data): Likewise.
19681         (cosh_upward_test_data): Likewise.
19682         (cpow_test_data): Likewise.
19683         (cproj_test_data): Likewise.
19684         (creal_test_data): Likewise.
19685         (csin_test_data): Likewise.
19686         (csinh_test_data): Likewise.
19687         (csqrt_test_data): Likewise.
19688         (ctan_test_data): Likewise.
19689         (ctan_tonearest_test_data): Likewise.
19690         (ctan_towardzero_test_data): Likewise.
19691         (ctan_downward_test_data): Likewise.
19692         (ctan_upward_test_data): Likewise.
19693         (ctanh_test_data): Likewise.
19694         (ctanh_tonearest_test_data): Likewise.
19695         (ctanh_towardzero_test_data): Likewise.
19696         (ctanh_downward_test_data): Likewise.
19697         (ctanh_upward_test_data): Likewise.
19698         (erf_test_data): Likewise.
19699         (erfc_test_data): Likewise.
19700         (exp_test_data): Likewise.
19701         (exp_tonearest_test_data): Likewise.
19702         (exp_towardzero_test_data): Likewise.
19703         (exp_downward_test_data): Likewise.
19704         (exp_upward_test_data): Likewise.
19705         (exp10_test_data): Likewise.
19706         (exp2_test_data): Likewise.
19707         (expm1_test_data): Likewise.
19708         (fabs_test_data): Likewise.
19709         (fdim_test_data): Likewise.
19710         (finite_test_data): Likewise.
19711         (floor_test_data): Likewise.
19712         (fma_test_data): Likewise.
19713         (fma_towardzero_test_data): Likewise.
19714         (fma_downward_test_data): Likewise.
19715         (fma_upward_test_data): Likewise.
19716         (fmax_test_data): Likewise.
19717         (fmin_test_data): Likewise.
19718         (fmod_test_data): Likewise.
19719         (fpclassify_test_data): Likewise.
19720         (frexp_test_data): Likewise.
19721         (gamma_test_data): Likewise.
19722         (hypot_test_data): Likewise.
19723         (ilogb_test_data): Likewise.
19724         (isfinite_test_data): Likewise.
19725         (isgreater_test_data): Likewise.
19726         (isgreaterequal_test_data): Likewise.
19727         (isinf_test_data): Likewise.
19728         (isless_test_data): Likewise.
19729         (islessequal_test_data): Likewise.
19730         (islessgreater_test_data): Likewise.
19731         (isnan_test_data): Likewise.
19732         (isnormal_test_data): Likewise.
19733         (issignaling_test_data): Likewise.
19734         (isunordered_test_data): Likewise.
19735         (j0_test_data): Likewise.
19736         (j1_test_data): Likewise.
19737         (jn_test_data): Likewise.
19738         (ldexp_test_data): Likewise.
19739         (lgamma_test_data): Likewise.
19740         (lrint_test_data): Likewise.
19741         (lrint_tonearest_test_data): Likewise.
19742         (lrint_towardzero_test_data): Likewise.
19743         (lrint_downward_test_data): Likewise.
19744         (lrint_upward_test_data): Likewise.
19745         (llrint_test_data): Likewise.
19746         (llrint_tonearest_test_data): Likewise.
19747         (llrint_towardzero_test_data): Likewise.
19748         (llrint_downward_test_data): Likewise.
19749         (llrint_upward_test_data): Likewise.
19750         (log_test_data): Likewise.
19751         (log10_test_data): Likewise.
19752         (log1p_test_data): Likewise.
19753         (log2_test_data): Likewise.
19754         (logb_test_data): Likewise.
19755         (logb_downward_test_data): Likewise.
19756         (lround_test_data): Likewise.
19757         (llround_test_data): Likewise.
19758         (modf_test_data): Likewise.
19759         (nearbyint_test_data): Likewise.
19760         (nextafter_test_data): Likewise.
19761         (nexttoward_test_data): Likewise.
19762         (pow_test_data): Likewise.
19763         (pow_tonearest_test_data): Likewise.
19764         (pow_towardzero_test_data): Likewise.
19765         (pow_downward_test_data): Likewise.
19766         (pow_upward_test_data): Likewise.
19767         (remainder_test_data): Likewise.
19768         (remainder_tonearest_test_data): Likewise.
19769         (remainder_towardzero_test_data): Likewise.
19770         (remainder_downward_test_data): Likewise.
19771         (remainder_upward_test_data): Likewise.
19772         (remquo_test_data): Likewise.
19773         (rint_test_data): Likewise.
19774         (rint_tonearest_test_data): Likewise.
19775         (rint_towardzero_test_data): Likewise.
19776         (rint_downward_test_data): Likewise.
19777         (rint_upward_test_data): Likewise.
19778         (round_test_data): Likewise.
19779         (scalb_test_data): Likewise.
19780         (scalbn_test_data): Likewise.
19781         (scalbln_test_data): Likewise.
19782         (signbit_test_data): Likewise.
19783         (sin_test_data): Likewise.
19784         (sin_tonearest_test_data): Likewise.
19785         (sin_towardzero_test_data): Likewise.
19786         (sin_downward_test_data): Likewise.
19787         (sin_upward_test_data): Likewise.
19788         (sincos_test_data): Likewise.
19789         (sinh_test_data): Likewise.
19790         (sinh_tonearest_test_data): Likewise.
19791         (sinh_towardzero_test_data): Likewise.
19792         (sinh_downward_test_data): Likewise.
19793         (sinh_upward_test_data): Likewise.
19794         (sqrt_test_data): Likewise.
19795         (tan_test_data): Likewise.
19796         (tan_tonearest_test_data): Likewise.
19797         (tan_towardzero_test_data): Likewise.
19798         (tan_downward_test_data): Likewise.
19799         (tan_upward_test_data): Likewise.
19800         (tanh_test_data): Likewise.
19801         (tgamma_test_data): Likewise.
19802         (trunc_test_data): Likewise.
19803         (y0_test_data): Likewise.
19804         (y1_test_data): Likewise.
19805         (yn_test_data): Likewise.
19806         (significand_test_data): Likewise.
19808         * math/gen-libm-test.pl (@functions): Remove variable.
19809         (generate_testfile): Don't handle START and END lines.
19810         * math/libm-test.inc (START): New macro.
19811         (END): Likewise.
19812         (END_COMPLEX): Likewise.
19813         (acos_test): Use END macro without arguments.
19814         (acos_test_tonearest): Likewise.
19815         (acos_test_towardzero): Likewise.
19816         (acos_test_downward): Likewise.
19817         (acos_test_upward): Likewise.
19818         (acosh_test): Likewise.
19819         (asin_test): Likewise.
19820         (asin_test_tonearest): Likewise.
19821         (asin_test_towardzero): Likewise.
19822         (asin_test_downward): Likewise.
19823         (asin_test_upward): Likewise.
19824         (asinh_test): Likewise.
19825         (atan_test): Likewise.
19826         (atanh_test): Likewise.
19827         (atan2_test): Likewise.
19828         (cabs_test): Likewise.
19829         (cacos_test): Use END_COMPLEX macro without arguments.
19830         (cacosh_test): Likewise.
19831         (carg_test): Use END macro without arguments.
19832         (casin_test): Use END_COMPLEX macro without arguments.
19833         (casinh_test): Likewise.
19834         (catan_test): Likewise.
19835         (catanh_test): Likewise.
19836         (cbrt_test): Use END macro without arguments.
19837         (ccos_test): Use END_COMPLEX macro without arguments.
19838         (ccosh_test): Likewise.
19839         (ceil_test): Use END macro without arguments.
19840         (cexp_test): Use END_COMPLEX macro without arguments.
19841         (cimag_test): Use END macro without arguments.
19842         (clog_test): Use END_COMPLEX macro without arguments.
19843         (clog10_test): Likewise.
19844         (conj_test): Likewise.
19845         (copysign_test): Use END macro without arguments.
19846         (cos_test): Likewise.
19847         (cos_test_tonearest): Likewise.
19848         (cos_test_towardzero): Likewise.
19849         (cos_test_downward): Likewise.
19850         (cos_test_upward): Likewise.
19851         (cosh_test): Likewise.
19852         (cosh_test_tonearest): Likewise.
19853         (cosh_test_towardzero): Likewise.
19854         (cosh_test_downward): Likewise.
19855         (cosh_test_upward): Likewise.
19856         (cpow_test): Use END_COMPLEX macro without arguments.
19857         (cproj_test): Likewise.
19858         (creal_test): Use END macro without arguments.
19859         (csin_test): Use END_COMPLEX macro without arguments.
19860         (csinh_test): Likewise.
19861         (csqrt_test): Likewise.
19862         (ctan_test): Likewise.
19863         (ctan_test_tonearest): Likewise.
19864         (ctan_test_towardzero): Likewise.
19865         (ctan_test_downward): Likewise.
19866         (ctan_test_upward): Likewise.
19867         (ctanh_test): Likewise.
19868         (ctanh_test_tonearest): Likewise.
19869         (ctanh_test_towardzero): Likewise.
19870         (ctanh_test_downward): Likewise.
19871         (ctanh_test_upward): Likewise.
19872         (erf_test): Use END macro without arguments.
19873         (erfc_test): Likewise.
19874         (exp_test): Likewise.
19875         (exp_test_tonearest): Likewise.
19876         (exp_test_towardzero): Likewise.
19877         (exp_test_downward): Likewise.
19878         (exp_test_upward): Likewise.
19879         (exp10_test): Likewise.
19880         (exp2_test): Likewise.
19881         (expm1_test): Likewise.
19882         (fabs_test): Likewise.
19883         (fdim_test): Likewise.
19884         (finite_test): Likewise.
19885         (floor_test): Likewise.
19886         (fma_test): Likewise.
19887         (fma_test_towardzero): Likewise.
19888         (fma_test_downward): Likewise.
19889         (fma_test_upward): Likewise.
19890         (fmax_test): Likewise.
19891         (fmin_test): Likewise.
19892         (fmod_test): Likewise.
19893         (fpclassify_test): Likewise.
19894         (frexp_test): Likewise.
19895         (gamma_test): Likewise.
19896         (hypot_test): Likewise.
19897         (ilogb_test): Likewise.
19898         (isfinite_test): Likewise.
19899         (isgreater_test): Likewise.
19900         (isgreaterequal_test): Likewise.
19901         (isinf_test): Likewise.
19902         (isless_test): Likewise.
19903         (islessequal_test): Likewise.
19904         (islessgreater_test): Likewise.
19905         (isnan_test): Likewise.
19906         (isnormal_test): Likewise.
19907         (issignaling_test): Likewise.
19908         (isunordered_test): Likewise.
19909         (j0_test): Likewise.
19910         (j1_test): Likewise.
19911         (jn_test): Likewise.
19912         (ldexp_test): Likewise.
19913         (lgamma_test): Likewise.
19914         (lrint_test): Likewise.
19915         (lrint_test_tonearest): Likewise.
19916         (lrint_test_towardzero): Likewise.
19917         (lrint_test_downward): Likewise.
19918         (lrint_test_upward): Likewise.
19919         (llrint_test): Likewise.
19920         (llrint_test_tonearest): Likewise.
19921         (llrint_test_towardzero): Likewise.
19922         (llrint_test_downward): Likewise.
19923         (llrint_test_upward): Likewise.
19924         (log_test): Likewise.
19925         (log10_test): Likewise.
19926         (log1p_test): Likewise.
19927         (log2_test): Likewise.
19928         (logb_test): Likewise.
19929         (logb_test_downward): Likewise.
19930         (lround_test): Likewise.
19931         (llround_test): Likewise.
19932         (modf_test): Likewise.
19933         (nearbyint_test): Likewise.
19934         (nextafter_test): Likewise.
19935         (nexttoward_test): Likewise.
19936         (pow_test): Likewise.
19937         (pow_test_tonearest): Likewise.
19938         (pow_test_towardzero): Likewise.
19939         (pow_test_downward): Likewise.
19940         (pow_test_upward): Likewise.
19941         (remainder_test): Likewise.
19942         (remainder_test_tonearest): Likewise.
19943         (remainder_test_towardzero): Likewise.
19944         (remainder_test_downward): Likewise.
19945         (remainder_test_upward): Likewise.
19946         (remquo_test): Likewise.
19947         (rint_test): Likewise.
19948         (rint_test_tonearest): Likewise.
19949         (rint_test_towardzero): Likewise.
19950         (rint_test_downward): Likewise.
19951         (rint_test_upward): Likewise.
19952         (round_test): Likewise.
19953         (scalb_test): Likewise.
19954         (scalbn_test): Likewise.
19955         (scalbln_test): Likewise.
19956         (signbit_test): Likewise.
19957         (sin_test): Likewise.
19958         (sin_test_tonearest): Likewise.
19959         (sin_test_towardzero): Likewise.
19960         (sin_test_downward): Likewise.
19961         (sin_test_upward): Likewise.
19962         (sincos_test): Likewise.
19963         (sinh_test): Likewise.
19964         (sinh_test_tonearest): Likewise.
19965         (sinh_test_towardzero): Likewise.
19966         (sinh_test_downward): Likewise.
19967         (sinh_test_upward): Likewise.
19968         (sqrt_test): Likewise.
19969         (tan_test): Likewise.
19970         (tan_test_tonearest): Likewise.
19971         (tan_test_towardzero): Likewise.
19972         (tan_test_downward): Likewise.
19973         (tan_test_upward): Likewise.
19974         (tanh_test): Likewise.
19975         (tgamma_test): Likewise.
19976         (trunc_test): Likewise.
19977         (y0_test): Likewise.
19978         (y1_test): Likewise.
19979         (yn_test): Likewise.
19980         (significand_test): Likewise.
19982 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19984         [BZ #15381]
19985         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19987 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19989         [BZ #14894]
19990         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19991         __ppc_mdoio and __ppc_mdoom.
19992         * manual/platform.texi: Document new functions __ppc_yield,
19993         __ppc_mdoio and __ppc_mdoom.
19995 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19997         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19998         (main): Mention "tls" pseudo-hwcap is legacy.
19999         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20001 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20003         * math/gen-libm-test.pl (parse_args): Output only string of
20004         arguments as text for test name, not full call or descriptions of
20005         tests for extra outputs.
20006         (generate_testfile): Do not pass function name to parse_args.
20007         Generate this_func variable from START.
20008         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20009         field to arg_str.
20010         (struct test_ff_f_data): Likewise.
20011         (test_ff_f_data_nexttoward): Likewise.
20012         (struct test_fi_f_data): Likewise.
20013         (struct test_fl_f_data): Likewise.
20014         (struct test_if_f_data): Likewise.
20015         (struct test_fff_f_data): Likewise.
20016         (struct test_c_f_data): Likewise.
20017         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20018         (struct test_fF_f1_data): Likewise.
20019         (struct test_ffI_f1_data): Likewise.
20020         (struct test_c_c_data): Rename test_name field to arg_str.
20021         (struct test_cc_c_data): Likewise.
20022         (struct test_f_i_data): Likewise.
20023         (struct test_ff_i_data): Likewise.
20024         (struct test_f_l_data): Likewise.
20025         (struct test_f_L_data): Likewise.
20026         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20027         and extra2_name.
20028         (COMMON_TEST_SETUP): New macro.
20029         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20030         (COMMON_TEST_CLEANUP): Likewise.
20031         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20032         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20033         macros.
20034         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20035         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20036         macros.
20037         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20038         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20039         cleanup macros.
20040         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20041         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20042         macros.
20043         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20044         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20045         macros.
20046         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20047         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20048         cleanup macros.
20049         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20050         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20051         cleanup macros.
20052         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20053         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20054         cleanup macros.
20055         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20056         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20057         macros.
20058         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20059         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20060         macros.
20061         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20062         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20063         macros.
20064         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20065         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20066         cleanup macros.
20067         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20068         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20069         cleanup macros.
20070         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20071         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20072         macros.
20073         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20074         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20075         cleanup macros.
20076         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20077         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20078         macros.
20079         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20080         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20081         macros.
20082         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20083         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20084         cleanup macros.
20085         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20087 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20089         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20090         to _sifields.sigfault.
20091         (si_addr_lsb): Define new macro.
20092         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20093         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20094         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20096 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20098         [BZ #15441]
20099         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20100         returns -1.
20101         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20102         null return -1.
20103         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20104         loading the domain.
20106 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20108         * math/gen-libm-test.pl (parse_args): Do not include expected
20109         result in test name.
20110         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20111         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20112         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20113         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20114         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20117 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20119         * benchtests/Makefile: Sort function entries.
20121         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20122         tanh, asinh, acosh, atanh.
20123         * benchtests/acos-inputs: New file.
20124         * benchtests/acosh-inputs: New file.
20125         * benchtests/asin-inputs: New file.
20126         * benchtests/asinh-inputs: New file.
20127         * benchtests/atanh-inputs: New file.
20128         * benchtests/cosh-inputs: New file.
20129         * benchtests/log-inputs: New file.
20130         * benchtests/sinh-inputs: New file.
20131         * benchtests/tanh-inputs: New file.
20133 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20135         [BZ #15339]
20136         * posix/tst-getaddrinfo4.c: New test.
20137         * posix/Makefile (tests): Add it.
20139 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20141         [BZ #15339]
20142         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20143         when no services were used.
20144         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20145         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20147 2013-05-21  Andreas Schwab  <schwab@suse.de>
20149         [BZ #15014]
20150         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20151         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20152         successful.
20153         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20154         redundant variable declarations and reallocation of buffer when
20155         parsing as IPv6 address.  Always set NSS status when called from
20156         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20157         buffer too small.  Correct computation of needed size.
20158         * nss/Makefile (tests): Add test-digits-dots.
20159         * nss/test-digits-dots.c: New test.
20161 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20163         * benchtests/Makefile: Remove instructions for adding
20164         benchmark tests.
20165         * benchtests/README: New file to explain how to execute and
20166         enhance the benchmark tests.
20168 2013-05-21  Andreas Schwab  <schwab@suse.de>
20170         [BZ #15493]
20171         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20172         * setjmp/tst-sigsetjmp.c: New test.
20174 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20176         * sysdeps/x86_64/memset.S (memset): New implementation.
20177         (__bzero): Likewise.
20178         (__memset_tail): New function.
20180 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20182         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20183         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20184         __memcpy_sse2_unaligned ifunc selection.
20185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20186         Add memcpy-sse2-unaligned.S.
20187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20188         Add: __memcpy_sse2_unaligned.
20190 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20192         [BZ #15490]
20193         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20194         math_force_eval before restoring floating-point envrionment.
20195         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20196         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20197         Likewise.
20198         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20199         <math_private.h>.
20200         (__nearbyintl): Use math_force_eval before restoring
20201         floating-point environment.
20202         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20204         * math/gen-libm-test.pl (special_functions): Remove.
20205         (parse_args): Don't handle TEST_extra.  Handle functions with no
20206         return value.
20207         * math/libm-test.inc (struct test_sincos_data): Replace with
20208         struct test_fFF_11_data.
20209         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20210         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20211         (sincos_test_data): Change element type to struct
20212         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20213         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20214         RUN_TEST_LOOP_sincos.
20215         * math/README.libm-test: Don't mention special handling of
20216         individual functions.
20217         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20218         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20219         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20220         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20221         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20224         * math/gen-libm-test.pl (get_variable): Remove function.
20225         (parse_args): Don't show pointer parameters to call in test
20226         names.  Use "extra output N" in test names for extra outputs
20227         rather than naming variables.
20229 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20231         [BZ #15488]
20232         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20233         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20234         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20235         double tests.
20236         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20237         disable.
20238         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20239         check_long_double.
20241         * math/gen-libm-test.pl (@tests): Remove variable.
20242         ($count): Likewise.
20243         (new_test): Remove function.
20244         (show_exceptions): New function.
20245         (special_functions): Use show_exceptions instead of new_test.
20246         (parse_args): Likewise.
20247         (generate_testfile): Pass only function name in generated call to
20248         print_max_error or print_complex_max_error.
20249         (get_ulps): Do not handle complex tests specially.
20250         (output_test): Rename to ...
20251         (get_all_ulps_for_test): ... this.  Return a string rather than
20252         printing to a file.  Require ulps to be present.
20253         (output_ulps): Generate arrays rather than #defines.
20254         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20255         (struct ulp_data): New type.
20256         (BUILD_COMPLEX_ULP): Remove macro.
20257         (compare_ulp_data): New function.
20258         (find_ulps): Likewise.
20259         (find_test_ulps): Likewise.
20260         (find_function_ulps): Likewise.
20261         (find_complex_function_ulps): Likewise.
20262         (print_max_error): Determine allowed ulps using
20263         find_function_ulps.
20264         (print_complex_max_error): Determine allowed ulps using
20265         find_complex_function_ulps.
20266         (check_float_internal): Determine max ulps using find_test_ulps.
20267         (check_float): Do not take max_ulp parameter.  Update call to
20268         check_float_internal.
20269         (check_complex): Likewise.
20270         (check_int): Do not take max_ulp parameter.
20271         (check_long): Likewise.
20272         (check_bool): Likewise.
20273         (check_longlong): Likewise.
20274         (struct test_f_f_data): Remove max_ulp field.
20275         (struct test_ff_f_data): Likewise.
20276         (struct test_ff_f_data_nexttoward): Likewise.
20277         (struct test_fi_f_data): Likewise.
20278         (struct test_fl_f_data): Likewise.
20279         (struct test_if_f_data): Likewise.
20280         (struct test_fff_f_data): Likewise.
20281         (struct test_c_f_data): Likewise.
20282         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20283         (struct test_fF_f1_data): Likewise.
20284         (struct test_ffI_f1_data): Likewise.
20285         (struct test_c_c_data): Remove max_ulp field.
20286         (struct test_cc_c_data): Likewise.
20287         (struct test_f_i_data): Likewise.
20288         (struct test_ff_i_data): Likewise.
20289         (struct test_f_l_data): Likewise.
20290         (struct test_f_L_data): Likewise.
20291         (struct test_sincos_data): Likewise.
20292         (RUN_TEST_f_f): Do not handle ulps.
20293         (RUN_TEST_LOOP_f_f): Likewise.
20294         (RUN_TEST_2_f): Likewise.
20295         (RUN_TEST_LOOP_2_f): Likewise.
20296         (RUN_TEST_fff_f): Likewise.
20297         (RUN_TEST_LOOP_fff_f): Likewise.
20298         (RUN_TEST_c_f): Likewise.
20299         (RUN_TEST_LOOP_c_f): Likewise.
20300         (RUN_TEST_f_f1): Likewise.
20301         (RUN_TEST_LOOP_f_f1): Likewise.
20302         (RUN_TEST_fF_f1): Likewise.
20303         (RUN_TEST_LOOP_fF_f1): Likewise.
20304         (RUN_TEST_fI_f1): Likewise.
20305         (RUN_TEST_LOOP_fI_f1): Likewise.
20306         (RUN_TEST_ffI_f1): Likewise.
20307         (RUN_TEST_LOOP_ffI_f1): Likewise.
20308         (RUN_TEST_c_c): Likewise.
20309         (RUN_TEST_LOOP_c_c): Likewise.
20310         (RUN_TEST_cc_c): Likewise.
20311         (RUN_TEST_LOOP_cc_c): Likewise.
20312         (RUN_TEST_f_i): Likewise.
20313         (RUN_TEST_LOOP_f_i): Likewise.
20314         (RUN_TEST_f_i_tg): Likewise.
20315         (RUN_TEST_LOOP_f_i_tg): Likewise.
20316         (RUN_TEST_ff_i_tg): Likewise.
20317         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20318         (RUN_TEST_f_b): Likewise.
20319         (RUN_TEST_LOOP_f_b): Likewise.
20320         (RUN_TEST_f_b_tg): Likewise.
20321         (RUN_TEST_LOOP_f_b_tg): Likewise.
20322         (RUN_TEST_f_l): Likewise.
20323         (RUN_TEST_LOOP_f_l): Likewise.
20324         (RUN_TEST_f_L): Likewise.
20325         (RUN_TEST_LOOP_f_L): Likewise.
20326         (RUN_TEST_sincos): Likewise.
20327         (RUN_TEST_LOOP_sincos): Likewise.
20329 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20331         [BZ #15480]
20332         [BZ #15485]
20333         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20334         main case of finite arguments, set rounding mode to FE_TONEAREST
20335         and discard exceptions.
20336         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20337         exceptions.
20338         (remainder_tonearest_test_data): New variable.
20339         (remainder_test_tonearest): New function.
20340         (remainder_towardzero_test_data): New variable.
20341         (remainder_test_towardzero): New function.
20342         (remainder_downward_test_data): New variable.
20343         (remainder_test_downward): New function.
20344         (remainder_upward_test_data): New variable.
20345         (remainder_test_upward): New function.
20346         (main): Call the new test functions.
20348         * math/libm-test.inc (struct test_f_f1_data): Remove field
20349         extra_init.
20350         (struct test_fF_f1_data): Likewise.
20351         (struct test_ffI_f1_data): Likewise.
20352         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20353         based on value of EXTRA_EXPECTED.
20354         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20355         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20356         EXTRA_VAR based on value of EXTRA_EXPECTED.
20357         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20358         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20359         EXTRA_VAR based on value of EXTRA_EXPECTED.
20360         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20361         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20362         EXTRA_VAR based on value of EXTRA_EXPECTED.
20363         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20364         * math/gen-libm-test.pl (parse_args): Don't output initializers
20365         for extra output values.
20367         * math/libm-test.inc (check_int): Expect result to be exactly
20368         equal to expected value and do not handle ulps.
20369         (check_long): Likewise.
20370         (check_longlong): Likewise.
20372         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20373         exceptions.
20374         (cimag_test_data): Likewise.
20375         (conj_test_data): Likewise.
20376         (copysign_test_data): Likewise.
20377         (cproj_test_data): Likewise.
20378         (creal_test_data): Likewise.
20379         (fabs_test_data): Likewise.
20380         (fdim_test_data): Likewise.
20381         (finite_test_data): Likewise.
20382         (floor_test_data): Likewise.
20383         (fmax_test_data): Likewise.
20384         (fmin_test_data): Likewise.
20385         (fmod_test_data): Likewise.
20386         (fpclassify_test_data): Likewise.
20387         (frexp_test_data): Likewise.
20388         (ilogb_test_data): Likewise.
20389         (isfinite_test_data): Likewise.
20390         (isgreater_test_data): Likewise.
20391         (isgreaterequal_test_data): Likewise.
20392         (isinf_test_data): Likewise.
20393         (isless_test_data): Likewise.
20394         (islessequal_test_data): Likewise.
20395         (islessgreater_test_data): Likewise.
20396         (isnan_test_data): Likewise.
20397         (isnormal_test_data): Likewise.
20398         (issignaling_test_data): Likewise.
20399         (isunordered_test_data): Likewise.
20400         (ldexp_test_data): Likewise.
20401         (lrint_test_data): Likewise.
20402         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20403         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20404         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20405         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20406         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20407         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20408         test input.
20409         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20410         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20411         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20412         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20413         that test input.
20414         (lrint_downward_test_data): Test for "inexact" exceptions.
20415         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20416         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20417         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20418         test input.
20419         (lrint_upward_test_data): Test for "inexact" exceptions.
20420         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20421         test input.
20422         (llrint_test_data): Test for "inexact" exceptions.
20423         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20424         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20425         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20426         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20427         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20428         (llrint_downward_test_data): Test for "inexact" exceptions.
20429         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20430         (llrint_upward_test_data): Test for "inexact" exceptions.
20431         (logb_test_data): Likewise.
20432         (logb_downward_test_data): Likewise.
20433         (nextafter_test_data): Likewise.
20434         (nexttoward_test_data): Likewise.
20435         (remainder_test_data): Likewise.
20436         (remquo_test_data): Likewise.
20437         (scalbn_test_data): Likewise.
20438         (scalbln_test_data): Likewise.
20439         (signbit_test_data): Likewise.
20440         (sqrt_test_data): Likewise.
20441         (significand_test_data): Likewise.
20443 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20445         [BZ #15424]
20446         * benchtests/bench-modf.c (struct args): Mark arg0 as
20447         volatile.
20448         * scripts/bench.pl: Mark members of struct args as volatile.
20450 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20452         [BZ # 15497]
20453         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20454         negative infinity on POWER6 or lower.
20455         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20457 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20459         [BZ #15442]
20460         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20461         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20462         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20463         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20464         (_FP_SETQNAN): New macro.
20465         (_FP_SETQNAN_SEMIRAW): Likewise.
20466         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20467         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20468         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20469         (FP_EXTEND): Use _FP_FRAC_SNANP.
20470         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20471         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20472         into account.
20473         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20474         New macro.
20475         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20476         Likewise.
20478 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20480         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20481         with DIVIDE_BY_ZERO_EXCEPTION.
20482         (gamma_test_data): Likewise.
20483         (lgamma_test_data): Likewise.
20484         (log_test_data): Likewise.
20485         (log10_test_data): Likewise.
20486         (log2_test_data): Likewise.
20487         (tgamma_test_data): Likewise.
20489         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20490         (acos_test_tonearest): Likewise.
20491         (acos_test_towardzero): Likewise.
20492         (acos_test_downward): Likewise.
20493         (acos_test_upward): Likewise.
20494         (acosh_test): Likewise.
20495         (asin_test): Likewise.
20496         (asin_test_tonearest): Likewise.
20497         (asin_test_towardzero): Likewise.
20498         (asin_test_downward): Likewise.
20499         (asin_test_upward): Likewise.
20500         (asinh_test): Likewise.
20501         (atan_test): Likewise.
20502         (atanh_test): Likewise.
20503         (atan2_test): Likewise.
20504         (cabs_test): Likewise.
20505         (cacos_test): Likewise.
20506         (cacosh_test): Likewise.
20507         (casin_test): Likewise.
20508         (casinh_test): Likewise.
20509         (catan_test): Likewise.
20510         (catanh_test): Likewise.
20511         (cbrt_test): Likewise.
20512         (ccos_test): Likewise.
20513         (ccosh_test): Likewise.
20514         (cexp_test): Likewise.
20515         (clog_test): Likewise.
20516         (clog10_test): Likewise.
20517         (cos_test): Likewise.
20518         (cos_test_tonearest): Likewise.
20519         (cos_test_towardzero): Likewise.
20520         (cos_test_downward): Likewise.
20521         (cos_test_upward): Likewise.
20522         (cosh_test): Likewise.
20523         (cosh_test_tonearest): Likewise.
20524         (cosh_test_towardzero): Likewise.
20525         (cosh_test_downward): Likewise.
20526         (cosh_test_upward): Likewise.
20527         (cpow_test): Likewise.
20528         (csin_test): Likewise.
20529         (csinh_test): Likewise.
20530         (csqrt_test): Likewise.
20531         (ctan_test): Likewise.
20532         (ctan_test_tonearest): Likewise.
20533         (ctan_test_towardzero): Likewise.
20534         (ctan_test_downward): Likewise.
20535         (ctan_test_upward): Likewise.
20536         (ctanh_test): Likewise.
20537         (ctanh_test_tonearest): Likewise.
20538         (ctanh_test_towardzero): Likewise.
20539         (ctanh_test_downward): Likewise.
20540         (ctanh_test_upward): Likewise.
20541         (erf_test): Likewise.
20542         (erfc_test): Likewise.
20543         (exp_test): Likewise.
20544         (exp_test_tonearest): Likewise.
20545         (exp_test_towardzero): Likewise.
20546         (exp_test_downward): Likewise.
20547         (exp_test_upward): Likewise.
20548         (exp10_test): Likewise.
20549         (exp2_test): Likewise.
20550         (expm1_test): Likewise.
20551         (fmod_test): Likewise.
20552         (gamma_test): Likewise.
20553         (hypot_test): Likewise.
20554         (j0_test): Likewise.
20555         (j1_test): Likewise.
20556         (jn_test): Likewise.
20557         (lgamma_test): Likewise.
20558         (log_test): Likewise.
20559         (log10_test): Likewise.
20560         (log1p_test): Likewise.
20561         (log2_test): Likewise.
20562         (logb_test_downward): Likewise.
20563         (pow_test): Likewise.
20564         (pow_test_tonearest): Likewise.
20565         (pow_test_towardzero): Likewise.
20566         (pow_test_downward): Likewise.
20567         (pow_test_upward): Likewise.
20568         (remainder_test): Likewise.
20569         (remquo_test): Likewise.
20570         (sin_test): Likewise.
20571         (sin_test_tonearest): Likewise.
20572         (sin_test_towardzero): Likewise.
20573         (sin_test_downward): Likewise.
20574         (sin_test_upward): Likewise.
20575         (sincos_test): Likewise.
20576         (sinh_test): Likewise.
20577         (sinh_test_tonearest): Likewise.
20578         (sinh_test_towardzero): Likewise.
20579         (sinh_test_downward): Likewise.
20580         (sinh_test_upward): Likewise.
20581         (sqrt_test): Likewise.
20582         (tan_test): Likewise.
20583         (tan_test_tonearest): Likewise.
20584         (tan_test_towardzero): Likewise.
20585         (tan_test_downward): Likewise.
20586         (tan_test_upward): Likewise.
20587         (tanh_test): Likewise.
20588         (tgamma_test): Likewise.
20589         (y0_test): Likewise.
20590         (y1_test): Likewise.
20591         (yn_test): Likewise.
20593         * math/gen-libm-test.pl (adjust_arg): Remove function.
20594         (special_function): Remove argument $in_func.  Only handle
20595         generating output for tables of tests, not inside functions.
20596         (parse_args): Likewise.
20597         (generate_testfile): Remove variable $in_func.  Update call to
20598         parse_args.
20599         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20600         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20601         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20602         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20603         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20604         (MAX_VALUE_INIT): Rename macro to max_value.
20605         (MIN_VALUE_INIT): Rename macro to min_value.
20606         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20607         (plus_zero): Remove variable.
20608         (minus_zero): Likewise.
20609         (plus_infty): Likewise.
20610         (minus_infty): Likewise.
20611         (qnan_value): Likewise.
20612         (max_value): Likewise.
20613         (min_value): Likewise.
20614         (min_subnorm_value): Likewise.
20616 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20618         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20619         uint64_t or uint32_t usage.
20620         * crypt/sha256-block.c: Likewise.
20621         * crypt/sha256-crypt.c: Likewise.
20622         * crypt/sha256.c: Likewise.
20623         * crypt/sha512-block.c: Likewise.
20624         * crypt/sha512-crypt.c: Likewise.
20625         * crypt/sha512.c: Likewise.
20626         * debug/backtrace-tst.c: Likewise.
20627         * debug/pcprofiledump.c: Likewise.
20628         * elf/cache.c: Likewise.
20629         * elf/dl-cache.c: Likewise.
20630         * elf/dl-misc.c: Likewise.
20631         * elf/dl-profile.c: Likewise.
20632         * elf/dl-support.c: Likewise.
20633         * elf/ldconfig.c: Likewise.
20634         * elf/sprof.c: Likewise.
20635         * iconv/dummy-repertoire.c: Likewise.
20636         * iconv/iconv_charmap.c: Likewise.
20637         * iconv/skeleton.c: Likewise.
20638         * iconvdata/8bit-generic.c: Likewise.
20639         * iconvdata/cp737.h: Likewise.
20640         * iconvdata/cp775.h: Likewise.
20641         * iconvdata/ibm1008.h: Likewise.
20642         * iconvdata/ibm1025.h: Likewise.
20643         * iconvdata/ibm1046.h: Likewise.
20644         * iconvdata/ibm1097.h: Likewise.
20645         * iconvdata/ibm1112.h: Likewise.
20646         * iconvdata/ibm1122.h: Likewise.
20647         * iconvdata/ibm1123.h: Likewise.
20648         * iconvdata/ibm1124.h: Likewise.
20649         * iconvdata/ibm1129.h: Likewise.
20650         * iconvdata/ibm1130.h: Likewise.
20651         * iconvdata/ibm1132.h: Likewise.
20652         * iconvdata/ibm1133.h: Likewise.
20653         * iconvdata/ibm1137.h: Likewise.
20654         * iconvdata/ibm1140.h: Likewise.
20655         * iconvdata/ibm1141.h: Likewise.
20656         * iconvdata/ibm1142.h: Likewise.
20657         * iconvdata/ibm1143.h: Likewise.
20658         * iconvdata/ibm1144.h: Likewise.
20659         * iconvdata/ibm1145.h: Likewise.
20660         * iconvdata/ibm1146.h: Likewise.
20661         * iconvdata/ibm1147.h: Likewise.
20662         * iconvdata/ibm1148.h: Likewise.
20663         * iconvdata/ibm1149.h: Likewise.
20664         * iconvdata/ibm1153.h: Likewise.
20665         * iconvdata/ibm1154.h: Likewise.
20666         * iconvdata/ibm1155.h: Likewise.
20667         * iconvdata/ibm1156.h: Likewise.
20668         * iconvdata/ibm1157.h: Likewise.
20669         * iconvdata/ibm1158.h: Likewise.
20670         * iconvdata/ibm1160.h: Likewise.
20671         * iconvdata/ibm1161.h: Likewise.
20672         * iconvdata/ibm1162.h: Likewise.
20673         * iconvdata/ibm1163.h: Likewise.
20674         * iconvdata/ibm1164.h: Likewise.
20675         * iconvdata/ibm1166.h: Likewise.
20676         * iconvdata/ibm1167.h: Likewise.
20677         * iconvdata/ibm12712.h: Likewise.
20678         * iconvdata/ibm1390.h: Likewise.
20679         * iconvdata/ibm1399.h: Likewise.
20680         * iconvdata/ibm16804.h: Likewise.
20681         * iconvdata/ibm4517.h: Likewise.
20682         * iconvdata/ibm4899.h: Likewise.
20683         * iconvdata/ibm4909.h: Likewise.
20684         * iconvdata/ibm4971.h: Likewise.
20685         * iconvdata/ibm5347.h: Likewise.
20686         * iconvdata/ibm803.h: Likewise.
20687         * iconvdata/ibm856.h: Likewise.
20688         * iconvdata/ibm901.h: Likewise.
20689         * iconvdata/ibm902.h: Likewise.
20690         * iconvdata/ibm9030.h: Likewise.
20691         * iconvdata/ibm9066.h: Likewise.
20692         * iconvdata/ibm921.h: Likewise.
20693         * iconvdata/ibm922.h: Likewise.
20694         * iconvdata/ibm9448.h: Likewise.
20695         * iconvdata/isiri-3342.h: Likewise.
20696         * iconvdata/jis0201.h: Likewise.
20697         * include/link.h: Likewise.
20698         * include/netdb.h: Likewise.
20699         * inet/check_native.c: Likewise.
20700         * inet/check_pf.c: Likewise.
20701         * inet/getipv4sourcefilter.c: Likewise.
20702         * inet/getnameinfo.c: Likewise.
20703         * inet/getsourcefilter.c: Likewise.
20704         * inet/htonl.c: Likewise.
20705         * inet/setipv4sourcefilter.c: Likewise.
20706         * inet/setsourcefilter.c: Likewise.
20707         * inet/test-inet6_opt.c: Likewise.
20708         * inet/tst-network.c: Likewise.
20709         * locale/C-collate.c: Likewise.
20710         * locale/C-ctype.c: Likewise.
20711         * locale/C-time.c: Likewise.
20712         * locale/C-translit.h: Likewise.
20713         * locale/loadarchive.c: Likewise.
20714         * locale/programs/3level.h: Likewise.
20715         * locale/programs/charmap.c: Likewise.
20716         * locale/programs/charmap.h: Likewise.
20717         * locale/programs/ld-address.c: Likewise.
20718         * locale/programs/ld-collate.c: Likewise.
20719         * locale/programs/ld-ctype.c: Likewise.
20720         * locale/programs/ld-identification.c: Likewise.
20721         * locale/programs/ld-measurement.c: Likewise.
20722         * locale/programs/ld-messages.c: Likewise.
20723         * locale/programs/ld-monetary.c: Likewise.
20724         * locale/programs/ld-name.c: Likewise.
20725         * locale/programs/ld-numeric.c: Likewise.
20726         * locale/programs/ld-paper.c: Likewise.
20727         * locale/programs/ld-telephone.c: Likewise.
20728         * locale/programs/ld-time.c: Likewise.
20729         * locale/programs/linereader.c: Likewise.
20730         * locale/programs/locale.c: Likewise.
20731         * locale/programs/locarchive.c: Likewise.
20732         * locale/programs/locfile.h: Likewise.
20733         * locale/programs/repertoire.c: Likewise.
20734         * locale/programs/simple-hash.c: Likewise.
20735         * locale/programs/simple-hash.h: Likewise.
20736         * malloc/memusage.c: Likewise.
20737         * malloc/memusagestat.c: Likewise.
20738         * nis/nis_defaults.c: Likewise.
20739         * nis/nis_hash.c: Likewise.
20740         * nis/nis_print.c: Likewise.
20741         * nis/nis_xdr.c: Likewise.
20742         * nscd/connections.c: Likewise.
20743         * nscd/hstcache.c: Likewise.
20744         * nscd/nscd_gethst_r.c: Likewise.
20745         * nscd/nscd_getserv_r.c: Likewise.
20746         * nscd/nscd_helper.c: Likewise.
20747         * nscd/servicescache.c: Likewise.
20748         * nss/makedb.c: Likewise.
20749         * nss/nss_db/db-XXX.c: Likewise.
20750         * nss/nss_db/db-initgroups.c: Likewise.
20751         * nss/nss_db/db-netgrp.c: Likewise.
20752         * nss/nss_files/files-network.c: Likewise.
20753         * nss/nss_files/files-parse.c: Likewise.
20754         * posix/bug-regex5.c: Likewise.
20755         * posix/fnmatch_loop.c: Likewise.
20756         * posix/regcomp.c: Likewise.
20757         * posix/regexec.c: Likewise.
20758         * posix/tst-rfc3484-2.c: Likewise.
20759         * posix/tst-rfc3484-3.c: Likewise.
20760         * posix/tst-rfc3484.c: Likewise.
20761         * resolv/nss_dns/dns-canon.c: Likewise.
20762         * resolv/nss_dns/dns-network.c: Likewise.
20763         * resolv/res_init.c: Likewise.
20764         * resolv/res_mkquery.c: Likewise.
20765         * resolv/tst-aton.c: Likewise.
20766         * stdlib/cxa_atexit.c: Likewise.
20767         * stdlib/cxa_finalize.c: Likewise.
20768         * stdlib/gen-fpioconst.c: Likewise.
20769         * stdlib/strtol_l.c: Likewise.
20770         * string/tst-endian.c: Likewise.
20771         * sunrpc/auth_des.c: Likewise.
20772         * sunrpc/clnt_udp.c: Likewise.
20773         * sunrpc/rtime.c: Likewise.
20774         * sunrpc/svcauth_des.c: Likewise.
20775         * sunrpc/xdr.c: Likewise.
20776         * sunrpc/xdr_intXX_t.c: Likewise.
20777         * sunrpc/xdr_rec.c: Likewise.
20778         * sysdeps/generic/ldconfig.h: Likewise.
20779         * sysdeps/generic/ldsodefs.h: Likewise.
20780         * sysdeps/generic/memusage.h: Likewise.
20781         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20782         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20783         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20784         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20785         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20786         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20787         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20788         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20789         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20790         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20791         * sysdeps/posix/getaddrinfo.c: Likewise.
20792         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20793         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20794         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20795         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20796         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20797         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20798         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20799         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20800         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20801         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20802         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20803         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20804         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20805         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20806         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20807         * sysdeps/x86_64/dl-tls.h: Likewise.
20808         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20809         * time/alt_digit.c: Likewise.
20810         * time/era.c: Likewise.
20811         * wcsmbs/tst-c16c32-1.c: Likewise.
20813 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20815         * math/libm-test.inc (struct test_sincos_data): New type.
20816         (RUN_TEST_LOOP_sincos): New macro.
20817         (sincos_test_data): New variable.
20818         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20820 2013-05-16  Richard Henderson  <rth@redhat.com>
20822         * math/atest-exp2.c (LIMB64): New macro.
20823         (CONSTSZ): New macro.
20824         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20825         (hexdig): Move ...
20826         (print_mpn_fp): ... to function scope.
20827         (read_mpn_hex): Remove.
20828         (get_log2): Remove.
20829         (exp2_mpn): Use mp_log2.
20830         (main): Use mp_exp1.
20832 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20834         * math/libm-test.inc: Remove comment about not testing "inexact"
20835         exceptions.
20836         (INEXACT_EXCEPTION): New macro.
20837         (NO_INEXACT_EXCEPTION): Likewise.
20838         (INVALID_EXCEPTION_OK): Update value.
20839         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20840         (OVERFLOW_EXCEPTION_OK): Likewise.
20841         (UNDERFLOW_EXCEPTION_OK): Likewise.
20842         (IGNORE_ZERO_INF_SIGN): Likewise.
20843         (ERRNO_UNCHANGED): Likewise.
20844         (ERRNO_EDOM): Likewise.
20845         (ERRNO_ERANGE): Likewise.
20846         (test_exceptions): Handle testing "inexact" exceptions.
20847         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20848         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20849         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20850         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20851         INEXACT_EXCEPTION.
20852         (rint_towardzero_test_data): Likewise.
20853         (rint_downward_test_data): Likewise.
20854         (rint_upward_test_data): Likewise.
20856         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20857         with OVERFLOW_EXCEPTION.
20858         (exp10_test_data): Likewise.
20859         (exp2_test_data): Likewise.
20860         (expm1_test_data): Likewise.
20861         (lgamma_test_data): Likewise.
20862         (pow_test_data): Likewise.
20863         (tgamma_test_data): Likewise.
20864         (yn_test_data): Remove duplicate test of overflow.
20866         * math/libm-test.inc (struct test_cc_c_data): New type.
20867         (RUN_TEST_LOOP_cc_c): New macro.
20868         (cpow_test_data): New variable.
20869         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20871         * math/libm-test.inc (struct test_f_L_data): New type.
20872         (RUN_TEST_LOOP_f_L): New macro.
20873         (llrint_test_data): New variable.
20874         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20875         (llrint_tonearest_test_data): New variable.
20876         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20877         (llrint_towardzero_test_data): New variable.
20878         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20879         (llrint_downward_test_data): New variable.
20880         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20881         (llrint_upward_test_data): New variable.
20882         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20883         (llround_test_data): New variable.
20884         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20886 2013-05-13  Peter Collingbourne  <pcc@google.com>
20888         * math/atest-exp2.c (get_log2): Remove const attribute.
20890 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20892         * math/libm-test.inc (struct test_f_l_data): New type.
20893         (RUN_TEST_LOOP_f_l): New macro.
20894         (lrint_test_data): New variable.
20895         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20896         (lrint_tonearest_test_data): New variable.
20897         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20898         (lrint_towardzero_test_data): New variable.
20899         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20900         (lrint_downward_test_data): New variable.
20901         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20902         (lrint_upward_test_data): New variable.
20903         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20904         (lround_test_data): New variable.
20905         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20907 2013-05-15  Peter Collingbourne  <pcc@google.com>
20909         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20910         (EXTRACT_WORDS64) Use where appropriate.
20911         (INSERT_WORDS64) Likewise.
20913         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20914         constraints with x constraints.
20915         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20917         * malloc/obstack.c (_obstack_compat): Add initializer.
20919 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20921         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20922         si_trapno and add si_addr_lsb to _sifields.sigfault.
20923         (si_trapno): Remove macro.
20924         (si_addr_lsb): Define new macro.
20925         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20927 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20929         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20930         instead of TEST_f_l.
20931         (llrint_test_tonearest): Likewise.
20932         (llrint_test_towardzero): Likewise.
20933         (llrint_test_downward): Likewise.
20934         (llrint_test_upward): Likewise.
20935         (llround_test): Likewise.
20937         * math/libm-test.inc (struct test_f_i_data): Add comment.
20938         (RUN_TEST_LOOP_f_b): New macro.
20939         (RUN_TEST_LOOP_f_b_tg): Likewise.
20940         (finite_test_data): New variable.
20941         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20942         (isfinite_test_data): New variable.
20943         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20944         (isinf_test_data): New variable.
20945         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20946         (isnan_test_data): New variable.
20947         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20948         (isnormal_test_data): New variable.
20949         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20950         (issignaling_test_data): New variable.
20951         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20952         (signbit_test_data): New variable.
20953         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20955         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20956         with INVALID_EXCEPTION.
20957         (acosh_test_data): Likewise.
20958         (asin_test_data): Likewise.
20959         (atanh_test_data): Likewise.
20960         (fmod_test_data): Likewise.
20961         (log_test_data): Likewise.
20962         (log10_test_data): Likewise.
20963         (log2_test_data): Likewise.
20964         (pow_test_data): Likewise.
20965         (sqrt_test_data): Likewise.
20966         (y0_test_data): Likewise.
20967         (y1_test_data): Likewise.
20968         (yn_test_data): Likewise.
20970         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20971         function contents.
20973         * math/libm-test.inc (struct test_ff_i_data): New type.
20974         (RUN_TEST_LOOP_ff_i_tg): New macro.
20975         (isgreater_test_data): New variable.
20976         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20977         (isgreaterequal_test_data): New variable.
20978         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20979         (isless_test_data): New variable.
20980         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20981         (islessequal_test_data): New variable.
20982         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20983         (islessgreater_test_data): New variable.
20984         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20985         (isunordered_test_data): New variable.
20986         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20988 2013-05-14  David S. Miller  <davem@davemloft.net>
20990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20992 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20994         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20996         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20997         extra_test to int.
20998         (struct test_f_i_data): Change type of max_ulp to int.
21000         * math/libm-test.inc (test_ffI_f1_data): New type.
21001         (RUN_TEST_LOOP_ffI_f1): New macro.
21002         (remquo_test_data): New variable.
21003         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21005         * setjmp/tst-setjmp-fp.c: New file.
21006         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21007         (link-libm): New variable.
21008         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21010         * math/libm-test.inc (struct test_f_i_data): New type.
21011         (RUN_TEST_LOOP_f_i): New macro.
21012         (RUN_TEST_LOOP_f_i_tg): Likewise.
21013         (fpclassify_test_data): New variable.
21014         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21015         (ilogb_test_data): New variable.
21016         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21018         * math/libm-test.inc (scalbln_test): Correct function name in END
21019         call.
21021         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21022         (RUN_TEST_LOOP_fI_f1): New macro.
21023         (frexp_test_data): New variable.
21024         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21026         * math/libm-test.inc (struct test_fF_f1_data): New type.
21027         (RUN_TEST_LOOP_fF_f1): New macro.
21028         (modf_test_data): New variable.
21029         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21031         * math/libm-test.inc (struct test_f_f1_data): New type.
21032         (RUN_TEST_LOOP_f_f1): New macro.
21033         (gamma_test_data): New variable.
21034         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21035         (lgamma_test_data): New variable.
21036         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21038 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21040         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21041         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21042         (main): Comment "tls" pseudo-hwcap.
21044 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21046         * math/libm-test.inc (struct test_fl_f_data): New type.
21047         (RUN_TEST_LOOP_fl_f): New variable.
21048         (scalbln_test_data): New variable.
21049         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21051         * math/libm-test.inc (struct test_fi_f_data): New type.
21052         (RUN_TEST_LOOP_fi_f): New macro.
21053         (ldexp_test_data): New variable.
21054         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21055         (scalbn_test_data): New variable.
21056         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21058         * math/libm-test.inc (struct test_c_f_data): New type.
21059         (RUN_TEST_LOOP_c_f): New macro.
21060         (cabs_test_data): New variable.
21061         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21062         (carg_test_data): New variable.
21063         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21064         (cimag_test_data): New variable.
21065         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21066         (creal_test_data): New variable.
21067         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21069         * math/libm-test.inc (struct test_if_f_data): New type.
21070         (RUN_TEST_LOOP_if_f): New macro.
21071         (jn_test_data): New variable.
21072         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21073         (yn_test_data): New variable.
21074         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21076         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21078 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21080         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21081         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21083 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21085         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21086         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21087         (bench-deps): Add bench-timing.h.
21088         * benchtests-bench-skeleton.c: Include bench-timing.h.
21089         (main): Use TIMING_* macros instead of clock_gettime.
21090         * benchtests/bench-timing.h: New file.
21092         [BZ #14582]
21093         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21094         Renamed from _LIB_VERSION.
21095         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21097 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21099         * math/libm-test.inc (struct test_fff_f_data): New type.
21100         (RUN_TEST_LOOP_fff_f): New macro.
21101         (fma_test_data): New variable.
21102         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21103         (fma_towardzero_test_data): New variable.
21104         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21105         (fma_downward_test_data): New variable.
21106         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21107         (fma_upward_test_data): New variable.
21108         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21110         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21111         (struct test_c_c_data): New type.
21112         (RUN_TEST_LOOP_c_c): New macro.
21113         (cacos_test_data): New variable.
21114         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21115         (cacosh_test_data): New variable.
21116         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21117         (casin_test_data): New variable.
21118         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21119         (casinh_test_data): New variable.
21120         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21121         (catan_test_data): New variable.
21122         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21123         (catanh_test_data): New variable.
21124         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21125         (ccos_test_data): New variable.
21126         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21127         (ccosh_test_data): New variable.
21128         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21129         (cexp_test_data): New variable.
21130         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21131         (clog_test_data): New variable.
21132         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21133         (clog10_test_data): New variable.
21134         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21135         (conj_test_data): New variable.
21136         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21137         (cproj_test_data): New variable.
21138         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21139         (csin_test_data): New variable.
21140         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21141         (csinh_test_data): New variable.
21142         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21143         (csqrt_test_data): New variable.
21144         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21145         (ctan_test_data): New variable.
21146         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21147         (ctan_tonearest_test_data): New variable.
21148         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21149         (ctan_towardzero_test_data): New variable.
21150         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21151         (ctan_downward_test_data): New variable.
21152         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21153         (ctan_upward_test_data): New variable.
21154         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21155         (ctanh_test_data): New variable.
21156         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21157         (ctanh_tonearest_test_data): New variable.
21158         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21159         (ctanh_towardzero_test_data): New variable.
21160         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21161         (ctanh_downward_test_data): New variable.
21162         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21163         (ctanh_upward_test_data): New variable.
21164         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21165         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21166         of BUILD_COMPLEX.
21168         * math/libm-test.inc (struct test_ff_f_data): New type.
21169         (struct test_ff_f_data_nexttoward): Likewise.
21170         (RUN_TEST_LOOP_2_f): New macro.
21171         (RUN_TEST_LOOP_ff_f): Likewise.
21172         (atan2_test_data): New variable.
21173         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21174         (copysign_test_data): New variable.
21175         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21176         (fdim_test_data): New variable.
21177         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21178         (fmax_test_data): New variable.
21179         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21180         (fmin_test_data): New variable.
21181         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21182         (fmod_test_data): New variable.
21183         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21184         (hypot_test_data): New variable.
21185         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21186         (nextafter_test_data): New variable.
21187         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21188         (nexttoward_test_data): New variable.
21189         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21190         (pow_test_data): New variable.
21191         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21192         (pow_tonearest_test_data): New variable.
21193         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21194         (pow_towardzero_test_data): New variable.
21195         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21196         (pow_downward_test_data): New variable.
21197         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21198         (pow_upward_test_data): New variable.
21199         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21200         (remainder_test_data): New variable.
21201         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21202         (scalb_test_data): New variable.
21203         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21204         * sysdeps/i386/fpu/libm-test-ulps: Update.
21206 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21208         * math/libm-test.inc (fma_test): Use max_value instead of local
21209         variable fltmax.
21210         (nextafter_test): Likewise.
21212         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21213         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21214         (acos_downward_test_data): New variable.
21215         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21216         (acos_upward_test_data): New variable.
21217         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21218         (acosh_test_data): New variable.
21219         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21220         (asin_test_data): New variable.
21221         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21222         (asin_tonearest_test_data): New variable.
21223         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21224         (asin_towardzero_test_data): New variable.
21225         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21226         (asin_downward_test_data): New variable.
21227         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21228         (asin_upward_test_data): New variable.
21229         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21230         (asinh_test_data): New variable.
21231         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21232         (atan_test_data): New variable.
21233         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21234         (atanh_test_data): New variable.
21235         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21236         (cbrt_test_data): New variable.
21237         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21238         (ceil_test_data): New variable.
21239         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21240         (cos_test_data): New variable.
21241         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21242         (cos_tonearest_test_data): New variable.
21243         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21244         (cos_towardzero_test_data): New variable.
21245         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21246         (cos_downward_test_data): New variable.
21247         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21248         (cos_upward_test_data): New variable.
21249         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21250         (cosh_test_data): New variable.
21251         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21252         (cosh_tonearest_test_data): New variable.
21253         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21254         (cosh_towardzero_test_data): New variable.
21255         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21256         (cosh_downward_test_data): New variable.
21257         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21258         (cosh_upward_test_data): New variable.
21259         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21260         (erf_test_data): New variable.
21261         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21262         (erfc_test_data): New variable.
21263         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21264         (exp_test_data): New variable.
21265         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21266         (exp_tonearest_test_data): New variable.
21267         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21268         (exp_towardzero_test_data): New variable.
21269         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21270         (exp_downward_test_data): New variable.
21271         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21272         (exp_upward_test_data): New variable.
21273         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21274         (exp10_test_data): New variable.
21275         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21276         (exp2_test_data): New variable.
21277         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21278         (expm1_test_data): New variable.
21279         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21280         (fabs_test_data): New variable.
21281         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21282         (floor_test_data): New variable.
21283         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21284         (j0_test_data): New variable.
21285         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21286         (j1_test_data): New variable.
21287         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21288         (log_test_data): New variable.
21289         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21290         (log10_test_data): New variable.
21291         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21292         (log1p_test_data): New variable.
21293         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21294         (log2_test_data): New variable.
21295         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21296         (logb_test_data): New variable.
21297         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21298         (logb_downward_test_data): New variable.
21299         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21300         (nearbyint_test_data): New variable.
21301         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21302         (rint_test_data): New variable.
21303         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21304         (rint_tonearest_test_data): New variable.
21305         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21306         (rint_towardzero_test_data): New variable.
21307         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21308         (rint_downward_test_data): New variable.
21309         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21310         (rint_upward_test_data): New variable.
21311         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21312         (round_test_data): New variable.
21313         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21314         (sin_test_data): New variable.
21315         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21316         (sin_tonearest_test_data): New variable.
21317         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21318         (sin_towardzero_test_data): New variable.
21319         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21320         (sin_downward_test_data): New variable.
21321         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21322         (sin_upward_test_data): New variable.
21323         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21324         (sinh_test_data): New variable.
21325         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21326         (sinh_tonearest_test_data): New variable.
21327         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21328         (sinh_towardzero_test_data): New variable.
21329         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21330         (sinh_downward_test_data): New variable.
21331         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21332         (sinh_upward_test_data): New variable.
21333         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21334         (sqrt_test_data): New variable.
21335         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21336         (tan_test_data): New variable.
21337         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21338         (tan_tonearest_test_data): New variable.
21339         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21340         (tan_towardzero_test_data): New variable.
21341         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21342         (tan_downward_test_data): New variable.
21343         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21344         (tan_upward_test_data): New variable.
21345         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21346         (tanh_test_data): New variable.
21347         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21348         (tgamma_test_data): New variable.
21349         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21350         (trunc_test_data): New variable.
21351         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21352         (y0_test_data): New variable.
21353         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21354         (y1_test_data): New variable.
21355         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21356         (significand_test_data): New variable.
21357         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21359 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21361         [BZ #12387]
21362         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21364 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21366         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21368 2013-05-10  Andreas Jaeger  <aj@suse.de>
21370         [BZ #15448]
21371         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21372         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21374 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21376         * math/gen-libm-test.pl (adjust_arg): New function.
21377         (special_functions): Handle generating output in both functions
21378         and arrays.
21379         (parse_args): Likewise.
21380         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21381         $in_func argument to parse_args.
21382         * math/libm-test.inc (struct test_f_f_data): New type.
21383         (IF_ROUND_INIT_): New macro.
21384         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21385         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21386         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21387         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21388         (ROUND_RESTORE_): Likewise.
21389         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21390         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21391         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21392         (ROUND_RESTORE_FE_UPWARD): Likewise.
21393         (RUN_TEST_LOOP_f_f): New macro.
21394         (acos_test_data): New variable.
21395         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21396         (acos_tonearest_test_data): New variable.
21397         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21399 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21401         * benchtests/bench-skeleton.c (startup): Fix coding style.
21403 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21405         [BZ #6809]
21406         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21407         negative infinity argument.
21408         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21409         negative infinity argument.
21410         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21411         negative infinity argument.
21412         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21413         domain errors.
21415 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21417         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21418         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21419         * iconv/iconv_prog.c (main): Likewise.
21420         * locale/programs/charmap-dir.c (charmap_readdir)
21421         (fopen_uncompressed): Likewise.
21422         * locale/programs/locfile.c (siblings_uncached)
21423         (write_locale_data): Use lstat64 instead of lstat.
21424         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21425         stat.
21427 2013-05-10  Andreas Jaeger  <aj@suse.de>
21429         [BZ #15395]
21430         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21431         localization.
21432         Include <locale.h>.
21434 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21436         * elf/dl-close.c (_dl_close_worker): Add comments.
21438 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21440         [BZ #15359]
21441         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21442         high part of pi/2.
21443         (__ieee754_rem_pio2l): Update comments.
21445         [BZ #15429]
21446         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21447         high part of pi/2.
21448         (__ieee754_rem_pio2l): Update comments.
21450         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21451         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21453         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21454         M_PI_4l.
21456         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21457         (M_PI_34_LOG10El): Likewise.
21458         (M_PI2_LOG10El): Likewise.
21459         (M_PI4_LOG10El): Likewise.
21460         (M_PI_LOG10El): Likewise.
21462 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21466 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21468         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21469         (MINUS_ZERO_INIT): Likewise.
21470         (PLUS_INFTY_INIT): Likewise.
21471         (MINUS_INFTY_INIT): Likewise.
21472         (QNAN_VALUE_INIT): Likewise.
21473         (MAX_VALUE_INIT): Likewise.
21474         (MIN_VALUE_INIT): Likewise.
21475         (MIN_SUBNORM_VALUE_INIT): Likewise.
21476         (plus_zero): Initialize with PLUS_ZERO_INIT.
21477         (minus_zero): Initialize with MINUS_ZERO_INIT.
21478         (plus_infty): Initialize with PLUS_INFTY_INIT.
21479         (minus_infty): Initialize with MINUS_INFTY_INIT.
21480         (qnan_value): Initialize with QNAN_VALUE_INIT.
21481         (max_value): Initialize with MAX_VALUE_INIT.
21482         (min_value): Initialize with MIN_VALUE_INIT.
21483         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21485         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21486         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21487         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21488         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21490         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21491         (RUN_TEST_2_f): Likewise.
21492         (RUN_TEST_ff_f): Likewise.
21493         (RUN_TEST_fi_f): Likewise.
21494         (RUN_TEST_fl_f): Likewise.
21495         (RUN_TEST_fff_f): Likewise.
21496         (RUN_TEST_c_f): Likewise.
21497         (RUN_TEST_f_f1): Likewise.
21498         (RUN_TEST_fF_f1): Likewise.
21499         (RUN_TEST_fI_f1): Likewise.
21500         (RUN_TEST_ffI_f1): Likewise.
21501         (RUN_TEST_c_c): Likewise.
21502         (RUN_TEST_cc_c): Likewise.
21503         (RUN_TEST_f_i): Likewise.
21504         (RUN_TEST_f_i_tg): Likewise.
21505         (RUN_TEST_ff_i_tg): Likewise.
21506         (RUN_TEST_f_b): Likewise.
21507         (RUN_TEST_f_b_tg): Likewise.
21508         (RUN_TEST_f_l): Likewise.
21509         (RUN_TEST_f_L): Likewise.
21510         (RUN_TEST_sincos): Likewise.
21511         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21512         whether to show exceptions.  Do not include ");\n" in return
21513         value.
21514         (special_functions): Output call to RUN_TEST_sincos instead of
21515         check_float calls.  Update calls to new_test.
21516         (parse_args): Output call to single RUN_TEST_* macro instead of
21517         check_* calls and other assignments.  Update calls to new_test.
21519         [BZ #2546]
21520         [BZ #2560]
21521         [BZ #5159]
21522         [BZ #15426]
21523         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21524         input to result for tgamma overflow.
21525         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21526         (gamma_coeff): New variable.
21527         (NCOEFF): New macro.
21528         (gamma_positive): New function.
21529         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21530         underflow here.  Use gamma_positive instead of exp (lgamma) for
21531         other arguments.
21532         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21533         (gamma_coeff): New variable.
21534         (NCOEFF): New macro.
21535         (gammaf_positive): New function.
21536         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21537         underflow here.  Use gamma_positive instead of exp (lgamma) for
21538         other arguments.
21539         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21540         (gamma_coeff): New variable.
21541         (NCOEFF): New macro.
21542         (gammal_positive): New function.
21543         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21544         underflow here.  Use gamma_positive instead of exp (lgamma) for
21545         other arguments.
21546         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21547         (gamma_coeff): New variable.
21548         (NCOEFF): New macro.
21549         (gammal_positive): New function.
21550         (__ieee754_gammal_r): Handle positive infinity, overflow and
21551         underflow here.  Handle NaN the same as positive infinity.  Remove
21552         check x < 0xffffffff for negative integers.  Use gamma_positive
21553         instead of exp (lgamma) for other arguments.
21554         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21555         (gamma_coeff): New variable.
21556         (NCOEFF): New macro.
21557         (gammal_positive): New function.
21558         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21559         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21560         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21561         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21562         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21563         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21564         * sysdeps/generic/math_private.h (__gamma_productf): New
21565         prototype.
21566         (__gamma_product): Likewise.
21567         (__gamma_productl): Likewise.
21568         * math/Makefile (libm-calls): Add gamma_product.
21569         * math/libm-test.inc (tgamma_test): Add more tests.
21570         * sysdeps/i386/fpu/libm-test-ulps: Update.
21571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21573 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21575         * benchtests/bench-skeleton.c (main): Preheat CPU.
21577 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21579         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21581 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21583         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21584         and _dl_skip_args_internal.
21586 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21588         * manual/message.texi (Message Translation): Talk about users.
21589         Message to key mapping impacts design.
21591 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21593         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21595         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21597         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21598         * sysdeps/wordsize-64/glob64.c: ... here.
21600         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21601         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21602         New macros.
21604         * debug/getlogin_r_chk.c: Moved to ...
21605         * login/getlogin_r_chk.c: ... here.
21606         * debug/Makefile (routines): Move getlogin_r_chk to ...
21607         * login/Makefile (routines): ... here.
21608         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21609         * login/Versions (libc: GLIBC_2.4): ... here.
21611         * io/poll.c (__poll): Renamed from poll.
21612         Add libc_hidden_def.
21613         (poll): Define as weak alias.
21615         * debug/ptsname_r_chk.c: Moved to ...
21616         * login/ptsname_r_chk.c: ... here.
21617         * debug/Makefile (routines): Move ptsname_r_chk to ...
21618         * login/Makefile (routines): ... here.
21619         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21620         * login/Versions (libc: GLIBC_2.4): ... here.
21622         * posix/getlogin.c: Moved to ...
21623         * login/getlogin.c: ... here.
21624         * posix/getlogin_r.c: Moved to ...
21625         * login/getlogin_r.c: ... here.
21626         * posix/getlogin_r.c: Moved to ...
21627         * login/getlogin_r.c: ... here.
21628         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21629         * login/Makefile (routines): ... here.
21630         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21631         * login/Versions (libc: GLIBC_2.0): ... here.
21633         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21634         (setrlimit): Define as weak alias.
21636         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21637         Call __ names for open, ftruncate, and close.
21638         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21639         (truncate): Define as weak alias.
21641 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21643         * math/gen-libm-test.pl (parse_args): Initialize x before each
21644         test of frexp, modf and remquo.
21646         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21647         test signgam value.
21649 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21651         [BZ #15418]
21652         [BZ #15419]
21653         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21654         internal tests.
21655         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21657 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21659         * elf/dl-writev.h: New file.
21660         * elf/dl-misc.c: Include it.
21661         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21662         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21664 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21666         * math/libm-test.inc (noXFails): Remove variable.
21667         (noXPasses): Likewise.
21668         (BUILD_COMPLEX_INT): Remove macro.
21669         (print_screen): Remove xfail argument.
21670         (print_screen_max_error): Likewise.
21671         (update_stats): Likewise.
21672         (print_max_error): Likewise.  Update calls to other affected
21673         functions.
21674         (print_complex_max_error): Likewise.
21675         (test_single_exception): Update calls to print_screen.
21676         (test_single_errno): Likewise.
21677         (check_float_internal): Remove xfail argument.  Update calls to
21678         other affected functions.
21679         (check_float): Likewise.
21680         (check_complex): Likewise.
21681         (check_int): Likewise.
21682         (check_long): Likewise.
21683         (check_bool): Likewise.
21684         (check_longlong): Likewise.
21685         (main): Don't print noXFails and noXPasses.
21686         * math/gen-libm-test.pl (top level): Don't mention expected
21687         failure handling in comment.
21688         (new_test): Don't handle expected failures.
21689         (parse_args): Don't mention expected failure handling in comment.
21690         (generate_testfile): Don't handle expected failures.
21691         (parse_ulps): Likewise.
21692         (print_ulps_file): Likewise.
21693         (get_failure): Remove function.
21694         (output_test): Don't handle expected failures.
21695         * make/README.libm-test: Don't mention expected failure handling.
21697         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21698         (minus_zero): Likewise.
21699         (plus_infty): Likewise.
21700         (minus_infty): Likewise.
21701         (qnan_value): Likewise.
21702         (max_value): Likewise.
21703         (min_value): Likewise.
21704         (min_subnorm_value): Likewise.
21705         (initialize): Do not initialize those variables dynamically.
21707 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21709         * io/open.c (__open_2): Moved to ...
21710         * io/open_2.c: ... this new file.
21711         * io/open64.c (__open64_2): Moved to ...
21712         * io/open64_2.c: ... this new file.
21713         * io/openat.c (__openat_2): Moved to ...
21714         * io/openat_2.c: ... this new file.
21715         * io/openat64.c (__openat64_2): Moved to ...
21716         * io/openat64_2.c: ... this new file.
21717         * io/Makefile (routines): Add them.
21718         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21719         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21720         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21721         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21722         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21723         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21724         (__openat64): Add hidden_ver.
21725         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21726         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21728         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21729         Separately conditionalize setting of GLRO(dl_sysinfo) so
21730         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21731         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21733 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21735         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21736         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21737         definition.
21738         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21739         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21740         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21741         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21742         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21744 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21746         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21747         test signgam value.
21749         * math/libm-test.inc (hypot_test): Do not use
21750         IGNORE_ZERO_INF_SIGN.
21752 2013-05-03  Andreas Jaeger  <aj@suse.de>
21754         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21755         Linux 3.9.
21756         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21757         (PF_MAX): Adjust for VSOCK change.
21759 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21763 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21765         [BZ #15264]
21766         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21767         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21768         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21770 2013-05-02  David S. Miller  <davem@davemloft.net>
21772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21774 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21776         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21778 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21780         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21782 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21784         [BZ #14952]
21785         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21786         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21787         Use __attribute__ ((__gnu_inline__)).
21788         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21789         Don't use __attribute__ ((__gnu_inline__)).
21791 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21793         [BZ #15423]
21794         * math/s_catan.c (__catan): Handle small real or imaginary part of
21795         input specially to avoid spurious underflow.
21796         * math/s_catanf.c (__catanf): Likewise.
21797         * math/s_catanh.c (__catanh): Likewise.
21798         * math/s_catanhf.c (__catanhf): Likewise.
21799         * math/s_catanhl.c (__catanhl): Likewise.
21800         * math/s_catanl.c (__catanl): Likewise.
21801         * math/libm-test.inc (catan_test): Add more tests.
21802         (catanh_test): Likewise.
21803         * sysdeps/i386/fpu/libm-test-ulps: Update.
21804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21806 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21810 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21812         [BZ #15416]
21813         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21814         accurately for denominator in atan2.
21815         * math/s_catanf.c (__catanf): Likewise.
21816         * math/s_catanh.c (__catanh): Likewise.
21817         * math/s_catanhf.c (__catanhf): Likewise.
21818         * math/s_catanhl.c (__catanhl): Likewise.
21819         * math/s_catanl.c (__catanl): Likewise.
21820         * math/libm-test.inc (catan_test): Add more tests.
21821         (catanh_test): Likewise.
21822         * sysdeps/i386/fpu/libm-test-ulps: Update.
21823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21825 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21827         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21829         * benchtests/Makefile (bench): Remove slow benchmarks.
21830         * benchtests/atan-inputs: Add slow benchmark inputs.
21831         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21832         (BENCH_FUNC): Accept variant offset.
21833         (VARIANT): Define.
21834         * benchtests/bench-skeleton.c (main): Run benchmark for each
21835         variant.
21836         * benchtests/cos-inputs: Add slow benchmark inputs.
21837         * benchtests/exp-inputs: Likewise.
21838         * benchtests/pow-inputs: Likewise.
21839         * benchtests/sin-inputs: Likewise.
21840         * benchtests/slowatan-inputs: Remove.
21841         * benchtests/slowatan.c: Remove.
21842         * benchtests/slowcos-inputs: Remove.
21843         * benchtests/slowcos.c: Remove.
21844         * benchtests/slowexp-inputs: Remove.
21845         * benchtests/slowexp.c: Remove.
21846         * benchtests/slowpow-inputs: Remove.
21847         * benchtests/slowpow.c: Remove.
21848         * benchtests/slowsin-inputs: Remove.
21849         * benchtests/slowsin.c: Remove.
21850         * benchtests/slowtan-inputs: Remove.
21851         * benchtests/slowtan.c: Remove.
21852         * benchtests/tan-inputs: Add slow benchmark inputs.
21853         * scripts/bench.pl: Parse comments and directives.
21855         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21856         in CPPFLAGS.
21857         ($(objpfx)bench-%.c): Remove *-ITER.
21858         * benchtests/bench-modf.c: Remove definition of ITER.
21859         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21860         (main): Loop for DURATION seconds instead of fixed number of
21861         iterations.
21862         * scripts/bench.pl: Don't expect iterations in parameters.
21864 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21866         * io/fchdir.c (__fchdir): Renamed from fchdir.
21867         (fchdir): Define as weak alias.
21869 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21871         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21872         (ERRNO_EDOM): Likewise.
21873         (ERRNO_ERANGE): Likewise.
21874         (noErrnoTests): New variable.
21875         (init_max_error): Set errno to 0.
21876         (test_single_errno): New function.
21877         (test_errno): Likewise.
21878         (check_float_internal): Call test_errno.  Set errno to 0.
21879         (check_complex): Refer to errno tests in comment.
21880         (check_int): Call test_errno.  Set errno to 0.
21881         (check_long): Likewise.
21882         (check_bool): Likewise.
21883         (check_longlong): Likewise.
21884         (cos_test): Use ERRNO_* flags for errno tests instead of
21885         check_int.
21886         (expm1_test): Likewise.
21887         (fmod_test): Likewise.
21888         (ilogb_test): Likewise.
21889         (lgamma_test): Likewise.
21890         (pow_test): Likewise.
21891         (remainder_test): Likewise.
21892         (sin_test): Likewise.
21893         (tan_test): Likewise.
21894         (yn_test): Likewise.
21895         (initialize): Set errno to 0.
21896         (main): Print number of errno tests.
21897         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21899 2013-04-29  Andreas Jaeger  <aj@suse.de>
21901         [BZ #15084]
21902         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21903         and RES_USEVC.
21905         [BZ #15085]
21906         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21907         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21908         unimplemented.
21910         [BZ #15380]
21911         * stdlib/random.c (__initstate): Return NULL if
21912         __initstate fails.
21914         [BZ #15086]
21915         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21916         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21917         RES_SNGLKUPREOP.
21919 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21923 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21925         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21926         of individual tests.
21927         (casin_test): Likewise.
21928         (casinh_test): Likewise.
21930 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21932         [BZ #15409]
21933         * math/s_catan.c (__catan): Handle arguments with large real or
21934         imaginary part separately without squaring.
21935         * math/s_catanf.c (__catanf): Likewise.
21936         * math/s_catanh.c (__catanh): Likewise.
21937         * math/s_catanhf.c (__catanhf): Likewise.
21938         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21939         and redefine.
21940         (__catanhl): Handle arguments with large real or imaginary part
21941         separately without squaring.
21942         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21943         and redefine.
21944         (__catanl): Handle arguments with large real or imaginary part
21945         separately without squaring.
21946         * math/libm-test.inc (catan_test): Add more tests.
21947         (catanh_test): Likewise.
21948         * sysdeps/i386/fpu/libm-test-ulps: Update.
21949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21951 2013-04-27  Andreas Jaeger  <aj@suse.de>
21953         [BZ #15007]
21954         * stdlib/stdlib.h: Update guards for qecvt.
21955         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21956         <stdlib.h>.
21958 2013-04-27  Allan McRae  <allan@archlinux.org>
21960         * sysdeps/i386/fpu/libm-test-ulps: Update.
21962 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21964         [BZ #15406]
21965         * math/s_catan.c: Include <float.h>.
21966         (__catan): Ensure underflow exception occurs for underflowed
21967         result.
21968         * math/s_catanf.c: Include <float.h>.
21969         (__catanf): Ensure underflow exception occurs for underflowed
21970         result.
21971         * math/s_catanh.c: Include <float.h>.
21972         (__catanh): Ensure underflow exception occurs for underflowed
21973         result.
21974         * math/s_catanhf.c: Include <float.h>.
21975         (__catanhf): Ensure underflow exception occurs for underflowed
21976         result.
21977         * math/s_catanhl.c: Include <float.h>.
21978         (__catanhl): Ensure underflow exception occurs for underflowed
21979         result.
21980         * math/s_catanl.c: Include <float.h>.
21981         (__catanl): Ensure underflow exception occurs for underflowed
21982         result.
21983         * math/libm-test.inc (catan_test): Add more tests.
21984         (catanh_test): Likewise.
21986         [BZ #15405]
21987         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21988         underflowed result.
21989         * math/s_ccoshf.c (__ccoshf): Likewise.
21990         * math/s_ccoshl.c (__ccoshl): Likewise.
21991         * math/s_csin.c (__csin): Likewise.
21992         * math/s_csinf.c (__csinf): Likewise.
21993         * math/s_csinh.c (__csinh): Likewise.
21994         * math/s_csinhf.c (__csinhf): Likewise.
21995         * math/s_csinhl.c (__csinhl): Likewise.
21996         * math/s_csinl.c (__csinl): Likewise.
21997         * math/libm-test.inc (ccos_test): Add more tests.
21998         (ccosh_test): Likewise.
21999         (csin_test): Likewise.
22000         (csinh_test): Likewise.
22002 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22004         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22005         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22006         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22007         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22008         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22009         powerpc/power5+/fpu folders.
22010         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22013 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22015         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22017 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22019         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22020         additions to variable.
22021         [$(config-machine) = x86_64] (modules-names): Likewise.
22022         ($(objpfx)tst-audit3): Remove dependency.
22023         ($(objpfx)tst-audit3.out): Likewise.
22024         ($(objpfx)tst-audit4): Likewise.
22025         ($(objpfx)tst-audit4.out): Likewise.
22026         ($(objpfx)tst-audit5): Likewise.
22027         ($(objpfx)tst-audit5.out): Likewise.
22028         ($(objpfx)tst-audit6): Likewise.
22029         ($(objpfx)tst-audit6.out): Likewise.
22030         ($(objpfx)tst-audit7): Likewise.
22031         ($(objpfx)tst-audit7.out): Likewise.
22032         (tst-audit3-ENV): Remove variable.
22033         (tst-audit4-ENV): Likewise.
22034         (tst-audit5-ENV): Likewise.
22035         (tst-audit6-ENV): Likewise.
22036         (tst-audit7-ENV): Likewise.
22037         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22038         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22039         addition to variable.
22040         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22041         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22042         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22043         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22044         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22045         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22046         tst-audit3, tst-audit4 and tst-audit5.
22047         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22048         tst-audit6 and tst-audit7.
22049         [$(subdir) = elf] (modules-names): Add audit modules for those
22050         tests.
22051         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22052         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22053         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22054         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22055         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22056         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22057         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22058         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22059         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22060         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22061         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22062         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22063         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22064         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22065         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22066         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22067         Likewise.
22068         [$(subdir) = elf && $(config-cflags-avx) = yes]
22069         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22070         [$(subdir) = elf && $(config-cflags-avx) = yes]
22071         (CFLAGS-tst-auditmod4a.c): Likewise.
22072         [$(subdir) = elf && $(config-cflags-avx) = yes]
22073         (CFLAGS-tst-auditmod4b.c): Likewise.
22074         [$(subdir) = elf && $(config-cflags-avx) = yes]
22075         (CFLAGS-tst-auditmod6b.c): Likewise.
22076         [$(subdir) = elf && $(config-cflags-avx) = yes]
22077         (CFLAGS-tst-auditmod6c.c): Likewise.
22078         [$(subdir) = elf && $(config-cflags-avx) = yes]
22079         (CFLAGS-tst-auditmod7b.c): Likewise.
22080         * elf/tst-audit3.c: Move to ...
22081         * sysdeps/x86_64/tst-audit3.c: ... here.
22082         * elf/tst-audit4.c: Move to ...
22083         * sysdeps/x86_64/tst-audit4.c: ... here.
22084         * elf/tst-audit5.c: Move to ...
22085         * sysdeps/x86_64/tst-audit5.c: ... here.
22086         * elf/tst-audit6.c: Move to ...
22087         * sysdeps/x86_64/tst-audit6.c: ... here.
22088         * elf/tst-audit7.c: Move to ...
22089         * sysdeps/x86_64/tst-audit7.c: ... here.
22090         * elf/tst-auditmod3a.c: Move to ...
22091         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22092         * elf/tst-auditmod3b.c: Move to ...
22093         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22094         * elf/tst-auditmod4a.c: Move to ...
22095         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22096         * elf/tst-auditmod4b.c: Move to ...
22097         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22098         * elf/tst-auditmod5a.c: Move to ...
22099         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22100         * elf/tst-auditmod5b.c: Move to ...
22101         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22102         * elf/tst-auditmod6a.c: Move to ...
22103         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22104         * elf/tst-auditmod6b.c: Move to ...
22105         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22106         * elf/tst-auditmod6c.c: Move to ...
22107         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22108         * elf/tst-auditmod7a.c: Move to ...
22109         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22110         * elf/tst-auditmod7b.c: Move to ...
22111         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22113 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22115         [BZ #15366]
22116         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22117         define unconditionally.
22118         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22119         define unconditionally.
22120         (INT8_C, INT16_C, etc.): Likewise.
22122 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22124         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22125         __ehdr_start with hidden visibility.
22127         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22129 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22131         * math/libm-test.inc (cos_test): Use accurate hex constants.
22132         (sincost_test): Likewise.
22134 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22136         * math/libm-test.inc (catan_test): Add more tests.
22137         (catanh_test): Likewise.
22139         * math/s_catanf.c (__catanf): Use suffixed floating-point
22140         constants.
22141         * math/s_catanhf.c (__catanhf): Likewise.
22142         * math/s_catanhl.c (__catanhl): Likewise.
22143         * math/s_catanl.c (__catanl): Likewise.
22145         [BZ #15394]
22146         * math/s_catan.c (__catan): Calculate imaginary part of result
22147         with log1p not log unless computing log of number close to 0.
22148         * math/s_catanf.c (__catanf): Likewise.
22149         * math/s_catanl.c (__catanl): Likewise.
22150         * math/s_catanh.c (__catanh): Calculate real part of result with
22151         log1p not log unless computing log of number close to 0.
22152         * math/s_catanhf.c (__catanhf): Likewise.
22153         * math/s_catanhl.c (__catanhl): Likewise.
22154         * math/libm-test.inc (catan_test): Add more tests.
22155         (catanh_test): Likewise.
22156         * sysdeps/i386/fpu/libm-test-ulps: Update.
22157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22159 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22161         * benchtests/Makefile: Mention files in which fast and slow
22162         paths of math functions are implemented.
22164 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22166         * sysdeps/posix/timespec_get.c: New file.
22168 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22170         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22171         POWER.
22172         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22173         for POWER.
22174         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22175         powerpc/power5/fpu folders.
22176         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22177         * benchtests/Makefile: Add modf testcase.
22178         * benchtests/bench-modf.c: New file: Benchmark test for mo
22180 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22182         [BZ #14888]
22183         * time/Makefile (tests): Add tst-strptime-whitespace.
22184         * time/strptime_l.c (get_number): Use ISSPACE.
22185         (__strptime_internal): Likewise.
22186         * time/tst-strptime-whitespace.c: New test case.
22188 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22190         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22191         member.
22192         (_nss_files_init): Set it here.
22194 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22196         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22197         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22198         unsigned.
22200 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22202         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22204 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22206         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22207         size just once.
22209 2013-04-21  David S. Miller  <davem@davemloft.net>
22211         * po/ru.po: Update Russion translation from translation project.
22213 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22215         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22216         and setfsgid.
22218 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22220         * configure.in: Remove i386 configure warning. Remove i386 case.
22221         * configure: Regenerate.
22222         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22223         Add example to error message.
22224         * sysdeps/i386/configure: Regenerate.
22226 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22228         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22229         slowtan.
22230         * benchtests/cos-inputs: New file.
22231         * benchtests/slowcos-inputs: New file.
22232         * benchtests/slowcos.c: New file.
22233         * benchtests/slowtan-inputs: New file.
22234         * benchtests/slowtan.c: New file.
22235         * benchtests/tan-inputs: New file.
22237 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22239         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22240         considered kosher.
22242 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22244         * benchtests/Makefile: Include cppflags-iterator.mk to add
22245         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22247         * Makefile.in (bench-clean): New target.
22248         * benchtests/Makefile (bench-clean): Likewise.
22250 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22252         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22254 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22256         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22258 2013-04-15  Andreas Schwab  <schwab@suse.de>
22260         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22261         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22262         * nscd/pwdcache.c (cache_addpw): Likewise.
22263         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22264         more than recsize.
22266 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22268         * benchtests/Makefile (bench): Write all output to
22269         bench-out.tmp together.
22271 2013-04-15  Andreas Schwab  <schwab@suse.de>
22273         * nscd/nscd.c (main): Don't fork again after closing files.
22275 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22277         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22279         * benchtests/Rules (bench-deps): Collect dependencies into a
22280         single variable.  Add Makefile to dependencies.
22281         ($(objpfx)bench-%.c): Depend on bench-deps.
22283 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22284             Xavier Roche  <roche+kml2@exalead.com>
22286         [BZ #15361]
22287         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22288         just that it's a file descriptor.
22289         * manual/llio.texi (Synchronizing AIO Operations): Update description
22290         for EBADF error from aio_fsync.
22292 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22294         * Rules (bench): Move target definition...
22295         * benchtests/Makefile: ... here.
22297 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22299         * math/libm-test.inc (cos_test): Fix PI/2 test.
22300         (sincos_test): Likewise.
22301         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22302         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22304 2013-04-11  Andreas Schwab  <schwab@suse.de>
22306         [BZ #13988]
22307         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22308         accept exponent character only when digits were seen.
22309         * stdio-common/Makefile (tests): Add bug26.
22310         * stdio-common/bug26.c: New file.
22312         [BZ #14293]
22313         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22314         non-freeable.
22316 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22318         * Makeconfig (rtld-prefix): Define built linker prefix.
22319         * Rules (run-bench): Use it.
22320         * math/Makefile (run-regen-ulps): Likewise.
22322         * Rules (bench): Remove eval.
22324 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22325             Roland McGrath  <roland@hack.frob.com>
22326             Ondrej Bilka  <neleai@seznam.cz>
22328         [BZ #15346]
22329         * time/getdate.c: Include ctype.h and alloca.h.
22330         (__getdate_r): Trim leading and trailing spaces of input.
22331         * time/tst-getdate.c (tests): Add tests with leading and
22332         trailing spaces.
22334 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22336         [BZ #14280]
22337         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22338         when computing value.
22340 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22342         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22343         Use testrun.sh to run libm tests.
22345         [BZ #15309]
22346         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22348 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22350         [BZ #15264]
22351         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22353 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22355         * Makefile.in (regen-ulps): New target.
22356         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22357         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22358         [ifneq (no,$(PERL)] (regen-ulps): New target.
22359         [ifeq (no,$(PERL)] (regen-ulps): New target.
22360         * math/libm-test.inc (ulps_file_name): Define.
22361         (output_dir): New variable.
22362         (options): Add "output-dir" option.
22363         (parse_opt): Handle 'o' case.
22364         (main): If output_dir is non-NULL use it as a prefix
22365         otherwise use "".
22366         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22368 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22370         [BZ #10060, #10062]
22371         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22372         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22373         fail configure if __sync_val_compare_and_swap is not inlined.
22374         * sysdeps/i386/configure: Regenerate.
22375         * configure.in: Build for i686 when configured for i386.
22376         * configure: Regenerate.
22377         * README: Remove i386 reference.
22379 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22381         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22382         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22384 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22386         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22387         (lmsnanval): New variables.
22388         (F): Add conversion tests.
22389         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22390         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22392         * stdio-common/tstdiomisc.c (F): Properly collect individual
22393         tests' results.
22395         [BZ #14686, #15336]
22396         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22397         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22398         Instead, use input NaN values or generate a qNaN by arithmetic
22399         operation.  Also fix bugs to comply with the standard.
22400         * math/libm-test.inc (remainder_test): Add more tests.
22402         [BZ #15335, #15342]
22403         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22404         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22405         input NaN values or generate a qNaN by arithmetic operation.
22407         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22408         unreachable code.
22410         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22411         definitions.
22413 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22415         [BZ #14478]
22416         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22417         underflowed result.
22418         * math/s_cexpf.c (__cexpf): Likewise.
22419         * math/s_cexpl.c (__cexpl): Likewise.
22420         * math/libm-test.inc (cexp_test): Add more tests.
22422 2013-04-03  Andreas Schwab  <schwab@suse.de>
22424         [BZ #15330]
22425         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22426         order arrays from heap if bigger than alloca cutoff.
22428 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22430         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22431         (SNAN_TESTS_double): Refer to GCC PR56831.
22432         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22433         GCC PR56828.
22435 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22437         * Rules (bench): Move bench.out after the run is complete.
22439         * Rules (bench): Echo currently running benchmark.
22441         * benchtests/Makefile (bench): Add atan and slowatan.
22442         * benchtests/atan-inputs: New file.
22443         * benchtests/slowatan-inputs: New file.
22444         * benchtests/slowatan.c: New file.
22446         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22447         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22448         its value.
22450         [BZ #15305]
22451         * sysdeps/unix/sysv/linux/kernel-features.h
22452         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22453         __ASSUME_XFS_RESTRICTED_CHOWN.
22454         * sysdeps/unix/sysv/linux/pathconf.c
22455         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22456         Save and restore errno.
22458 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22460         [BZ #15327]
22461         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22462         arguments using __kernel_casinh.
22463         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22464         arguments using __kernel_casinhf.
22465         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22466         arguments using __kernel_casinhl.
22467         * math/libm-test.inc (cacosh_test): Add more tests.
22468         * sysdeps/i386/fpu/libm-test-ulps: Update.
22469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22471 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22473         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22474         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22476         * bench/Makefile (bench): Add sin and slowsin.
22477         * benchtests/sin-inputs: New file.
22478         * benchtests/slowsin-inputs: New file.
22479         * benchtests/slowsin.c: New file.
22481         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22482         (bench): Add slowexp and slowpow.
22483         (exp-ITER): Increase iterations.
22484         (pow-ITER): Likewise.
22485         * benchtests/exp-inputs: Change input.
22486         * benchtests/pow-inputs: Likewise.
22487         * benchtests/slowexp-inputs: New file.
22488         * benchtests/slowexp.c: New file.
22489         * benchtests/slowpow-inputs: New file.
22490         * benchtests/slowpow.c: New file.
22492 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22494         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22495         instructions.
22496         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22497         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22498         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22499         * benchtests/Makefile: Add rint benchtest.
22500         * benchtests/rint-inputs: Input for rint benchtest.
22502 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22504         * Versions.def (libm): Add GLIBC_2.18.
22505         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22506         hidden libm prototypes.
22507         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22508         * math/Makefile (libm-calls): Add s_issignaling.
22509         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22510         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22511         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22512         declaration.
22513         * math/math.h [__USE_GNU] (issignaling): New macro.
22514         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22515         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22516         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22517         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22518         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22519         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22520         * manual/arith.texi (issignaling): New section.
22521         * manual/libm-err-tab.pl (@all_functions): Update comment.
22522         * math/gen-libm-test.pl (parse_args): Apply special handling for
22523         issignaling.
22524         * math/libm-test.inc (print_float, issignaling_test): New
22525         functions.
22526         (check_float_internal): Add issignaling checks.
22527         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22528         default definition.
22529         * sysdeps/powerpc/math-tests.h: New file.
22530         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22531         tests.
22532         * math/test-snan.c (TEST_FUNC): Likewise.
22534 2013-03-30  David S. Miller  <davem@davemloft.net>
22536         * po/de.po: Update from translation team.
22538 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22540         [BZ #10357]
22541         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22542         imaginary part less than 1.0 and real part less than 0.5
22543         specially.
22544         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22545         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22546         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22547         (cacos_test): Add more tests.
22548         (casin_test): Likewise.
22549         (casinh_test): Likewise.
22550         * sysdeps/i386/fpu/libm-test-ulps: Update.
22551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22553 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22555         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22556         ONE with its value.
22558         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22559         (__pow_mp): Replace ONE and MONE with their values.
22560         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22561         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22562         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22563         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22564         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22565         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22567         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22569         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22570         (__pow_mp): Replace ZERO and MZERO with their values.
22571         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22572         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22573         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22575         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22576         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22577         (__sqr): Likewise.
22579         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22581         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22583 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22585         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22586         Declare with __attribute__ ((weak)).
22587         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22588         Call __call_tls_dtors only if it's not NULL.
22590 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22592         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22593         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22594         magic __ehdr_start linker symbol if it's defined.
22595         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22596         them up here if it was already done.
22598         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22599         (_dl_aux_init): Use const in cast when setting it.
22600         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22601         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22602         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22604         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22605         Declare them here.
22606         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22607         * csu/libc-tls.c: Nor here.
22608         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22610         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22611         (__libc_message): Never call vsyslog.
22613 2013-03-28  Alan Modra  <amodra@gmail.com>
22615         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22616         Define as empty.
22617         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22618         Likewise.
22620 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22622         [BZ #15214]
22623         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22624         underflow.
22625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22627 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22629         [BZ #15304]
22630         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22631         Don't add gid passed as argument.
22633         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22635 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22637         [BZ #15307]
22638         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22639         imaginary part between 1.0 and 1.5 and real part less than 0.5
22640         specially.
22641         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22642         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22643         * math/libm-test.inc (cacos_test): Add more tests.
22644         (casin_test): Likewise.
22645         (casinh_test): Likewise.
22646         * sysdeps/i386/fpu/libm-test-ulps: Update.
22647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22649 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22651         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22652         constants.
22653         (norm): Likewise.
22654         (denorm): Likewise.
22655         (__dbl_mp): Likewise.
22656         (add_magnitudes): Likewise.
22657         (sub_magnitudes): Likewise.
22658         (__add): Likewise.
22659         (__sub): Likewise.
22660         (__mul): Likewise.
22661         (__sqr): Likewise.
22662         (__inv): Likewise.
22663         (__dvd): Likewise.
22665         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22666         commented code.
22667         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22668         (__dubcos): Likewise.
22669         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22670         (__ieee754_acos): Likewise.
22671         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22672         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22673         (__exp1): Likewise.
22674         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22675         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22676         (log1): Likewise.
22677         (my_log2): Likewise.
22678         (checkint): Likewise.
22679         * sysdeps/ieee754/dbl-64/e_remainder.c
22680         (__ieee754_remainder): Likewise.
22681         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22682         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22683         (bsloww): Likewise.
22684         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22686         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22687         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22688         MANTISSA_STORE_T to store computations on mantissa.  Use
22689         macros for rounding and division.
22690         (denorm): Likewise.
22691         (__dbl_mp): Likewise.
22692         (add_magnitudes): Likewise.
22693         (sub_magnitudes): Likewise.
22694         (__mul): Likewise.
22695         (__sqr): Likewise.
22696         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22697         powers of two in terms of TWOPOW macro.
22698         (mp_no): Make type of mantissa as MANTISSA_T.
22699         [!RADIXI]: Define RADIXI.
22700         [!TWO52]: Define TWO52.
22701         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22703 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22705         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22706         llroundl symbol when building for PPC32.
22708 2013-03-24  Mark H Weaver  <mhw@netris.org>
22710         * manual/arith.texi (Normalization Functions): Fix prototypes for
22711         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22713 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22715         [BZ #13889]
22716         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22717         high value to check if expl overflow.
22718         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22719         to check for underflow and overflow.
22720         * math/libm-test.inc: Add exp test.
22722 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22724         [BZ #11120]
22725         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22726         with NOT_IN_libc.
22728 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22730         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22731         symbol.
22733 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22735         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22736         wrap blocks consisting of several statements.
22738         * sysdeps/generic/math-tests.h: New file.
22739         * sysdeps/i386/fpu/math-tests.h: Likewise.
22740         * math/test-snan.c: Include it.
22741         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22743 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22745         [BZ #15285]
22746         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22747         (__ieee754_j0l): Do not improve calculations using cos of twice
22748         input for inputs above LDBL_MAX / 2.0L.
22749         (__ieee754_y0l): Likewise.
22750         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22751         (__ieee754_j1l): Do not improve calculations using cos of twice
22752         input for inputs above LDBL_MAX / 2.0L.
22753         (__ieee754_y1l): Likewise.
22754         * math/libm-test.inc (j0_test): Add another test.
22755         (j1_test): Likewise.
22756         (y0_test): Likewise.
22757         (y1_test): Likewise.
22758         * sysdeps/i386/fpu/libm-test-ulps: Update.
22760 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22762         * Rules ($(objpfx)bench-%.c): Include code from a C source
22763         file.
22765 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22767         [BZ #15287]
22768         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22769         imaginary part 1.0 and real part less than 0.5 specially.
22770         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22771         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22772         * math/libm-test.inc (cacos_test): Add more tests.
22773         (casin_test): Likewise.
22774         (casinh_test): Likewise.
22775         * sysdeps/i386/fpu/libm-test-ulps: Update.
22776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22778 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22780         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22781         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22783 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22785         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22786         * config.make.in (config-cflags-sse4): Remove variable.
22787         (config-cflags-avx): Likewise.
22788         (config-cflags-sse2avx): Likewise.
22789         (config-cflags-novzeroupper): Likewise.
22790         (config-asflags-i686): Likewise.
22791         (have-mfma4): Likewise.
22792         (have-as-vis3): Likewise.
22793         (MIG): Likewise.
22794         * configure.in (MIG): Do not AC_SUBST.
22795         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22796         (libc_cv_cc_sse4): Do not AC_SUBST.
22797         (libc_cv_cc_avx): Likewise.
22798         (libc_cv_cc_sse2avx): Likewise.
22799         (libc_cv_cc_novzeroupper): Likewise.
22800         (libc_cv_cc_fma4): Likewise.
22801         (libc_cv_as_i686): Likewise.
22802         (libc_cv_sparc_as_vis3): Likewise.
22803         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22804         LIBC_CONFIG_VAR.
22805         (config-asflags-i686): Likewise.
22806         (config-cflags-avx): Likewise.
22807         (config-cflags-sse2avx): Likewise.
22808         (have-mfma4): Likewise.
22809         (config-cflags-novzeroupper): Likewise.
22810         * sysdeps/mach/configure.in (MIG): Likewise.
22811         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22812         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22813         LIBC_CONFIG_VAR.
22814         (config-cflags-avx): Likewise.
22815         (config-cflags-sse2avx): Likewise.
22816         (have-mfma4): Likewise.
22817         (config-cflags-novzeroupper): Likewise.
22818         * configure: Regenerated.
22819         * sysdeps/i386/configure: Likewise.
22820         * sysdeps/mach/configure: Likewise.
22821         * sysdeps/sparc/configure: Likewise.
22822         * sysdeps/x86_64/configure: Likewise.
22824 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22826         [BZ #14812]
22827         * locale/programs/localedef.c (options): Put N_ translation marker
22828         on argument names, not just descriptions.
22830 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22832         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22834 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22836         [BZ #14176]
22837         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22839 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22841         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22842         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22843         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22844         [!BEFORE_ABORT] (before_abort): New function.
22845         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22846         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22847         (writev_for_fatal): New function.
22848         (WRITEV_FOR_FATAL): New macro; call that.
22849         (backtrace_and_maps): New function.
22850         (BEFORE_ABORT): New macro; call that.
22851         (struct str_list): Type removed.
22852         (__libc_message, __libc_fatal): Functions removed.
22853         Include <sysdeps/posix/libc_fatal.c> instead.
22855 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22857         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22858         constants.
22859         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22860         double constants.
22862 2013-03-19  Andreas Schwab  <schwab@suse.de>
22864         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22865         * sysdeps/gnu/configure: Regenerate.
22867         * configure.in: Substitute libc_cv_rtlddir.
22868         * configure: Regenerate.
22869         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22870         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22871         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22872         * elf/Makefile (install-others, CFLAGS-interp.c)
22873         (ldso_install, common-ldd-rewrite): Likewise.
22874         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22875         $(inst_slibdir)/$(rtld-installed-name).
22876         * scripts/rellns-sh: Add -p option.
22877         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22878         for source.
22880 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22882         * manual/nptl.texi: Renamed to ...
22883         * manual/threads.texi: ... this.
22884         * manual/Makefile (chapters): Update.
22886 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22888         [BZ #14812]
22889         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22890         on argument names, not just descriptions.
22891         * malloc/memusagestat.c (options): Likewise.
22892         * nss/getent.c (options): Likewise.
22894 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22896         [BZ #14812]
22897         * iconv/iconv_prog.c (options): Put N_ translation marker
22898         on argument names, not just descriptions.
22899         * iconv/iconvconfig.c (options): Likewise.
22901 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22903         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22904         implementation which is faster on all x86_64 architectures.
22905         Tested on AMD, Intel Nehalem, SNB, IVB.
22906         * sysdeps/x86_64/strnlen.S: Likewise.
22908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22909         Remove all multiarch strlen and strnlen versions.
22910         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22911         Remove strlen and strnlen related parts.
22913         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22914         Inline strlen part.
22915         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22917         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22918         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22919         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22920         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22921         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22922         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22924 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22926         * manual/memory.texi (Malloc Tunable Parameters):
22927         Sort parameters alphabetically. Add comments for missing entries.
22929 2013-03-17  David S. Miller  <davem@davemloft.net>
22931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22933 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22935         [BZ #15283]
22936         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22937         for arguments at most half maximum finite value.
22938         * math/libm-test.inc (j0_test): Add more tests.
22939         (j1_test): Likewise.
22940         (y0_test): Likewise.
22941         (y1_test): Likewise.
22942         * sysdeps/i386/fpu/libm-test-ulps: Update.
22943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22945         [BZ #14155]
22946         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22947         1 / x and functions P and Q for arguments above 0x1p256L.
22948         (__ieee754_y0l): Likewise.
22949         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22950         (__ieee754_y1l): Likewise.
22951         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22952         (j1_test): Likewise.
22953         (y0_test): Likewise.
22954         (y1_test): Likewise.
22956 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22958         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22959         variable.
22961 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22963         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22964         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22965         zero since it's initialized to EXEC_PAGESIZE.
22967         * sysdeps/unix/sysv/linux/ldsodefs.h
22968         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22969         * sysdeps/generic/ldsodefs.h: ... here.
22971 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22973         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22975         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22976         math/test-snan.c.
22977         * math/test-snan.c: Renamed from
22978         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22979         * math/Makefile (tests): Add test-snan.
22980         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22981         test-powerpc-snan.
22983         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22984         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22985         functions.
22986         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22987         __builtin_nan family of functions.
22988         * math/libm-test.inc (initialize): Initialize qnan_value with
22989         __builtin_nan family of functions.
22990         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22991         Remove variables.
22992         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22993         Remove functions.
22994         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22995         storage class.  Initialize qNaN_var and sNaN_var with
22996         __builtin_nan and __builtin_nans families of functions,
22997         respectively.
22999         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23000         (sqrt_test): Remove duplicate test with qNaN input.
23001         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23002         (round_test, signbit_test, significand_test): Note missing +/-Inf
23003         as well as qNaN tests.
23005         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23006         qNaN_var.  Fix a few strings, too.
23007         * math/libm-test.inc (nan_value): Rename to qnan_value.
23008         * math/gen-libm-test.pl (%beautify): Adjust to that.
23009         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23010         * math/test-misc.c (main): Likewise.
23011         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23012         to __qnan_bytes, and __qnan_union, respectively.
23013         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23014         Likewise.
23015         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23016         and lqnanval, respectively.
23017         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23018         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23019         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23020         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23022         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23023         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23024         doubles.
23026         * math/test-misc.c (main): Fix copy'n'pastos.
23027         * misc/tst-efgcvt.c (special): Likewise.
23029         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23030         Remove declarations.
23032 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23034         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23035         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23036         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23037         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23039 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23041         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23042         macro to return vdso values correctly in IFUNC implementations.
23043         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23044         Optimization by using IFUNC.
23046 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23047             Richard Henderson  <rth@redhat.com>
23048             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23050         * Makefile.in (bench): New target.
23051         * NEWS: Mention the benchmark framework.
23052         * Rules (bench): Likewise.
23053         (binaries-bench): Generate binaries for functions to
23054         benchmark.
23055         * benchtests/Makefile: New makefile for benchmark tests.
23056         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23057         programs.
23058         * benchtests/exp-inputs: New input file for EXP function.
23059         * benchtests/pow-inputs: New input file for POW function.
23060         * scripts/bench.pl: New script to generate source files for
23061         benchmark programs.
23063 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23065         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23066         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23067         computations on mantissa.  Use macros for rounding and
23068         division.
23069         (denorm): Likewise.
23070         (__dbl_mp): Likewise.
23071         (add_magnitudes): Likewise.
23072         (sub_magnitudes): Likewise.
23073         (__mul): Likewise.
23074         (__sqr): Likewise.
23075         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23076         powers of two in terms of TWOPOW macro.
23077         (mp_no): Make type of mantissa as MANTISSA_T.
23078         [!RADIXI]: Define RADIXI.
23079         [!TWO52]: Define TWO52.
23080         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23082         * manual/nptl.texi (cindex): Modify threads to pthreads.
23084 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23086         * sysdeps/x86_64/preconfigure: Regenerated.
23088 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23090         [BZ #14155]
23091         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23092         0x1p28 and above.
23093         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23094         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23095         0x1p28 and above.
23096         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23097         * math/libm-test.inc (j0_test): Do not allow one spurious
23098         underflow exception.
23099         (y1_test): Likewise.
23101 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23103         * manual/Makefile (chapters): Add nptl.
23104         * manual/debug.texi (Debugging Support): Add link to Threads
23105         chapter.
23106         * manual/nptl.texi: New file.
23108         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23110 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23112         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23113         for non-NULL pointer before the memory validity test. Pointed
23114         out by Holger Brunck <holger.brunck@keymile.com>.
23116 2013-03-13  Andreas Schwab  <schwab@suse.de>
23118         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23119         instead of .os.
23121 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23123         * timezone/zic.c: Update from tzcode 2013b.
23125 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23127         * manual/install.texi (Configuring and compiling):
23128         Mention i686 and i586.
23129         * INSTALL: Regenerate.
23131 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23133         * sysdeps/init_array/elf-init.c: New file.
23134         * csu/elf-init.c
23135         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23136         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23138         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23139         __gmon_start__ as global, but as static with a .preinit_array pointer.
23140         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23141         * sysdeps/init_array/crti.S: New file, empty except for comments.
23142         * sysdeps/init_array/crtn.S: Likewise.
23144 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23146         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23147         definining bcopy.
23148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23149         Remove Prefer_SSE_for_memop.
23150         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23151         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23152         HAS_PREFER_SSE_FOR_MEMOP.
23153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23154         memset-x86-64.
23155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23156         Remove bzero, memset ifunc support.
23157         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23158         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23159         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23160         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23162 2013-03-11  Andreas Schwab  <schwab@suse.de>
23164         [BZ #15234]
23165         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23166         by SHLIB_COMPAT.
23167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23168         (GLIBC_2.16): Remove pthread_atfork.
23170 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23172         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23173         (ptestcases.h): Likewise.
23175 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23177         * Makeconfig ($(common-objpfx)config.status): Depend on
23178         sysdeps/*/preconfigure{,.in} too.
23180 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23182         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23183         (__free_hook): Use void * instead of __malloc_ptr_t.
23184         (__malloc_hook): Likewise.
23185         (__realloc_hook): Likewise.
23186         (__memalign_hook): Likewise.
23187         (__after_morecore_hook): Likewise.
23188         * malloc/arena.c (save_malloc_hook): Likewise.
23189         (save_free_hook): Likewise.
23190         * malloc/hooks.c (malloc_hook_ini): Likewise.
23191         (realloc_hook_ini): Likewise.
23192         (memalign_hook_ini): Likewise.
23193         * malloc/malloc.c (malloc_hook_ini): Likewise.
23194         (realloc_hook_ini): Likewise.
23195         (memalign_hook_ini): Likewise.
23196         (__free_hook): Likewise.
23197         (__malloc_hook): Likewise.
23198         (__realloc_hook): Likewise.
23199         (__memalign_hook): Likewise.
23200         (__libc_malloc): Likewise.
23201         (__libc_free): Likewise.
23202         (__libc_realloc): Likewise.
23203         (__libc_memalign): Likewise.
23204         (__libc_valloc): Likewise.
23205         (__libc_pvalloc): Likewise.
23206         (__libc_calloc): Likewise.
23207         (__posix_memalign): Likewise.
23208         * malloc/morecore.c (__sbrk): Likewise.
23209         (__default_morecore): Likewise.
23211         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23213         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23214         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23215         __malloc_ptrdiff_t.
23217         * malloc/malloc.h (__malloc_size_t): Remove macro.
23218         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23219         __malloc_size_t.
23220         (old_memalign_hook): Likewise.
23221         (old_realloc_hook): Likewise.
23222         (struct hdr): Likewise.
23223         (flood): Likewise.
23224         (mallochook): Likewise.
23225         (memalignhook): Likewise.
23226         (reallochook): Likewise.
23227         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23228         (tr_old_realloc_hook): Likewise.
23229         (tr_old_memalign_hook): Likewise.
23230         (tr_mallochook): Likewise.
23231         (tr_reallochook): Likewise.
23232         (tr_memalignhook): Likewise.
23234 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23236         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23237         default_ldbl_pack and using as default implementation.
23238         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23239         implementation.
23240         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23241         redundant definition.
23242         (ldbl_insert_mantissa): Likewise.
23243         (ldbl_canonicalize): Likewise.
23244         (ldbl_nearbyint): Likewise.
23245         (ldbl_pack): Rename to ldbl_pack_ppc.
23246         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23247         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23248         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23250 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23253         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23254         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23255         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23257         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23258         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23259         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23261 2013-03-07  Andreas Jaeger  <aj@suse.de>
23263         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23264         bits/mman-linux.h.
23266 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23268         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23269         Include mpa.h and declare __MPEXP.
23270         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23271         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23272         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23273         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23274         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23275         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23276         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23278         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23279         (__slowpow): Use long double EXPL and LOGL functions to
23280         compute POW.
23281         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23282         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23283         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23284         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23285         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23286         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23289         intermediate variable to calculate exponent.
23290         (__sqr): Likewise.
23291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23292         Likewise.
23293         (__sqr): Likewise.
23295         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23296         [!NO__SQR]: Define __sqr.
23297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23298         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23299         sysdeps/ieee754/dbl-64/mpa.c.
23300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23302         [BZ #12723]
23303         * posix/Makefile (tests): Add tst-pathconf.
23304         * posix/tst-pathconf.c: New test case.
23305         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23306         _PC_PIPE_BUF.
23307         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23309 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23311         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23313 2013-03-06  Andreas Jaeger  <aj@suse.de>
23315         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23316         definition via __MAP_ANONYMOUS.
23318         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23319         it's not part of Linux headers.
23321         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23322         (MAP_HUGE_MASK): Define.
23324         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23325         Define.
23326         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23327         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23328         Define.
23329         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23330         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23331         Define.
23332         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23333         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23334         Define.
23335         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23337         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23338         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23339         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23340         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23341         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23342         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23344         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23345         Handle f2fs.
23347         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23348         Handle f2fs and efivarfs.
23350         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23351         f2fs.
23353         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23354         (EFIVARFS_MAGIC): Add.
23355         (F2FS_LINK_MAX): Add.
23357 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23359         * stdio-common/vfprintf.c: Replace __builtin_expect with
23360         __glibc_unlikely.
23362 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23364         [BZ #13550]
23365         * sysdeps/generic/bp-sym.h: Remove file.
23366         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23367         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23368         <bp-sym.h> and <bp-asm.h>.
23369         (__longjmp): Don't use BP_SYM.
23370         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23371         and <bp-asm.h>.
23372         (memcpy): Don't use BP_SYM.
23373         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23374         <bp-sym.h> and <bp-asm.h>.
23375         (memcpy): Don't use BP_SYM.
23376         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23377         <bp-asm.h>.
23378         (memcpy): Don't use BP_SYM.
23379         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23380         <bp-asm.h>.
23381         (memset): Don't use BP_SYM.
23382         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23383         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23384         (__bzero): Don't use BP_SYM.
23385         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23386         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23387         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23388         <bp-sym.h> and <bp-asm.h>.
23389         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23390         pointers.
23391         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23392         <bp-sym.h> and <bp-asm.h>.
23393         (memcpy): Don't use BP_SYM.
23394         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23395         <bp-sym.h> and <bp-asm.h>.
23396         (memset): Don't use BP_SYM.
23397         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23398         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23399         (__bzero): Don't use BP_SYM.
23400         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23401         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23402         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23403         <bp-sym.h> and <bp-asm.h>.
23404         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23405         pointers.
23406         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23407         <bp-sym.h> and <bp-asm.h>.
23408         (memcpy): Don't use BP_SYM.
23409         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23410         <bp-sym.h> and <bp-asm.h>.
23411         (memset): Don't use BP_SYM.
23412         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23413         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23414         (__bzero): Don't use BP_SYM.
23415         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23416         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23417         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23418         <bp-sym.h> and <bp-asm.h>.
23419         (__memchr): Don't use BP_SYM.
23420         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23421         <bp-sym.h> and <bp-asm.h>.
23422         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23423         pointers.
23424         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23425         <bp-sym.h> and <bp-asm.h>.
23426         (memcpy): Don't use BP_SYM.
23427         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23428         <bp-sym.h> and <bp-asm.h>.
23429         (__mempcpy): Don't use BP_SYM.
23430         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23431         <bp-sym.h> and <bp-asm.h>.
23432         (__memrchr): Don't use BP_SYM.
23433         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23434         <bp-sym.h> and <bp-asm.h>.
23435         (memset): Don't use BP_SYM.
23436         (__bzero): Likewise.
23437         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23438         <bp-sym.h> and <bp-asm.h>.
23439         (__rawmemchr): Don't use BP_SYM.
23440         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23441         <bp-sym.h> and <bp-asm.h>.
23442         (__STRCMP): Don't use BP_SYM.
23443         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23444         <bp-sym.h> and <bp-asm.h>.
23445         (strchr): Don't use BP_SYM.
23446         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23447         <bp-sym.h> and <bp-asm.h>.
23448         (__strchrnul): Don't use BP_SYM.
23449         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23450         <bp-sym.h> and <bp-asm.h>.
23451         (strlen): Don't use BP_SYM.
23452         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23453         <bp-sym.h> and <bp-asm.h>.
23454         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23455         pointers.
23456         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23457         <bp-sym.h> and <bp-asm.h>.
23458         (__strnlen): Don't use BP_SYM.
23459         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23460         <bp-sym.h> and <bp-asm.h>.
23461         (__GI__setjmp): Don't use BP_SYM.
23462         (_setjmp): Likewise.
23463         (__sigsetjmp): Likewise.
23464         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23465         (L(start_addresses)): Don't use BP_SYM.
23466         (_start): Likewise.
23467         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23468         <bp-asm.h>.
23469         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23470         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23471         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23472         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23473         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23474         <bp-asm.h>.
23475         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23476         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23477         about bounded pointers.
23478         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23479         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23480         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23481         <bp-asm.h>.
23482         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23483         about bounded pointers.  Remove GKM FIXME comments.
23484         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23485         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23486         <bp-asm.h>.
23487         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23488         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23489         Remove GKM FIXME comments.
23490         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23491         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23492         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23493         <bp-asm.h>.
23494         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23495         about bounded pointers.  Remove GKM FIXME comment.
23496         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23497         and <bp-asm.h>.
23498         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23499         pointers.
23500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23501         <bp-sym.h> and <bp-asm.h>.
23502         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23504         <bp-sym.h> and <bp-asm.h>.
23505         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23506         comment.
23508 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23510         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23511         call free(NULL).
23513 2013-03-05  David S. Miller  <davem@davemloft.net>
23515         * po/es.po: Update from translation team.
23517 2013-03-05  Andreas Jaeger  <aj@suse.de>
23519         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23520         <bits/mman-linux.h>.
23521         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23522         is fine.
23523         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23524         <bits/mman-linux.h> to end of file.
23525         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23526         is fine.
23527         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23528         <bits/mman-linux.h> to end of file.
23529         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23530         is fine.
23531         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23532         <bits/mman-linux.h> to end of file.
23534         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23535         (MCL_CURRENT, MCL_FUTURE): Define here.
23537 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23539         [BZ #15232]
23540         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23541         attribute_hidden.
23542         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23544 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23546         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23547         fourth parameter needed for rt_sigprocmask syscall.
23548         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23549         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23550         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23551         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23552         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23553         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23555 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23557         [BZ #13550]
23558         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23559         comment about bounded pointers.
23560         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23561         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23563 2013-03-04  Andreas Jaeger  <aj@suse.de>
23565         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23566         common definitions.
23568         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23569         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23570         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23571         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23572         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23573         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23575 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23577         [BZ #15055]
23578         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23579         __ieee754_sqrl instead of __sqrl.
23581 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23583         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23584         * sysdeps/powerpc/fpu_control.h: ... here.
23585         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23586         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23587         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23588         * sysdeps/powerpc/bits/mathinline.h: ... here.
23590 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23592         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23593         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23594         to just [NEED_DL_SYSINFO_DSO].
23595         * elf/dl-support.c: Likewise.
23596         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23597         * elf/rtld.c (dl_main): Likewise.
23598         * elf/setup-vdso.h (setup_vdso): Likewise.
23599         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23600         * sysdeps/unix/sysv/linux/dl-sysdep.c
23601         (_dl_discover_osversion): Likewise.
23603 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23605         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23606         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23608 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23610         * NEWS: Mention libm performance improvements and non-x86 PI
23611         futex support.
23613         * csu/libc-start.c (__pthread_initialize_minimal): Change
23614         function arguments.
23615         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23617 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23619         [BZ #13550]
23620         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23621         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23622         <bp-sym.h> and <bp-asm.h>.
23623         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23624         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23625         and <bp-asm.h>.
23626         (memcpy): Don't use BP_SYM.
23627         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23628         <bp-asm.h>.
23629         (__mpn_add_n): Don't use BP_SYM.
23630         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23631         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23632         and <bp-asm.h>.
23633         (__mpn_addmul_1): Don't use BP_SYM.
23634         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23635         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23636         <bp-sym.h>.
23637         (_setjmp): Don't use BP_SYM.
23638         (__novmx_setjmp): Likewise.
23639         (__GI__setjmp): Likewise.
23640         (__vmx_setjmp): Likewise.
23641         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23642         <bp-sym.h>.
23643         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23644         (__bzero): Don't use BP_SYM.
23645         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23646         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23647         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23648         <bp-sym.h> and <bp-asm.h>.
23649         (memcpy): Don't use BP_SYM.
23650         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23651         <bp-sym.h> and <bp-asm.h>.
23652         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23653         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23654         <bp-sym.h> and <bp-asm.h>.
23655         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23656         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23657         <bp-asm.h>.
23658         (__mpn_lshift): Don't use BP_SYM.
23659         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23660         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23661         <bp-asm.h>.
23662         (memset): Don't use BP_SYM.
23663         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23664         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23665         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23666         <bp-asm.h>.
23667         (__mpn_mul_1): Don't use BP_SYM.
23668         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23669         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23670         <bp-sym.h> and <bp-asm.h>.
23671         (memcmp): Don't use BP_SYM.
23672         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23673         <bp-sym.h> and <bp-asm.h>.
23674         (memcpy): Don't use BP_SYM.
23675         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23676         <bp-sym.h> and <bp-asm.h>.
23677         (memset): Don't use BP_SYM.
23678         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23679         <bp-sym.h> and <bp-asm.h>.
23680         (strncmp): Don't use BP_SYM.
23681         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23682         <bp-sym.h> and <bp-asm.h>.
23683         (memcpy): Don't use BP_SYM.
23684         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23685         <bp-sym.h> and <bp-asm.h>.
23686         (memset): Don't use BP_SYM.
23687         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23688         <bp-sym.h> and <bp-asm.h>.
23689         (__memchr): Don't use BP_SYM.
23690         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23691         <bp-sym.h> and <bp-asm.h>.
23692         (memcmp): Don't use BP_SYM.
23693         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23694         <bp-sym.h> and <bp-asm.h>.
23695         (memcpy): Don't use BP_SYM.
23696         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23697         <bp-sym.h> and <bp-asm.h>.
23698         (__mempcpy): Don't use BP_SYM.
23699         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23700         <bp-sym.h> and <bp-asm.h>.
23701         (__memrchr): Don't use BP_SYM.
23702         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23703         <bp-sym.h> and <bp-asm.h>.
23704         (memset): Don't use BP_SYM.
23705         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23706         <bp-sym.h> and <bp-asm.h>.
23707         (__rawmemchr): Don't use BP_SYM.
23708         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23709         <bp-sym.h> and <bp-asm.h>.
23710         (__STRCMP): Don't use BP_SYM.
23711         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23712         <bp-sym.h> and <bp-asm.h>.
23713         (strchr): Don't use BP_SYM.
23714         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23715         <bp-sym.h> and <bp-asm.h>.
23716         (__strchrnul): Don't use BP_SYM.
23717         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23718         <bp-sym.h> and <bp-asm.h>.
23719         (strlen): Don't use BP_SYM.
23720         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23721         <bp-sym.h> and <bp-asm.h>.
23722         (strncmp): Don't use BP_SYM.
23723         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23724         <bp-sym.h> and <bp-asm.h>.
23725         (__strnlen): Don't use BP_SYM.
23726         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23727         <bp-asm.h>.
23728         (__mpn_rshift): Don't use BP_SYM.
23729         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23730         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23731         <bp-sym.h> and <bp-asm.h>.
23732         (__sigsetjmp): Don't use BP_SYM.
23733         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23734         (L(start_addresses)): Don't use BP_SYM.
23735         (_start): Likewise.
23736         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23737         <bp-asm.h>.
23738         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23739         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23740         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23741         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23742         <bp-asm.h>.
23743         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23744         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23745         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23746         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23747         <bp-asm.h>.
23748         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23749         comments.
23750         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23751         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23752         <bp-asm.h>.
23753         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23754         FIXME comments.
23755         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23756         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23757         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23758         <bp-asm.h>.
23759         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23760         comment.
23761         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23762         and <bp-asm.h>.
23763         (strncmp): Don't use BP_SYM,
23764         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23765         <bp-asm.h>.
23766         (__mpn_sub_n): Don't use BP_SYM.
23767         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23768         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23769         and <bp-asm.h>.
23770         (__mpn_submul_1): Don't use BP_SYM.
23771         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23773         <bp-sym.h> and <bp-asm.h>.
23774         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23776         <bp-sym.h> and <bp-asm.h>.
23777         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23778         comment.
23780 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23783         Use ZK to minimize writes to Z.
23784         (sub_magnitudes): Simplify code a bit.
23785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23786         Use ZK to minimize writes to Z.
23787         (sub_magnitudes): Simplify code a bit.
23789 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23791         * csu/gmon-start.c: Add special exception to license text.
23793 2013-02-27  Richard Henderson  <rth@redhat.com>
23795         * scripts/config.guess: Update from config.git.
23796         * scripts/config.sub: Likewise.
23798 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23800         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23802         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23804         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23806         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23808         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23810 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23812         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23813         [$(build-shared = yes].
23815 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23817         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23818         (__mul): Reduce iterations for calculating mantissa.
23820         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23821         MPTWO.
23822         (__mpranred): Likewise.
23824         [BZ #15160]
23825         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23826         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23828 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23830         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23831         Define __attribute__.
23833 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23835         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23836         unused.
23837         * posix/regex_internal.h (__attribute): Remove.
23838         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23839         (re_string_context_at): Likewise.
23840         (bitset_not): Use __attribute__ and mark function as possibly
23841         unused.
23842         (bitset_merge): Likewise.
23843         (bitset_mask): Likewise.
23844         (re_string_char_size_at): Likewise.
23845         (re_string_wchar_at): Likewise.
23846         (re_string_elem_size_at): Likewise.
23848 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23850         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23851         code.
23852         (cc32): Likewise.
23854         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23855         (__acr): Likewise.
23856         (__cpy): Likewise.
23857         (norm): Likewise.
23858         (denorm): Likewise.
23859         (__dbl_mp): Likewise.
23860         (add_magnitudes): Likewise.
23861         (sub_magnitudes): Likewise.
23862         (__mul): Likewise.
23863         (__inv): Likewise.
23865         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23866         style.
23868         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23869         style.
23871         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23872         code.
23874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23875         up changes with default code.
23876         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23877         Likewise.
23879 2013-02-24  Allan McRae  <allan@archlinux.org>
23881         * manual/socket.texi (The Internet Namespace): Order menu items
23882         to match that in the file.
23884         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23885         node listing of the info page menu.
23887 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23889         [BZ #13550]
23890         * sysdeps/i386/bp-asm.h: Remove file.
23891         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23892         (PARMS): Do not use macros from bp-asm.h.
23893         (S1): Likewise.
23894         (S2): Likewise.
23895         (SIZE): Likewise.
23896         (__mpn_add_n): Do not use BP_SYM
23897         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23898         "bp-asm.h".
23899         (PARMS): Do not use macros from bp-asm.h.
23900         (S1): Likewise.
23901         (SIZE): Likewise.
23902         (__mpn_addmul_1): Do not use BP_SYM
23903         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23904         "bp-asm.h".
23905         (PARMS): Do not use macros from bp-asm.h.
23906         (SIGMSK): Likewise.
23907         (_setjmp): Likewise.  Do not use BP_SYM.
23908         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23909         "bp-asm.h".
23910         (PARMS): Do not use macros from bp-asm.h.
23911         (SIGMSK): Likewise.
23912         (setjmp): Likewise.  Do not use BP_SYM.
23913         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23914         "bp-asm.h".
23915         (PARMS): Do not use macros from bp-asm.h.
23916         (__frexp): Do not use BP_SYM.
23917         (frexp): Likewise.
23918         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23919         "bp-asm.h".
23920         (PARMS): Do not use macros from bp-asm.h.
23921         (__frexpf): Do not use BP_SYM.
23922         (frexpf): Likewise.
23923         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23924         "bp-asm.h".
23925         (PARMS): Do not use macros from bp-asm.h.
23926         (__frexpl): Do not use BP_SYM.
23927         (frexpl): Likewise.
23928         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23929         "bp-asm.h".
23930         (PARMS): Do not use macros from bp-asm.h.
23931         (__remquo): Do not use BP_SYM.
23932         (remquo): Likewise.
23933         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23934         "bp-asm.h".
23935         (PARMS): Do not use macros from bp-asm.h.
23936         (__remquof): Do not use BP_SYM.
23937         (remquof): Likewise.
23938         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23939         "bp-asm.h".
23940         (PARMS): Do not use macros from bp-asm.h.
23941         (__remquol): Do not use BP_SYM.
23942         (remquol): Likewise.
23943         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23944         "bp-asm.h".
23945         (PARMS): Do not use macros from bp-asm.h.
23946         (DEST): Likewise.
23947         (SRC): Likewise.
23948         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23949         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23950         "bp-asm.h".
23951         (PARMS): Do not use macros from bp-asm.h.
23952         (strlen): Do not use BP_SYM.
23953         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23954         "bp-asm.h".
23955         (PARMS): Do not use macros from bp-asm.h.
23956         (S1): Likewise.
23957         (S2): Likewise.
23958         (SIZE): Likewise.
23959         (__mpn_add_n): Do not use BP_SYM.
23960         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23961         "bp-asm.h".
23962         (PARMS): Do not use macros from bp-asm.h.
23963         (S1): Likewise.
23964         (SIZE): Likewise.
23965         (__mpn_addmul_1): Do not use BP_SYM.
23966         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23967         weak_alias.
23968         (bzero): Likewise.
23969         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23970         "bp-asm.h".
23971         (PARMS): Do not use macros from bp-asm.h.
23972         (S): Likewise.
23973         (SIZE): Likewise.
23974         (__mpn_lshift): Do not use BP_SYM.
23975         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23976         "bp-asm.h".
23977         (PARMS): Do not use macros from bp-asm.h.
23978         (DEST): Likewise.
23979         (SRC): Likewise.
23980         (LEN): Likewise.
23981         (memcpy): Likewise.  Do not use BP_SYM.
23982         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23983         libc_hidden_def and weak_alias.
23984         (mempcpy): Do not use BP_SYM in weak_alias.
23985         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23986         "bp-asm.h".
23987         (PARMS): Do not use macros from bp-asm.h.
23988         (DEST): Likewise.
23989         (LEN): Likewise.
23990         [!BZERO_P] (CHR): Likewise.
23991         (memset): Likewise.  Do not use BP_SYM.
23992         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23993         "bp-asm.h".
23994         (PARMS): Do not use macros from bp-asm.h.
23995         (S1): Likewise.
23996         (SIZE): Likewise.
23997         (__mpn_mul_1): Do not use BP_SYM.
23998         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23999         "bp-asm.h".
24000         (PARMS): Do not use macros from bp-asm.h.
24001         (S): Likewise.
24002         (SIZE): Likewise.
24003         (__mpn_rshift): Do not use BP_SYM.
24004         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24005         "bp-asm.h".
24006         (PARMS): Do not use macros from bp-asm.h.
24007         (STR): Likewise.
24008         (CHR): Likewise.
24009         (strchr): Likewise.  Do not use BP_SYM.
24010         (index): Do not use BP_SYM in weak_alias.
24011         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24012         "bp-asm.h".
24013         (PARMS): Do not use macros from bp-asm.h.
24014         (DEST): Likewise.
24015         (SRC): Likewise.
24016         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24017         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24018         "bp-asm.h".
24019         (PARMS): Do not use macros from bp-asm.h.
24020         (strlen): Do not use BP_SYM.
24021         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24022         "bp-asm.h".
24023         (PARMS): Do not use macros from bp-asm.h.
24024         (S1): Likewise.
24025         (S2): Likewise.
24026         (SIZE): Likewise.
24027         (__mpn_sub_n): Do not use BP_SYM.
24028         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24029         "bp-asm.h".
24030         (PARMS): Do not use macros from bp-asm.h.
24031         (S1): Likewise.
24032         (SIZE): Likewise.
24033         (__mpn_submul_1): Do not use BP_SYM.
24034         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24035         "bp-asm.h".
24036         (PARMS): Do not use macros from bp-asm.h.
24037         (S1): Likewise.
24038         (S2): Likewise.
24039         (SIZE): Likewise.
24040         (__mpn_add_n): Do not use BP_SYM.
24041         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24042         weak_alias.
24043         (bzero): Likewise.
24044         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24045         "bp-asm.h".
24046         (PARMS): Do not use macros from bp-asm.h.
24047         (BLK2): Likewise.
24048         (LEN): Likewise.
24049         (memcmp): Do not use BP_SYM.
24050         (bcmp): Do not use BP_SYM in weak_alias.
24051         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24052         "bp-asm.h".
24053         (PARMS): Do not use macros from bp-asm.h.
24054         (DEST): Likewise.
24055         (SRC): Likewise.
24056         (LEN): Likewise.
24057         (memcpy): Likewise.  Do not use BP_SYM.
24058         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24059         "bp-asm.h".
24060         (PARMS): Do not use macros from bp-asm.h.
24061         (DEST): Likewise.
24062         (SRC): Likewise.
24063         (LEN): Likewise.
24064         (memmove): Likewise.  Do not use BP_SYM.
24065         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24066         "bp-asm.h".
24067         (PARMS): Do not use macros from bp-asm.h.
24068         (DEST): Likewise.
24069         (SRC): Likewise.
24070         (LEN): Likewise.
24071         (__mempcpy): Likewise.  Do not use BP_SYM.
24072         (mempcpy): Do not use BP_SYM in weak_alias.
24073         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24074         "bp-asm.h".
24075         (PARMS): Do not use macros from bp-asm.h.
24076         (DEST): Likewise.
24077         (LEN): Likewise.
24078         [!BZERO_P] (CHR): Likewise.
24079         (memset): Likewise.  Do not use BP_SYM.
24080         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24081         "bp-asm.h".
24082         (PARMS): Do not use macros from bp-asm.h.
24083         (STR2): Likewise.
24084         (strcmp): Do not use BP_SYM.
24085         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24086         "bp-asm.h".
24087         (PARMS): Do not use macros from bp-asm.h.
24088         (STR): Likewise.
24089         (DELIM): Likewise.
24090         [USE_AS_STRTOK_R] (SAVE): Likewise.
24091         (FUNCTION): Likewise.  Do not use BP_SYM.
24092         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24093         aliases.
24094         (strtok_r): Likewise.
24095         (__GI___strtok_r): Likewise.
24096         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24097         (PARMS): Do not use macros from bp-asm.h.
24098         (S): Likewise.
24099         (SIZE): Likewise.
24100         (__mpn_lshift): Do not use BP_SYM.
24101         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24102         (PARMS): Do not use macros from bp-asm.h.
24103         (STR): Likewise.
24104         (CHR): Likewise.
24105         (__memchr): Do not use BP_SYM.
24106         (memchr): Do not use BP_SYM in weak_alias.
24107         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24108         (PARMS): Do not use macros from bp-asm.h.
24109         (BLK2): Likewise.
24110         (LEN): Likewise.
24111         (memcmp): Do not use BP_SYM.
24112         (bcmp): Do not use BP_SYM in weak_alias.
24113         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24114         (PARMS): Do not use macros from bp-asm.h.
24115         (S1): Likewise.
24116         (SIZE): Likewise.
24117         (__mpn_mul_1): Do not use BP_SYM.
24118         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24119         "bp-asm.h".
24120         (PARMS): Do not use macros from bp-asm.h.
24121         (STR): Likewise.
24122         (CHR): Likewise.
24123         (__rawmemchr): Do not use BP_SYM.
24124         (rawmemchr): Do not use BP_SYM in weak_alias.
24125         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24126         (PARMS): Do not use macros from bp-asm.h.
24127         (S): Likewise.
24128         (SIZE): Likewise.
24129         (__mpn_rshift): Do not use BP_SYM.
24130         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24131         (PARMS): Do not use macros from bp-asm.h.
24132         (SIGMSK): Likewise.
24133         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24134         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24135         (_start): Do not use BP_SYM.
24136         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24137         (PARMS): Do not use macros from bp-asm.h.
24138         (DEST): Likewise.
24139         (SRC): Likewise.
24140         (__stpcpy): Likewise.  Do not use BP_SYM.
24141         (stpcpy): Do not use BP_SYM in weak_alias.
24142         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24143         "bp-asm.h".
24144         (PARMS): Do not use macros from bp-asm.h.
24145         (DEST): Likewise.
24146         (SRC): Likewise.
24147         (LEN): Likewise.
24148         (__stpncpy): Likewise.  Do not use BP_SYM.
24149         (stpncpy): Do not use BP_SYM in weak_alias.
24150         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24151         (PARMS): Do not use macros from bp-asm.h.
24152         (STR): Likewise.
24153         (CHR): Likewise.
24154         (strchr): Likewise.  Do not use BP_SYM.
24155         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24156         "bp-asm.h".
24157         (PARMS): Do not use macros from bp-asm.h.
24158         (STR): Likewise.
24159         (CHR): Likewise.
24160         (__strchrnul): Likewise.  Do not use BP_SYM.
24161         (strchrnul): Do not use BP_SYM in weak_alias.
24162         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24163         "bp-asm.h".
24164         (PARMS): Do not use macros from bp-asm.h.
24165         (STOP): Likewise.
24166         (strcspn): Do not use BP_SYM.
24167         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24168         "bp-asm.h".
24169         (PARMS): Do not use macros from bp-asm.h.
24170         (STR): Likewise.
24171         (STOP): Likewise.
24172         (strpbrk): Likewise.  Do not use BP_SYM.
24173         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24174         "bp-asm.h".
24175         (PARMS): Do not use macros from bp-asm.h.
24176         (STR): Likewise.
24177         (CHR): Likewise.
24178         (strrchr): Likewise.  Do not use BP_SYM.
24179         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24180         (PARMS): Do not use macros from bp-asm.h.
24181         (SKIP): Likewise.
24182         (strspn): Do not use BP_SYM.
24183         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24184         (PARMS): Do not use macros from bp-asm.h.
24185         (STR): Likewise.
24186         (DELIM): Likewise.
24187         (SAVE): Likewise.
24188         (FUNCTION): Likewise.  Do not use BP_SYM.
24189         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24190         aliases.
24191         (strtok_r): Likewise.
24192         (__GI___strtok_r): Likewise.
24193         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24194         (PARMS): Do not use macros from bp-asm.h.
24195         (S1): Likewise.
24196         (S2): Likewise.
24197         (SIZE): Likewise.
24198         (__mpn_sub_n): Do not use BP_SYM.
24199         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24200         "bp-asm.h".
24201         (PARMS): Do not use macros from bp-asm.h.
24202         (S1): Likewise.
24203         (SIZE): Likewise.
24204         (__mpn_submul_1): Do not use BP_SYM.
24205         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24206         <bp-sym.h>.
24207         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24208         and <bp-asm.h>.
24209         (PARMS): Do not use macros from bp-asm.h.
24210         (FLAGS): Likewise.
24211         (PTID): Likewise.
24212         (TLS): Likewise.
24213         (CTID): Likewise.
24214         (__clone): Do not use BP_SYM.
24215         (clone): Do not use BP_SYM in weak_alias.
24216         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24217         and <bp-asm.h>.
24218         (PARMS): Do not use macros from bp-asm.h.
24219         (LEN): Likewise.
24220         (__mmap64): Do not use BP_SYM.
24221         (mmap64): Do not use BP_SYM in weak_alias.
24222         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24223         <bp-sym.h> and <bp-asm.h>.
24224         (PARMS): Do not use macros from bp-asm.h.
24225         (__posix_fadvise64_l64): Do not use BP_SYM.
24226         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24227         (PARMS): Do not use macros from bp-asm.h.
24228         (NSOPS): Likewise.
24229         (semtimedop): Do not use BP_SYM.
24230         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24231         and <bp-asm.h>.
24233 2013-02-21  Allan McRae  <allan@archlinux.org>
24235         * manual/message.texi (Charset conversion in gettext):
24236         Move @end statement to beginning of line.
24238 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24241         static.
24242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24243         Likewise.
24245         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24246         (denorm): Likewise.
24247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24250 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24252         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24253         tail-call to the resolved function if pltexit isn't needed.
24255 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24258         or Y being zero as being unlikely.
24259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24260         Likewise.
24262 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24264         * manual/nss.texi (System Databases and Name Service Switch):
24265         Remove frobnicate @pxref.
24267 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24269         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24270         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24272 2013-02-20  Petr Machata  <pmachata@redhat.com>
24274         * elf/elf.h (R_ARM_TARGET1): New macro.
24275         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24276         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24277         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24278         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24279         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24280         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24281         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24282         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24283         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24284         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24285         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24286         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24287         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24288         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24289         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24290         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24291         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24292         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24293         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24294         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24295         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24296         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24297         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24298         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24299         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24300         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24301         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24302         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24303         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24304         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24305         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24306         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24307         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24308         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24309         (R_ARM_THM_GOT_BREL12): Likewise.
24310         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24311         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24312         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24313         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24314         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24315         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24316         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24317         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24318         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24320 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24322         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24323         __attribute_used__ to __attribute__ ((unused)).
24325 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24327         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24328         powerpc mpa.c.
24329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24330         comment formatting.
24331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24333 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24335         [BZ #13550]
24336         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24337         Remove macro.
24338         (ENTER): Remove both macro definitions.
24339         (LEAVE): Likewise.
24340         (CHECK_BOUNDS_LOW): Likewise.
24341         (CHECK_BOUNDS_HIGH): Likewise.
24342         (CHECK_BOUNDS_BOTH): Likewise.
24343         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24344         (RETURN_BOUNDED_POINTER): Likewise.
24345         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24346         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24347         (POP_ERRNO_LOCATION_RETURN): Likewise.
24348         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24349         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24350         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24351         macros.
24352         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24353         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24354         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24355         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24356         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24357         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24358         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24359         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24360         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24361         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24362         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24363         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24364         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24365         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24366         removed macros.
24367         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24368         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24369         macros.
24370         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24371         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24372         * sysdeps/i386/i586/memset.S (memset): Likewise.
24373         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24374         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24375         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24376         macros.
24377         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24378         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24379         Change uses of L(2) to L(out).
24380         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24381         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24382         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24383         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24384         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24385         removed macros.
24386         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24387         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24388         macros.
24389         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24390         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24391         (RETURN): Do not use macro LEAVE.
24392         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24393         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24394         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24395         * sysdeps/i386/i686/memset.S (memset): Likewise.
24396         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24397         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24398         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24399         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24400         Likewise.
24401         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24402         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24403         L(1_2) and L(1_3) into L(1).
24404         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24405         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24406         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24407         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24408         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24409         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24410         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24411         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24412         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24413         macros.
24414         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24415         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24416         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24417         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24418         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24419         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24420         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24421         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24422         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24423         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24424         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24425         * sysdeps/i386/strspn.S (strspn): Likewise.
24426         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24427         conditional code.
24428         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24429         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24430         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24431         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24432         L(1_3) into L(1_1).
24433         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24434         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24435         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24436         macros.
24437         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24439 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24441         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24442         macro.
24444 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24446         * math/atest-exp.c (exp_mpn): Remove ROUND.
24447         * math/atest-exp2.c (exp_mpn): Likewise.
24448         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24450         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24451         * stdlib/tst-tls-atexit-lib.c: Likewise.
24452         * stdlib/tst-tls-atexit.c: Likewise.
24454 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24456         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24457         and __attribute_alloc_size__.
24459 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24461         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24462         __attribute_alloc_size__.
24463         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24464         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24466 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24468         * include/programs/xmalloc.h: New file.
24469         * catgets/gencat.c: Include it.
24470         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24471         * elf/pldd.c: Likewise.
24472         * iconv/iconv_charmap.c: Likewise.
24473         * iconv/iconvconfig.c: Likewise.
24474         * iconv/strtab.c: Likewise.
24475         * locale/programs/locale.c: Likewise.
24476         * locale/programs/localedef.h: Likewise.
24477         * locale/programs/simple-hash.c: Likewise.
24478         * nscd/nscd.h: Likewise.
24479         * nss/makedb.c: Likewise.
24480         * sysdeps/generic/ldconfig.h: Likewise.
24482 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24484         * Versions.def: Add GLIBC_2.18.
24485         * include/link.h (struct link_map): New member l_tls_dtor_count.
24486         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24487         (__call_tls_dtors): Likewise.
24488         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24489         __cxa_thread_atexit_impl.
24490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24491         Likewise.
24492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24493         Likewise.
24494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24495         Likewise.
24496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24497         Likewise.
24498         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24500         Likewise.
24501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24502         Likewise.
24503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24505         Likewise.
24506         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24507         (tests): Add test case tst-tls-atexit.
24508         (modules-names): Add shared library for tst-tls-atexit.
24509         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24510         (GLIBC_PRIVATE): Add __call_tls_dtors.
24511         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24512         for libstdc++.
24513         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24514         * stdlib/tst-tls-atexit.c: New test case.
24515         * stdlib/tst-tls-atexit-lib.c: New test case.
24517         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24519         * elf/Versions (ld): Add _dl_find_dso_for_object.
24520         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24521         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24522         (dl_open_worker): Use _dl_find_dso_for_object.
24523         * elf/dl-sym.c (do_sym): Likewise.
24524         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24526 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24528         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24529         Syntactic changes only.
24530         (_dl_runtime_profile): Do a tail-call to the resolved function.
24532 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24534         [BZ #13550]
24535         * sysdeps/x86_64/bp-asm.h: Remove file.
24536         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24537         <bp-sym.h> and <bp-asm.h>.
24538         (__clone): Do not use BP_SYM.
24539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24540         <bp-sym.h> and <bp-asm.h>.
24541         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24542         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24543         "bp-asm.h".
24544         (_setjmp): Do not use BP_SYM.
24545         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24546         "bp-asm.h".
24547         (setjmp): Do not use BP_SYM.
24548         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24549         libc_hidden_def.
24550         (mempcpy): Do not use BP_SYM in weak_alias.
24551         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24552         "bp-asm.h".
24553         (strchr): Do not use BP_SYM.
24554         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24555         "bp-asm.h".
24556         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24557         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24558         (_start): Do not use BP_SYM.
24559         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24560         "bp-asm.h".
24561         (strcat): Do not use BP_SYM.
24562         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24563         "bp-asm.h".
24564         (STRCMP): Do not use BP_SYM.
24565         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24566         "bp-asm.h".
24567         (STRCPY): Do not use BP_SYM.
24568         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24569         "bp-asm.h".
24570         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24571         "bp-asm.h".
24572         (FUNCTION): Do not use BP_SYM.
24573         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24574         weak_alias.
24575         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24577 2013-02-17  Andreas Jaeger  <aj@suse.de>
24579         * time/Versions: Sort entries.
24580         * string/Versions: Likewise.
24581         * resolv/Versions: Likewise.
24582         * posix/Versions: Likewise.
24583         * iconv/Versions: Likewise.
24584         * elf/Versions: Likewise.
24585         * wcsmbs/Versions: Likewise.
24587 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24589         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24590         loop termination condition.
24592         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24593         variable to calculate EZ.
24594         (__sqr): Likewise.
24596         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24597         the lower precision input.
24599 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24601         [BZ #13550]
24602         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24603         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24604         (run-via-rtld-prefix): Do not handle %-bp tests.
24605         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24606         (all-object-suffixes): Remove .ob.
24607         (bppfx): Remove variable.
24608         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24609         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24610         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24611         [$(build-bounded) = yes] (libtype.ob): Likewise.
24612         * Makerules (elide-routines.ob): Remove variable.
24613         (do-tests-clean): Do not handle *-bp.out.
24614         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24615         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24616         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24617         (tests): Do not include $(tests-bp.out).
24618         (xtests): Do not include $(xtests-bp.out).
24619         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24620         [$(build-bounded) = yes] ($(addprefix
24621         $(objpfx),$(binaries-bounded))): Remove rule.
24622         ($(objpfx)%-bp.out): Remove rule.
24623         * config.make.in (build-bounded): Remove variable.
24624         * crypt/Makefile [$(build-bounded) = yes]
24625         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24626         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24627         append to variable.
24628         [$(build-bounded) = yes] (install-lib): Likewise.
24629         [$(build-bounded) = yes] (generated): Likewise.
24630         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24631         Remove rule.
24632         * intl/Makefile [$(build-bounded) = yes]
24633         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24634         * math/Makefile [$(build-bounded) = yes]
24635         ($(tests:%=$(objpfx)%-bp): Likewise.
24636         * misc/Makefile [$(build-bounded) = yes]
24637         ($(objpfx)tst-tsearch-bp): Likewise.
24638         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24639         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24640         Remove dependency.
24641         * string/Makefile (o-objects.ob): Remove variable.
24642         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24643         (CFLAGS-.ob): Remove variable.
24644         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24645         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24646         both definitions of variable.
24647         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24648         (ASFLAGS-.ob): Remove variable.
24650 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24652         [BZ #13550]
24653         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24654         Remove __BOUNDED_POINTERS__ from condition.
24655         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24656         * string/bits/string2.h [!__NO_STRING_INLINES &&
24657         !__BOUNDED_POINTERS__]: Likewise.
24658         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24659         Likewise.
24660         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24661         Remove conditional code.
24662         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24663         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24664         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24665         condition.
24667         [BZ #13550]
24668         * csu/libc-start.c: Do not include <bp-sym.h>.
24669         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24670         * elf/dl-open.c: Do not include <bp-sym.h>.
24671         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24672         * math/fegetenv.c: Do not include <bp-sym.h>.
24673         (fegetenv): Do not use BP_SYM in versioned symbols.
24674         * nptl/sysdeps/pthread/bits/libc-lockP.h
24675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24676         <bp-sym.h>.
24677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24678         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24680         (__pthread_mutex_destroy): Likewise.
24681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24682         (__pthread_mutex_lock): Likewise.
24683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24684         (__pthread_mutex_trylock): Likewise.
24685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24686         (__pthread_mutex_unlock): Likewise.
24687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24688         (__pthread_mutexattr_init): Likewise.
24689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24690         (__pthread_mutexattr_destroy): Likewise.
24691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24692         (__pthread_mutexattr_settype): Likewise.
24693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24694         (__pthread_rwlock_init): Likewise.
24695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24696         (__pthread_rwlock_destroy): Likewise.
24697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24698         (__pthread_rwlock_rdlock): Likewise.
24699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24700         (__pthread_rwlock_tryrdlock): Likewise.
24701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24702         (__pthread_rwlock_wrlock): Likewise.
24703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24704         (__pthread_rwlock_trywrlock): Likewise.
24705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24706         (__pthread_rwlock_unlock): Likewise.
24707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24708         (__pthread_key_create): Likewise.
24709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24710         (__pthread_setspecific): Likewise.
24711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24712         (__pthread_getspecific): Likewise.
24713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24714         Likewise.
24715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24716         (_pthread_cleanup_push_defer): Likewise.
24717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24718         (_pthread_cleanup_pop_restore): Likewise.
24719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24720         (pthread_setcancelstate): Likewise.
24721         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24722         <bp-sym.h>.
24723         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24724         (memchr): Do not use BP_SYM in weak_alias.
24725         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24726         (fegetenv): Do not use BP_SYM in versioned symbols.
24727         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24728         (fesetenv): Do not use BP_SYM in versioned symbols.
24729         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24730         (feupdateenv): Do not use BP_SYM in versioned symbols.
24731         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24732         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24733         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24734         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24735         (open64): Do not use BP_SYM in weak_alias.
24736         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24737         (fegetenv): Do not use BP_SYM in versioned symbols.
24738         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24739         (fesetenv): Do not use BP_SYM in versioned symbols.
24740         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24741         (feupdateenv): Do not use BP_SYM in versioned symbols.
24742         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24743         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24744         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24745         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24746         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24747         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24748         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24749         <bp-sym.h>.
24750         (__libc_start_main): Do not use BP_SYM.
24752 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24755         redundant return line.
24756         (norm): Likewise.
24757         (denorm): Likewise.
24758         (dbl_mp): Likewise.
24759         (sub_magnitudes): Likewise.
24760         (__add): Likewise.
24761         (__sub): Likewise.
24762         (__mul): Likewise.
24763         (__inv): Likewise.
24764         (__dvd): Likewise.
24765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24766         (norm): Likewise.
24767         (denorm): Likewise.
24768         (dbl_mp): Likewise.
24769         (sub_magnitudes): Likewise.
24770         (__add): Likewise.
24771         (__sub): Likewise.
24772         (__mul): Likewise.
24773         (__inv): Likewise.
24774         (__dvd): Likewise.
24776         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24777         instead of __mul.
24778         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24779         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24780         (cc32): Likewise.
24782         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24783         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24785         of __mul for squares.
24786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24787         function
24788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24789         Likewise.
24790         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24791         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24793 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24795         [BZ #13550]
24796         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24797         code.
24798         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24799         prototype or function definition.  Rename ubp_* variables and
24800         parameters.  Remove argv definitions conditional on
24801         [__BOUNDED_POINTERS__].
24802         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24803         * elf/dl-runtime.c (_dl_fixup): Likewise.
24804         * include/set-hooks.h (RUN_HOOK): Likewise.
24805         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24806         definition.
24807         * string/strcpy.c (strcpy): Do not use __unbounded.
24808         * sysdeps/generic/frame.h (struct layout): Likewise.
24809         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24810         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24811         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24812         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24813         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24814         (__backtrace): Likewise.
24815         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24816         use __ptrvalue.
24817         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24818         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24819         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24820         Likewise.
24821         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24822         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24823         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24824         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24825         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24826         Do not use __unbounded.
24827         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24828         Rename __unboundedrlimits parameter to rlimits in prototype.
24829         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24830         Do not use __unbounded.
24831         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24832         not use __ptrvalue.
24833         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24834         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24835         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24836         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24837         __ptrvalue or __unbounded.
24838         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24839         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24840         use __unbounded.
24841         (__new_msgctl): Do not use __ptrvalue.
24842         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24843         __unbounded.
24844         (__libc_msgrcv): Do not use __ptrvalue.
24845         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24846         startup_info): Do not use __unbounded.
24847         (__libc_start_main): Likewise.  Rename ubp_* variables and
24848         parameters.  Remove argv definitions conditional on
24849         [__BOUNDED_POINTERS__].
24850         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24851         __ptrvalue.
24852         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24853         use __unbounded.
24854         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24855         or __ptrvalue.
24856         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24857         use __unbounded.
24858         (__new_shmctl): Do not use __ptrvalue.
24859         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24860         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24861         Likewise.
24862         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24863         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24864         (__libc_sigaction): Likewise.
24865         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24866         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24867         Likewise.
24868         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24870 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24872         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24874         * string/mempcpy.c: Implement by calling memcpy.
24876 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24878         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24881         evaluation.
24883         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24884         values in the mantissa.
24886         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24887         minimize writes to Z.
24888         (sub_magnitudes): Simplify code a bit.
24890 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24892         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24893         from the message.  The linker prefixes all warnings with that already.
24895 2013-02-12  Andreas Schwab  <schwab@suse.de>
24897         [BZ #15078]
24898         * posix/regexec.c (extend_buffers): Add parameter min_len.
24899         (check_matching): Pass minimum needed length.
24900         (clean_state_log_if_needed): Likewise.
24901         (get_subexp): Likewise.
24902         * posix/Makefile (tests): Add bug-regex34.
24903         (bug-regex34-ENV): Define.
24904         * posix/bug-regex34.c: New file.
24906         [BZ #11561]
24907         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24908         elements compare against the byte sequence of it, not its name.
24909         * posix/Makefile (tests): Add bug-regex35.
24910         (bug-regex35-ENV): Define.
24911         * posix/bug-regex35.c: New file.
24913 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24915         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24916         comment.
24917         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24918         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24919         (CHECK_EOL): Add undef.
24921 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24923         * bits/stdlib-bsearch.h: New file.
24924         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24925         * stdlib/stdlib.h: Likewise.
24927 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24929         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24930         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24931         declaration.
24932         * manual/search.texi (Array Search Function): Add missing const in
24933         lfind prototype.
24934         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24935         declaration to use rlim_t.
24936         (Basic Scheduling Functions): Remove erroneous const from
24937         sched_getparam prototype.  Remove erroneous * from
24938         sched_get_priority_max and sched_get_priority_min prototypes.
24939         (Resource Usage): Fix summary @comment on vtimes to refer to
24940         sys/vtimes.h rather than vtimes.h.
24941         Add missing *s in vtimes prototype.
24942         (Limits on Resources): Fix ulimit prototype to return long int.
24943         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24944         prototypes to use long int rather than double.
24945         (BSD Random): Fix initstate and setstate to use char *, not void *.
24946         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24947         prototype to make second argument 'struct aiocb64 *const[]'.
24948         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24949         (Status of AIO Operations): Remove erroneous const in aio_return and
24950         aio_return64 prototypes.
24951         (Synchronizing I/O): Fix sync prototype to return void.
24952         * manual/startup.texi (Suboptions): Remove an erroneous const in
24953         getsubopt prototype.
24954         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24955         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24956         use size_t rather than int.
24957         (Scanning All Users): Likewise for getpwent_r.
24958         (Setting Groups): Add missing const to setgroups prototype.
24959         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24960         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24961         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24962         'const void *' rather than 'const char *'.
24963         (Host Address Functions): Likewise for inet_ntop.
24964         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24965         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24966         ssize_t for return value.
24967         (Sending Data): Likewise for send, sendto, sendmsg.
24968         (Socket Option Functions): Add a missing const in setsockopt prototype.
24969         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24970         use wchar_t for the argument.
24971         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24972         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24973         take no arguments.
24974         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24975         double/float/long double for second argument.
24976         Fix return types of significand, significandf, significandl.
24977         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24978         argument in fchmod prototype.
24979         (File Owner): Use uid_t and gid_t in fchown prototype.
24980         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24981         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24982         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24983         use 'const struct dirent **' as argument types to CMP function pointer
24984         argument.
24985         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24986         (File Times): Fix summary magic @comment for struct utimbuf and utime
24987         to refer to utime.h, not time.h.
24988         * manual/string.texi (Argz Functions): Add missing const in
24989         argz_extract and argz_next prototypes.
24990         (Finding Tokens in a String): Likewise for basename.
24991         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24992         (Copying and Concatenation): Fix typo in wmemmove prototype.
24993         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24994         (Signal Stack): Remove erroneous const in sigstack prototype.
24995         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24996         prototype.
24997         (Simple Calendar Time): Likewise for stime.
24998         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24999         prototype.
25000         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25001         say sys/sysctl.h instead.
25002         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25003         and vsyslog prototypes.
25005 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25007         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25008         Remove.
25010 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25012         * misc/sys/mman.h: Fix typo in mremap comment.
25014 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25016         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25017         the '\0' terminator.
25019 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25021         [BZ #13550]
25022         * debug/segfault.c: Don't include <bp-checks.h>.
25023         * sysdeps/generic/bp-checks.h: Remove file.
25024         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25025         (__GETDENTS): Don't use CHECK_N.
25026         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25027         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25028         (__getgroups): Don't use CHECK_N.
25029         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25030         (setgroups): Don't use CHECK_N.
25031         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25032         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25033         (__libc_msgrcv): Don't use CHECK_N.
25034         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25035         (__libc_msgsnd): Don't use CHECK_N.
25036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25037         <bp-checks.h>.
25038         (__libc_pread): Don't use CHECK_N.
25039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25040         include <bp-checks.h>.
25041         (__libc_pread64): Don't use CHECK_N.
25042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25043         include <bp-checks.h>.
25044         (__libc_pwrite): Don't use CHECK_N.
25045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25046         include <bp-checks.h>.
25047         (__libc_pwrite64): Don't use CHECK_N.
25048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25049         <bp-checks.h>.
25050         (__libc_pread): Don't use CHECK_N.
25051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25052         include <bp-checks.h>.
25053         (__libc_pread64): Don't use CHECK_N.
25054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25055         include <bp-checks.h>.
25056         (__libc_pwrite): Don't use CHECK_N.
25057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25058         include <bp-checks.h>.
25059         (__libc_pwrite64): Don't use CHECK_N.
25060         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25061         (do_pread): Don't use CHECK_N.
25062         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25063         (do_pread64): Don't use CHECK_N.
25064         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25065         (do_pwrite): Don't use CHECK_N.
25066         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25067         (do_pwrite64): Don't use CHECK_N.
25068         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25069         (__libc_readv): Don't use CHECK_N.
25070         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25071         (semop): Don't use CHECK_N.
25072         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25073         <bp-checks.h>.
25074         (semtimedop): Don't use CHECK_N.
25075         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25076         (__libc_pread): Don't use CHECK_N.
25077         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25078         <bp-checks.h>.
25079         (__libc_pread64): Don't use CHECK_N.
25080         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25081         <bp-checks.h>.
25082         (__libc_pwrite): Don't use CHECK_N.
25083         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25084         <bp-checks.h>.
25085         (__libc_pwrite64): Don't use CHECK_N.
25086         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25087         <bp-checks.h>.
25088         (__libc_msgrcv): Don't use CHECK_N.
25089         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25090         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25091         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25092         (__libc_writev): Don't use CHECK_N.
25094 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25096         * string/strcpy.c: Removed unused variable.
25098         * Makeconfig (+sysdep-includes): Define with := rather than =.
25099         Use an existing include/ subdir of each sysdeps dir before it.
25101 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25103         * nscd/connection.c (register_traced_file): Comment function.
25104         [HAVE_INOTIFY] (union __inev): Define.
25105         [HAVE_INOTIFY] (inotify_check_files): New function.
25106         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25107         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25108         clear_db_cache.
25109         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25111 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25113         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25114         loaded if not already and that a failure is permanent.
25116 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25118         [BZ #15006]
25119         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25120         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25122 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25124         [BZ #13550]
25125         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25126         (CHECK_1_NULL_OK): Likewise.
25127         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25128         (__fxstat): Do not use CHECK_1.
25129         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25130         <bp-checks.h>.
25131         (___fxstat64): Do not use CHECK_1.
25132         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25133         <bp-checks.h>.
25134         (__fxstatat): Do not use CHECK_1.
25135         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25136         <bp-checks.h>.
25137         (__fxstatat64): Do not use CHECK_1.
25138         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25139         <bp-checks.h>.
25140         (__fxstat): Do not use CHECK_1.
25141         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25142         <bp-checks.h>.
25143         (__fxstatat): Do not use CHECK_1.
25144         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25145         <bp-checks.h>.
25146         (__getresgid): Do not use CHECK_1.
25147         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25148         <bp-checks.h>.
25149         (__getresuid): Do not use CHECK_1.
25150         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25151         <bp-checks.h>.
25152         (__lxstat): Do not use CHECK_1.
25153         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25154         <bp-checks.h>.
25155         (__old_msgctl): Do not use CHECK_1.
25156         (__new_msgctl): Likewise.
25157         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25158         <bp-checks.h>.
25159         (__new_setrlimit): Do not use CHECK_1.
25160         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25161         <bp-checks.h>.
25162         (__old_shmctl): Do not use CHECK_1.
25163         (__new_shmctl): Likewise.
25164         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25165         <bp-checks.h>.
25166         (__xstat): Do not use CHECK_1.
25167         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25168         (__lxstat): Do not use CHECK_1.
25169         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25170         <bp-checks.h>.
25171         (___lxstat64): Do not use CHECK_1.
25172         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25173         (__old_msgctl): Do not use CHECK_1.
25174         (__new_msgctl): Likewise.
25175         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25176         <bp-checks.h>.
25177         (__gettimeofday): Do not use CHECK_1.
25178         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25179         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25180         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25181         <bp-checks.h>.
25182         (__gettimeofday): Do not use CHECK_1.
25183         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25184         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25185         (__new_shmctl): Do not use CHECK_1.
25186         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25187         <bp-checks.h>.
25188         (do_sigtimedwait): Do not use CHECK_1.
25189         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25190         <bp-checks.h>.
25191         (do_sigwaitinfo): Do not use CHECK_1.
25192         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25193         <bp-checks.h>.
25194         (msgctl): Do not use CHECK_1.
25195         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25196         <bp-checks.h>.
25197         (shmctl): Do not use CHECK_1.
25198         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25199         (ustat): Do not use CHECK_1.
25200         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25201         <bp-checks.h>.
25202         (__fxstat): Do not use CHECK_1.
25203         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25204         <bp-checks.h>.
25205         (__fxstatat): Do not use CHECK_1.
25206         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25207         <bp-checks.h>.
25208         (__lxstat): Do not use CHECK_1.
25209         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25210         <bp-checks.h>.
25211         (__xstat): Do not use CHECK_1.
25212         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25213         (__xstat): Do not use CHECK_1.
25214         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25215         (___xstat64): Do not use CHECK_1.
25217         [BZ #13550]
25218         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25219         definitions.
25220         (CHECK_BOUNDS_HIGH): Likewise.
25221         * string/strcpy.c: Do not include <bp-checks.h>.
25222         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25224 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25226         * nscd/nscd-client.h (__nscd_drop_map_ref):
25227         Add __attribute__ ((unused)).
25228         * nis/nss-nisplus.h (niserr2nss): Likewise.
25230         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25231         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25233         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25234         Remove inline keyword.
25235         * include/rounding-mode.h (round_away): Likewise.
25236         * libio/wfileops.c (adjust_wide_data): Likewise.
25237         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25238         (__m128i_strloadu_tolower): Likewise.
25239         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25240         (__m128i_strloadu_tolower): Likewise.
25241         * time/mktime.c (ydhms_diff): Likewise.
25242         * locale/elem-hash.h (elem_hash): Likewise.
25243         * locale/setlocale.c (setdata): Likewise.
25244         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25245         (re_string_wchar_at): Likewise.
25246         (bitset_not, bitset_merge, bitset_mask): Likewise.
25247         [!(__GNUC__ > 3)] (inline): Remove macro.
25248         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25249         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25250         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25251         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25252         * string/memcmp.c (memcmp_bytes): Likewise.
25253         * locale/programs/locarchive.c (compute_hashval): Likewise.
25254         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25255         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25256         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25257         * nss/getent.c (print_rpc, print_protocols): Likewise.
25258         (print_passwd, print_group, print_aliases): Likewise.
25259         * nis/nss-nisplus.h (niserr2nss): Likewise.
25260         * nscd/connections.c (restart_p): Likewise.
25261         Change return type to bool.
25263 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25265         * Makeconfig (all-Depend-files): Add existing
25266         $(sorted-subdirs:=/Depend) files.
25267         (all-subdirs): Remove nss.
25268         * sysdeps/unix/inet/Subdirs: Add it here instead.
25269         * hesiod/Depend: New file.
25271         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25272         instead of calling alloca.
25274         * io/lseek.c (__lseek): Rename to __libc_lseek.
25275         Define __lseek as an alias.
25277         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25279 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25281         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25282         else clause and remove check for non-standard endianness.
25284 2013-02-04  David S. Miller  <davem@davemloft.net>
25286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25288 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25290         [BZ #13550]
25291         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25292         (__ubp_memchr): Remove prototype.
25293         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25294         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25295         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25296         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25297         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25298         Remove alias.
25299         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25300         (__ubp_memchr): Likewise.
25301         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25302         (__ubp_memchr): Likewise.
25303         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25304         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25305         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25306         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25307         CHECK_STRING.
25308         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25309         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25310         (__getcwd): Do not use CHECK_STRING.
25311         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25312         <bp-checks.h>.
25313         (__real_chown): Do not use CHECK_STRING.
25314         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25315         <bp-checks.h>.
25316         (fchownat): Do not use CHECK_STRING.
25317         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25318         CHECK_STRING.
25319         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25320         <bp-checks.h>.
25321         (__lchown): Do not use CHECK_STRING.
25322         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25323         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25324         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25325         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25327         include <bp-checks.h>.
25328         (truncate64): Do not use CHECK_STRING.
25329         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25330         <bp-checks.h>.
25331         (__real_chown): Do not use CHECK_STRING.
25332         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25333         <bp-checks.h>.
25334         (__lchown): Do not use CHECK_STRING.
25335         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25336         <bp-checks.h>.
25337         (__chown): Do not use CHECK_STRING.
25338         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25339         <bp-checks.h>.
25340         (truncate64): Do not use CHECK_STRING.
25341         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25342         Likewise.
25343         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25344         (__xmknod): Do not use CHECK_STRING.
25345         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25346         <bp-checks.h>.
25347         (__xmknodat): Do not use CHECK_STRING.
25348         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25349         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25351 2013-02-04  Andreas Schwab  <schwab@suse.de>
25353         [BZ #14142]
25354         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25355         * include/netdb.h: Likewise for h_errno.
25356         * elf/tst-stackguard1.c: Include <tls.h>.
25358 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25360         * elf/link.h (struct link_map): Extend the l_addr comment.
25361         * include/link.h (struct link_map): Likewise.
25363 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25365         [BZ #13550]
25366         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25367         (BOUNDED_1): Remove macro.
25368         * debug/backtrace.c: Don't include <bp-checks.h>.
25369         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25370         (__backtrace): Likewise.
25371         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25372         <bp-checks.h>.
25373         (__backtrace): Don't use BOUNDED_1.
25374         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25375         <bp-checks.h>.
25376         (__backtrace): Don't use BOUNDED_1.
25377         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25378         (__backtrace): Don't use BOUNDED_1.
25379         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25380         (shmat): Don't use BOUNDED_N.
25382 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25384         [BZ #13550]
25385         * sysdeps/generic/bp-start.h: Remove file.
25386         * csu/libc-start.c: Don't include <bp-start.h>.
25387         (LIBC_START_MAIN): Set up __environ directly instead of using
25388         INIT_ARGV_and_ENVIRON.
25389         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25390         <bp-start.h>.
25392         [BZ #13550]
25393         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25394         definitions.
25395         (CHECK_FCNTL): Likewise.
25396         (CHECK_N_PAGES): Likewise.
25398         [BZ #13550]
25399         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25400         definitions.
25401         (CHECK_SIGSET_NULL_OK): Likewise.
25402         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25403         <bp-checks.h>.
25404         (sigpending): Don't use CHECK_SIGSET.
25405         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25406         <bp-checks.h>.
25407         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25408         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25409         <bp-checks.h>.
25410         (do_sigsuspend): Don't use CHECK_SIGSET.
25411         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25412         use CHECK_SIGSET.
25413         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25414         (do_sigwait): Don't use CHECK_SIGSET.
25415         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25416         use CHECK_SIGSET.
25417         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25418         include <bp-checks.h>.
25419         (sigpending): Don't use CHECK_SIGSET.
25420         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25421         include <bp-checks.h>.
25422         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25423         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25424         <bp-checks.h>.
25425         (sigpending): Don't use CHECK_SIGSET.
25426         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25427         <bp-checks.h>.
25428         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25430         [BZ #13550]
25431         * sysdeps/generic/bp-semctl.h: Remove file.
25432         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25433         <bp-checks.h> and <bp-semctl.h>.
25434         (__old_semctl): Don't use CHECK_SEMCTL.
25435         (__new_semctl): Likewise.
25436         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25437         and <bp-semctl.h>.
25438         (__old_semctl): Don't use CHECK_SEMCTL.
25439         (__new_semctl): Likewise.
25440         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25441         <bp-checks.h> and <bp-semctl.h>.
25442         (__old_semctl): Don't use CHECK_SEMCTL.
25443         (__new_semctl): Likewise.
25444         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25445         <bp-checks.h> and <bp-semctl.h>.
25446         (semctl): Don't use CHECK_SEMCTL.
25448         [BZ #13550]
25449         * Makerules (elide-bp-thunks): Remove variable.
25450         (elide-routines.oS): Don't use $(elide-bp-thunks).
25451         (elide-routines.os): Likewise.
25452         (elide-routines.o): Likewise.
25453         (elide-routines.op): Likewise.
25454         (elide-routines.og): Likewise.
25455         (objects): Don't use $(bp-thunks).
25456         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25457         include.
25458         (common-generated): Do not add s-proto-bp.d.
25459         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25460         (int): Likewise.
25461         (typ): Likewise.
25462         Do not generate makefile rules for bounded-pointer thunks.
25463         * sysdeps/generic/bp-thunks.h: Remove file.
25464         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25465         * sysdeps/unix/s-proto-bp.S: Likewise.
25467         [BZ #15062]
25468         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25469         parts of result separately when argument is not close to line from
25470         -i to i and one part of argument is small.
25471         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25472         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25473         * math/libm-test.inc (cacos_test): Add more tests.
25474         (casin_test): Likewise.
25475         (casinh_test): Likewise.
25476         * sysdeps/i386/fpu/libm-test-ulps: Update.
25477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25479 2013-01-31  David S. Miller  <davem@davemloft.net>
25481         * po/de.po: Update from translation team.
25483 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25485         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25487 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25489         * configure.in (_AC_PROG_CC_C89): New definition.
25490         * configure: Regenerate.
25492         * configure.in (AC_PROG_CPP): New definition.
25493         * configure: Regenerate.
25495 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25497         * debug/tst-backtrace.h: New file.
25498         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25499         (ret): Remove variable.
25500         (x): Likewise.
25501         (FAIL): Remove macro.
25502         (NO_INLINE): Likewise.
25503         (fn1): Use match function instead of strstr.
25504         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25505         (ret): Remove variable.
25506         (x): Likewise.
25507         (FAIL): Remove macro.
25508         (NO_INLINE): Likewise.
25509         (fn): Use match function instead of strstr.
25510         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25511         (ret): Remove variable.
25512         (x): Likewise.
25513         (FAIL): Remove macro.
25514         (NO_INLINE): Likewise.
25515         (handle_signal): Use match function instead of strstr.
25516         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25517         (ret): Remove variable.
25518         (x): Likewise.
25519         (FAIL): Remove macro.
25520         (NO_INLINE): Likewise.
25521         (handle_signal): Use match function instead of strstr.
25523 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25525         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25527 2013-01-23  David S. Miller  <davem@davemloft.net>
25529         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25530         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25531         argument of CAS if possible.
25532         * sysdeps/sparc/sparc64/bits/atomic.h
25533         (__arch_compare_and_exchange_val_32_acq): Likewise.
25534         (__arch_compare_and_exchange_val_64_acq): Likewise.
25536 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25538         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25539         * sysdeps/posix/ulimit.c: ... this.
25540         Include <limits.h>.
25541         * sysdeps/unix/bsd/ulimit.c: Remove file.
25543 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25545         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25546         (LDFLAGS-tst-array5): Likewise.
25548 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25550         [BZ #15036]
25551         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25552         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25553         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25554         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25556 2013-01-21  David S. Miller  <davem@davemloft.net>
25558         * sysdeps/sparc/backtrace.c: New file.
25559         * sysdeps/sparc/sparc32/backtrace.h: New file.
25560         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25561         * sysdeps/sparc/sparc64/backtrace.h: New file.
25562         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25563         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25564         -funwind-tables.
25566 2013-01-21  Andreas Schwab  <schwab@suse.de>
25568         [BZ #15020]
25569         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25570         closed its stdout.
25572 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25575         "mpa2.h".
25576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25578 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25579             Mark Mitchell  <mark@codesourcery.com>
25580             Tom de Vries  <tom@codesourcery.com>
25581             Paul Pluzhnikov  <ppluzhnikov@google.com>
25583         * debug/tst-backtrace2.c: New file.
25584         * debug/tst-backtrace3.c: Likewise.
25585         * debug/tst-backtrace4.c: Likewise.
25586         * debug/tst-backtrace5.c: Likewise.
25587         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25588         (CFLAGS-tst-backtrace3.c): Likewise.
25589         (CFLAGS-tst-backtrace4.c): Likewise.
25590         (CFLAGS-tst-backtrace5.c): Likewise.
25591         (LDFLAGS-tst-backtrace2): Likewise.
25592         (LDFLAGS-tst-backtrace3): Likewise.
25593         (LDFLAGS-tst-backtrace4): Likewise.
25594         (LDFLAGS-tst-backtrace5): Likewise.
25595         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25596         tst-backtrace4 and tst-backtrace5.
25598 2013-01-18  Anton Blanchard  <anton@samba.org>
25599             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25601         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25602         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25603         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25604         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25606         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25607         "+r" and remove output regs list as redundant.  Add explicit inline
25608         asm to specify register of return val to work around compiler codegen
25609         bug.  Remove (int) cast on return value.  Add return type parameter to
25610         use in macro so that this macro does not truncate return value for
25611         64-bit values.
25612         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25613         pass to INTERNAL_VSYSCALL_NCS.
25614         (INLINE_VSYSCALL): Add 'long int' as return type to
25615         INTERNAL_VSYSCALL_NCS macro invocation.
25616         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25617         INTERNAL_VSYSCALL_NCS macro invocation.
25618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25620 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25622         [BZ #14496]
25623         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25624         Fix application of SIMD FP exception mask.
25626         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25627         mp_no from a power of two.
25628         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25629         __mpexp_twomm1.  Use __pow_mp.
25631         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25632         multiplication.
25634 2013-01-17  David S. Miller  <davem@davemloft.net>
25636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25638 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25640         [BZ #15023]
25641         * include/complex.h: Condition contents on [!_COMPLEX_H].
25642         (__kernel_casinhf): New prototype.
25643         (__kernel_casinh): Likewise.
25644         (__kernel_casinhl): Likewise.
25645         * math/Makefile (libm_calls): Add k_casinh.
25646         * math/k_casinh.c: New file.
25647         * math/k_casinhf.c: Likewise.
25648         * math/k_casinhl.c: Likewise.
25649         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25650         finite nonzero arguments.
25651         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25652         finite nonzero arguments.
25653         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25654         finite nonzero arguments.
25655         * math/s_casinh.c: Do not include <float.h>.
25656         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25657         * math/s_casinhf.c: Do not include <float.h>.
25658         (__casinhf): Move code for finite nonzero arguments to
25659         k_casinhf.c.
25660         * math/s_casinhl.c: Do not include <float.h>.
25661         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25662         redefine.
25663         (__casinhl): Move code for finite nonzero arguments to
25664         k_casinhl.c.
25665         * math/libm-test.inc (cacos_test): Add more tests.
25666         * sysdeps/i386/fpu/libm-test-ulps: Update.
25667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25669 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25671         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25672         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25673         [!HAVE_MREMAP]: Remove [defined linux] case.
25674         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25676 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25678         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25680 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25682         * elf/elf.h (R_386_SIZE32): New relocation.
25683         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25684         R_386_SIZE32.
25685         (elf_machine_rela): Likewise.
25686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25687         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25689 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25691         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25692         (FP_FAST_FMA): Do not define.
25693         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25694         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25695         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25696         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25697         !_SOFT_FLOAT]: Likewise.
25698         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25699         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25700         value.
25701         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25702         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25703         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25704         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25705         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25706         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25707         file.
25709 2013-01-16  Andreas Schwab  <schwab@suse.de>
25711         [BZ #14327]
25712         * include/stdlib.h (__mktemp): Add declaration.
25713         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25714         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25716 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25718         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25719         definitions.
25720         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25721         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25722         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25723         definitions here.
25724         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25725         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25726         definitions.
25727         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25728         and ONE.
25729         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25730         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25731         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25732         definitions.
25733         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25734         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25735         definitions.
25736         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25738         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25740 2013-01-15  David S. Miller  <davem@davemloft.net>
25742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25743         trunc{,f} to libm-sysdep_routes.
25744         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25746         file.
25747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25749         file.
25750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25751         file.
25752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25754         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25755         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25756         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25757         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25758         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25759         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25762         nearbyint{,f} to libm-sysdep_routes.
25763         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25765         New file.
25766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25767         file.
25768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25769         New file.
25770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25771         file.
25772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25774         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25775         file.
25776         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25777         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25778         file.
25779         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25780         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25781         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25783         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25784         libc_feholdexcept and libc_fesetenv.
25786 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25788         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25790 2013-01-14  David S. Miller  <davem@davemloft.net>
25792         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25793         (SPARC_ASM_VIS2_IFUNC): Likewise.
25794         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25796         use of 'siam' instruction.
25797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25798         Likewise.
25799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25800         Likewise.
25801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25802         Likewise.
25803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25808         file.
25809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25810         file.
25811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25812         file.
25813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25814         file.
25815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25820         new VIS2 routines.
25821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25824         Likewise.
25825         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25827         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25830         routines to libm-sysdep_routines.
25831         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25834         fdim/fdimf to libm-sysdep_routines.
25835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25836         file.
25837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25839         file.
25840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25843         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25844         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25845         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25846         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25848 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25850         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25851         to optimize copies.
25853         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25857         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25858         local variable MPTWO.
25859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25860         Likewise.
25862 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25864         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25865         GLOB_NOESCAPE.
25867 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25869         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25871 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25873         * manual/pattern.texi (glob_t): Document gl_flags.
25874         (glob64_t): Likewise.
25876 2013-01-11  David S. Miller  <davem@davemloft.net>
25878         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25879         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25880         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25881         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25882         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25883         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25884         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25885         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25886         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25887         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25888         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25889         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25890         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25892         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25893         sparc V9 rather than using V8 code.
25894         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25895         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25897         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25898         Move to...
25899         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25900         Here.
25902 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25904         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25905         not in the main loop.
25906         * configure: Regenerated.
25908 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25910         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25911         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25912         to just #else.
25913         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25914         [!__GLIBC_HAVE_LONG_LONG] case.
25915         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25916         condition to just #else.
25917         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25918         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25919         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25920         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25921         unconditional.
25922         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25923         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25924         #elif condition to just #else.
25925         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25926         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25927         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25928         #elif condition to just #else.
25930 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25932         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25933         (EF_MIPS_ARCH_64): Fix value.
25934         (EF_MIPS_ARCH_32R2): New.
25935         (EF_MIPS_ARCH_64R2): New.
25937 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25939         * Makeconfig (+link-pie-before-libc): New.
25940         (+link-pie-after-libc): Likewise.
25941         (+link-pie-tests): Likewise.
25942         (+link-pie): Rewritten.
25943         (link-before-libc): Remove $(config-LDFLAGS).
25944         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25945         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25946         (config-LDFLAGS): Renamed to ...
25947         (rtld-LDFLAGS): This.
25948         (rtld-tests-LDFLAGS): New macro.
25949         (link-libc-rpath-link): Likewise.
25950         (link-libc-tests-rpath-link): Likewise.
25951         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25952         (link-libc): Prepand $(link-libc-rpath-link).
25953         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25954         (test-program-prefix): New macro.
25955         (test-via-rtld-prefix): Likewise.
25956         (test-program-cmd): Likewise.
25957         (host-test-program-cmd): Likewise.
25958         * Makefile ($(common-objpfx)testrun.sh): Replace
25959         $(run-program-prefix) with $(test-program-prefix).
25960         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25961         $(rtld-LDFLAGS).
25962         ($(common-objpfx)shlib.lds): Likewise.
25963         (build-module-helper): Likewise.
25964         ($(common-objpfx)format.lds): Likewise.
25965         * Rules (binaries-pie-tests): New.
25966         (binaries-pie-notests): Likewise.
25967         (binaries-pie): Rewritten.
25968         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25969         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25970         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25971         (make-test-out): Replace $(host-built-program-cmd) with
25972         $(host-test-program-cmd).
25973         * config.make.in (build-hardcoded-path-in-tests): New variable.
25974         * configure.in (--enable-hardcoded-path-in-tests): New configure
25975         option.
25976         (hardcoded_path_in_tests): New AC_SUBST.
25977         * configure: Regenerated.
25978         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25979         $(built-program-cmd) with $(test-program-cmd).
25980         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25981         (test_program_cmd): This.
25982         * elf/Makefile ($(objpfx)order.out): Run test with
25983         $(test-program-prefix).
25984         ($(objpfx)order2.out): Likewise.
25985         ($(objpfx)tst-initorder.out): Likewise.
25986         ($(objpfx)tst-initorder2.out): Likewise.
25987         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25988         $(test-program-cmd).
25989         ($(objpfx)tst-array1-static.out): Likewise.
25990         ($(objpfx)tst-array2.out): Likewise.
25991         ($(objpfx)tst-array3.out): Likewise.
25992         ($(objpfx)tst-array4.out): Likewise.
25993         ($(objpfx)tst-array5.out): Likewise.
25994         ($(objpfx)tst-array5-static.out): Likewise.
25995         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25996         $(test-program-cmd).
25997         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25998         $(run-program-prefix) with $(test-program-prefix).
25999         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26000         (test_program_prefix): This.
26001         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26002         $(run-program-prefix) with $(test-program-prefix).
26003         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26004         (test_program_prefix): This.
26005         * iconvdata/tst-tables.sh: Likewise.
26006         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26007         $(run-program-prefix) with $(test-program-prefix).
26008         ($(objpfx)tst-translit.out): Likewise.
26009         ($(objpfx)tst-gettext2.out): Likewise.
26010         ($(objpfx)tst-gettext4.out): Likewise.
26011         ($(objpfx)tst-gettext6.out): Likewise.
26012         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26013         (test_program_prefix): This.
26014         * intl/tst-gettext2.sh: Likewise.
26015         * intl/tst-gettext4.sh  Likewise.
26016         * intl/tst-gettext6.sh: Likewise.
26017         * intl/tst-translit.sh: Likewise.
26018         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26019         with $(test-program-cmd).
26020         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26021         $(run-program-prefix) with $(test-program-prefix).
26022         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26023         (test_program_prefix): This.
26024         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26025         $(run-program-prefix) with $(test-program-prefix).
26026         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26027         (test_program_prefix): This.
26028         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26029         * posix/Makefile ($(objpfx)globtest.out): Replace
26030         $(run-via-rtld-prefix) and $(test-wrapper) with
26031         $(test-program-prefix) and $(test-via-rtld-prefix).
26032         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26033         $(test-program-prefix).
26034         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26035         $(host-test-program-cmd).
26036         (tst-spawn-ARGS): Likewise.
26037         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26038         $(test-program-prefix).
26039         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26040         (test_via_rtld_prefix): This.
26041         (test_wrapper): Renamed to ...
26042         (test_program_prefix): This.
26043         (run_program_prefix): Replaced by test_program_prefix.
26044         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26045         (test_program_prefix): This.
26046         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26047         with $(host-test-program-cmd).
26048         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26049         $(run-program-prefix) with $(test-program-prefix).
26050         ($(objpfx)tst-printf.out): Likewise.
26051         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26052         $(test-program-cmd).
26053         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26054         (test_program_prefix): This.
26055         * stdio-common/tst-unbputc.sh: Likewise.
26056         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26057         $(run-program-prefix) with $(test-program-prefix).
26058         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26059         (test_program_prefix): This.
26060         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26061         $(built-program-cmd) with $(test-program-cmd).
26063 2013-01-11  Andreas Jaeger  <aj@suse.de>
26065         [BZ #15003]
26066         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26067         value. Sync with Linux 3.7.
26069 2013-01-10  David S. Miller  <davem@davemloft.net>
26071         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26072         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26073         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26075 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26077         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26078         never set.
26079         * configure: Regenerated.
26081 2013-01-10  David S. Miller  <davem@davemloft.net>
26083         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26084         sparc V9 rather than using V8 code.
26085         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26086         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26088 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26090         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26091         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26092         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26093         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26094         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26095         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26096         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26097         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26098         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26099         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26100         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26101         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26102         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26103         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26104         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26105         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26106         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26107         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26108         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26109         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26110         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26111         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26112         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26113         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26114         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26115         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26116         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26118 2013-01-10  David S. Miller  <davem@davemloft.net>
26120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26122 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26124         * posix/Makefile (tests-static): New variable.
26125         (tests): Add $(tests-static).
26126         (tst-exec-static-ARGS): New variable.
26127         (tst-spawn-static-ARGS): Likewise.
26128         * posix/tst-exec-static.c: New file.
26129         * posix/tst-spawn-static.c: Likewise.
26130         * posix/tst-exec.c: Support run directly.
26131         * posix/tst-spawn.c: Likewise.
26133 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26135         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26136         long.
26137         * math/bits/mathcalls.h (llrint): Likewise.
26138         (llround): Likewise.
26139         * stdlib/stdlib.h (struct drand48_data): Likewise.
26140         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26141         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26142         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26143         Likewise.
26144         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26145         Likewise.
26146         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26147         (elf_greg_t): Likewise.
26148         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26149         (__jmp_buf): Likewise.
26150         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26151         definitions.
26152         (llrint): Likewise, for all definitions.
26153         (llrintl): Likewise.
26155         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26156         Remove [__GNUC__] condition.
26157         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26158         condition to just [__USE_ISOC99].
26159         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26161 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26163         [BZ #14200]
26164         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26165         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26166         defined.
26167         (_POSIX_V6_ILP32_OFF32): Likewise.
26168         (_XBS5_ILP32_OFF32): Likewise.
26169         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26170         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26172 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26174         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26176         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26177         doubles __mpexp_twomm1.  Adjust usage.
26178         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26179         Remove.
26181 2013-01-10  Andreas Schwab  <schwab@suse.de>
26183         [BZ #14964]
26184         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26185         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26187 2013-01-09  David S. Miller  <davem@davemloft.net>
26189         [BZ #15003]
26190         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26191         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26192         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26193         (TCP_FASTOPEN): Define.
26194         (tcp_repair_opt): New structure.
26195         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26196         enum values.
26197         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26198         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26199         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26200         (tcp_cookie_transactions): New structure.
26202 2013-01-09  Anton Blanchard  <anton@samba.org>
26204         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26205         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26206         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26207         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26209 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26211         * include/features.h (__USE_ANSI): Remove.
26213 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26215         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26217         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26219 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26221         * sysdeps/s390/fpu/libm-test-ulps: Update.
26223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26225         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26226         (__acr): Likewise.
26227         (__cpy): Likewise.
26228         (norm): Likewise.
26229         (denorm): Likewise.
26230         (__mp_dbl): Likewise.
26231         (__dbl_mp): Likewise.
26232         (add_magnitudes): Likewise.
26233         (sub_magnitudes): Likewise.
26234         (__add): Likewise.
26235         (__sub): Likewise.
26236         (__mul): Likewise.
26237         (__inv): Likewise.
26238         (__dvd): Likewise.
26239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26240         (__acr): Likewise.
26241         (__cpy): Likewise.
26242         (norm): Likewise.
26243         (denorm): Likewise.
26244         (__mp_dbl): Likewise.
26245         (__dbl_mp): Likewise.
26246         (add_magnitudes): Likewise.
26247         (sub_magnitudes): Likewise.
26248         (__add): Likewise.
26249         (__sub): Likewise.
26250         (__mul): Likewise.
26251         (__inv): Likewise.
26252         (__dvd): Likewise.
26253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26254         (__acr): Likewise.
26255         (__cpy): Likewise.
26256         (norm): Likewise.
26257         (denorm): Likewise.
26258         (__mp_dbl): Likewise.
26259         (__dbl_mp): Likewise.
26260         (add_magnitudes): Likewise.
26261         (sub_magnitudes): Likewise.
26262         (__add): Likewise.
26263         (__sub): Likewise.
26264         (__mul): Likewise.
26265         (__inv): Likewise.
26266         (__dvd): Likewise.
26268 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26270         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26271         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26272         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26273         2 && __USE_EXTERN_INLINES]: Likewise.
26275 2013-01-08  Andreas Jaeger  <aj@suse.de>
26277         [BZ# 14985]
26278         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26279         Remove.
26280         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26281         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26283 2013-01-07  Anton Blanchard  <anton@samba.org>
26285         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26286         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26287         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26288         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26289         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26290         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26291         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26292         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26294         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26295         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26296         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26297         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26298         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26299         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26300         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26301         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26302         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26303         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26304         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26305         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26306         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26307         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26308         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26309         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26310         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26311         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26312         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26313         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26314         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26315         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26317         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26318         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26319         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26320         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26321         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26322         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26323         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26324         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26325         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26326         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26327         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26329 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26331         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26332         (__MALLOC_PMT): Likewise.
26333         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26334         [__GNUC__], only on [_LIBC].
26335         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26336         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26337         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26338         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26339         forward declaration.
26340         (realloc_hook_ini): Likewise.
26341         (memalign_hook_ini): Likewise.
26342         (__libc_memalign): Do not use __MALLOC_PMT in variable
26343         declaration.
26344         (__libc_valloc): Likewise.
26345         (__libc_pvalloc): Likewise.
26346         (__libc_calloc): Likewise.
26347         (__posix_memalign): Likewise.
26349         [BZ #14996]
26350         * math/s_casinh.c: Include <float.h>.
26351         (__casinh): Do not do computation with squaring and square root
26352         for large arguments.
26353         * math/s_casinhf.c: Include <float.h>.
26354         (__casinhf): Do not do computation with squaring and square root
26355         for large arguments.
26356         * math/s_casinhl.c: Include <float.h>.
26357         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26358         (__casinhl): Do not do computation with squaring and square root
26359         for large arguments.
26360         * math/libm-test.inc (casin_test): Add more tests.
26361         (casinh_test): Likewise.
26362         * sysdeps/i386/fpu/libm-test-ulps: Update.
26363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26365 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26367         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26368         (__x86_64_raw_data_cache_size): Likewise.
26369         (__x86_64_data_cache_size_half): Likewise.
26370         (__x86_64_raw_data_cache_size_half): Likewise.
26371         (__x86_64_shared_cache_size): Likewise.
26372         (__x86_64_raw_shared_cache_size): Likewise.
26373         (__x86_64_shared_cache_size_half): Likewise.
26374         (__x86_64_raw_shared_cache_size_half): Likewise.
26375         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26376         to ...
26377         (__x86_data_cache_size): This.
26378         (__x86_64_raw_data_cache_size): Renamed to ...
26379         (__x86_raw_data_cache_size): This.
26380         (__x86_64_data_cache_size_half): Renamed to ...
26381         (__x86_data_cache_size_half): This.
26382         (__x86_64_raw_data_cache_size_half): Renamed to ...
26383         (__x86_raw_data_cache_size_half): This.
26384         (__x86_64_shared_cache_size): Renamed to ...
26385         (__x86_shared_cache_size): This.
26386         (__x86_64_raw_shared_cache_size): Renamed to ...
26387         (__x86_raw_shared_cache_size): This.
26388         (__x86_64_shared_cache_size_half): Renamed to ...
26389         (__x86_shared_cache_size_half): This.
26390         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26391         (__x86_raw_shared_cache_size_half): This.
26392         * sysdeps/x86_64/memcpy.S: Updated.
26393         * sysdeps/x86_64/memset.S: Likewise.
26394         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26395         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26396         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26398 2013-01-04  David S. Miller  <davem@davemloft.net>
26400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26402 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26404         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26405         1 to avoid redefinition warning.
26406         (__USE_GNU): Don't define.
26407         (init_signaling_nan): Protoize.
26409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26411 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26413         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26415         (__cpymn): Likewise.
26416         (norm): Remove commented code.
26417         (denorm): Likewise.
26418         (__mp_dbl): Likewise.
26419         (__inv): Likewise.
26420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26421         (__cpymn): Likewise.
26422         (norm): Remove commented code.
26423         (denorm): Likewise.
26424         (__mp_dbl): Likewise.
26425         (__inv): Likewise.
26427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26428         mp_no value for 1.0 and 2.0.
26429         (norm): Use RADIXI instead of radixi.d.
26430         (denorm): Likewise.
26431         (__mul): Use 0.0 instead of zero.d.
26432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26433         mp_no value for 1.0 and 2.0.
26434         (norm): Use RADIXI instead of radixi.d.
26435         (denorm): Likewise.
26436         (__mul): Use 0.0 instead of zero.d.
26438 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26440         [BZ #14994]
26441         * math/s_casinh.c (__casinh): Reduce finite argument to first
26442         quadrant then set signs of results at the end.
26443         * math/s_casinhf.c (__casinhf): Likewise.
26444         * math/s_casinhl.c (__casinhl): Likewise.
26445         * math/libm-test.inc (casin_test): Add more tests.
26446         (casinh_test): Likewise.
26447         * sysdeps/i386/fpu/libm-test-ulps: Update.
26448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26450 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26452         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26454         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26456         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26457         declarations.
26458         (denorm): Likewise.
26459         (__mp_dbl): Likewise.
26460         (__inv): Likewise.
26462         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26463         and adjust the header comment.
26465         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26466         variable name from declaration.
26468 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26471         Initialize COMMON_CPUID_INDEX_7 element.
26472         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26473         (CPUID_RTM): Likewise.
26474         (HAS_RTM): Likewise.
26475         (COMMON_CPUID_INDEX_7): New enum.
26477 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26479         [BZ #14981]
26480         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26481         size is zero, record memory as freed.
26483 2013-01-03  Andreas Jaeger  <aj@suse.de>
26485         * po/ia.po: Add new Interlingua translation.
26487 2012-01-03  Allan McRae  <allan@archlinux.org>
26489         * locale/programs/localedef.c: Fix description of '--posix' flag.
26491 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26493         * NEWS: Update dates in second copyright notice.
26494         * README: Update copyright dates in example.
26495         * manual/libc.texinfo: Update copyright dates.
26496         * scripts/test-installation.pl: Update copyright date in --version
26497         output.
26499         * hurd/ctty-input.c: Fix copyright notice formatting.
26500         * hurd/ctty-output.c: Likewise.
26501         * hurd/dtable.c: Likewise.
26502         * hurd/hurd-raise.c: Likewise.
26503         * hurd/hurdprio.c: Likewise.
26504         * hurd/msgportdemux.c: Likewise.
26505         * misc/sys/file.h: Likewise.
26506         * misc/sys/ioctl.h: Likewise.
26507         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26508         * sysdeps/mach/hurd/chdir.c: Likewise.
26509         * sysdeps/mach/hurd/fchdir.c: Likewise.
26510         * sysdeps/mach/hurd/rename.c: Likewise.
26511         * sysdeps/mach/hurd/rmdir.c: Likewise.
26512         * sysdeps/mach/hurd/seekdir.c: Likewise.
26513         * sysdeps/mach/hurd/setsid.c: Likewise.
26514         * sysdeps/posix/wait3.c: Likewise.
26516         * All files with FSF copyright notices: Update copyright dates
26517         using scripts/update-copyrights.
26518         * intl/plural.c: Regenerated.
26519         * locale/programs/charmap-kw.h: Likewise.
26520         * locale/programs/locfile-kw.h: Likewise.
26522 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26524         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26525         four values.
26527         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26528         calculation loop and add branch prediction.
26530         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26531         check access beyond bounds of m1np.
26533         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26534         MPTWO.
26535         (__inv): Remove local variable MPTWO to use the global
26536         constant.
26537         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26538         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26539         variable MPTWO.
26540         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26541         MP3HALFS static const.
26543 2013-01-01  David S. Miller  <davem@davemloft.net>
26545         * po/ca.po: Update from translation team.
26547 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26549         * scripts/update-copyrights: New file.
26550         * Makeconfig: Reformat copyright notice.
26551         * ctype/ctype.h: Likewise.
26552         * debug/swprintf_chk.c: Likewise.
26553         * elf/dl-cache.c: Likewise.
26554         * elf/dl-debug.c: Likewise.
26555         * elf/dl-object.c: Likewise.
26556         * grp/initgroups.c: Likewise.
26557         * hurd/Makefile: Likewise.
26558         * hurd/hurd/signal.h: Likewise.
26559         * hurd/hurdfault.c: Likewise.
26560         * hurd/hurdioctl.c: Likewise.
26561         * hurd/hurdlookup.c: Likewise.
26562         * hurd/intr-msg.c: Likewise.
26563         * iconv/gconv_open.c: Likewise.
26564         * libio/swprintf.c: Likewise.
26565         * locale/lc-ctype.c: Likewise.
26566         * locale/nl_langinfo.c: Likewise.
26567         * mach/Machrules: Likewise.
26568         * mach/Makefile: Likewise.
26569         * malloc/obstack.h: Likewise.
26570         * manual/Makefile: Likewise.
26571         * manual/tsort.awk: Likewise.
26572         * misc/bits/stab.def: Likewise.
26573         * nis/nis_print_group_entry.c: Likewise.
26574         * nis/nis_table.c: Likewise.
26575         * nis/nss_compat/compat-pwd.c: Likewise.
26576         * nis/nss_compat/compat-spwd.c: Likewise.
26577         * po/Makefile: Likewise.
26578         * posix/fnmatch.c: Likewise.
26579         * posix/regex.h: Likewise.
26580         * resolv/Makefile: Likewise.
26581         * resolv/nss_dns/dns-network.c: Likewise.
26582         * resolv/res_hconf.c: Likewise.
26583         * scripts/gen-sorted.awk: Likewise.
26584         * soft-fp/soft-fp.h: Likewise.
26585         * stdio-common/printf.h: Likewise.
26586         * stdlib/monetary.h: Likewise.
26587         * stdlib/random.c: Likewise.
26588         * stdlib/random_r.c: Likewise.
26589         * sysdeps/generic/Makefile: Likewise.
26590         * sysdeps/gnu/Makefile: Likewise.
26591         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26592         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26593         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26594         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26595         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26596         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26597         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26598         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26599         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26600         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26601         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26602         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26603         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26604         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26605         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26606         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26607         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26608         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26609         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26611         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26612         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26613         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26614         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26615         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26616         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26617         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26618         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26619         * sysdeps/mach/hurd/errnos.awk: Likewise.
26620         * sysdeps/mach/hurd/fork.c: Likewise.
26621         * sysdeps/mach/hurd/getcwd.c: Likewise.
26622         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26623         * sysdeps/mach/hurd/mmap.c: Likewise.
26624         * sysdeps/mach/hurd/utimes.c: Likewise.
26625         * sysdeps/mach/hurd/xmknod.c: Likewise.
26626         * sysdeps/posix/profil.c: Likewise.
26627         * sysdeps/posix/readdir_r.c: Likewise.
26628         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26629         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26630         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26631         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26633         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26634         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26635         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26637         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26638         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26639         * sysdeps/pthread/lio_listio.c: Likewise.
26640         * sysdeps/sparc/dl-procinfo.h: Likewise.
26641         * sysdeps/unix/i386/sysdep.S: Likewise.
26642         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26643         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26644         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26645         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26647         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26648         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26649         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26650         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26651         * sysdeps/wordsize-32/divdi3.c: Likewise.
26652         * time/sys/time.h: Likewise.
26653         * wcsmbs/Makefile: Likewise.
26655 2013-01-01  David S. Miller  <davem@davemloft.net>
26657         * po/fr.po: Update from translation team.
26659         * catgets/gencat.c: Update copyright year.
26660         * csu/version.c: Likewise.
26661         * debug/catchsegv.sh: Likewise.
26662         * debug/pcprofiledump.c: Likewise.
26663         * debug/xtrace.sh: Likewise.
26664         * elf/ldconfig.c: Likewise.
26665         * elf/ldd.bash.in: Likewise.
26666         * elf/pldd.c: Likewise.
26667         * elf/sotruss.ksh: Likewise.
26668         * elf/sprof.c: Likewise.
26669         * iconv/iconv_prog.c: Likewise.
26670         * iconv/iconvconfig.c: Likewise.
26671         * locale/programs/locale.c: Likewise.
26672         * locale/programs/localedef.c: Likewise.
26673         * login/programs/pt_chown.c: Likewise.
26674         * malloc/memusage.sh: Likewise.
26675         * malloc/memusagestat.c: Likewise.
26676         * malloc/mtrace.pl: Likewise.
26677         * nscd/nscd.c: Likewise.
26678         * nss/getent.c: Likewise.
26679         * nss/makedb.c: Likewise.
26680         * posix/getconf.c: Likewise.
26682 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26684         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26685         numbers.
26687 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26689         * math/bits/mathcalls.h (modf): Use __nonnull.
26691 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26693         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26694         (split): Use macro CN instead of the bare value.
26695         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26696         could be used.
26697         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26698         instead of the bare value.
26699         (power1): Likewise.
26701 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26703         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26704         __ATAN_TWOM.
26705         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26707         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26708         their values.
26709         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26710         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26711         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26712         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26714 2012-12-28  Andreas Jaeger  <aj@suse.de>
26716         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26717         values are from Linux 3.7.
26719         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26720         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26722 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26724         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26725         TRUE case.
26727         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26728         (norm): Likewise.
26729         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26730         variables with preprocessor constants.
26731         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26732         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26733         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26735 2012-12-27  Bruno Haible  <bruno@clisp.org>
26737         [BZ #14317]
26738         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26739         only if needed.
26741 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26743         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26744         and use variable directly.
26745         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26747         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26748         MPONE.
26749         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26750         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26751         variable MPONE.
26752         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26753         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26754         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26755         include directive.  Remove local variable MPONE.
26756         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26757         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26758         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26760 2012-12-25  David S. Miller  <davem@davemloft.net>
26762         * version.h (RELEASE): Set to "development".
26763         (VERSION): Set to "2.17.90".
26764         * NEWS: Add 2.18 section.
26766 2012-12-21  David S. Miller  <davem@davemloft.net>
26768         * po/hr.po: Update from translation team.
26770 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26772         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26774 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26776         * NEWS:  Mention new memcpy for MIPS.
26778 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26780         * manual/contrib.texi (Contributors): Spelling correction.
26782 2012-12-15  David S. Miller  <davem@davemloft.net>
26784         * po/ru.po: Update from translation team.
26786 2012-12-13  David S. Miller  <davem@davemloft.net>
26788         * NEWS: Mention IFUNC testsuite enhancements.
26790         * po/pl.po: Update from translation team.
26791         * po/bg.po: Likewise.
26793         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26794         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26796 2012-12-11  David S. Miller  <davem@davemloft.net>
26798         * po/sv.po: Update from translation team.
26800         * po/vi.po: Update from translation team.
26802         * po/cs.po: Update from translation team.
26804         * po/de.po: Update from translation team.
26805         * po/eo.po: Likewise.
26806         * po/nl.po: Likewise.
26808 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26810         [BZ #14246]
26811         * manual/argp.texi (Argp Helper Functions): Move node to follow
26812         Argp Parsing State.
26814         [BZ #14872]
26815         * manual/conf.texi (Limits on File System Capacity): Mention if
26816         terminating null is included in the max size.
26818 2012-12-10  Andreas Jaeger  <aj@suse.de>
26820         * po/cs.po: Update from translation team.
26822 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26824         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26825         void pointer and cast to uintptr_t.
26826         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26827         path.
26828         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26829         * sysdeps/s390/s390-64/memset.S: Likewise.
26831 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26833         [BZ #14833]
26834         * menual/message.texi (Message Translation): Fix typos.
26835         (Helper programs for gettext): Likewise.
26837 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26839         [BZ #14898]
26840         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26841         Change to -1.
26843 2012-12-07  David S. Miller  <davem@davemloft.net>
26845         * po/libc.pot: Update.
26847 2012-12-07  Richard Henderson  <rth@redhat.com>
26849         [BZ #10114]
26850         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26851         normal/normal case to before the switch.
26852         (_FP_DIV): Likewise.
26854 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26855             Mike Frysinger  <vapier@gentoo.org>
26857         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26858         check for __NR_fadvise64_64.
26860 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26862         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26863         0, not just to plain "0" as a statement.
26864         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26865         with cw.
26867 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26869         * NEWS: Use sourceware.org in Bugzilla URL.
26871 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26874         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26876         * stdio-common/tst-put-error.c (do_test): Add newline to the
26877         padded test to ensure flush.
26879 2012-12-05  Jeff Law  <law@redhat.com>
26881         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26883 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26885         * README: Don't refer to ports add-on as distributed separately.
26886         Mention AArch64 in list of systems supported in the ports add-on.
26888         * LICENSES: Add more non-FSF copyright and license notices.
26890         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26891         ((unused)).
26893         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26895         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26896         10000 as width of padded output.
26898 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26900         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26902         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26903         variable LX with __attribute__ ((unused)).
26904         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26905         Likewise.
26906         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26907         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26908         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26909         with __attribute__ ((unused)).
26911 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26913         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26915 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26917         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26918         (CFLAGS-nldbl-acos.c): New variable.
26919         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26920         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26921         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26922         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26923         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26924         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26925         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26926         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26927         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26928         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26929         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26930         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26931         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26932         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26933         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26934         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26935         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26936         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26937         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26938         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26939         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26940         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26941         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26942         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26943         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26944         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26945         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26946         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26947         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26948         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26949         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26950         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26951         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26952         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26953         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26954         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26955         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26956         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26957         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26958         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26959         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26960         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26961         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26962         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26963         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26964         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26965         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26966         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26967         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26968         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26969         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26970         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26971         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26972         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26973         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26974         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26975         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26976         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26977         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26978         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26979         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26980         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26981         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26982         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26983         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26984         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26985         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26986         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26987         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26988         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26989         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26990         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26991         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26992         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26993         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26994         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26995         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26996         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26997         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26998         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26999         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27000         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27001         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27002         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27003         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27004         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27005         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27006         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27007         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27008         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27009         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27010         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27011         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27012         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27013         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27014         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27015         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27018         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27020         [BZ #14914]
27021         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27022         whole low double instead of just low 47 bits when splitting values
27023         into two parts.
27025 2012-12-03  Allan McRae  <allan@archlinux.org>
27027         * manual/stdio.texi (Predefined Printf Handlers): Remove
27028         @hsep and @vsep usage.
27030 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27032         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27033         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27035 2012-12-03  Jeff Law  <law@redhat.com>
27037         * time/sys/time.h (settimeofday): Do not mark TV argument
27038         as __nonnull.
27040 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27042         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27043         when currently writing and seek to current position when not.
27044         * libio/Makefile (tests): Remove bug-fclose1.
27045         * libio/bug-fclose1.c: Delete.
27047 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27049         * manual/arith.texi (feenableexcept): Fix typo.
27050         (fedisableexcept): Likewise.
27052 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27054         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27055         second, differently-typed declaration, rather than a cast.
27057 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27059         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27060         * include/rpc/svc.h: ... here.
27062 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27064         [BZ #13013]
27065         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27066         depending n and resplen2 to catch cases where answer
27067         equals answerp2.
27069 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27071         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27072         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27074 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27076         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27078 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27080         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27082 2012-11-28  Jeff Law  <law@redhat.com>
27084         [BZ #13761]
27085         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27086         dataset_temporary.  Track alloca usage into alloca_used.
27087         If dataset is large allocate and release it via malloc/free.
27089 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27091         [BZ #14197]
27092         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27094 2012-11-28  David S. Miller  <davem@davemloft.net>
27096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27098 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27100         [BZ #14803]
27101         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27102         of pi/2 rounded to nearest to 64 bits.
27103         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27104         nearest to 64 bits.
27105         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27106         bits.
27108 2012-11-28  Jeff Law <law@redhat.com>
27109             Martin Osvald <mosvald@redhat.com>
27111         [BZ #14889]
27112         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27113         * sunrpc/svc.c: Include time.h.
27114         (__svc_accept_failed): New function.
27115         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27116         any reason other than EINTR, call __svc_accept_failed.
27117         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27118         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27120 2012-11-28  Andreas Schwab  <schwab@suse.de>
27122         * scripts/abilist.awk: Also handle indirect functions in .opd
27123         section.
27125 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27127         [BZ #13881]
27128         * sysdeps/x86/fpu/powl_helper.c: New file.
27129         * sysdeps/x86/fpu/Makefile: Likewise.
27130         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27131         (p3): New object.
27132         (__ieee754_powl): Use __powl_helper for finite arguments except
27133         integer exponents below 8.
27134         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27135         (p3): New object.
27136         (__ieee754_powl): Use __powl_helper for finite arguments except
27137         integer exponents below 8.
27138         * math/libm-test.inc (pow_test): Add more tests and enable some
27139         previously disabled tests.
27140         * sysdeps/i386/fpu/libm-test-ulps: Update.
27141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27143 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27144             Carlos O'Donell  <carlos_odonell@mentor.com>
27146         * nss/makedb.c (is_prime): Assert that input is odd and greater
27147         than 4.  Note that fact in a comment too.
27148         (next_prime): Add 4 to input.
27150 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27152         [BZ #11741]
27153         * libio/Makefile (tests): Add test case tst-fwrite-error.
27154         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27155         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27156         * libio/tst-fwrite-error.c: New test case.
27158 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27160         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27161         before casting to void *.
27162         * include/libc-internal.h (__pointer_type): New macro.
27163         (__integer_if_pointer_type_sub): Likewise.
27164         (__integer_if_pointer_type): Likewise.
27165         (cast_to_integer): Likewise.
27166         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27167         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27168         before casting to atomic64_t.
27169         (atomic_exchange_acq): Likewise.
27170         (__arch_exchange_and_add_body): Likewise.
27171         (__arch_add_body): Likewise.
27172         (atomic_add_negative): Likewise.
27173         (atomic_add_zero): Likewise.
27175 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27177         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27178         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27179         (add_fdes): Likewise.
27180         (linear_search_fdes): Likewise.
27181         (binary_search_unencoded_fdes): Likewise.
27183 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27185         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27187 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27189         * configure.in: Autodetect C++ header directories.
27190         * configure: Regenerated.
27192 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27194         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27196 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27200 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27202         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27203         LDBL_MANT_DIG == 106]: Disable some tests.
27204         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27205         Likewise.
27206         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27207         Likewise.
27209         [BZ #14871]
27210         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27211         input for small inputs.  Return +/- pi/2 for large inputs.
27212         * math/libm-test.inc (atan_test): Add more tests.
27214         * sysdeps/generic/unwind-dw2-fde-glibc.c
27215         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27216         __attribute__ ((unused)).
27218         [BZ #14645]
27219         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27220         x * y if x and y are nonzero and z is zero.
27222         [BZ #14811]
27223         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27224         nonzero exponents with absolute value below 0x1p-117 to +/-
27225         0x1p-117.
27227         [BZ #14869]
27228         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27229         up arguments below 2**-450, not just those below 2**-500.
27230         * math/libm-test.inc (hypot_test): Add another test.
27232         [BZ #14868]
27233         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27234         Return a+b for ratio over 2**120, not 2**60.
27235         * math/libm-test.inc (hypot_test): Add another test.
27237         * math/libm-test.inc (clog_test): Use
27238         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27239         (clog10_test): Likewise.
27241         [BZ #6778]
27242         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27244 2012-11-22  Andreas Schwab  <schwab@suse.de>
27246         * sysdeps/i386/fpu/libm-test-ulps: Update.
27248 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27250         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27251         printf output with newline.
27253 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27255         [BZ #14865]
27256         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27257         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27258         -z nodlopen, -z initfirst and -z execstack support.
27259         * configure: Regenerated.
27261         * elf/elf.h (DF_1_NODIRECT): New macro.
27262         (DF_1_IGNMULDEF): Likewise.
27263         (DF_1_NOKSYMS): Likewise.
27264         (DF_1_NOHDR): Likewise.
27265         (DF_1_EDITED): Likewise.
27266         (DF_1_NORELOC): Likewise.
27267         (DF_1_SYMINTPOSE): Likewise.
27268         (DF_1_GLOBAUDIT): Likewise.
27269         (DF_1_SINGLETON): Likewise.
27270         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27271         DT_1_SUPPORTED_MASK bits.
27272         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27274 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27276         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27278 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27280         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27281         macro.
27283         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27284         (sendmmsg): Move declarations...
27285         * socket/sys/socket.h: ... here.
27286         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27287         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27288         include it from...
27289         * socket/recvmmsg.c: ... this new file.
27290         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27291         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27292         definition of __sendmmsg hidden.
27293         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27294         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27295         Move ENOSYS stub into and include it from...
27296         * socket/sendmmsg.c: ... this new file.
27297         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27298         (sysdep_routines): Move recvmmsg and sendmmsg...
27299         * socket/Makefile (routines): ... here.
27300         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27301         (GLIBC_PRIVATE): Add __sendmmsg.
27302         * include/sys/socket.h (__sendmmsg): Add declarations.
27303         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27304         sendmmsg.
27306 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27308         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27309         variable I1 with __attribute__ ((unused)).
27310         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27312 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27314         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27315         DUMMY variables with __attribute__ ((unused)).
27317         * bits/byteswap.h: Include <bits/types.h>.
27318         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27320 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27322         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27323         string_t.  Do not manually set errno.
27324         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27325         length with __strnlen.  Make sure to both set errno and return it on
27326         failure.
27328 2012-11-19  David S. Miller  <davem@davemloft.net>
27330         With help from Joseph Myers.
27331         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27332         very large arguments properly.
27333         * math/libm-test.inc (atan_test): New tests.
27334         (atan2_test): New tests.
27335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27338 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27340         [BZ #14856]
27341         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27342         Define to 3.
27344         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27345         [POSIX] (EADDRNOTAVAIL): Likewise.
27346         [POSIX] (EAFNOSUPPORT): Likewise.
27347         [POSIX] (EALREADY): Likewise.
27348         [POSIX] (ECONNABORTED): Likewise.
27349         [POSIX] (ECONNREFUSED): Likewise.
27350         [POSIX] (ECONNRESET): Likewise.
27351         [POSIX] (EDESTADDRREQ): Likewise.
27352         [POSIX] (EDQUOT): Likewise.
27353         [POSIX] (EHOSTUNREACH): Likewise.
27354         [POSIX] (EIDRM): Likewise.
27355         [POSIX] (EISCONN): Likewise.
27356         [POSIX] (ELOOP): Likewise.
27357         [POSIX] (EMULTIHOP): Likewise.
27358         [POSIX] (ENETDOWN): Likewise.
27359         [POSIX] (ENETUNREACH): Likewise.
27360         [POSIX] (ENOBUFS): Likewise.
27361         [POSIX] (ENODATA): Likewise.
27362         [POSIX] (ENOLINK): Likewise.
27363         [POSIX] (ENOMSG): Likewise.
27364         [POSIX] (ENOPROTOOPT): Likewise.
27365         [POSIX] (ENOSR): Likewise.
27366         [POSIX] (ENOSTR): Likewise.
27367         [POSIX] (ENOTCONN): Likewise.
27368         [POSIX] (ENOTSOCK): Likewise.
27369         [POSIX] (EOPNOTSUPP): Likewise.
27370         [POSIX] (EOVERFLOW): Likewise.
27371         [POSIX] (EPROTO): Likewise.
27372         [POSIX] (EPROTONOSUPPORT): Likewise.
27373         [POSIX] (EPROTOTYPE): Likewise.
27374         [POSIX] (ESTALE): Likewise.
27375         [POSIX] (ETIME): Likewise.
27376         [POSIX] (ETXTBSY): Likewise.
27377         [POSIX] (EWOULDBLOCK): Likewise.
27378         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27379         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27380         [POSIX] (SEEK_CUR): Likewise.
27381         [POSIX] (SEEK_END): Likewise.
27382         [POSIX || UNIX98] (mode_t): Do not require.
27383         [POSIX] (off_t): Likewise.
27384         [POSIX] (pid_t): Likewise.
27385         [POSIX] (sys/stat.h): Do not allow header.
27386         [POSIX] (unistd.h): Likewise.
27387         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27388         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27389         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27390         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27391         require.
27392         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27393         sigevent): Specify elements.
27394         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27395         entry.
27396         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27397         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27399         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27400         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27401         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27402         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27403         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27404         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27405         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27406         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27407         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27408         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27409         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27410         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27411         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27412         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27413         Likewise.
27414         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27415         Likewise.
27416         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27417         Likewise.
27418         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27419         Likewise.
27420         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27421         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27422         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27423         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27424         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27425         Specify lower bound on value.
27426         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27427         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27428         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27429         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27430         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27431         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27432         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27433         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27434         value.
27435         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27436         as optional.
27437         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27438         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27439         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27440         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27441         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27442         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27443         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27444         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27445         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27446         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27447         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27448         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27449         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27450         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27451         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27452         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27453         entry.
27454         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27455         optional.
27456         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27457         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27458         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27459         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27460         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27461         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27462         Likewise.
27463         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27464         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27465         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27466         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27467         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27468         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27469         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27470         as optional.
27471         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27472         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27473         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27474         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27475         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27476         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27477         specify as optional.
27478         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27479         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27480         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27481         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27482         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27483         [XPG3] (NL_LANGMAX): Likewise.
27484         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27485         [POSIX || XPG3] (NL_NMAX): Likewise.
27486         [POSIX || XPG3] (NL_SETMAX): Likewise.
27487         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27488         [XPG3] (NZERO): Likewise.
27489         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27490         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27491         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27492         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27493         (REG_ERANGE): Expect.
27494         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27495         optional-constant.
27496         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27497         Use (void) in prototype.
27498         [POSIX] (*_t): Allow.
27499         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27500         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27501         (WRDE_BADVAL): Expect.
27503         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27504         expect.
27505         [XPG3 || XPG4] (O_RSYNC): Likewise.
27506         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27507         Likewise.
27508         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27509         [XPG3 || XPG4] (sigqueue): Likewise.
27510         [XPG3 || XPG4] (sigtimedwait): Likewise.
27511         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27512         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27513         [XPG3 || XPG4] (vsnprintf): Likewise.
27514         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27515         Likewise.
27516         [XPG3 || XPG4] (blksize_t): Likewise.
27517         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27518         Likewise.
27519         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27520         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27521         [XPG3 || XPG4] (struct itimerspec): Likewise.
27522         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27523         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27524         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27525         [XPG3 || XPG4] (clockid_t): Likewise.
27526         [XPG3 || XPG4] (timer_t): Likewise.
27527         [XPG3 || XPG4] (clock_getres): Likewise.
27528         [XPG3 || XPG4] (clock_gettime): Likewise.
27529         [XPG3 || XPG4] (clock_settime): Likewise.
27530         [XPG3 || XPG4] (nanosleep): Likewise.
27531         [XPG3 || XPG4] (timer_create): Likewise.
27532         [XPG3 || XPG4] (timer_delete): Likewise.
27533         [XPG3 || XPG4] (timer_gettime): Likewise.
27534         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27535         [XPG3 || XPG4] (timer_settime): Likewise.
27536         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27537         [XPG3 || XPG4] (getlogin_r): Likewise.
27538         [XPG3 || XPG4] (pread): Likewise.
27539         [XPG3 || XPG4] (pthread_atfork): Likewise.
27540         [XPG3 || XPG4] (pwrite): Likewise.
27542         [BZ #14835]
27543         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27544         <bits/siginfo.h>.
27546 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27548         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27549         finalizing MALLSTREAM.
27551         * sysdeps/mach/hurd/syncfs.c: New file.
27553 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27555         [BZ #14719]
27556         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27557         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27558         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27559         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27560         (_nss_dns_gethostbyname4_r): Likewise.
27561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27562         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27564 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27566         [BZ #13763]
27567         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27569 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27571         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27572         * elf/cache.c (print_entry): Print ",AArch64" for
27573         FLAG_AARCH64_LIB64
27575         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27576         * elf/cache.c (print_entry): Print ",hard-float" for
27577         FLAG_ARM_LIBHF.
27579 2012-11-18  David S. Miller  <davem@davemloft.net>
27581         With help from Joseph Myers.
27582         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27583         cutoff to 2**-13.
27584         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27585         cutoff to 2**-25.
27586         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27587         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27588         small.
27589         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27590         * math/libm-test.inc (y0_test): New tests.
27591         (y1_test): New tests.
27592         * sysdeps/i386/fpu/libm-test-ulps: Update.
27593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27596 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27598         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27599         64-bit targets.
27600         * configure: Regenerated.
27602 2012-11-17  David S. Miller  <davem@davemloft.net>
27604         [BZ #14811]
27605         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27606         nonzero exponents with absolute value below 0x1p-128 to +/-
27607         0x1p-128.
27609 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27611         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27613         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27615         * posix/getconf-speclist.c: New file.
27616         * posix/posix-envs.def: Likewise.
27617         * posix/confstr.c (START_ENV_GROUP): New macro.
27618         (END_ENV_GROUP): Likewise.
27619         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27620         (KNOWN_PRESENT_ENV_STRING): Likewise.
27621         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27622         (UNKNOWN_ENVIRONMENT): Likewise.
27623         (confstr): Include posix-envs.def instead of handling
27624         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27625         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27626         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27627         (END_ENV_GROUP): Likewise.
27628         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27629         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27630         (UNKNOWN_ENVIRONMENT): Likewise.
27631         (__sysconf): Include posix-envs.def instead of handling associated
27632         cases directly here.
27633         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27634         preprocessing getconf-speclist.c rather than running getconf or
27635         generating empty file.
27637 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27639         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27641 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27643         [BZ #14672]
27644         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27646 2012-11-16  David S. Miller  <davem@davemloft.net>
27648         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27649         smaller than LDBL_EPSILON/2.0L, just return xm1.
27651 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27653         * elf/tst-array1.c (init): Set constructor priority to 1000.
27654         (fini): Set destructor priority to 1000.
27655         * elf/tst-array2dep.c: Likewise.
27657 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27659         [BZ #11741]
27660         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27661         (_IO_new_file_xsputn): Also return EOF if none of the input
27662         data was written when overflow failed.
27663         * libio/iopadn.c (_IO_padn): Likewise.
27664         * libio/iowpadn.c (_IO_wpadn): Likewise.
27665         * stdio-common/tst-put-error.c: Add copyright notice.
27666         (do_test): Add case for printing padded string.
27667         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27668         _IO_padn returned error.
27669         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27670         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27671         return EOF.
27673 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27675         * libio/libioP.h: Add comment note that the references to C++
27676         bits are now obsolete.
27678 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27680         * math/libm-test.inc (check_complex): Use asprintf.
27682 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27684         * debug/pcprofiledump.c (print_version): Update copyright year.
27685         * malloc/memusagestat.c (print_version): Likewise.
27687 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27689         [BZ #14831]
27690         * elf/Makefile (tests): Add tst-audit8.
27691         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27692         ($(objpfx)tst-audit8.out): New target.
27693         (tst-audit8-ENV): New variable.
27694         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27695         audit if l_reloc_result is NULL.
27696         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27697         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27698         * elf/tst-audit8.c: New file.
27700 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27702         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27703         * misc/Makefile (CFLAGS-select.c): Define.
27704         * posix/Makefile (CFLAGS-pause.c): Define.
27706 2012-11-13  David S. Miller  <davem@davemloft.net>
27708         * crypt/Makefile: Move test targets after toplevel Rules
27709         inclusion.  Grab any necessary sysdep routines when linking.
27710         * crypt/md5.c (md5_process_block): Remove define, we will always
27711         name it __md5_process_block.
27712         (md5_finish_ctx): Update md5_process_block call.
27713         (md5_stream): Likewise.
27714         (md5_process_bytes): Likewise.
27715         (md5_process_block): Rename to __md5_process_block and move to ...
27716         * crypt/md5-block.c: ... here.
27717         * crypt/sha256.c (sha256_process_block): Move to ...
27718         * crypt/sha256-block.c: ... here.
27719         * crypt/sha512.c (sha512_process_block): Move to ...
27720         * crypt/sha512-block.c: ... here.
27721         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27722         path.
27723         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27724         * sysdeps/sparc/sparc64/multiarch/Makefile
27725         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27726         crypt subdir.
27727         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27728         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27729         multiarch changes.
27730         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27731         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27732         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27733         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27734         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27735         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27736         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27737         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27738         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27739         file.
27740         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27741         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27742         file.
27743         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27745 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27747         * timezone/tzselect.ksh: Update from tzcode git revision
27748         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27749         * timezone/zdump.c: Likewise.
27750         * timezone/zic.c: Likewise.
27751         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27752         in TZVERSION setting, not $(PKGVERSION).
27753         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27754         REPORT_BUGS_TO settings.
27756         [BZ #14838]
27757         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27758         macro.
27760 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27762         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27763         detection to immediately after _FP_ROUND().
27764         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27765         bits are 0.
27767 2012-11-11  David S. Miller  <davem@davemloft.net>
27769         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27770         inttypes.h
27771         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27772         __close rather than their public counterparts.
27774 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27776         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27777         file.
27778         [UNIX98] (sem_timedwait): Do not expect.
27779         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27780         [XPG4 || UNIX98] (sockatmark): Do not expect.
27781         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27782         (clock_getcpuclockid): Do not expect.
27783         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27784         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27785         Do not expect.
27786         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27787         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27788         [UNIX98] (vwscanf): Likewise.
27789         [UNIX98] (vswscanf): Likewise.
27791 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27793         * timezone/version.h: Remove file.
27794         * timezone/README: Do not refer to version.h.
27795         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27796         $(objpfx)version.h.
27797         ($(objpfx)zdump.o): Likewise.
27798         ($(objpfx)version.h): New target.
27800         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27801         2012i.
27802         * timezone/README: Don't mention modification to tzselect.ksh.
27803         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27804         work on unmodified tzselect.ksh.  Substitute version numbers in
27805         tzselect.ksh.
27807         * Makefile (format-me): Remove.
27808         (INSTALL): Adjust indentation.  Use commands directly instead of
27809         using $(format-me).
27811         * aclocal.m4 (ACX_PKGVERSION): New macro.
27812         (ACX_BUGURL): Likewise.
27813         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27814         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27815         (REPORT_BUGS_TO): Likewise.
27816         * configure: Regenerated.
27817         * config.h.in (PKGVERSION): New macro.
27818         (REPORT_BUGS_TO): Likewise.
27819         * config.make.in (PKGVERSION): New variable.
27820         (PKGVERSION_TEXI): Likewise.
27821         (REPORT_BUGS_TO): Likewise.
27822         (REPORT_BUGS_TEXI): Likewise.
27823         * Makefile (format-me): Use -I$(common-objpfx)manual.
27824         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27825         ($(common-objpfx)manual/%): New target.
27826         (manual/%): Remove target.
27827         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27828         (print_version): Use PKGVERSION.
27829         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27830         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27831         and REPORT_BUGS_TO.
27832         ($(objpfx)xtrace): Likewise.
27833         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27834         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27835         (print_version): Use PKGVERSION.
27836         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27837         (do_version): Use PKGVERSION.
27838         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27839         REPORT_BUGS_TO.
27840         (common-ldd-rewrite): Likewise.
27841         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27842         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27843         (print_version): Use PKGVERSION.
27844         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27845         * elf/pldd.c (argp_program_bug_address): Remove variable.
27846         (more_help): New function.
27847         (argp): Use more_help.
27848         (print_version): Use PKGVERSION.
27849         * elf/sln.c (main): Use PKGVERSION.
27850         (usage): Use REPORT_BUGS_TO.
27851         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27852         (top level): Use PKGVERSION.
27853         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27854         (print_version): Use PKGVERSION.
27855         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27856         (print_version): Use PKGVERSION.
27857         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27858         (print_version): Use PKGVERSION.
27859         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27860         (print_version): Use PKGVERSION.
27861         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27862         (print_version): Use PKGVERSION.
27863         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27864         (print_version): Use PKGVERSION.
27865         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27866         and BUGURL.
27867         ($(objpfx)memusage): Likewise.
27868         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27869         (do_version): Use PKGVERSION.
27870         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27871         (print_version): Use PKGVERSION.
27872         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27873         ($PKGVERSION): New variable.
27874         ($REPORT_BUGS_TO): Likewise.
27875         (usage): Use $REPORT_BUGS_TO.
27876         (top level): Use $PKGVERSION.
27877         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27878         ($(objpfx)pkgvers.texi): New rule.
27879         ($(objpfx)stamp-pkgvers): Likewise.
27880         * manual/install.texi: Include pkgvers.texi.
27881         (--with-pkgversion): Document new configure option.
27882         (--with-bugurl): Likewise.
27883         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27884         than necessarily for this particular distribution.  Use
27885         REPORT_BUGS_TO for where to report bugs.
27886         * INSTALL: Regenerated.
27887         * manual/libc.texinfo: Include pkgvers.texi.
27888         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27889         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27890         (print_version): Use PKGVERSION.
27891         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27892         (print_version): Use PKGVERSION.
27893         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27894         (print_version): Use PKGVERSION.
27895         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27896         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27897         macro.
27898         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27899         (print_version): Use PKGVERSION.
27900         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27901         (print_version): Use PKGVERSION.
27902         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27903         and PKGVERSION.
27905         * timezone/checktab.awk: Update from tzcode 2012i.
27906         * timezone/ialloc.c: Likewise.
27907         * timezone/private.h: Likewise.
27908         * timezone/scheck.c: Likewise.
27909         * timezone/tzfile.h: Likewise.
27910         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27911         (TZVERSION): Hardcode tzcode version number.
27912         * timezone/zdump.c: Update from tzcode 2012i.
27913         * timezone/zic.c: Likewise.
27914         * timezone/version.h: New file.
27915         * timezone/README: Describe version.h.  Update upstream location.
27917         [BZ #14824]
27918         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27919         (mktemp): Enable declaration.
27920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27921         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27922         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27923         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27924         Likewise.
27925         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27926         Likewise.
27927         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27928         Likewise.
27929         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27930         Likewise.
27931         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27932         Likewise.
27933         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27934         Likewise.
27936         [BZ #14821]
27937         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27938         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27939         for copies of such integer values.
27940         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27941         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27943 2012-11-09  Andreas Jaeger  <aj@suse.de>
27945         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27946         definitions and declarations that are provided by
27947         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27949 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27951         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27952         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27953         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27954         definition.
27956 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27958         * elf/elf.h: Update comment before AArch64 relocations.
27960 2012-11-07  David S. Miller  <davem@davemloft.net>
27962         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27963         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27964         (__start_context): Declare.
27965         (__makecontext_ret): Delete.
27966         (__makecontext): Hook up __start_context instead of
27967         __makecontext_ret.
27968         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27969         (sysdep_routines): Add __start_context when in stdlib.
27971 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27973         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27974         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27975         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27976         hardcoded "nm".
27977         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27978         (READELF): New variable.  Use it instead of hardcoded "readelf".
27980 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27982         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27983         * sysdeps/x86/Makefile: Here.
27984         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27985         * sysdeps/x86/tst-xmmymm.sh: This.
27987 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27989         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27990         expectations.
27991         [UNIX98] (pthread_barrier_t): Do not expect.
27992         [UNIX98] (pthread_barrierattr_t): Likewise.
27993         [UNIX98] (pthread_spinlock_t): Likewise.
27994         [UNIX98] (pthread_barrier_destroy): Likewise.
27995         [UNIX98] (pthread_barrier_init): Likewise.
27996         [UNIX98] (pthread_barrier_wait): Likewise.
27997         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27998         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27999         [UNIX98] (pthread_barrierattr_init): Likewise.
28000         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28001         [UNIX98] (pthread_getcpuclockid): Likewise.
28002         [UNIX98] (pthread_mutex_timedlock): Likewise.
28003         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28004         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28005         [UNIX98] (pthread_sigmask): Likewise.
28006         [UNIX98] (pthread_spin_destroy): Likewise.
28007         [UNIX98] (pthread_spin_init): Likewise.
28008         [UNIX98] (pthread_spin_lock): Likewise.
28009         [UNIX98] (pthread_spin_trylock): Likewise.
28010         [UNIX98] (pthread_spin_unlock): Likewise.
28011         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28012         Do not expect.
28013         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28014         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28015         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28016         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28017         [XPG3 || XPG4] (pthread_key_t): Likewise.
28018         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28019         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28020         [XPG3 || XPG4] (pthread_once_t): Likewise.
28021         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28022         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28023         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28024         [XPG3 || XPG4] (pthread_t): Likewise.
28026         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28027         not expect.
28028         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28030         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28031         Change function return type to int.
28033         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28034         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28035         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28036         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28037         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28038         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28039         [!POSIX] (posix_madvise): Likewise.
28040         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28041         && !UNIX98].
28042         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28043         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28044         (mode_t): Likewise.
28045         (posix_mem_offset): Likewise.
28046         (posix_typed_mem_get_info): Likewise.
28047         (posix_typed_mem_open): Likewise.
28049         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28050         Change condition to [XOPEN2K8].
28052         * conform/conformtest.pl: Preprocess allow-header data with -x c
28053         instead of from stdin.
28054         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28055         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28056         [C99-based standards] (cerfc): Likewise.
28057         [C99-based standards] (cexp2): Likewise.
28058         [C99-based standards] (cexpm1): Likewise.
28059         [C99-based standards] (clog10): Likewise.
28060         [C99-based standards] (clog1p): Likewise.
28061         [C99-based standards] (clog2): Likewise.
28062         [C99-based standards] (clgamma): Likewise.
28063         [C99-based standards] (ctgamma): Likewise.
28064         [C99-based standards] (cerff): Likewise.
28065         [C99-based standards] (cerfcf): Likewise.
28066         [C99-based standards] (cexp2f): Likewise.
28067         [C99-based standards] (cexpm1f): Likewise.
28068         [C99-based standards] (clog10f): Likewise.
28069         [C99-based standards] (clog1pf): Likewise.
28070         [C99-based standards] (clog2f): Likewise.
28071         [C99-based standards] (clgammaf): Likewise.
28072         [C99-based standards] (ctgammaf): Likewise.
28073         [C99-based standards] (cerfl): Likewise.
28074         [C99-based standards] (cerfcl): Likewise.
28075         [C99-based standards] (cexp2l): Likewise.
28076         [C99-based standards] (cexpm1l): Likewise.
28077         [C99-based standards] (clog10l): Likewise.
28078         [C99-based standards] (clog1pl): Likewise.
28079         [C99-based standards] (clog2l): Likewise.
28080         [C99-based standards] (clgammal): Likewise.
28081         [C99-based standards] (ctgammal): Likewise.
28082         * conform/data/inttypes.h-data [C99-based standards]: Include
28083         stdint.h-data.  Remove all expectations for stdint.h contents.
28084         [C99-based standards] (PRI*): Do not allow.
28085         [C99-based standards] (SCN*): Likewise.
28086         [C99-based standards] (*_t): Likewise.
28087         [C99-based-standards] (PRId8): Expect macro.
28088         [C99-based-standards] (PRIi8): Likewise.
28089         [C99-based-standards] (PRIo8): Likewise.
28090         [C99-based-standards] (PRIu8): Likewise.
28091         [C99-based-standards] (PRIx8): Likewise.
28092         [C99-based-standards] (PRIX8): Likewise.
28093         [C99-based-standards] (SCNd8): Likewise.
28094         [C99-based-standards] (SCNi8): Likewise.
28095         [C99-based-standards] (SCNo8): Likewise.
28096         [C99-based-standards] (SCNu8): Likewise.
28097         [C99-based-standards] (SCNx8): Likewise.
28098         [C99-based-standards] (PRIdLEAST8): Likewise.
28099         [C99-based-standards] (PRIiLEAST8): Likewise.
28100         [C99-based-standards] (PRIoLEAST8): Likewise.
28101         [C99-based-standards] (PRIuLEAST8): Likewise.
28102         [C99-based-standards] (PRIxLEAST8): Likewise.
28103         [C99-based-standards] (PRIXLEAST8): Likewise.
28104         [C99-based-standards] (SCNdLEAST8): Likewise.
28105         [C99-based-standards] (SCNiLEAST8): Likewise.
28106         [C99-based-standards] (SCNoLEAST8): Likewise.
28107         [C99-based-standards] (SCNuLEAST8): Likewise.
28108         [C99-based-standards] (SCNxLEAST8): Likewise.
28109         [C99-based-standards] (PRIdFAST8): Likewise.
28110         [C99-based-standards] (PRIiFAST8): Likewise.
28111         [C99-based-standards] (PRIoFAST8): Likewise.
28112         [C99-based-standards] (PRIuFAST8): Likewise.
28113         [C99-based-standards] (PRIxFAST8): Likewise.
28114         [C99-based-standards] (PRIXFAST8): Likewise.
28115         [C99-based-standards] (SCNdFAST8): Likewise.
28116         [C99-based-standards] (SCNiFAST8): Likewise.
28117         [C99-based-standards] (SCNoFAST8): Likewise.
28118         [C99-based-standards] (SCNuFAST8): Likewise.
28119         [C99-based-standards] (SCNxFAST8): Likewise.
28120         [C99-based-standards] (PRId16): Likewise.
28121         [C99-based-standards] (PRIi16): Likewise.
28122         [C99-based-standards] (PRIo16): Likewise.
28123         [C99-based-standards] (PRIu16): Likewise.
28124         [C99-based-standards] (PRIx16): Likewise.
28125         [C99-based-standards] (PRIX16): Likewise.
28126         [C99-based-standards] (SCNd16): Likewise.
28127         [C99-based-standards] (SCNi16): Likewise.
28128         [C99-based-standards] (SCNo16): Likewise.
28129         [C99-based-standards] (SCNu16): Likewise.
28130         [C99-based-standards] (SCNx16): Likewise.
28131         [C99-based-standards] (PRIdLEAST16): Likewise.
28132         [C99-based-standards] (PRIiLEAST16): Likewise.
28133         [C99-based-standards] (PRIoLEAST16): Likewise.
28134         [C99-based-standards] (PRIuLEAST16): Likewise.
28135         [C99-based-standards] (PRIxLEAST16): Likewise.
28136         [C99-based-standards] (PRIXLEAST16): Likewise.
28137         [C99-based-standards] (SCNdLEAST16): Likewise.
28138         [C99-based-standards] (SCNiLEAST16): Likewise.
28139         [C99-based-standards] (SCNoLEAST16): Likewise.
28140         [C99-based-standards] (SCNuLEAST16): Likewise.
28141         [C99-based-standards] (SCNxLEAST16): Likewise.
28142         [C99-based-standards] (PRIdFAST16): Likewise.
28143         [C99-based-standards] (PRIiFAST16): Likewise.
28144         [C99-based-standards] (PRIoFAST16): Likewise.
28145         [C99-based-standards] (PRIuFAST16): Likewise.
28146         [C99-based-standards] (PRIxFAST16): Likewise.
28147         [C99-based-standards] (PRIXFAST16): Likewise.
28148         [C99-based-standards] (SCNdFAST16): Likewise.
28149         [C99-based-standards] (SCNiFAST16): Likewise.
28150         [C99-based-standards] (SCNoFAST16): Likewise.
28151         [C99-based-standards] (SCNuFAST16): Likewise.
28152         [C99-based-standards] (SCNxFAST16): Likewise.
28153         [C99-based-standards] (PRId32): Likewise.
28154         [C99-based-standards] (PRIi32): Likewise.
28155         [C99-based-standards] (PRIo32): Likewise.
28156         [C99-based-standards] (PRIu32): Likewise.
28157         [C99-based-standards] (PRIx32): Likewise.
28158         [C99-based-standards] (PRIX32): Likewise.
28159         [C99-based-standards] (SCNd32): Likewise.
28160         [C99-based-standards] (SCNi32): Likewise.
28161         [C99-based-standards] (SCNo32): Likewise.
28162         [C99-based-standards] (SCNu32): Likewise.
28163         [C99-based-standards] (SCNx32): Likewise.
28164         [C99-based-standards] (PRIdLEAST32): Likewise.
28165         [C99-based-standards] (PRIiLEAST32): Likewise.
28166         [C99-based-standards] (PRIoLEAST32): Likewise.
28167         [C99-based-standards] (PRIuLEAST32): Likewise.
28168         [C99-based-standards] (PRIxLEAST32): Likewise.
28169         [C99-based-standards] (PRIXLEAST32): Likewise.
28170         [C99-based-standards] (SCNdLEAST32): Likewise.
28171         [C99-based-standards] (SCNiLEAST32): Likewise.
28172         [C99-based-standards] (SCNoLEAST32): Likewise.
28173         [C99-based-standards] (SCNuLEAST32): Likewise.
28174         [C99-based-standards] (SCNxLEAST32): Likewise.
28175         [C99-based-standards] (PRIdFAST32): Likewise.
28176         [C99-based-standards] (PRIiFAST32): Likewise.
28177         [C99-based-standards] (PRIoFAST32): Likewise.
28178         [C99-based-standards] (PRIuFAST32): Likewise.
28179         [C99-based-standards] (PRIxFAST32): Likewise.
28180         [C99-based-standards] (PRIXFAST32): Likewise.
28181         [C99-based-standards] (SCNdFAST32): Likewise.
28182         [C99-based-standards] (SCNiFAST32): Likewise.
28183         [C99-based-standards] (SCNoFAST32): Likewise.
28184         [C99-based-standards] (SCNuFAST32): Likewise.
28185         [C99-based-standards] (SCNxFAST32): Likewise.
28186         [C99-based-standards] (PRId64): Likewise.
28187         [C99-based-standards] (PRIi64): Likewise.
28188         [C99-based-standards] (PRIo64): Likewise.
28189         [C99-based-standards] (PRIu64): Likewise.
28190         [C99-based-standards] (PRIx64): Likewise.
28191         [C99-based-standards] (PRIX64): Likewise.
28192         [C99-based-standards] (SCNd64): Likewise.
28193         [C99-based-standards] (SCNi64): Likewise.
28194         [C99-based-standards] (SCNo64): Likewise.
28195         [C99-based-standards] (SCNu64): Likewise.
28196         [C99-based-standards] (SCNx64): Likewise.
28197         [C99-based-standards] (PRIdLEAST64): Likewise.
28198         [C99-based-standards] (PRIiLEAST64): Likewise.
28199         [C99-based-standards] (PRIoLEAST64): Likewise.
28200         [C99-based-standards] (PRIuLEAST64): Likewise.
28201         [C99-based-standards] (PRIxLEAST64): Likewise.
28202         [C99-based-standards] (PRIXLEAST64): Likewise.
28203         [C99-based-standards] (SCNdLEAST64): Likewise.
28204         [C99-based-standards] (SCNiLEAST64): Likewise.
28205         [C99-based-standards] (SCNoLEAST64): Likewise.
28206         [C99-based-standards] (SCNuLEAST64): Likewise.
28207         [C99-based-standards] (SCNxLEAST64): Likewise.
28208         [C99-based-standards] (PRIdFAST64): Likewise.
28209         [C99-based-standards] (PRIiFAST64): Likewise.
28210         [C99-based-standards] (PRIoFAST64): Likewise.
28211         [C99-based-standards] (PRIuFAST64): Likewise.
28212         [C99-based-standards] (PRIxFAST64): Likewise.
28213         [C99-based-standards] (PRIXFAST64): Likewise.
28214         [C99-based-standards] (SCNdFAST64): Likewise.
28215         [C99-based-standards] (SCNiFAST64): Likewise.
28216         [C99-based-standards] (SCNoFAST64): Likewise.
28217         [C99-based-standards] (SCNuFAST64): Likewise.
28218         [C99-based-standards] (SCNxFAST64): Likewise.
28219         [C99-based-standards] (PRIdMAX): Likewise.
28220         [C99-based-standards] (PRIiMAX): Likewise.
28221         [C99-based-standards] (PRIoMAX): Likewise.
28222         [C99-based-standards] (PRIuMAX): Likewise.
28223         [C99-based-standards] (PRIxMAX): Likewise.
28224         [C99-based-standards] (PRIXMAX): Likewise.
28225         [C99-based-standards] (SCNdMAX): Likewise.
28226         [C99-based-standards] (SCNiMAX): Likewise.
28227         [C99-based-standards] (SCNoMAX): Likewise.
28228         [C99-based-standards] (SCNuMAX): Likewise.
28229         [C99-based-standards] (SCNxMAX): Likewise.
28230         [C99-based-standards] (PRIdPTR): Likewise.
28231         [C99-based-standards] (PRIiPTR): Likewise.
28232         [C99-based-standards] (PRIoPTR): Likewise.
28233         [C99-based-standards] (PRIuPTR): Likewise.
28234         [C99-based-standards] (PRIxPTR): Likewise.
28235         [C99-based-standards] (PRIXPTR): Likewise.
28236         [C99-based-standards] (SCNdPTR): Likewise.
28237         [C99-based-standards] (SCNiPTR): Likewise.
28238         [C99-based-standards] (SCNoPTR): Likewise.
28239         [C99-based-standards] (SCNuPTR): Likewise.
28240         [C99-based-standards] (SCNxPTR): Likewise.
28241         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28242         allow.
28243         * conform/data/stdint.h-data: Update comments to clarify
28244         requirements.
28245         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28246         type.
28247         [C99-based standards] (INT8_MAX): Likewise.
28248         [C99-based standards] (INT16_MIN): Likewise.
28249         [C99-based standards] (INT16_MAX): Likewise.
28250         [C99-based standards] (INT32_MIN): Likewise.
28251         [C99-based standards] (INT32_MAX): Likewise.
28252         [C99-based standards] (INT64_MIN): Likewise.
28253         [C99-based standards] (INT64_MAX): Likewise.
28254         [C99-based standards] (UINT8_MAX): Likewise.
28255         [C99-based standards] (UINT16_MAX): Likewise.
28256         [C99-based standards] (UINT32_MAX): Likewise.
28257         [C99-based standards] (UINT64_MAX): Likewise.
28258         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28259         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28260         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28261         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28262         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28263         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28264         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28265         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28266         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28267         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28268         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28269         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28270         [C99-based standards] (INT_FAST8_MIN): Likewise.
28271         [C99-based standards] (INT_FAST8_MAX): Likewise.
28272         [C99-based standards] (INT_FAST16_MIN): Likewise.
28273         [C99-based standards] (INT_FAST16_MAX): Likewise.
28274         [C99-based standards] (INT_FAST32_MIN): Likewise.
28275         [C99-based standards] (INT_FAST32_MAX): Likewise.
28276         [C99-based standards] (INT_FAST64_MIN): Likewise.
28277         [C99-based standards] (INT_FAST64_MAX): Likewise.
28278         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28279         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28280         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28281         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28282         [C99-based standards] (INTPTR_MIN): Likewise.
28283         [C99-based standards] (INTPTR_MAX): Likewise.
28284         [C99-based standards] (UINTPTR_MAX): Likewise.
28285         [C99-based standards] (INTMAX_MIN): Likewise.
28286         [C99-based standards] (INTMAX_MAX): Likewise.
28287         [C99-based standards] (UINTMAX_MAX): Likewise.
28288         [C99-based standards] (PTRDIFF_MIN): Likewise.
28289         [C99-based standards] (PTRDIFF_MAX): Likewise.
28290         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28291         [C99-based standards] (SIZE_MAX): Likewise.
28292         [C99-based standards] (WCHAR_MAX): Likewise.
28293         [C99-based standards] (WINT_MAX): Likewise.
28294         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28295         constraint on value.
28296         [C99-based standards] (WCHAR_MIN): Likewise.
28297         [C99-based standards] (WINT_MIN): Likewise.
28298         [C99-based standards] (*_t): Allow.
28299         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28300         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28301         Include math.h-data and complex.h-data.  Remove all expectations
28302         of math.h and complex.h contents.
28303         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28304         at end of line.
28305         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28306         (struct tm): Expect tag.
28307         [C99-based-standards] (wcstof): Expect function.
28308         [C99-based-standards] (wcstold): Likewise.
28309         [C99-based-standards] (wcstoll): Likewise.
28310         [C99-based-standards] (wcstoull): Likewise.
28311         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28312         macro-int-constant.  Specify type.
28313         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28314         constraint on value.
28315         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28316         Specify type.
28317         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28318         Specify value.
28319         [ISO C standards]: Do not allow headers.
28320         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28321         wcs[abcdefghijklmnopqrstuvwxyz]*.
28322         [ISO C standards] (*_t): Do not allow.
28323         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28324         Expect function.
28325         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28326         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28327         Specify type.
28328         [ISO C standards]: Do not allow headers.
28329         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28330         is[abcdefghijklmnopqrstuvwxyz]*.
28331         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28332         to[abcdefghijklmnopqrstuvwxyz]*.
28333         [ISO C standards] (*_t): Do not allow.
28334         * conform/data/stdalign.h-data: New file.
28335         * conform/data/stdbool.h-data: Likewise.
28336         * conform/data/stdnoreturn.h-data: Likewise.
28338 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28340         [BZ #14815]
28341         * manual/filesys.texi (Directory Entries): Typo fix.
28342         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28344 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28346         * elf/elf.h (EM_AARCH64): New macro.
28347         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28348         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28349         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28350         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28351         (R_AARCH64_TLSDESC): Likewise.
28352         (NT_ARM_TLS): Likewise.
28353         (NT_ARM_HW_BREAK): Likewise.
28354         (NT_ARM_HW_WATCH): Likewise.
28356 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28358         [BZ #14811]
28359         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28360         (__ieee754_powl): Saturate nonzero exponents with absolute value
28361         below 0x1p-79 to +/- 0x1p-79.
28362         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28363         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28364         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28365         nonzero exponents with absolute value below 0x1p-32 to +/-
28366         0x1p-32.
28367         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28368         (__ieee754_powl): Saturate nonzero exponents with absolute value
28369         below 0x1p-79 to +/- 0x1p-79.
28370         * math/libm-test.inc (pow_test): Add more tests.
28372 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28374         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28375         _dl_s390_cap_flags with kernel. Increase string length.
28376         (_dl_s390_platforms): Add z196 and zEC12.
28378 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28380         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28381         Change XOPEN21K to XOPEN2K.
28383 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28385         * string/memmove.c: Use memcpy when possible.
28387 2012-11-06  Andreas Jaeger  <aj@suse.de>
28389         * po/eo.po: Update from translation team.
28391 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28393         [BZ #14793]
28394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28395         exponent and small x and y exponents, scale x or y up.  Increase
28396         by 2 the exponent used in scaling up.
28397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28399         * math/libm-test.inc (fma_test): Add more tests.
28400         (fma_test_towardzero): Likewise.
28401         (fma_test_downward): Likewise.
28402         (fma_test_upward): Likewise.
28404 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28406         [BZ #14805]
28407         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28408         fenv_t *.
28410         [BZ #14801]
28411         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28412         namespace for names of struct fields.
28413         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28414         fenv_t fields.
28415         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28416         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28418 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28420         [BZ #3665]
28421         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28423 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28425         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28426         PTR_DEMANGLE.
28428         [BZ #5246]
28429         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28430         PTR_DEMANGLE.
28432 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28434         [BZ #14797]
28435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28436         definitely overflow as x * y not x * y + z.
28437         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28438         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28439         * math/libm-test.inc (fma_test): Add more tests.
28440         (fma_test_towardzero): Likewise.
28441         (fma_test_downward): Likewise.
28442         (fma_test_upward): Likewise.
28444 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28446         [BZ #157]
28448         * include/stub-tag.h: Remove file.
28449         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28450         '#include' of it.
28451         * manual/maint.texi (Porting): Don't reference it.
28452         * Makerules ($(objpfx)stubs): Likewise.
28453         * dirent/closedir.c: Don't include <stub-tag.h>.
28454         * dirent/dirfd.c: Likewise.
28455         * dirent/fdopendir.c: Likewise.
28456         * dirent/getdents.c: Likewise.
28457         * dirent/getdents64.c: Likewise.
28458         * dirent/opendir.c: Likewise.
28459         * dirent/readdir.c: Likewise.
28460         * dirent/readdir64.c: Likewise.
28461         * dirent/readdir64_r.c: Likewise.
28462         * dirent/readdir_r.c: Likewise.
28463         * dirent/rewinddir.c: Likewise.
28464         * dirent/seekdir.c: Likewise.
28465         * dirent/telldir.c: Likewise.
28466         * gmon/profil.c: Likewise.
28467         * grp/setgroups.c: Likewise.
28468         * inet/if_index.c: Likewise.
28469         * io/access.c: Likewise.
28470         * io/chdir.c: Likewise.
28471         * io/chmod.c: Likewise.
28472         * io/chown.c: Likewise.
28473         * io/close.c: Likewise.
28474         * io/dup.c: Likewise.
28475         * io/dup2.c: Likewise.
28476         * io/dup3.c: Likewise.
28477         * io/euidaccess.c: Likewise.
28478         * io/faccessat.c: Likewise.
28479         * io/fchdir.c: Likewise.
28480         * io/fchmod.c: Likewise.
28481         * io/fchmodat.c: Likewise.
28482         * io/fchown.c: Likewise.
28483         * io/fchownat.c: Likewise.
28484         * io/fcntl.c: Likewise.
28485         * io/flock.c: Likewise.
28486         * io/fstatfs.c: Likewise.
28487         * io/fstatfs64.c: Likewise.
28488         * io/fstatvfs.c: Likewise.
28489         * io/fstatvfs64.c: Likewise.
28490         * io/futimens.c: Likewise.
28491         * io/fxstat.c: Likewise.
28492         * io/fxstat64.c: Likewise.
28493         * io/fxstatat.c: Likewise.
28494         * io/fxstatat64.c: Likewise.
28495         * io/getcwd.c: Likewise.
28496         * io/isatty.c: Likewise.
28497         * io/lchmod.c: Likewise.
28498         * io/lchown.c: Likewise.
28499         * io/link.c: Likewise.
28500         * io/linkat.c: Likewise.
28501         * io/lseek.c: Likewise.
28502         * io/lseek64.c: Likewise.
28503         * io/lxstat64.c: Likewise.
28504         * io/mkdir.c: Likewise.
28505         * io/mkdirat.c: Likewise.
28506         * io/mkfifo.c: Likewise.
28507         * io/mkfifoat.c: Likewise.
28508         * io/open.c: Likewise.
28509         * io/open64.c: Likewise.
28510         * io/openat.c: Likewise.
28511         * io/openat64.c: Likewise.
28512         * io/pipe.c: Likewise.
28513         * io/pipe2.c: Likewise.
28514         * io/poll.c: Likewise.
28515         * io/posix_fadvise.c: Likewise.
28516         * io/posix_fadvise64.c: Likewise.
28517         * io/posix_fallocate.c: Likewise.
28518         * io/posix_fallocate64.c: Likewise.
28519         * io/read.c: Likewise.
28520         * io/readlink.c: Likewise.
28521         * io/readlinkat.c: Likewise.
28522         * io/rmdir.c: Likewise.
28523         * io/sendfile.c: Likewise.
28524         * io/sendfile64.c: Likewise.
28525         * io/statfs.c: Likewise.
28526         * io/statfs64.c: Likewise.
28527         * io/statvfs.c: Likewise.
28528         * io/statvfs64.c: Likewise.
28529         * io/symlink.c: Likewise.
28530         * io/symlinkat.c: Likewise.
28531         * io/ttyname.c: Likewise.
28532         * io/ttyname_r.c: Likewise.
28533         * io/umask.c: Likewise.
28534         * io/unlink.c: Likewise.
28535         * io/unlinkat.c: Likewise.
28536         * io/utime.c: Likewise.
28537         * io/utimensat.c: Likewise.
28538         * io/write.c: Likewise.
28539         * io/xmknod.c: Likewise.
28540         * io/xmknodat.c: Likewise.
28541         * io/xstat.c: Likewise.
28542         * io/xstat64.c: Likewise.
28543         * login/getpt.c: Likewise.
28544         * login/grantpt.c: Likewise.
28545         * login/unlockpt.c: Likewise.
28546         * math/e_acoshl.c: Likewise.
28547         * math/e_acosl.c: Likewise.
28548         * math/e_asinl.c: Likewise.
28549         * math/e_atan2l.c: Likewise.
28550         * math/e_atanhl.c: Likewise.
28551         * math/e_coshl.c: Likewise.
28552         * math/e_expl.c: Likewise.
28553         * math/e_fmodl.c: Likewise.
28554         * math/e_gammal_r.c: Likewise.
28555         * math/e_hypotl.c: Likewise.
28556         * math/e_j0l.c: Likewise.
28557         * math/e_j1l.c: Likewise.
28558         * math/e_jnl.c: Likewise.
28559         * math/e_lgammal_r.c: Likewise.
28560         * math/e_log10l.c: Likewise.
28561         * math/e_log2l.c: Likewise.
28562         * math/e_logl.c: Likewise.
28563         * math/e_powl.c: Likewise.
28564         * math/e_rem_pio2l.c: Likewise.
28565         * math/e_sinhl.c: Likewise.
28566         * math/e_sqrtl.c: Likewise.
28567         * math/fclrexcpt.c: Likewise.
28568         * math/fedisblxcpt.c: Likewise.
28569         * math/feenablxcpt.c: Likewise.
28570         * math/fegetenv.c: Likewise.
28571         * math/fegetexcept.c: Likewise.
28572         * math/fegetround.c: Likewise.
28573         * math/feholdexcpt.c: Likewise.
28574         * math/fesetenv.c: Likewise.
28575         * math/fesetround.c: Likewise.
28576         * math/feupdateenv.c: Likewise.
28577         * math/fgetexcptflg.c: Likewise.
28578         * math/fraiseexcpt.c: Likewise.
28579         * math/fsetexcptflg.c: Likewise.
28580         * math/ftestexcept.c: Likewise.
28581         * math/k_cosl.c: Likewise.
28582         * math/k_rem_pio2l.c: Likewise.
28583         * math/k_sinl.c: Likewise.
28584         * math/k_tanl.c: Likewise.
28585         * math/s_asinhl.c: Likewise.
28586         * math/s_atanl.c: Likewise.
28587         * math/s_cbrtl.c: Likewise.
28588         * math/s_erfl.c: Likewise.
28589         * math/s_expm1l.c: Likewise.
28590         * math/s_log1pl.c: Likewise.
28591         * math/s_tanhl.c: Likewise.
28592         * misc/acct.c: Likewise.
28593         * misc/brk.c: Likewise.
28594         * misc/chflags.c: Likewise.
28595         * misc/chroot.c: Likewise.
28596         * misc/fchflags.c: Likewise.
28597         * misc/fgetxattr.c: Likewise.
28598         * misc/flistxattr.c: Likewise.
28599         * misc/fremovexattr.c: Likewise.
28600         * misc/fsetxattr.c: Likewise.
28601         * misc/fsync.c: Likewise.
28602         * misc/ftruncate.c: Likewise.
28603         * misc/futimes.c: Likewise.
28604         * misc/futimesat.c: Likewise.
28605         * misc/getdomain.c: Likewise.
28606         * misc/getdtsz.c: Likewise.
28607         * misc/gethostid.c: Likewise.
28608         * misc/gethostname.c: Likewise.
28609         * misc/getloadavg.c: Likewise.
28610         * misc/getpagesize.c: Likewise.
28611         * misc/getsysstats.c: Likewise.
28612         * misc/getxattr.c: Likewise.
28613         * misc/gtty.c: Likewise.
28614         * misc/ioctl.c: Likewise.
28615         * misc/lgetxattr.c: Likewise.
28616         * misc/listxattr.c: Likewise.
28617         * misc/llistxattr.c: Likewise.
28618         * misc/lremovexattr.c: Likewise.
28619         * misc/lsetxattr.c: Likewise.
28620         * misc/lutimes.c: Likewise.
28621         * misc/madvise.c: Likewise.
28622         * misc/mincore.c: Likewise.
28623         * misc/mlock.c: Likewise.
28624         * misc/mlockall.c: Likewise.
28625         * misc/mmap.c: Likewise.
28626         * misc/mprotect.c: Likewise.
28627         * misc/msync.c: Likewise.
28628         * misc/munlock.c: Likewise.
28629         * misc/munlockall.c: Likewise.
28630         * misc/munmap.c: Likewise.
28631         * misc/preadv.c: Likewise.
28632         * misc/preadv64.c: Likewise.
28633         * misc/ptrace.c: Likewise.
28634         * misc/pwritev.c: Likewise.
28635         * misc/pwritev64.c: Likewise.
28636         * misc/readv.c: Likewise.
28637         * misc/reboot.c: Likewise.
28638         * misc/remap_file_pages.c: Likewise.
28639         * misc/removexattr.c: Likewise.
28640         * misc/revoke.c: Likewise.
28641         * misc/select.c: Likewise.
28642         * misc/setdomain.c: Likewise.
28643         * misc/setegid.c: Likewise.
28644         * misc/seteuid.c: Likewise.
28645         * misc/sethostid.c: Likewise.
28646         * misc/sethostname.c: Likewise.
28647         * misc/setregid.c: Likewise.
28648         * misc/setreuid.c: Likewise.
28649         * misc/setxattr.c: Likewise.
28650         * misc/sstk.c: Likewise.
28651         * misc/stty.c: Likewise.
28652         * misc/swapoff.c: Likewise.
28653         * misc/swapon.c: Likewise.
28654         * misc/sync.c: Likewise.
28655         * misc/syncfs.c: Likewise.
28656         * misc/syscall.c: Likewise.
28657         * misc/truncate.c: Likewise.
28658         * misc/ualarm.c: Likewise.
28659         * misc/usleep.c: Likewise.
28660         * misc/ustat.c: Likewise.
28661         * misc/utimes.c: Likewise.
28662         * misc/vhangup.c: Likewise.
28663         * misc/writev.c: Likewise.
28664         * posix/_exit.c: Likewise.
28665         * posix/alarm.c: Likewise.
28666         * posix/execve.c: Likewise.
28667         * posix/fexecve.c: Likewise.
28668         * posix/fork.c: Likewise.
28669         * posix/fpathconf.c: Likewise.
28670         * posix/getaddrinfo.c: Likewise.
28671         * posix/getegid.c: Likewise.
28672         * posix/geteuid.c: Likewise.
28673         * posix/getgid.c: Likewise.
28674         * posix/getgroups.c: Likewise.
28675         * posix/getlogin.c: Likewise.
28676         * posix/getlogin_r.c: Likewise.
28677         * posix/getpgid.c: Likewise.
28678         * posix/getpid.c: Likewise.
28679         * posix/getppid.c: Likewise.
28680         * posix/getresgid.c: Likewise.
28681         * posix/getresuid.c: Likewise.
28682         * posix/getsid.c: Likewise.
28683         * posix/getuid.c: Likewise.
28684         * posix/glob64.c: Likewise.
28685         * posix/nanosleep.c: Likewise.
28686         * posix/pathconf.c: Likewise.
28687         * posix/pause.c: Likewise.
28688         * posix/posix_madvise.c: Likewise.
28689         * posix/pread.c: Likewise.
28690         * posix/pread64.c: Likewise.
28691         * posix/pwrite.c: Likewise.
28692         * posix/pwrite64.c: Likewise.
28693         * posix/sched_getaffinity.c: Likewise.
28694         * posix/sched_getp.c: Likewise.
28695         * posix/sched_gets.c: Likewise.
28696         * posix/sched_primax.c: Likewise.
28697         * posix/sched_primin.c: Likewise.
28698         * posix/sched_rr_gi.c: Likewise.
28699         * posix/sched_setaffinity.c: Likewise.
28700         * posix/sched_setp.c: Likewise.
28701         * posix/sched_sets.c: Likewise.
28702         * posix/sched_yield.c: Likewise.
28703         * posix/setgid.c: Likewise.
28704         * posix/setlogin.c: Likewise.
28705         * posix/setpgid.c: Likewise.
28706         * posix/setresgid.c: Likewise.
28707         * posix/setresuid.c: Likewise.
28708         * posix/setsid.c: Likewise.
28709         * posix/setuid.c: Likewise.
28710         * posix/sleep.c: Likewise.
28711         * posix/spawni.c: Likewise.
28712         * posix/sysconf.c: Likewise.
28713         * posix/times.c: Likewise.
28714         * posix/wait.c: Likewise.
28715         * posix/wait3.c: Likewise.
28716         * posix/wait4.c: Likewise.
28717         * posix/waitpid.c: Likewise.
28718         * resolv/gai_sigqueue.c: Likewise.
28719         * resource/getpriority.c: Likewise.
28720         * resource/getrlimit.c: Likewise.
28721         * resource/getrusage.c: Likewise.
28722         * resource/nice.c: Likewise.
28723         * resource/setpriority.c: Likewise.
28724         * resource/setrlimit.c: Likewise.
28725         * resource/ulimit.c: Likewise.
28726         * rt/aio_cancel.c: Likewise.
28727         * rt/aio_fsync.c: Likewise.
28728         * rt/aio_read.c: Likewise.
28729         * rt/aio_sigqueue.c: Likewise.
28730         * rt/aio_suspend.c: Likewise.
28731         * rt/aio_write.c: Likewise.
28732         * rt/clock_getres.c: Likewise.
28733         * rt/clock_gettime.c: Likewise.
28734         * rt/clock_nanosleep.c: Likewise.
28735         * rt/clock_settime.c: Likewise.
28736         * rt/lio_listio.c: Likewise.
28737         * rt/mq_close.c: Likewise.
28738         * rt/mq_getattr.c: Likewise.
28739         * rt/mq_notify.c: Likewise.
28740         * rt/mq_open.c: Likewise.
28741         * rt/mq_receive.c: Likewise.
28742         * rt/mq_send.c: Likewise.
28743         * rt/mq_setattr.c: Likewise.
28744         * rt/mq_timedreceive.c: Likewise.
28745         * rt/mq_timedsend.c: Likewise.
28746         * rt/mq_unlink.c: Likewise.
28747         * rt/shm_open.c: Likewise.
28748         * rt/shm_unlink.c: Likewise.
28749         * rt/timer_create.c: Likewise.
28750         * rt/timer_delete.c: Likewise.
28751         * rt/timer_getoverr.c: Likewise.
28752         * rt/timer_gettime.c: Likewise.
28753         * rt/timer_settime.c: Likewise.
28754         * setjmp/__longjmp.c: Likewise.
28755         * setjmp/setjmp.c: Likewise.
28756         * signal/kill.c: Likewise.
28757         * signal/killpg.c: Likewise.
28758         * signal/raise.c: Likewise.
28759         * signal/sigaction.c: Likewise.
28760         * signal/sigaltstack.c: Likewise.
28761         * signal/sigblock.c: Likewise.
28762         * signal/sigignore.c: Likewise.
28763         * signal/sigintr.c: Likewise.
28764         * signal/signal.c: Likewise.
28765         * signal/sigpause.c: Likewise.
28766         * signal/sigpending.c: Likewise.
28767         * signal/sigqueue.c: Likewise.
28768         * signal/sigreturn.c: Likewise.
28769         * signal/sigset.c: Likewise.
28770         * signal/sigsetmask.c: Likewise.
28771         * signal/sigstack.c: Likewise.
28772         * signal/sigsuspend.c: Likewise.
28773         * signal/sigtimedwait.c: Likewise.
28774         * signal/sigvec.c: Likewise.
28775         * signal/sigwait.c: Likewise.
28776         * signal/sigwaitinfo.c: Likewise.
28777         * signal/sysv_signal.c: Likewise.
28778         * socket/accept.c: Likewise.
28779         * socket/accept4.c: Likewise.
28780         * socket/bind.c: Likewise.
28781         * socket/connect.c: Likewise.
28782         * socket/getpeername.c: Likewise.
28783         * socket/getsockname.c: Likewise.
28784         * socket/getsockopt.c: Likewise.
28785         * socket/isfdtype.c: Likewise.
28786         * socket/listen.c: Likewise.
28787         * socket/recv.c: Likewise.
28788         * socket/recvfrom.c: Likewise.
28789         * socket/recvmsg.c: Likewise.
28790         * socket/send.c: Likewise.
28791         * socket/sendmsg.c: Likewise.
28792         * socket/sendto.c: Likewise.
28793         * socket/setsockopt.c: Likewise.
28794         * socket/shutdown.c: Likewise.
28795         * socket/sockatmark.c: Likewise.
28796         * socket/socket.c: Likewise.
28797         * socket/socketpair.c: Likewise.
28798         * stdio-common/ctermid.c: Likewise.
28799         * stdio-common/cuserid.c: Likewise.
28800         * stdio-common/remove.c: Likewise.
28801         * stdio-common/rename.c: Likewise.
28802         * stdio-common/renameat.c: Likewise.
28803         * stdio-common/tempname.c: Likewise.
28804         * stdlib/getcontext.c: Likewise.
28805         * stdlib/makecontext.c: Likewise.
28806         * stdlib/setcontext.c: Likewise.
28807         * stdlib/swapcontext.c: Likewise.
28808         * stdlib/system.c: Likewise.
28809         * streams/fattach.c: Likewise.
28810         * streams/fdetach.c: Likewise.
28811         * streams/getmsg.c: Likewise.
28812         * streams/getpmsg.c: Likewise.
28813         * streams/putmsg.c: Likewise.
28814         * streams/putpmsg.c: Likewise.
28815         * sysdeps/unix/bsd/getpt.c: Likewise.
28816         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28817         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28818         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28820         Likewise.
28821         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28822         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28823         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28824         * sysvipc/msgctl.c: Likewise.
28825         * sysvipc/msgget.c: Likewise.
28826         * sysvipc/msgrcv.c: Likewise.
28827         * sysvipc/msgsnd.c: Likewise.
28828         * sysvipc/semctl.c: Likewise.
28829         * sysvipc/semget.c: Likewise.
28830         * sysvipc/semop.c: Likewise.
28831         * sysvipc/semtimedop.c: Likewise.
28832         * sysvipc/shmat.c: Likewise.
28833         * sysvipc/shmctl.c: Likewise.
28834         * sysvipc/shmdt.c: Likewise.
28835         * sysvipc/shmget.c: Likewise.
28836         * termios/tcdrain.c: Likewise.
28837         * termios/tcflow.c: Likewise.
28838         * termios/tcflush.c: Likewise.
28839         * termios/tcgetattr.c: Likewise.
28840         * termios/tcgetpgrp.c: Likewise.
28841         * termios/tcsendbrk.c: Likewise.
28842         * termios/tcsetattr.c: Likewise.
28843         * termios/tcsetpgrp.c: Likewise.
28844         * time/adjtime.c: Likewise.
28845         * time/clock.c: Likewise.
28846         * time/getitimer.c: Likewise.
28847         * time/gettimeofday.c: Likewise.
28848         * time/setitimer.c: Likewise.
28849         * time/settimeofday.c: Likewise.
28850         * time/stime.c: Likewise.
28851         * time/time.c: Likewise.
28853 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28855         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28856         /usr/old/bin.
28858         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28859         instead of spaces.
28860         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28862 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28864         [BZ #14796]
28865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28866         FE_TONEAREST before applying Dekker multiplication and Knuth
28867         addition.  Clear inexact exceptions and check for exact zero
28868         results afterwards.
28869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28870         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28871         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28872         * math/libm-test.inc (fma_test): Add more tests.
28873         (fma_test_towardzero): Likewise.
28874         (fma_test_downward): Likewise.
28875         (fma_test_upward): Likewise.
28876         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28877         function.
28878         (libc_fesetround): New macro.
28879         (libc_fesetroundf): Likewise.
28880         (libc_fesetroundl): Likewise.
28881         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28882         function.
28883         (libc_fesetround_387): Likewise.
28884         (libc_fesetroundf): New macro.
28885         (libc_fesetround): Likewise.
28886         (libc_fesetroundl): Likewise.
28887         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28888         function.
28889         (libc_fesetroundf): New macro.
28890         (libc_fesetround): Likewise.
28891         (libc_fesetroundl): Likewise.
28892         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28893         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28894         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28895         libm_hidden_ver.
28896         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28897         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28898         libm_hidden_def.
28899         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28900         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28901         libm_hidden_ver.
28902         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28903         libm_hidden_def.
28905         [BZ #3439]
28906         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28907         integer constant usable in #if and use that to give value to enum
28908         constant.
28909         (FE_DIVBYZERO): Likewise.
28910         (FE_UNDERFLOW): Likewise.
28911         (FE_OVERFLOW): Likewise.
28912         (FE_INVALID): Likewise.
28913         (FE_INVALID_SNAN): Likewise.
28914         (FE_INVALID_ISI): Likewise.
28915         (FE_INVALID_IDI): Likewise.
28916         (FE_INVALID_ZDZ): Likewise.
28917         (FE_INVALID_IMZ): Likewise.
28918         (FE_INVALID_COMPARE): Likewise.
28919         (FE_INVALID_SOFTWARE): Likewise.
28920         (FE_INVALID_SQRT): Likewise.
28921         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28922         (FE_TONEAREST): Likewise.
28923         (FE_TOWARDZERO): Likewise.
28924         (FE_UPWARD): Likewise.
28925         (FE_DOWNWARD): Likewise.
28926         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28927         (FE_DIVBYZERO): Likewise.
28928         (FE_OVERFLOW): Likewise.
28929         (FE_UNDERFLOW): Likewise.
28930         (FE_INEXACT): Likewise.
28931         (FE_TONEAREST): Likewise.
28932         (FE_DOWNWARD): Likewise.
28933         (FE_UPWARD): Likewise.
28934         (FE_TOWARDZERO): Likewise.
28935         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28936         (FE_UNDERFLOW): Likewise.
28937         (FE_OVERFLOW): Likewise.
28938         (FE_DIVBYZERO): Likewise.
28939         (FE_INVALID): Likewise.
28940         (FE_TONEAREST): Likewise.
28941         (FE_TOWARDZERO): Likewise.
28942         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28943         (FE_OVERFLOW): Likewise.
28944         (FE_UNDERFLOW): Likewise.
28945         (FE_DIVBYZERO): Likewise.
28946         (FE_INEXACT): Likewise.
28947         (FE_TONEAREST): Likewise.
28948         (FE_TOWARDZERO): Likewise.
28949         (FE_UPWARD): Likewise.
28950         (FE_DOWNWARD): Likewise.
28951         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28952         (FE_DIVBYZERO): Likewise.
28953         (FE_OVERFLOW): Likewise.
28954         (FE_UNDERFLOW): Likewise.
28955         (FE_INEXACT): Likewise.
28956         (FE_TONEAREST): Likewise.
28957         (FE_DOWNWARD): Likewise.
28958         (FE_UPWARD): Likewise.
28959         (FE_TOWARDZERO): Likewise.
28961 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28963         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28965 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28967         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28968         commands.  Quote $PWD.
28969         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28970         -x" by "export".
28971         (remove_newlines): Remove.
28973 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28975         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28976         * stdlib/stdlib.h (atof): Moved to ...
28977         * include/bits/stdlib-float.h: Here.  New file.
28978         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28979         * stdlib/bits/stdlib-float.h: New file.
28980         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28981         -mno-sse -mno-mmx.
28982         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28983         <xmmintrin.h>.
28985 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28987         * conform/conformtest.pl (@headers): Add fenv.h.
28988         * conform/data/fenv.h-data: New file.
28989         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28990         include of <math/fenv.h>.
28992         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28993         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28994         && !UNIX98].  Enables tests for XOPEN2K8.
28995         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28996         POSIX2008]: Likewise.
28998         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28999         (struct rusage): Do not expect type or its members.
29001         [BZ #3439]
29002         * math/math.h (FP_NAN): Define macro to integer constant usable in
29003         #if and use that to give value to enum constant.
29004         (FP_INFINITE): Likewise.
29005         (FP_ZERO): Likewise.
29006         (FP_SUBNORMAL): Likewise.
29007         (FP_NORMAL): Likewise.
29009 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29011         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29012         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29013         arguments.
29015 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29017         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29018         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29019         autoconf-time if not.
29020         * configure.in: Remove AC_PREREQ.
29022 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29024         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29025         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29026         of the internal implementation.
29028 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29030         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29031         except include of <misc/sys/syslog.h>.
29033 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29036         function returns with a NULL context exit with zero.
29038 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29040         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29042 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29044         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29045         (run_program_cmd): This.
29046         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29047         (tst_langinfo): New variable.  Use it.
29049 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29051         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29052         floating point opcodes.
29054 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29056         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29057         variable.
29059         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29061         * sysdeps/mach/hurd/powerpc: Remove directory.
29062         * sysdeps/mach/powerpc: Likewise.
29064 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29066         * scripts/check-local-headers.sh: Ignore c++ headers.
29068 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29070         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29071         __libc_cleanup_region_start argument.
29073 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29075         [BZ #14784]
29076         [BZ #14785]
29077         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29078         x * y using scaling, not as x * y + z.
29079         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29080         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29081         * math/libm-test.inc (fma_test): Add more tests.
29082         (fma_test_towardzero): Likewise.
29083         (fma_test_downward): Likewise.
29084         (fma_test_upward): Likewise.
29086 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29088         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29090 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29092         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29093         New variable.
29095 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29097         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29099 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29102         Fix sort order.
29103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29104         Likewise.
29106 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29109         Fix the order of the list for glibc 2.17.
29110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29111         Likewise.
29113 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29117 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29119         [BZ #14610]
29120         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29121         for low part of x being zero before using __atanl (y).
29122         * math/libm-test.inc (atan2_test): Add another test.
29124         * manual/install.texi (Configuring and compiling): Document
29125         general use of test-wrapper and test-wrapper-env.
29126         * INSTALL: Regenerated.
29128         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29129         (__fma): Do not extract and scale down low bits on after-rounding
29130         systems when result rounded to normal precision would have normal
29131         exponent.
29132         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29133         (__fmal): Do not extract and scale down low bits on after-rounding
29134         systems when result rounded to normal precision would have normal
29135         exponent.
29136         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29137         (__fmal): Do not extract and scale down low bits on after-rounding
29138         systems when result rounded to normal precision would have normal
29139         exponent.
29140         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29141         macro.
29142         (fma_test): Add more tests.
29143         (fma_test_towardzero): Likewise.
29144         (fma_test_downward): Likewise.
29145         (fma_test_upward): Likewise.
29147 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29149         * sysdeps/i386/tininess.h: Renamed to ...
29150         * sysdeps/x86/tininess.h: This.
29151         * sysdeps/x86_64/tininess.h: Removed.
29153 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29155         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29156         input.  Use $(build-program-cmd).
29157         ($(objpfx)tst-array1-static.out): Likewise.
29158         ($(objpfx)tst-array2.out): Likewise.
29159         ($(objpfx)tst-array3.out): Likewise.
29160         ($(objpfx)tst-array4.out): Likewise.
29161         ($(objpfx)tst-array5.out): Likewise.
29162         ($(objpfx)tst-array5-static.out): Likewise.
29164 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29166         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29167         if defined.
29169         * nss/nsswitch.h (nss_interface_function): Provide new
29170         macro for use with NSS functions.
29171         * grp/initgroups.c: Use new macro.
29172         * nss/getXXbyYY.c: Likewise.
29173         * nss/getXXbyYY_r.c: Likewise.
29174         * nss/getXXent.c: Likewise.
29175         * nss/getXXent_r.c: Likewise.
29176         * sysdeps/posix/getaddrinfo.c: Likewise.
29178 2012-10-30  Andreas Jaeger  <aj@suse.de>
29180         * po/ru.po: Update Russion translation from translation project.
29182 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29184         [BZ #14152]
29185         [BZ #14783]
29186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29187         result and shift together with sticky bit instead of replicating
29188         round-to-nearest rounding.
29189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29190         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29191         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29192         missing underflow exceptions.
29193         (fma_test_towardzero): Add more tests.
29194         (fma_test_downward): Likewise.
29195         (fma_test_upward): Likewise.
29197         [BZ #14047]
29198         * sysdeps/generic/tininess.h: New file.
29199         * sysdeps/i386/tininess.h: Likewise.
29200         * sysdeps/sh/tininess.h: Likewise.
29201         * sysdeps/x86_64/tininess.h: Likewise.
29202         * stdlib/tst-strtod-underflow.c: Likewise.
29203         * stdlib/tst-tininess.c: Likewise.
29204         * stdlib/strtod_l.c: Include <tininess.h>.
29205         (round_and_return): Do not set errno for exact underflow cases.
29206         Force an underflow exception when setting errno for underflow.
29207         Determine underflow based on rounding to normal precision if
29208         TININESS_AFTER_ROUNDING.
29209         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29210         ERANGE for exact underflow cases.
29211         * stdlib/Makefile (tests): Add tst-tininess and
29212         tst-strtod-underflow.
29213         ($(objpfx)tst-tininess): Use $(link-libm).
29214         ($(objpfx)tst-strtod-underflow): Likewise.
29216 2012-10-30  Andreas Jaeger  <aj@suse.de>
29218         [BZ#14767]
29219         * elf/Makefile (tests): Remove conditional for have-initfini-array
29220         since this is now always required and the variable does not exist
29221         anymore.
29222         (tests-static): Likewise.
29223         (modules-names): Likewise.
29225         * po/eo.po: Add Esperanto translation from translation project.
29227         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29228         merged with constructor/destructor.
29229         (init_array): Likewise.
29230         * elf/tst-array2dep.c (fini_array): Likewise.
29231         (init_array): Likewise.
29233 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29235         * manual/message.texi: Delete @cartouche tags.
29237 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29239         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29240         EOPNOTSUPP.
29241         * sysdeps/mach/hurd/fsync.c: Likewise.
29243         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29244         [_POSIX_REALTIME_SIGNALS]: Change condition to
29245         [_POSIX_REALTIME_SIGNALS > 0].
29247 2012-10-27  Andreas Jaeger  <aj@suse.de>
29249         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29250         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29251         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29252         [__WORDSIZE != 64]: Likewise.
29254 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29256         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29257         *  iconvdata/tst-tables.sh: Likewise.
29259 2012-10-25  David S. Miller  <davem@davemloft.net>
29261         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29262         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29263         of strtoull.
29265         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29266         ifunc-impl-list.c
29267         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29268         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29269         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29270         file.
29272 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29274         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29275         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29276         __getdirentries.
29278 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29279             Jim Blandy  <jimb@codesourcery.com>
29281         * scripts/cross-test-ssh.sh: New file.
29282         * manual/install.texi (Configuring and compiling): Document use of
29283         cross-test-ssh.sh.
29284         * INSTALL: Regenerated.
29286 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29288         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29289         EOPNOTSUPP.
29291 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29293         * Makeconfig (run-program-prefix): Fix comment.
29295 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29296             Jim Blandy  <jimb@codesourcery.com>
29298         * Makeconfig (test-wrapper): New variable,
29299         (test-wrapper-env): Likewise.
29300         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29301         (run-built-tests): Define to yes.
29302         (run-program-prefix): Use $(test-wrapper).
29303         (built-program-cmd): Likewise.
29304         * Rules (make-test-out): Use $(test-wrapper-env) and
29305         $(host-built-program-cmd).
29306         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29307         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29308         tst-pathopt.sh.
29309         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29310         $(test-wrapper-env) to tst-rtld-load-self.sh.
29311         ($(objpfx)order2.out): Use $(test-wrapper).
29312         ($(objpfx)tst-initorder.out): Likewise.
29313         ($(objpfx)tst-initorder2.out): Likewise.
29314         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29315         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29316         (test_wrapper_env): New variable.  Use it to run ld.so.
29317         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29318         Use it to run ld.so.
29319         (test_wrapper_env): Likewise.
29320         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29321         $(test-wrapper) to run-iconv-test.sh.
29322         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29323         (ICONV): Use $test_wrapper.
29324         * posix/Makefile ($(objpfx)globtest.out): Pass
29325         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29326         globtest.sh, not $(run-program-prefix).
29327         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29328         (test_wrapper): Likewise.
29329         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29330         set together with run_via_rtld_prefix.
29331         (run_program_prefix): Define in terms of test_wrapper and
29332         run_via_rtld_prefix.
29334 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29336         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29337         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29338         Targets removed.
29340         [BZ #14743]
29341         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29342         Declare __clock_getres, __clock_gettime, __clock_settime,
29343         __clock_nanosleep, and __clock_getcpuclockid.
29344         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29345         Remove librt_hidden_def (clock_gettime).
29346         * sysdeps/unix/clock_gettime.c: Likewise.
29347         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29348         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29349         * rt/clock_getres.c: Define __clock_getres as an alias.
29350         * sysdeps/posix/clock_getres.c: Likewise.
29351         * rt/clock_settime.c: Define __clock_settime as an alias.
29352         * sysdeps/unix/clock_settime.c: Likewise.
29353         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29354         * sysdeps/unix/clock_nanosleep.c: Likewise.
29355         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29356         * rt/clock-compat.c: New file.
29357         * rt/Makefile (librt-routines): Add clock-compat and move
29358         $(clock-routines) to ...
29359         (routines): ... here, new variable.
29360         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29361         Don't add get_clockfreq here.
29362         * rt/Versions (libc: GLIBC_2.17): New version set.
29363         Add clock_* symbols here.
29364         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29365         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29366         (GLIBC_2.17): Add clock_* symbols.
29367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29369         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29371         Likewise.
29372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29373         Likewise.
29374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29378         * NEWS: Mention the move.
29380         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29381         Use __open, __read, __close rather than their public counterparts.
29382         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29383         (__get_clockfreq_via_cpuinfo): Likewise.
29384         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29385         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29387         * config.h.in (HAVE_IFUNC): New #undef.
29388         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29389         was successful.
29390         * configure: Regenerated.
29392 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29394         * configure.in: Move READELF check to start of file.
29395         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29396         libc_cv_asm_gnu_indirect_function in the process.
29397         * configure: Regenerated.
29399 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29401         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29402         send the output to /dev/null.
29403         (libc_cv_cc_with_libunwind): Likewise.
29404         (libc_cv_as_noexecstack): Likewise.
29405         * configure: Regenerate.
29407 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29409         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29411         * posix/globtest.sh (TMPDIR): Do not set.
29412         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29413         (testout): Likewise.
29415 2012-10-24  Andreas Jaeger  <aj@suse.de>
29417         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29418         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29419         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29420         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29421         posix_fadvise64, posix_fallocate64.
29423         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29424         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29425         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29426         Likewise.
29427         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29428         Likewise.
29429         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29431         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29432         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29433         <bits/fcntl-linux.h>.
29434         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29436         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29437         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29438         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29439         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29440         [__WORDSIZE != 64]: Likewise.
29442 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29444         * Makeconfig (run-built-tests): New variable.
29445         * Rules [$(cross-compiling) = yes]: Change condition to
29446         [$(run-built-tests) = no].
29447         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29448         to [$(run-built-tests) = yes].
29449         * elf/Makefile [$(cross-compiling) = no]: Likewise
29450         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29451         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29452         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29453         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29454         * io/Makefile [$(cross-compiling) = no]: Likewise.
29455         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29456         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29457         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29458         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29459         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29460         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29461         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29462         * string/Makefile [$(cross-compiling) = no]: Likewise.
29464         * posix/Makefile ($(objpfx)globtest.out): Pass
29465         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29466         $(rtld-installed-name).
29467         * posix/globtest.sh (elf_objpfx): Remove variable.
29468         (rtld_installed_name): Likewise.
29469         (library_path): Likewise.
29470         (run_program_prefix): New variable.  Use for running globtest
29471         binary.
29473 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29474             Joseph Myers  <joseph@codesourcery.com>
29476         * Makeconfig (host-built-program-cmd): New variable.
29477         * elf/Makefile (tst-stackguard1-ARGS): Use
29478         $(host-built-program-cmd).
29479         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29480         (tst-spawn-ARGS): Likewise.
29481         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29483 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29484             Jim Blandy  <jimb@codesourcery.com>
29486         * Makeconfig (run-via-rtld-prefix): New variable.
29487         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29488         (built-program-cmd): Likewise.
29490 2012-10-22  Andreas Jaeger  <aj@suse.de>
29492         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29493         __O_RSYNC if it exists, otherwise to O_SYNC.
29495 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29496             Joseph Myers  <joseph@codesourcery.com>
29498         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29499         /dev/null.
29500         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29501         from /dev/null
29502         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29503         /dev/null.
29505 2012-10-22  Andreas Jaeger  <aj@suse.de>
29507         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29508         Define always.
29509         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29512         bits/fcntl-linux.h.
29514         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29515         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29517         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29518         to __O_LARGEFILE.
29519         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29520         to __O_LARGEFILE.
29522 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29523             Joseph Myers  <joseph@codesourcery.com>
29525         * config.make.in (NM): New variable.
29527 2012-10-21  Andreas Jaeger  <aj@suse.de>
29529         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29530         definitions and declarations that are provided by
29531         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29533 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29535         [BZ #14683]
29536         * elf/Makefile (tests-static): Add tst-leaks1-static.
29537         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29538         ($(objpfx)tst-leaks1-static): New rule.
29539         ($(objpfx)tst-leaks1-static-mem): Likewise.
29540         (tst-leaks1-static-ENV): New macro.
29541         * elf/dl-open.c (dl_open_worker): Check the main application
29542         only if SHARED is defined.
29543         * elf/tst-leaks1-static.c: New file.
29545 2012-10-20  Andreas Jaeger  <aj@suse.de>
29547         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29548         generic values for Linux.
29549         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29550         and declarations that are provided by <bits/fcntl-linux.h> and
29551         include <bits/fcntl-linux.h>.
29552         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29555 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29557         * io/fcntl.h: Move include of <bits/types.h> to the top and
29558         include it unconditionally.
29560 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29562         * wcsmbs/Makefile (tests-ifunc): New variable.
29563         (tests): Add $(tests-ifunc).
29564         * wcsmbs/test-wcschr-ifunc.c: New file.
29565         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29566         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29567         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29568         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29569         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29571         * string/Makefile (tests-ifunc): New variable.
29572         (tests): Add $(tests-ifunc).
29573         * string/test-memccpy.c (TEST_NAME): New macro.
29574         * string/test-memchr.c (TEST_NAME): Likewise.
29575         * string/test-memcmp.c (TEST_NAME): Likewise.
29576         * string/test-memcpy.c (TEST_NAME): Likewise.
29577         * string/test-memmem.c (TEST_NAME): Likewise.
29578         * string/test-memmove.c (TEST_NAME): Likewise.
29579         * string/test-memset.c (TEST_NAME): Likewise.
29580         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29581         * string/test-stpcpy.c (TEST_NAME): Likewise.
29582         * string/test-stpncpy.c (TEST_NAME): Likewise.
29583         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29584         * string/test-strcasestr.c (TEST_NAME): Likewise.
29585         * string/test-strcat.c (TEST_NAME): Likewise.
29586         * string/test-strchr.c (TEST_NAME): Likewise.
29587         * string/test-strcmp.c(TEST_NAME): Likewise.
29588         * string/test-strcpy.c (TEST_NAME): Likewise.
29589         * string/test-strcspn.c (TEST_NAME): Likewise.
29590         * string/test-strlen.c (TEST_NAME): Likewise.
29591         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29592         * string/test-strncmp.c (TEST_NAME): Likewise.
29593         * string/test-strncpy.c (TEST_NAME): Likewise.
29594         * string/test-strnlen.c (TEST_NAME): Likewise.
29595         * string/test-strpbrk.c (TEST_NAME): Likewise.
29596         * string/test-strrchr.c (TEST_NAME): Likewise.
29597         * string/test-strspn.c (TEST_NAME): Likewise.
29598         * string/test-strstr.c (TEST_NAME): Likewise.
29599         * string/test-bcopy-ifunc.c: New file.
29600         * string/test-bzero-ifunc.c: Likewise.
29601         * string/test-memccpy-ifunc.c: Likewise.
29602         * string/test-memchr-ifunc.c: Likewise.
29603         * string/test-memcmp-ifunc.c: Likewise.
29604         * string/test-memcpy-ifunc.c: Likewise.
29605         * string/test-memmem-ifunc.c: Likewise.
29606         * string/test-memmove-ifunc.c: Likewise.
29607         * string/test-mempcpy-ifunc.c: Likewise.
29608         * string/test-memset-ifunc.c: Likewise.
29609         * string/test-rawmemchr-ifunc.c: Likewise.
29610         * string/test-stpcpy-ifunc.c: Likewise.
29611         * string/test-stpncpy-ifunc.c: Likewise.
29612         * string/test-strcasecmp-ifunc.c: Likewise.
29613         * string/test-strcasestr-ifunc.c: Likewise.
29614         * string/test-strcat-ifunc.c: Likewise.
29615         * string/test-strchr-ifunc.c: Likewise.
29616         * string/test-strchrnul-ifunc.c: Likewise.
29617         * string/test-strcmp-ifunc.c: Likewise.
29618         * string/test-strcpy-ifunc.c: Likewise.
29619         * string/test-strcspn-ifunc.c: Likewise.
29620         * string/test-strlen-ifunc.c: Likewise.
29621         * string/test-strncasecmp-ifunc.c: Likewise.
29622         * string/test-strncat-ifunc.c: Likewise.
29623         * string/test-strncmp-ifunc.c: Likewise.
29624         * string/test-strncpy-ifunc.c: Likewise.
29625         * string/test-strnlen-ifunc.c: Likewise.
29626         * string/test-strpbrk-ifunc.c: Likewise.
29627         * string/test-strrchr-ifunc.c: Likewise.
29628         * string/test-strspn-ifunc.c: Likewise.
29629         * string/test-strstr-ifunc.c: Likewise.
29631         * debug/Makefile (tests-ifunc): New variable.
29632         (tests): Add $(tests-ifunc).
29633         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29634         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29635         * debug/test-stpcpy_chk-ifunc.c: New file.
29636         * debug/test-strcpy_chk-ifunc.c: Likewise.
29638 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29640         [BZ #13601]
29641         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29642         header is not read in.
29644 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29646         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29647         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29648         directly.  Pass built executable to script as
29649         $(built-program-cmd).
29650         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29651         $testprogram without using LD_LIBRARY_PATH and $ldso.
29653         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29654         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29655         $(rtld-installed-name).
29656         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29657         (rtld_installed_name): Likewise.
29658         (library_path): Likewise.
29659         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29660         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29661         $(run-program-prefix) to tst-tables.sh.
29662         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29663         it to run tst-table-from and tst-table-to.
29664         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29665         Pass it to tst-table.sh.
29666         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29667         $(run-program-prefix) to tst-gettext.sh.
29668         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29669         tst-translit.sh.
29670         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29671         tst-gettext2.sh.
29672         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29673         to run tst-gettext.
29674         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29675         to run tst-gettext2.
29676         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29677         to run tst-translit.
29678         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29679         $(run-program-prefix) to tst-mtrace.sh.
29680         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29681         to run tst-mtrace.
29682         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29683         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29684         $(rtld-installed-name).
29685         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29686         (rtld_installed_name): Likewise.
29687         (run_program_prefix): New variable.  Use it to run wordexp-test.
29689         * Makeconfig (ARCH): Remove all definitions.
29690         (machine): Likewise.
29691         [ARCH]: Remove conditional code.
29692         [!objdir]: Give error.
29693         [!objdir] (objpfx): Remove.
29694         [!objdir] (common-objpfx): Likewise.
29695         [!objdir] (common-objdir): Likewise.
29696         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29697         AC_CONFIG_FILES call.
29698         * configure: Regenerated.
29700         [BZ #13888]
29701         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29702         or TMPDIR.
29703         (testout): Likewise.
29705         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29706         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29707         $(rtld-installed-name).
29708         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29709         (rtld_installed_name): Likwise.
29710         (runit): Remove function.
29711         (run_getconf): New variable,  Use it for running getconf binary.
29713 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29715         [BZ #14716]
29716         * string/test-memmem.c (check_result): New function.
29717         (do_one_test): Use it.
29718         (check1): New function.
29719         (test_main): Use it.
29721 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29723         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29725 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29727         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29728         (_G_LSEEK64): Likewise.
29729         (_G_MMAP64): Likewise.
29730         (_G_FSTAT64): Likewise.
29731         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29732         (_G_LSEEK64): Likewise.
29733         (_G_MMAP64): Likewise.
29734         (_G_FSTAT64): Likewise.
29735         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29736         unconditional.  Call __mmap64 directly.
29737         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29738         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29739         __lseek64 directly.
29740         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29741         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29742         __mmap64 directly.
29743         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29744         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29745         __lseek64 directly.
29746         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29747         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29748         __lseek64 directly.
29749         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29750         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29751         __lseek64 directly.
29752         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29753         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29754         __fxstat64 directly.
29755         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29756         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29757         unconditional.
29758         (freopen64) [!_G_OPEN64]: Remove conditional code.
29759         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29760         unconditional.
29761         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29762         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29763         unconditional.
29764         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29765         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29766         unconditional.
29767         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29768         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29769         unconditional.
29770         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29771         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29772         unconditional.
29773         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29774         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29775         unconditional.
29776         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29777         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29778         unconditional.
29779         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29781 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29783         [BZ #12140]
29784         * manual/memory.texi (Malloc Tunable Parameters): Add note
29785         about free list pointers overwriting some perturb bytes.
29786         Wording suggested by Roland McGrath.
29788 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29790         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29791         (lgamma_test): Likewise.
29792         (tgamma_test): Likewise.
29794 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29796         [BZ #14700]
29797         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29798         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29800 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29802         * NEWS: Mention BZ #14716.
29803         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29804         when removing AVAILABLE1_USES_J macro.
29806 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29808         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29809         (__bswap_64): __uint64_t for unsigned 64-bit int.
29811 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29813         * include/string.h (memmem): Declare libc hidden alias.
29814         * string/memmem.c (memmem): Define libc hidden alias.
29815         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29816         __read, __close instead of open, read, close.
29818 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29820         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29821         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29822         global and hidden.
29823         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29824         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29825         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29826         Likewise.
29827         (__rawmemchr_sse2): Likewise.
29828         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29829         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29830         (__strchr_sse2): Likewise.
29831         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29832         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29833         (__strcasecmp_sse2): Likewise.
29834         (__strncasecmp_sse2): Likewise.
29835         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29836         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29837         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29838         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29839         (__strrchr_sse2): Likewise.
29840         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29841         ifunc-impl-list.c.
29842         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29843         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29844         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29845         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29846         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29847         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29848         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29849         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29850         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29851         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29852         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29853         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29854         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29855         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29856         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29857         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29858         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29859         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29860         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29861         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29862         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29863         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29864         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29865         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29866         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29867         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29868         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29869         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29870         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29871         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29873         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29874         global and hidden.
29875         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29876         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29877         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29878         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29879         Likewise.
29880         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29881         Likewise.
29882         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29883         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29884         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29885         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29886         ifunc-impl-list.c.
29887         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29888         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29889         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29890         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29891         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29892         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29893         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29894         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29895         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29896         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29897         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29898         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29899         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29900         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29901         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29902         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29903         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29904         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29905         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29906         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29907         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29908         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29909         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29910         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29911         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29912         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29913         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29914         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29915         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29916         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29917         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29918         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29919         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29920         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29921         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29922         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29923         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29924         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29925         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29926         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29927         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29929         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29930         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29931         * include/ifunc-impl-list.h: New file.
29932         * misc/ifunc-impl-list.c: Likewise.
29933         * misc/Makefile (routines): Add ifunc-impl-list.
29934         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29935         * string/test-string.h: Include <ifunc-impl-list.h>.
29936         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29937         TEST_NAME]: New variables.
29938         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29939         are defined.
29940         (test_init): Call __libc_ifunc_impl_list to initialize
29941         func_list if TEST_IFUNC and TEST_NAME are defined.
29943         * string/Makefile (strop-tests): Add bcopy and bzero.
29944         * string/test-bcopy.c: New file.
29945         * string/test-bzero.c: Likewise.
29946         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29947         defined.
29948         * string/test-memset.c: Support bzero test if TEST_BZERO is
29949         defined.
29950         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29951         __libc_memmove.
29952         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29953         __libc_memset.
29954         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29955         of memset.
29957 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29959         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29960         * configure: Regenerated.
29962         * Makeconfig (+link-static-before-libc): Don't include
29963         $(link-static-libc).
29965         * libio/libio.h (_IO_pos_t): Remove.
29967 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29969         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29970         McGrath.
29972 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29974         * crypt/crypt-entry.c: Include fips-private.h.
29975         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29976         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29977         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29978         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29980 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29982         * crypt/crypt-private.h: Include stdbool.h.
29983         (_ufc_setup_salt_r): Return bool.
29984         * crypt/crypt-entry.c: Include errno.h.
29985         (__crypt_r): Return NULL with EINVAL for bad salt.
29986         * crypt/crypt_util.c (bad_for_salt): New.
29987         (_ufc_setup_salt_r): Check that salt is long enough and within
29988         the specified alphabet.
29989         * crypt/badsalttest.c: New file.
29990         * crypt/Makefile (tests): Add it.
29991         ($(objpfx)badsalttest): New.
29993 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29995         * NEWS: Add entry for BZ #14602.
29997 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29999         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30000         type-generic.
30001         * math/libm-test.inc: Update comment listing what functions and
30002         macros are tested.
30003         (isgreater_test): New function.
30004         (isgreaterequal_test): Likewise.
30005         (isless_test): Likewise.
30006         (islessequal_test): Likewise.
30007         (islessgreater_test): Likewise.
30008         (isunordered_test): Likewise.
30009         (main): Call the new functions.
30011 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30013         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30014         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30015         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30016         * sysdeps/i386/configure: Regenerated.
30017         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30018         * sysdeps/mach/configure: Regenerated.
30019         * sysdeps/mach/hurd/configure: Regenerated.
30020         * sysdeps/powerpc/configure: Regenerated.
30021         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30022         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30023         * sysdeps/s390/s390-32/configure: Regenerated.
30024         * sysdeps/s390/s390-64/configure: Regenerated.
30025         * sysdeps/sh/configure: Regenerated.
30026         * sysdeps/sparc/configure: Regenerated.
30027         * sysdeps/unix/sysv/linux/configure: Regenerated.
30028         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30029         * sysdeps/x86_64/configure: Regenerated.
30031         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30032         defined.  Don't check if MAP is NULL.
30034 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30036         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30037         (_G_stat64): Likewise.
30038         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30039         (_G_stat64): Likewise.
30040         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30041         instead of struct _G_stat64.
30042         * libio/fileops.c (mmap_remap_check): Likewise.
30043         (decide_maybe_mmap): Likewise.
30044         (_IO_new_file_seekoff): Likewise.
30045         (_IO_file_stat): Likewise.
30046         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30047         _G_off64_t.
30048         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30049         instead of struct _G_stat64.
30050         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30052 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30054         [BZ #14602]
30055         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30056         Replace with ...
30057         (CHECK_EOL): New macro.
30058         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30059         CHECK_EOL.
30060         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30061         Replace with CHECK_EOL.
30062         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30063         Replace with CHECK_EOL.
30065 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30067         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30068         type-generic.
30069         * math/libm-test.inc: Update comment listing what functions and
30070         macros are tested.
30071         (finite_test): New function.
30072         (isinf_test): Likewise.
30073         (isnan_test): Likewise.
30074         (fpclassify_test): Test subnormal input.
30075         (isfinite_test): Likewise.
30076         (isnormal_test): Likewise.
30077         (main): Call the new functions.
30079 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30081         [BZ #14660]
30082         * Makerules (%.dynsym): Force C locale when running
30083         $(OBJDUMP) --dynamic-syms.
30085 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30087         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30088         <stdint.h>.
30090 2012-10-06  David S. Miller  <davem@davemloft.net>
30092         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30093         upper 32-bits of the length value in %o2 since we use branch-on-register
30094         tests which consider the entire 64-bit register.
30096 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30098         * string/test-strstr.c (check2): Add a test for page boundary.
30100 2012-10-05  David S. Miller  <davem@davemloft.net>
30102         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30103         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30104         file.
30105         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30106         sysdep_routines.
30107         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30108         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30109         and bzero when HWCAP_SPARC_CRYPTO is present.
30111 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30113         [BZ #14602]
30114         * string/test-strstr.c (check2): New function.
30115         (test_main): Call check2.
30117         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30118         and bug-strchr1.
30119         * string/bug-strcasestr1.c (do_test): Moved to ...
30120         * string/test-strcasestr.c (check1): Here.  New function.
30121         (do_one_test): Break out result checking code into ...
30122         (check_result): This.  New function.
30123         (do_one_test): Call check_result.
30124         (test_main): Call check1.
30125         * string/bug-strchr1.c (do_test): Moved to ...
30126         * string/test-strchr.c (check1): Here.  New function.
30127         (do_one_test): Break out result checking code into ...
30128         (check_result): This.  New function.
30129         (do_one_test): Call check_result.
30130         (test_main): Call check1.
30131         * string/bug-strstr1.c (main): Moved to ...
30132         * string/test-strstr.c (check1): Here.  New function.
30133         (do_one_test): Break out result checking code into ...
30134         (check_result): This.  New function.
30135         (do_one_test): Call check_result.
30136         (test_main): Call check1.
30137         * string/bug-strcasestr1.c: Removed.
30138         * string/bug-strchr1.c: Likewise.
30139         * string/bug-strstr1.c: Likewise.
30141         * elf/Makefile (dl-routines): Add hwcaps.
30142         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30143         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30144         (_dl_important_hwcaps): Moved to ...
30145         * elf/dl-hwcaps.c: Here.  New file.
30146         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30148         [BZ #14557]
30149         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30150         if IS_IN_rtld isn't defined.
30152         * elf/dl-support.c (_dl_sysinfo_map): New.
30153         Include "get-dynamic-info.h" and "setup-vdso.h".
30154         (_dl_non_dynamic_init): Call setup_vdso.
30155         * elf/dynamic-link.h: Don't include <assert.h>.
30156         (elf_get_dynamic_info): Moved to ...
30157         * elf/get-dynamic-info.h: Here.  New file.
30158         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30159         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30160         * elf/setup-vdso.h: Here.  New file.
30161         * elf/rtld.c: Include "setup-vdso.h".
30162         (dl_main): Call setup_vdso.
30164 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30166         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30167         creal in comment listing functions tested.  List finite, isinf,
30168         isnan, isless, islessequal, isgreater, isgreaterequal,
30169         islessgreater, isunordered, lgamma_r and pow10 as functions and
30170         macros not tested.  Mention which functions not tested are aliases
30171         for other functions.  Fix typo.  Note that signs of NaNs are not
30172         tested.
30174         * scripts/config.guess: Update from config.git.
30175         * scripts/config.sub: Likewise.
30177 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30179         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30180         * misc/madvise.c (madvise): Renamed to __madvise.
30181         Make madvise a weak alias.
30182         * include/sys/mman.h: Declare __madvise.
30183         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30184         * sysdeps/unix/syscalls.list
30185         (madvise): Make __madvise the strong name, and madvise a weak alias.
30186         * sysdeps/unix/sysv/linux/syscalls.list
30187         (madvise, mmap): Remove redundant entries.
30188         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30189         * malloc/malloc.c (mtrim): Likewise.
30190         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30192 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30194         * sysdeps/mach/hurd/dl-cache.c: File removed.
30195         * config.h.in (USE_LDCONFIG): New #undef.
30196         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30197         * configure: Regenerated.
30198         * elf/Makefile (dl-routines): Add dl-cache only under
30199         [$(use-ldconfig) = yes].
30200         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30201         cache on [USE_LDCONFIG].
30202         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30203         [USE_LDCONFIG].
30204         * elf/rtld.c (dl_main): Likewise.
30206 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30208         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30209         _SC_LEVEL4_CACHE_LINESIZE.
30211 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30213         * sysdeps/unix/bsd/confstr.h: File removed.
30215 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30217         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30218         sys/sdt-config.h.
30220 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30222         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30223         Make 'mapoff' field ElfW(Off) rather than off_t.
30225 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30227         * nscd/Makefile: Remove nscd-cflags and all its users.
30228         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30229         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30231         [BZ #10631]
30232         * malloc.c (malloc_printerr): Clarify error message.
30234 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30236         [BZ #14648]
30237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30238         Set bit_FMA_Usable if FMA is supported.
30239         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30240         macro.
30241         (bit_FMA4_Usable): Updated.
30242         (index_FMA_Usable): New macro.
30243         (CPUID_FMA): Likewise
30244         (HAS_FMA): Defined with bit_FMA_Usable.
30246 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30248         * bits/types.h (__swblk_t): Type removed.
30249         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30250         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30251         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30252         (__SWBLK_T_TYPE): Likewise.
30253         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30254         (__SWBLK_T_TYPE): Likewise.
30255         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30256         (__SWBLK_T_TYPE): Likewise.
30257         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30258         (__SWBLK_T_TYPE): Likewise.
30260 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30261             Honza Horak <hhorak@redhat.com>
30263         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30264         (xdr_mapname): Use YPMAXMAP as maxsize.
30265         (xdr_peername): Use YPMAXPEER as maxsize.
30266         (xdr_keydat): Use YPAXRECORD as maxsize.
30267         (xdr_valdat): Use YPMAXRECORD as maxsize.
30269 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30271         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30273         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30274         * csu/init-first.c: ... here.
30275         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30276         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30277         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30278         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30279         * sysdeps/i386/init-first.c: File removed.
30280         * sysdeps/sh/init-first.c: File removed.
30282 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30284         [BZ #14645]
30285         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30286         if x * y might underflow to zero and z is zero.
30287         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30288         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30289         * math/libm-test.inc (min_subnorm_value): New variable.
30290         (fma_test): Add more tests.
30291         (fma_test_towardzero): Likewise.
30292         (fma_test_downward): Likewise
30293         (fma_test_upward): Likewise.
30294         (initialize): Set min_subnorm_value.
30296 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30298         [BZ #14638]
30299         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30300         0 + 0.
30301         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30302         mode for addition resulting in exact zero.
30303         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30305         exact 0 + 0.
30306         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30308         * math/libm-test.inc (fma_test): Add more tests.
30309         (fma_test_towardzero): New function.
30310         (fma_test_downward): Likewise.
30311         (fma_test_upward): Likewise.
30312         (main): Call the new functions.
30314 2012-09-28  David S. Miller  <davem@davemloft.net>
30316         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30318 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30320         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30321         instead of SIGALRM.
30323         * sysdeps/gnu/_G_config.h: Moved to ...
30324         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30325         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30326         * sysdeps/generic/_G_config.h: ... here.
30328         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30330         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30332         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30333         Conditionalize target on [libnss_test1.so-version].
30335         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30337         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30338         (elfobjdir): Move out of conditionals.
30340         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30341         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30342         (__nss_lookup_function): Conditionalize label remove_from_tree on
30343         [!DO_STATIC_NSS || SHARED], matching its only use.
30345 2012-09-28  David S. Miller  <davem@davemloft.net>
30347         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30348         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30349         file.
30350         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30351         sysdep_routines.
30352         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30353         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30354         when HWCAP_SPARC_CRYPTO is present.
30356 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30358         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30360 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30362         [BZ #6530]
30363         * stdio-common/vfprintf.c (process_string_arg): Revert
30364         2000-07-22 change.
30366 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30368         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30369         for testcase.
30370         * stdio-common/tst-sprintf.c: Include <locale.h>
30371         (main): Test sprintf's handling of incomplete multibyte
30372         characters.
30374 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30376         * elf/dl-runtime.c (VERSYMIDX): Removed.
30377         * elf/dl-version.c (VERSYMIDX): Likewise.
30378         * elf/do-rel.h (VERSYMIDX): Likewise.
30379         (VALIDX): Likewise.
30380         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30381         * elf/rtld.c (VALIDX): Likewise.
30382         (ADDRIDX): Likewise.
30383         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30384         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30385         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30386         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30387         (VALIDX): Likewise.
30388         (ADDRIDX): Likewise.
30390 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30392         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30394 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30396         [BZ #11438]
30397         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30398         to global scope.
30399         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30400         addresses are in the same scope as 192.0.2/24.
30401         * posix/gai.conf: Document new scope table defaults.
30403 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30405         [BZ #5298]
30406         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30407         for ftell.  Compute offsets from write pointers instead.
30408         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30410 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30412         [BZ #14543]
30413         * libio/Makefile (tests): New test case tst-fseek.
30414         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30415         combination works in wide mode.
30416         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30417         state when the external buffer state changes.
30419 2012-09-27  David S. Miller  <davem@davemloft.net>
30421         [BZ #14376]
30422         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30423         pass reloc->r_addend in as the 'high' argument to
30424         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30428 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30430         * rt/tst-aio2.c: Include <pthread.h>.
30431         * rt/tst-aio3.c: Likewise.
30433 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30435         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30437 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30439         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30440         contents on [SHARED].
30442 2012-09-26  Marek Polacek  <polacek@redhat.com>
30444         [BZ #14530]
30445         [BZ #13741]
30446         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30447         for C++ and GCC <4.3 as well as for non GCC compilers.
30449 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30453 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30455         * Makefile.in (all, install): Declare with .PHONY.
30456         Reported by Michael Hope <michael.hope@linaro.org>.
30458 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30460         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30461         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30462         system header.
30463         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30464         Likewise.
30465         (sydep_routines): Add the new and the internal functions.
30466         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30467         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30469         (GLIBC_2.17): Add the new function.
30470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30471         (GLIBC_2.17): Likewise.
30472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30473         (GLIBC_2.17): Likewise.
30474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30475         (GLIBC_2.17): Likewise.
30476         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30478 2012-09-25  Alan Modra  <amodra@gmail.com>
30480         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30481         Add release barrier before setting once_control to say
30482         initialisation is done.  Add hints on lwarx.  Use macro in
30483         place of isync.
30484         (clear_once_control): Add release barrier.
30486 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30488         [BZ #13629]
30489         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30490         specially.
30491         * math/s_clog10.c (__clog10): Likewise.
30492         * math/s_clog10f.c (__clog10f): Likewise.
30493         * math/s_clog10l.c (__clog10l): Likewise.
30494         * math/s_clogf.c (__clogf): Likewise.
30495         * math/s_clogl.c (__clogl): Likewise.
30496         * math/Makefile (libm-calls): Add x2y2m1.
30497         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30498         (__x2y2m1): Likewise.
30499         (__x2y2m1l): Likewise.
30500         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30501         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30502         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30503         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30504         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30505         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30506         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30507         * sysdeps/i386/fpu/libm-test-ulps: Update.
30508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30510         [BZ #14621]
30511         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30512         int as type of variable DEPTH.
30513         (glob): Use size_t instead of int as type of variables NEWCOUNT
30514         and OLD_PATHC.
30516 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30518         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30519         Add s_sincosf-sse2.
30520         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30521         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30522         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30523         macros for using routine as __sincosf_ia32.
30524         Use macro for function declaration and weak_alias.
30525         * sysdeps/i386/fpu/libm-test-ulps: Update.
30527         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30530         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30531         subnormal argument.
30532         * math/s_cexpf.c (__cexpf): Likewise.
30533         * math/s_csinf.c (__csinf): Likewise.
30534         * math/s_csinhf.c (__csinhf): Likewise.
30535         * math/s_ctanf.c (__ctanf): Likewise.
30536         * math/s_ctanhf.c (__ctanhf): Likewise.
30537         * math/s_ccosh.c (__ccoshf): Likewise.
30538         * math/s_cexp.c (__cexpl): Likewise.
30539         * math/s_csin.c (__csin): Likewise.
30540         * math/s_csinh.c (__csinh): Likewise.
30541         * math/s_ctan.c (__ctan): Likewise.
30542         * math/s_ctanh.c (ctanh): Likewise.
30543         * math/s_ccoshl.c (__ccoshl): Likewise.
30544         * math/s_cexpl.c (__cexpl): Likewise.
30545         * math/s_csinl.c (__csinl): Likewise.
30546         * math/s_csinhl.c (__csinhl): Likewise.
30547         * math/s_ctanl.c (__ctanl): Likewise.
30548         * math/s_ctanhl.c (__ctanhl): Likewise.
30550 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30552         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30553         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30554         (_IO_off_t): Define to __off_t, not _G_off_t.
30555         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30556         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30557         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30558         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30559         type of __dummy and __dummy2 fields.
30560         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30561         (_G_ssize_t): Likewise.
30562         (_G_off_t): Likewise.
30563         (_G_pid_t): Likewise.
30564         (_G_uid_t): Likewise.
30565         (_G_wchar_t): Likewise.
30566         (_G_wint_t): Likewise.
30567         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30568         (_G_ssize_t): Likewise.
30569         (_G_off_t): Likewise.
30570         (_G_pid_t): Likewise.
30571         (_G_uid_t): Likewise.
30572         (_G_wchar_t): Likewise.
30573         (_G_wint_t): Likewise.
30574         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30575         (_G_ssize_t): Likewise.
30576         (_G_off_t): Likewise.
30577         (_G_pid_t): Likewise.
30578         (_G_uid_t): Likewise.
30579         (_G_wchar_t): Likewise.
30580         (_G_wint_t): Likewise.
30582 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30584         * malloc/arena.c: Include malloc-sysdep.h.
30585         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30586         is sufficient to shrink the heap or an unmap is needed.
30587         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30588         new function check_may_shrink_heap.
30589         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30590         new function check_may_shrink_heap.
30592 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30594         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30595         comments.
30597 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30599         * catgets/test-gencat.sh: Add "set -e".
30600         * elf/tst-pathopt.sh: Likewise.
30601         * grp/tst_fgetgrent.sh: Likewise.
30602         * iconvdata/run-iconv-test.sh: Likewise.
30603         * intl/tst-gettext.sh: Likewise.
30604         * intl/tst-gettext2.sh: Likewise.
30605         * intl/tst-gettext4.sh: Likewise.
30606         * intl/tst-gettext6.sh: Likewise.
30607         * intl/tst-translit.sh: Likewise.
30608         * io/ftwtest-sh: Likewise.
30609         * libio/test-freopen.sh: Likewise.
30610         * malloc/tst-mtrace.sh: Likewise.
30611         * posix/globtest.sh: Likewise.
30612         * posix/tst-getconf.sh: Likewise.
30613         * posix/wordexp-tst.sh: Likewise.
30614         * stdio-common/tst-printf.sh: Likewise.
30615         * stdio-common/tst-unbputc.sh: Likewise.
30616         * stdlib/tst-fmtmsg.sh: Likewise.
30617         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30618         * catgets/Makefile: Do not specify -e option when running
30619         testsuite shell scripts.
30620         * elf/Makefile: Likewise.
30621         * grp/Makefile: Likewise.
30622         * iconvdata/Makefile: Likewise.
30623         * intl/Makefile: Likewise.
30624         * io/Makefile: Likewise.
30625         * libio/Makefile: Likewise.
30626         * malloc/Makefile: Likewise.
30627         * posix/Makefile: Likewise.
30628         * stdio-common/Makefile: Likewise.
30629         * stdlib/Makefile: Likewise.
30630         * sysdeps/x86_64/Makefile: Likewise.
30632         * io/ftwtest-sh: Add copyright header.
30633         * posix/globtest.sh: Likewise.
30634         * posix/tst-getconf.sh: Likewise.
30635         * posix/wordexp-tst.sh: Likewise.
30636         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30638 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30640         [BZ #13679]
30641         * Makeconfig (+link): Defined as $(+link-static) if
30642         $(build-shared) isn't yes.
30643         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30644         isn't yes.
30645         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30647         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30649         [BZ #14562]
30650         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30651         new chunk size with MALLOC_ALIGN_MASK.
30653 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30655         [BZ #5044]
30656         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30657         <rounding-mode.h>.
30658         (__printf_fphex): Determine rounding using get_rounding_mode and
30659         round_away.
30660         * stdio-common/tst-printf-round.c (struct hex_test): New
30661         structure.
30662         (hex_tests): New variable.
30663         (test_hex_in_one_mode): New function.
30664         (do_test): Also run tests for hex float output.
30666 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30668         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30669         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30670         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30671         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30672         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30673         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30674         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30675         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30677 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30679         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30680         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30681         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30682         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30684 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30686         [BZ #14579]
30687         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30688         mode only.
30689         * elf/tst-rtld-load-self.sh: New test.
30690         * elf/Makefile: Run it.
30692 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30694         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30695         (tst-writev-ENV): Remove.
30696         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30698 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30700         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30702 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30704         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30705         unconditional.
30706         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30707         Likewise.
30708         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30709         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30710         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30711         Likewise.
30713 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30715         [BZ #14587]
30716         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30717         * config.make.in (have-cpp-asm-debuginfo): Removed.
30718         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30719         * configure: Regenerated.
30721 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30723         [BZ #5044]
30724         * stdio-common/printf_fp.c: Include <stdbool.h> and
30725         <rounding-mode.h>.
30726         (___printf_fp): Determine rounding using get_rounding_mode and
30727         round_away.
30728         * stdio-common/tst-printf-round.c: New file.
30729         * stdio-common/Makefile (tests): Add tst-printf-round.
30730         (link-libm): New variable.
30731         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30733 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30735         [BZ #14576]
30736         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30737         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30738         Likewise.
30739         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30740         Likewise.
30742 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30744         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30745         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30746         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30747         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30749 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30751         [BZ #14518]
30752         * include/rounding-mode.h: New file.
30753         * sysdeps/generic/get-rounding-mode.h: Likewise.
30754         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30755         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30756         (MAX_VALUE): New macro.
30757         (MIN_VALUE): Likewise.
30758         (overflow_value): New function.
30759         (underflow_value): Likewise.
30760         (round_and_return): Use overflow_value and underflow_value to
30761         determine return values in overflow and underflow cases.  Use
30762         round_away to determine rounding depending on rounding mode.
30763         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30764         determine return values in overflow and underflow cases.
30765         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30766         (struct test_results): New structure.
30767         (struct test): Use struct test_results to store expected results
30768         for all rounding modes.
30769         (TEST): Include expected results for all rounding modes.
30770         (test_in_one_mode): New function.
30771         (do_test): Use test_in_one_mode to compute and check results.
30772         Check results for all rounding modes.
30773         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30774         $(link-libm).
30776 2012-12-09  Allan McRae  <allan@archlinux.org>
30778         * sysdeps/i386/fpu/libm-test-ulps: Update
30780 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30782         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30783         (_G_int32_t): Likewise.
30784         (_G_uint16_t): Likewise.
30785         (_G_uint32_t): Likewise.
30786         (_G_HAVE_BOOL): Likewise.
30787         (_G_HAVE_ATEXIT): Likewise.
30788         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30789         (_G_HAVE_IO_FILE_OPEN): Likewise.
30790         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30791         (_G_int32_t): Likewise.
30792         (_G_uint16_t): Likewise.
30793         (_G_uint32_t): Likewise.
30794         (_G_HAVE_BOOL): Likewise.
30795         (_G_HAVE_ATEXIT): Likewise.
30796         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30797         (_G_HAVE_IO_FILE_OPEN): Likewise.
30798         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30799         (_G_int32_t): Likewise.
30800         (_G_uint16_t): Likewise.
30801         (_G_uint32_t): Likewise.
30802         (_G_HAVE_BOOL): Likewise.
30803         (_G_HAVE_ATEXIT): Likewise.
30804         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30805         (_G_HAVE_IO_FILE_OPEN): Likewise.
30807 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30809         * csu/libc-tls.c: Update copyright years.
30811 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30813         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30814         [!_G_USING_THUNKS]: Remove conditional code.
30815         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30816         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30818         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30819         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30820         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30821         (_G_VTABLE_LABEL_PREFIX): Likewise.
30822         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30823         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30824         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30825         (_G_VTABLE_LABEL_PREFIX): Likewise.
30826         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30827         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30828         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30829         (_G_VTABLE_LABEL_PREFIX): Likewise.
30830         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30832 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30834         * libio/Makefile: Include ../Makeconfig before tests.
30835         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30836         only if $(build-shared) is yes.
30838         * iconv/gconv_db.c: Update copyright years.
30840 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30842         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30843         unwind info if defined PIC. Fix special cases description.
30844         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30846         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30847         DP_HI_MASK entry.
30848         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30850 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30852         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30854         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30855         is NULL.
30857         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30858         (LDLIBS-tst-chk4): This.
30859         (LDFLAGS-tst-chk5): Renamed to ...
30860         (LDLIBS-tst-chk5): This.
30861         (LDFLAGS-tst-chk6): Renamed to ...
30862         (LDLIBS-tst-chk6): This.
30863         (LDFLAGS-tst-lfschk4): Renamed to ...
30864         (LDLIBS-tst-lfschk4): This.
30865         (LDFLAGS-tst-lfschk5): Renamed to ...
30866         (LDLIBS-tst-lfschk5): This.
30867         (LDFLAGS-tst-lfschk6): Renamed to ...
30868         (LDLIBS-tst-lfschk6): This.
30870         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30871         on $(common-objpfx)soversions.mk.
30873 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30875         [BZ #10014]
30876         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30877         example host name.
30879 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30881         * malloc/arena.c (arena_get_retry): New function that gets
30882         another arena for the caller to try its request on.
30883         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30884         current arena cannot fulfill the request.
30885         (__libc_memalign): Likewise.
30886         (__libc_memalign): Likewise.
30887         (__libc_pvalloc): Likewise.
30888         (__libc_calloc): Likewise.
30890 2012-09-05  John Tobey  <john.tobey@gmail.com>
30892         [BZ #13542]
30893         * manual/arith.texi (Operations on Complex): Fix description
30894         of carg branch cut.
30896 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30898         [BZ #10014]
30899         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30900         host name.
30902         [BZ #10038]
30903         * manual/memory.texi (Memory): Make order of menu items match
30904         order of sections.
30906 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30908         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30909         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30910         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30912 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30914         * csu/libc-tls.c (static_dtv): Renamed to ...
30915         (_dl_static_dtv): This.  Make it global.
30916         (_dl_initial_dtv): Removed.
30917         (__libc_setup_tls): Updated.
30918         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30919         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30920         DL_INITIAL_DTV.
30922 2012-09-06  Petr Machata  <pmachata@redhat.com>
30924         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30925         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30926         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30927         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30929 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30931         [BZ #14545]
30932         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30933         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30934         freeing dtv[-1].
30936 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30938         [BZ #14544]
30939         * Makeconfig (link-static-before-libc): Replace $(+prector)
30940         with $(+prectorT).
30941         (link-static-after-libc): Replace $(+postctor) with
30942         $(+postctorT).
30943         (link-bounded): Replace $(+prector)/$(+postctor) with
30944         $(+prectorT)/$(+postctorT).
30945         (+prectorT): New macro.
30946         (+postctorT): Likewise.
30948 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30950         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30951         (round_str): Handle values above the maximum for IBM long double
30952         as inexact.
30953         * stdlib/tst-strtod-round.c (tests): Regenerated.
30955 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30957         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30958         assembler flag.
30959         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30960         zarch_nohighgprs around the zarch optimized routines.
30961         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30962         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30963         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30964         for zarch.
30966 2012-09-05  David S. Miller  <davem@davemloft.net>
30968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30970         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30971         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30972         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30973         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30974         entries.
30976 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30978         * malloc/arena.c: Fold copyright years.
30979         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30981 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30983         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30985 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30987         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30989 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30991         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30992         change internal state upon failure.
30994 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30996         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30997         * malloc/memusage.c (mmap): Likewise.
30998         (mmap64, mremap): Likewise.  Adjust name in comment.
31000 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31002         * libio/fileops.c: Fix typos in comments.
31003         * libio/oldfileops.c: Likewise.
31004         * libio/wfileops.c: Likewise.
31006 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31008         [BZ #1349]
31009         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31010         (tst-malloc-usable-ENV): Set environment for test case.
31011         * malloc/hooks.c (malloc_check_get_size): New function to get
31012         requested size.
31013         * malloc/malloc.c (musable): Use malloc_check_get_size.
31014         * malloc/tst-malloc-usable.c: New test case.
31016 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31018         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31020 2012-09-05  Allan McRae  <allan@archlinux.org>
31022         [BZ #13966]
31023         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31024         determine header location.
31025         * configure: Regenerated.
31027 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31029         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31030         float format.
31031         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31032         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31033         format.
31034         (test): Regenerate.
31036 2012-09-04  David S. Miller  <davem@davemloft.net>
31038         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31039         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31040         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31042 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31044         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31045         failures.
31047         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31049 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31051         [BZ #9914]
31052         * libio/iogetdelim.c: Include <limits.h>.
31053         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31054         + len + 1 would overflow.
31056 2012-09-03  Andreas Jaeger  <aj@suse.de>
31058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31059         * sysdeps/i386/fpu/libm-test-ulps: Update.
31061 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31063         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31064         Add s_sinf-sse2, s_conf-sse2.
31066         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31067         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31068         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31069         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31071         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31072         for using routine as __sinf_ia32.
31073         Use macro for function declaration and weak_alias.
31074         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31075         for using routine as __cosf_ia32.
31076         Use macro for function declaration and weak_alias.
31078         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31079         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31081         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31082         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31085         * math/libm-test.inc (cos_test): Add more test cases.
31086         (sin_test): Likewise.
31087         (sincos_test): Likewise.
31089 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31091         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31092         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31093         hidden.
31094         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31096 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31098         [BZ #14538]
31099         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31100         first element of the GOT.
31101         (elf_machine_load_address): Return the difference between
31102         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31104 2012-09-01  Allan McRae  <allan@archlinux.org>
31106         [BZ #13412]
31107         * configure.in (AWK): Require gawk version 3.0 or later.
31108         * configure: Regenerated.
31110 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31112         * sysdeps/unix/sysv/linux/kernel-features.h
31113         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31114         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31115         [__NR_clock_getres]: Make code unconditional.
31116         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31117         (clock_getcpuclockid): Remove code left unreachable by removal of
31118         conditionals.
31119         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31120         code unconditional.
31121         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31122         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31123         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31124         Make code unconditional.
31125         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31126         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31127         * sysdeps/unix/sysv/linux/clock_settime.c
31128         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31129         conditional code.
31130         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31131         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31133 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31135         [BZ #14476]
31136         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31137         scripts/test-installation.pl.
31139         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31140         and $ld_so_version if it is set.
31142 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31144         [BZ #14516]
31145         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31146         failure if reading from procfs failed.
31147         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31149 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31151         * sysdeps/unix/sysv/linux/kernel-features.h
31152         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31153         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31154         Remove conditional code.
31155         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31156         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31157         Remove conditional code.
31158         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31159         * sysdeps/unix/sysv/linux/i386/fxstat.c
31160         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31161         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31162         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31163         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31164         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31165         * sysdeps/unix/sysv/linux/i386/lxstat.c
31166         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31167         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31168         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31169         Remove conditional code.
31170         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31171         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31172         Remove conditional code.
31173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31174         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31175         <kernel-features.h>.
31176         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31177         Remove.
31178         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31179         Remove conditional code.
31180         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31181         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31182         Remove conditional.
31184 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31186         [BZ #5400]
31187         * NEWS: Add fixed bug number.
31189 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31191         [BZ #14519]
31192         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31193         underflowing exponent in case of negative sign.
31194         * stdlib/tst-strtod-round-data: Add more tests.
31195         * stdlib/tst-strtod-round.c (tests): Regenerated.
31197         [BZ #3479]
31198         * stdlib/strtod_l.c (NDIG): Remove.
31199         (HEXNDIG): Likewise.
31200         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31201         smallest representable value.
31202         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31203         lie within an exact representation of 1/2 ulp of the result.
31204         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31205         unconditionally.
31206         (TENS_P9_IDX): Define unconditionally.
31207         (TENS_P9_SIZE): Likewise.
31208         (TENS_P10_IDX): Likewise.
31209         (TENS_P10_SIZE): Likewise.
31210         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31211         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31212         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31213         entries for 10^2^13 and 10^2^14.
31214         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31215         (TENS_P13_IDX): Define.
31216         (TENS_P13_SIZE): Likewise.
31217         (TENS_P14_IDX): Likewise.
31218         (TENS_P14_SIZE): Likewise.
31219         (_fpioconst_pow10): Change array size to
31220         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31221         unconditional.
31222         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31223         1024]: Add entries for 10^2^13 and 10^2^14.
31224         [LAST_POW10 > _LAST_POW10]: Remove #error.
31225         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31226         (_fpioconst_pow10): Change array size to
31227         FPIOCONST_POW10_ARRAY_SIZE.
31228         * stdlib/gen-fpioconst.c: New file.
31229         * stdlib/gen-tst-strtod-round.c: Likewise.
31230         * stdlib/tst-strtod-round-data: Likewise.
31231         * stdlib/tst-strtod-round.c: Likewise.
31232         * stdlib/Makefile (tests): Add tst-strtod-round.
31234         [BZ #14459]
31235         * stdlib/strtod_l.c: Include <stdint.h>.
31236         (NDEBUG): Do not define.
31237         (round_and_return): Change EXPONENT parameter to type intmax_t.
31238         Rearrange calculations to avoid internal overflow possibilities.
31239         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31240         Rearrange calculations to avoid internal overflow possibilities.
31241         Assert that number fits inside MPNSIZE limbs.
31242         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31243         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31244         calculations and add assertions to avoid internal overflow
31245         possibilities.  Add casts to avoid signed/unsigned operations.
31246         * stdlib/tst-strtod-overflow.c: New file.
31247         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31249 2012-08-25  Marek Polacek  <polacek@redhat.com>
31251         * time/time.h: Fix some typos in comments.
31253 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31255         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31256         * posix/tst-rfc3484-2.c: Likewise.
31257         * posix/tst-rfc3484-3.c: Likewise.
31259 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31261         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31262         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31264 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31266         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31267         #include of fxstatat64.c.
31269 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31271         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31272         * shadow/getspent_r.c: Likewise.
31273         * shadow/getspnam.c: Likewise.
31274         * shadow/getspnam_r.c: Likewise.
31275         * gshadow/getsgent.c: Likewise.
31276         * gshadow/getsgent_r.c: Likewise.
31277         * gshadow/getsgnam.c: Likewise.
31278         * gshadow/getsgnam_r.c: Likewise.
31279         * inet/getnetbyad.c: Likewise.
31280         * inet/getnetbyad_r.c: Likewise.
31281         * inet/getnetbynm.c: Likewise.
31282         * inet/getnetbynm_r.c: Likewise.
31283         * inet/getnetent.c: Likewise.
31284         * inet/getnetent_r.c: Likewise.
31285         * inet/getproto.c: Likewise.
31286         * inet/getproto_r.c: Likewise.
31287         * inet/getprtent.c: Likewise.
31288         * inet/getprtent_r.c: Likewise.
31289         * inet/getprtname.c: Likewise.
31290         * inet/getprtname_r.c: Likewise.
31291         * inet/getrpcbyname.c: Likewise.
31292         * inet/getrpcbyname_r.c: Likewise.
31293         * inet/getrpcbynumber.c: Likewise.
31294         * inet/getrpcbynumber_r.c: Likewise.
31295         * inet/getrpcent.c: Likewise.
31296         * inet/getrpcent_r.c: Likewise.
31297         * inet/getaliasent.c: Likewise.
31298         * inet/getaliasent_r.c: Likewise.
31299         * inet/getaliasname.c: Likewise.
31300         * inet/getaliasname_r.c: Likewise.
31301         * nscd/getgrgid_r.c: Likewise.
31302         * nscd/getgrnam_r.c: Likewise.
31303         * nscd/gethstbyad_r.c: Likewise.
31304         * nscd/gethstbynm3_r.c: Likewise.
31305         * nscd/getpwnam_r.c: Likewise.
31306         * nscd/getpwuid_r.c: Likewise.
31307         * nscd/getsrvbynm_r.c: Likewise.
31308         * nscd/getsrvbypt_r.c: Likewise.
31309         * nscd/gai.c: Likewise.
31311         * configure.in (build_nscd): New substituted variable, set
31312         by --disable-build-nscd and defaults to $use_nscd.
31313         * configure: Regenerated.
31314         * config.make.in (build-nscd): New substituted variable.
31315         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31316         Change conditional to require [$(build-nscd) = yes] as well.
31317         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31319         [BZ# 13696]
31320         * configure.in (use_nscd): New substituted variable, set by
31321         --disable-nscd.  If enabled, define USE_NSCD.
31322         * configure: Regenerated.
31323         * config.h.in: Add USE_NSCD.
31324         * config.make.in (use-nscd): New substituted variable.
31325         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31326         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31327         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31328         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31329         (CFLAGS-getgrnam_r.c): Likewise.
31330         (CFLAGS-initgroups.c): Likewise.
31331         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31332         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31333         Variables removed.
31334         * inet/getnetgrent_r.c
31335         (nscd_setnetgrent): New function, broken out of ...
31336         (setnetgrent): ... here.  Call it.
31337         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31338         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31339         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31340         * nscd/Makefile (routines, aux): Move definitions after include of
31341         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31342         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31343         Conditionalize on [USE_NSCD].
31344         (is_nscd, nscd_init_cb): Likewise.
31345         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31346         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31347         * nss/nss_db/db-init.c: Likewise.
31348         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31349         [USE_NSCD].
31350         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31351         (make_request): Use it.
31352         (cache_valid_p): New function.
31353         (__check_pf): Use it.
31354         * NEWS: Add item for --disable-nscd.
31356 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31358         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31359         to support sed >= 4.2.1-20-ga9bf076.
31360         * configure: Regenerated.
31362 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31364         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31365         Conditionalize whole body on [IREL].
31367 2012-08-22  Jeff Law <law@redhat.com>
31369         [BZ #14505]
31370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31371         if the family is PF_UNSPEC.
31373 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31375         * Makerules (lib-version): Rename from V.
31376         (install-lib-nosubdir): Change V to lib-version.
31378 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31380         [BZ #14252]
31381         * powerpc32/power6/wcschr.c: New file.
31382         * powerpc32/power6/wcscpy.c: New file.
31383         * powerpc32/power6/wcsrchr.c: New file.
31384         * powerpc64/power6/wcschr.c: New file.
31385         * powerpc64/power6/wcscpy.c: New file.
31386         * powerpc64/power6/wcsrchr.c: New file.
31388 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31390         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31391         (two_way_short_needle): Use it.
31392         * string/strstr.c (AVAILABLE1_USES_J): Define.
31393         * string/strcasestr.c: Likewise.
31395         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31396         array references.
31397         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31399         [BZ #11607]
31400         * NEWS: Add an entry.
31401         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31402         define their defaults.
31403         (two_way_short_needle): Detect end-of-string on-the-fly.
31404         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31405         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31406         * string/bug-strcasestr1.c: New test.
31407         * string/Makefile: Run it.
31409 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31411         [BZ #11607]
31412         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31413         the first character.
31415 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31417         * csu/elf-init.c (__libc_csu_irel): Function removed.
31418         * csu/libc-start.c (apply_irel): New function.
31419         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31421 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31423         * sysdeps/unix/sysv/linux/kernel-features.h
31424         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31425         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31426         <kernel-features.h>.
31427         [__NR_fadvise64_64]: Make code unconditional.
31428         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31429         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31430         !__NR_fadvise64_64)]: Likewise.
31431         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31432         !__NR_fadvise64_64))]: Likewise.
31433         [__NR_fadvise64]: Make code unconditional.
31434         [!__NR_fadvise64]: Remove conditional code.
31435         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31436         <kernel-features.h>.
31437         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31438         unconditional.
31439         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31440         conditional code.
31441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31442         not include <kernel-features.h>.
31443         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31444         unconditional.
31445         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31446         conditional code.
31447         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31448         include <kernel-features.h>.
31449         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31450         unconditional.
31451         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31452         conditional code.
31454 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31456         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31457         slight instruction rearrangements per scrollpipe analysis.
31458         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31460 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31462         * manual/syslog.texi (syslog; vsyslog, closelog):
31463         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31464         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31466         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31467         DSOCAPS to match condition on defining it.
31469 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31471         * sysdeps/unix/sysv/linux/kernel-features.h
31472         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31474         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31475         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31477         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31478         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31480         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31481         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31483         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31484         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31486         * sysdeps/unix/sysv/linux/kernel-features.h
31487         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31488         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31489         unconditional.
31490         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31491         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31492         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31493         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31494         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31495         Make code unconditional.
31496         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31497         (__mmap64) [!__NR_mmap2]: Likewise.
31498         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31499         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31500         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31501         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31502         [__NR_mmap2]: Make code unconditional.
31503         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31504         (__mmap64) [!__NR_mmap2]: Likewise.
31506 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31508         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31510 2012-08-18  Andreas Jaeger  <aj@suse.de>
31512         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31514 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31516         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31517         * include/unistd.h (__have_sock_cloexec): Likewise.
31518         (__have_pipe2): Likewise.
31519         (__have_dup3): Likewise.
31521 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31523         [BZ #9685]
31524         * include/unistd.h (__have_pipe2): Change define into an extern int.
31525         (__have_dup3): Likewise.
31526         * socket/have_sock_cloexec.c: Include fcntl.h.
31527         (__have_pipe2): New variable.
31528         (__have_dup3): Likewise.
31530 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31532         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31534 2012-08-17  Marek Polacek  <polacek@redhat.com>
31536         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31537         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31539 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31541         * configure.in: Add AC_SUBST for sysheaders.
31542         * configure: Regenerated.
31543         * config.make.in (sysheaders): New substituted variable.
31545         * sysdeps/unix/mkfifo.c: Moved ...
31546         * sysdeps/posix/mkfifo.c: ... here.
31547         * sysdeps/unix/mkfifoat.c: Moved ...
31548         * sysdeps/posix/mkfifoat.c: ... here.
31550         * sysdeps/unix/utime.c: Moved ...
31551         * sysdeps/posix/utime.c: ... here.
31553         * sysdeps/unix/time.c: Moved ...
31554         * sysdeps/posix/time.c: ... here.
31555         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31556         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31558         * sysdeps/unix/nice.c: Moved ...
31559         * sysdeps/posix/nice.c: ... here.
31561         * sysdeps/unix/alarm.c: Moved ...
31562         * sysdeps/posix/alarm.c: ... here.
31564         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31566 2012-08-17  Jeff Law <law@redhat.com>
31568         * intl/Makefile (codeset_mo): New variable.
31569         ($(codeset_mo)): New target.
31570         (tst-codeset.out): Depend on that.  Remove explicit rule.
31571         (tst-gettext3.out, tst-gettext5.out): Likewise.
31572         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31573         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31574         * intl/tst-codeset.sh: Remove.
31575         * intl/tst-gettext3.sh: Likewise.
31576         * intl/tst-gettext5.sh: Likewise.
31578 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31580         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31581         * sysdeps/unix/syscalls.list: ... here.
31583         * sysdeps/posix/getaddrinfo.c
31584         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31585         (gaiconf_init, gaiconf_reload): Use them.
31586         [!_STATBUF_ST_NSEC]
31587         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31588         Define using time_t rather than struct timespec.
31590         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31591         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31592         Macros removed.
31593         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31594         [!NO_THREADS].
31595         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31596         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31597         Likewise.
31599         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31600         __libc_cleanup_push argument.
31602         * bits/param.h: New file.
31603         * misc/sys/param.h: New file.
31604         * include/sys/param.h: New file.
31605         * misc/Makefile (headers): Add bits/param.h.
31606         * sysdeps/generic/sys/param.h: File removed.
31607         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31608         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31609         * sysdeps/mach/hurd/bits/param.h: New file.
31610         * sysdeps/mach/hurd/sys/param.h: File removed.
31612         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31613         last change.
31615         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31616         [_IO_MTSAFE_IO].
31617         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31618         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31619         New macros.
31621         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31622         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31623         rather than -D_IO_MTSAFE_IO conditionally.
31624         * stdio-common/Makefile (CPPFLAGS): Likewise.
31625         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31626         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31627         Use $(libio-mtsafe).
31628         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31629         of -D_IO_MTSAFE_IO.
31630         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31631         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31632         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31633         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31634         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31635         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31636         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31637         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31638         (CFLAGS-fread_u_chk.c): Likewise.
31639         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31640         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31641         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31642         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31643         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31644         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31645         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31646         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31647         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31649         * libio/Makefile: Test [$(libc-reentrant) = yes]
31650         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31652         * Makeconfig
31653         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31654         * sysdeps/pthread/configure: File removed.
31655         * sysdeps/pthread/Makeconfig: New file.
31656         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31657         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31659 2012-08-16  Gary Benson  <gbenson@redhat.com>
31661         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31662         unmapping the first object in a namespace.
31664 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31666         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31667         (__internal_setnetgrent): ... this.  Add internal_function to
31668         definition.  Add libc_hidden_def.
31669         (setnetgrent): Update caller.
31670         (internal_endnetgrent): Renamed to ...
31671         (__internal_endnetgrent): ... this.  Add internal_function to
31672         definition.  Add libc_hidden_def.
31673         (endnetgrent): Update caller.
31674         (internal_getnetgrent_r): Renamed to ...
31675         (__internal_getnetgrent_r): ... this.  Add internal_function to
31676         definition.  Add libc_hidden_def.
31677         (__getnetgrent_r): Update caller.
31678         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31680 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31682         * stdlib/longlong.h: Update from GCC.
31684 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31686         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31687         on _QL, which is set by umul_ppmm but never used.
31688         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31689         variables, which are set by GMP macros but never used.
31690         * stdio-common/_itowa.c (_itowa): Likewise.
31691         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31692         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31694 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31696         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31697         struct La_sh_regs is not constant.
31698         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31699         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31700         and struct La_sparc64_regs are not constant.
31702 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31704         * sysdeps/unix/sysv/linux/kernel-features.h
31705         (__ASSUME_POSIX_TIMERS): Remove.
31706         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31707         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31708         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31709         Make code unconditional.
31710         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31711         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31712         Make code unconditional.
31713         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31714         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31715         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31716         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31717         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31718         Make code unconditional.
31719         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31720         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31721         (__libc_missing_posix_timers): Remove.
31723 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31725         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31726         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31728         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31730         * elf/dl-sym.c: Include <stdlib.h>.
31732         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31733         constants, which avoids warnings in 32-bit builds.
31735         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31736         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31738         * misc/lseek.c: File moved to ...
31739         * io/lseek.c: ... here.
31741         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31743         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31744         shifting LEN more than 31 bits at once.
31746 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31748         [BZ #14195]
31749         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31750         segmentation fault for a case of two empty input strings.
31751         * string/test-strncasecmp.c (check1): Renamed to...
31752         (bz12205): ...this.
31753         (bz14195): Add new testcase for two empty input strings and N > 0.
31754         (test_main): Call new testcase, adapt for renamed function.
31756 2012-08-15  Andreas Jaeger  <aj@suse.de>
31758         [BZ #14090]
31759         * crypt/md5test2.c: New test, based on test supplied by Serge
31760         Belyshev <belyshev@depni.sinp.msu.ru>.
31761         * crypt/Makefile (xtests): Add md5test-giant..
31762         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31764 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31766         [BZ #14090]
31767         * crypt/md5.c (md5_process_block): Don't assume the buffer
31768         length is less than 2**32.
31769         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31770         length is less than 2**64.
31772 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31774         * string/str-two-way.h: Include <sys/param.h>.
31775         (MAX): Macro removed.
31777         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31778         Move #define and #undef of memmove to just before and after
31779         including <string.h>.
31781         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31782         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31783         and after including <string.h>.  Move declarations of
31784         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31785         to before #include "string/memmove.c".
31787         * include/dirent.h: Declare __getdirentries.
31789         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31790         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31792 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31794         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31795         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31796         * sysdeps/i386/configure: Regenerated.
31797         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31798         STABS_CURRENT_FILE, and STABS_FUN.
31799         (END): Remove call to STABS_FUN_END.
31800         (STABS_CURRENT_FILE1): Delete.
31801         (STABS_CURRENT_FILE): Likewise.
31802         (STABS_FUN): Likewise.
31803         (STABS_FUN_END): Likewise.
31804         (STABS_FUN2): Likewise.
31805         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31806         * sysdeps/x86_64/configure: Regenerated.
31808 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31810         * elf/dl-open.c: Include <atomic.h>.
31811         * elf/dl-lookup.c: Likewise.
31813 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31815         * sysdeps/unix/sysv/linux/kernel-features.h
31816         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31817         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31818         unconditionally.
31819         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31820         unconditionally.
31821         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31822         condition on __ASSUME_CLONE_THREAD_FLAGS.
31824 2012-08-14  Andreas Jaeger  <aj@suse.de>
31826         * sysdeps/i386/fpu/libm-test-ulps: Update.
31828 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31830         * include/atomic.h (atomic_exchange_and_add): Split into ...
31831         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31832         New atomic macros.
31834 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31838 2012-08-13  Jeff Law <law@redhat.com>
31840         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31841         null byte in the output string.
31843 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31845         * sysdeps/unix/sysv/linux/kernel-features.h
31846         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31847         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31848         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31849         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31850         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31851         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31852         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31854 2012-08-09  Jeff Law <law@redhat.com>
31856         [BZ #13939]
31857         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31858         When avoid_arena is set, don't retry in the that arena.  Pick the
31859         next one, whatever it might be.
31860         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31861         (arena_lock): Pass in new parameter to arena_get2.
31862         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31863         arena_get2.
31864         (__libc_malloc): Unify retrying after main arena failure with
31865         __libc_memalign version.
31866         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31868 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31870         [BZ #14166]
31871         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31872         to __redirect_strstr.
31873         (__strstr_sse42): Use typeof __redirect_strstr.
31874         (__strstr_ia32): Likewise.
31875         (__libc_strstr): New prototype.
31876         (strstr): Renamed to ...
31877         (__libc_strstr): This.
31878         (strstr): New strong alias of __libc_strstr.
31879         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31880         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31881         __redirect_time.
31882         Include <time.h>.
31883         (__libc_time): New prototype.
31884         (time_ifunc): Replace time with __libc_time.
31885         (time): New strong alias and hidden definition of __libc_time.
31886         (__GI_time): Remove strong alias.
31887         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31888         Include <stddef.h>.
31889         (memmove): Redefined to __redirect_memmove.
31890         (__memmove_sse2): Use typeof __redirect_memmove.
31891         (__memmove_ssse3): Likewise.
31892         (__memmove_ssse3_back): Likewise.
31893         (__libc_memmove): New prototype.
31894         (memmove): Renamed to ...
31895         (__libc_memmove): This.
31896         (memmove): New strong alias of __libc_memmove.
31898 2012-08-08  Mark Salter  <msalter@redhat.com>
31900         * elf/elf.h
31901         (R_MN10300_TLS_GD): Define.
31902         (R_MN10300_TLS_LD): Likewise.
31903         (R_MN10300_TLS_LDO): Likewise.
31904         (R_MN10300_TLS_GOTIE): Likewise.
31905         (R_MN10300_TLS_IE): Likewise.
31906         (R_MN10300_TLS_LE): Likewise.
31907         (R_MN10300_TLS_DTPMOD): Likewise.
31908         (R_MN10300_TLS_DTPOFF): Likewise.
31909         (R_MN10300_TLS_TPOFF): Likewise.
31910         (R_MN10300_SYM_DIFF): Likewise.
31911         (R_MN10300_ALIGN): Likewise.
31912         (R_MN10300_NUM): Update.
31914 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31916         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31917         Remove.
31919 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31921         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31923         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31924         sysdeps/unix -> sysdeps/posix move.
31925         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31927 2012-08-07      Allan McRae     <allan@archlinux.org>
31929         [BZ #14303]
31930         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31931         (SUNOS_CPP): Likewise.
31932         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31933         not found.
31934         (open_input): Call CPP using execvp.
31936 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31938         * sysdeps/unix/sysv/linux/kernel-features.h
31939         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31940         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31941         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31942         (__ASSUME_WAITID_SYSCALL): Likewise.
31943         * sysdeps/unix/sysv/linux/dl-execstack.c
31944         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31945         code unconditional.
31946         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31947         conditional code.
31948         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31949         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31950         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31951         code.
31952         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31953         unconditional.
31954         [__ASSUME_WAITID_SYSCALL]: Likewise.
31955         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31957 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31959         * sysdeps/unix/closedir.c: Renamed to ...
31960         * sysdeps/posix/closedir.c: ... here.
31961         * sysdeps/unix/dirfd.c: Renamed to ...
31962         * sysdeps/posix/dirfd.c: ... here.
31963         * sysdeps/unix/dirstream.h: Renamed to ...
31964         * sysdeps/posix/dirstream.h: ... here.
31965         * sysdeps/unix/fdopendir.c: Renamed to ...
31966         * sysdeps/posix/fdopendir.c: ... here.
31967         * sysdeps/unix/opendir.c: Renamed to ...
31968         * sysdeps/posix/opendir.c: ... here.
31969         * sysdeps/unix/readdir.c: Renamed to ...
31970         * sysdeps/posix/readdir.c: ... here.
31971         * sysdeps/unix/readdir_r.c: Renamed to ...
31972         * sysdeps/posix/readdir_r.c: ... here.
31973         * sysdeps/unix/rewinddir.c: Renamed to ...
31974         * sysdeps/posix/rewinddir.c: ... here.
31975         * sysdeps/unix/seekdir.c: Renamed to ...
31976         * sysdeps/posix/seekdir.c: ... here.
31977         * sysdeps/unix/telldir.c: Renamed to ...
31978         * sysdeps/posix/telldir.c: ... here.
31979         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31980         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31981         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31982         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31984         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31985         * bits/fcntl.h: ... here.
31987         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31988         not 0.
31989         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31990         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31991         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31992         (struct flock): Move l_start, l_len to the beginning.
31993         Use __pid_t for l_pid.
31994         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31995         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31996         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31997         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31998         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31999         [__USE_LARGEFILE64] (struct flock64): New type.
32000         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32002         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32003         * bits/dirent.h: ... here.
32005         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32006         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32008 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32010         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32011         Change from 2.6.0 to 2.6.16.
32012         * sysdeps/unix/sysv/linux/configure: Regenerated.
32013         * sysdeps/unix/sysv/linux/kernel-features.h
32014         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32015         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32016         version.
32017         (__ASSUME_UTIMES): Likewise.
32018         (__ASSUME_CLONE_STOPPED): Remove.
32019         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32020         architectures, not kernel version.
32021         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32022         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32023         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32024         (__ASSUME_WAITID_SYSCALL): Likewise.
32025         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32026         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32027         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32028         refer to older versions.
32030 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32032         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32033         Define alphasort64 as an alias.
32034         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32035         Define versionsort64 as an alias.
32036         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32037         Define scandir64 as an alias.
32038         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32039         Define scandirat64 as an alias.
32040         * dirent/alphasort64.c (alphasort64):
32041         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32042         * dirent/versionsort64.c: Likewise.
32043         * dirent/scandir64.c: Likewise.
32044         * dirent/scandirat64.c: Likewise.
32045         * sysdeps/wordsize-64/alphasort.c: File removed.
32046         * sysdeps/wordsize-64/alphasort64.c: File removed.
32047         * sysdeps/wordsize-64/scandir.c: File removed.
32048         * sysdeps/wordsize-64/scandir64.c: File removed.
32049         * sysdeps/wordsize-64/scandirat.c: File removed.
32050         * sysdeps/wordsize-64/scandirat64.c: File removed.
32051         * sysdeps/wordsize-64/versionsort.c: File removed.
32052         * sysdeps/wordsize-64/versionsort64.c: File removed.
32053         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32054         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32055         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32056         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32057         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32058         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32059         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32060         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32062         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32063         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32064         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32065         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32066         [defined __arch64__ || defined __sparcv9]
32067         (__INO_T_MATCHES_INO64_T): New macro.
32068         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32069         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32070         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32071         * sysdeps/unix/sysv/linux/bits/dirent.h
32072         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32073         (_DIRENT_MATCHES_DIRENT64): New macro.
32075         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32076         Define lockf64 as an alias.
32077         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32078         Define fseeko64 as an alias.
32079         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32080         Define ftello64 as an alias.
32081         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32082         Define _IO_fgetpos64 and fgetpos64 as aliases.
32083         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32084         Define _IO_fsetpos64 and fsetpos64 as aliases.
32085         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32086         Conditionalize body on this.
32087         * libio/fseeko64.c: Likewise.
32088         * libio/ftello64.c: Likewise.
32089         * libio/iofgetpos64.c: Likewise.
32090         * libio/iofsetpos64.c: Likewise.
32091         * sysdeps/wordsize-64/lockf.c: File removed.
32092         * sysdeps/wordsize-64/lockf64.c: File removed.
32093         * sysdeps/wordsize-64/fseeko.c: File removed.
32094         * sysdeps/wordsize-64/fseeko64.c: File removed.
32095         * sysdeps/wordsize-64/ftello.c: File removed.
32096         * sysdeps/wordsize-64/ftello64.c: File removed.
32097         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32098         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32099         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32100         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32101         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32102         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32103         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32104         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32105         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32106         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32107         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32108         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32109         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32110         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32112         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32113         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32114         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32115         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32116         [defined __arch64__ || defined __sparcv9]
32117         (__OFF_T_MATCHES_OFF64_T): New macro.
32118         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32119         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32120         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32121         (__OFF_T_MATCHES_OFF64_T): New macro.
32123 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32125         * stdlib/secure-getenv.c (__secure_getenv): Replace
32126         GLIBC_2_16 with GLIBC_2_17.
32128 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32130         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32131         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32133 2012-08-03  David S. Miller  <davem@davemloft.net>
32135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32137 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32139         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32140         Remove.
32141         (__ASSUME_CORRECT_SI_PID): Likewise.
32142         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32143         (__ASSUME_TMPFS_NAME): Likewise.
32144         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32145         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32146         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32147         (HAVE_AUX_SECURE): Make definition unconditional.
32148         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32149         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32151 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32153         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32154         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32155         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32156         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32157         __eloop_threshold instead of SYMLOOP_MAX.
32159         * sysdeps/generic/eloop-threshold.h: New file.
32160         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32161         of MAXSYMLINKS.
32162         * elf/chroot_canon.c (chroot_canon): Likewise.
32164 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32166         [BZ #13717]
32167         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32168         Change to 2.6.0 everywhere.
32169         * sysdeps/unix/sysv/linux/configure: Regenerated.
32170         * sysdeps/unix/sysv/linux/kernel-features.h
32171         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32172         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32173         kernel versions.
32174         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32175         (__ASSUME_FUTEX_REQUEUE): Remove.
32176         (__ASSUME_STATFS64): Define unconditionally.
32177         (__ASSUME_AT_SECURE): Likewise.
32178         (__ASSUME_CORRECT_SI_PID): Likewise.
32179         (__ASSUME_TGKILL): Define without depending on kernel version for
32180         i386.
32181         (__ASSUME_UTIMES): Likewise.
32182         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32183         kernel version.
32184         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32185         (__ASSUME_TMPFS_NAME): Likewise.
32186         * README: Update reference to Linux kernel versions.
32188 2012-08-02  Marek Polacek  <polacek@redhat.com>
32190         [BZ# 14150]
32191         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32192         libc_cv_asm_type_prefix with %.
32193         * configure: Regenerated.
32194         * include/libc-symbols.h: Remove comment about
32195         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32196         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32197         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32198         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32199         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32200         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32201         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32202         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32203         * elf/tst-unique2mod1.c: Likewise.
32204         * elf/tst-unique1mod2.c: Likewise.
32205         * elf/tst-unique1mod1.c: Likewise.
32206         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32207         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32208         Replace ASM_TYPE_DIRECTIVE with .type.
32209         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32210         * sysdeps/i386/sysdep.h: Likewise.
32211         * sysdeps/x86_64/sysdep.h: Likewise.
32212         * sysdeps/sh/sysdep.h: Likewise.
32213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32214         Do not define ASM_TYPE_DIRECTIVE.
32215         * sysdeps/powerpc/sysdep.h: Likewise.
32216         * sysdeps/powerpc/powerpc32/sysdep.h:
32217         Replace ASM_TYPE_DIRECTIVE with .type.
32218         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32219         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32220         * sysdeps/i386/fpu/e_powf.S: Likewise.
32221         * sysdeps/i386/fpu/e_expl.S: Likewise.
32222         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32223         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32224         * sysdeps/i386/fpu/e_pow.S: Likewise.
32225         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32226         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32227         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32228         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32229         * sysdeps/i386/fpu/e_log2.S: Likewise.
32230         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32231         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32232         * sysdeps/i386/fpu/e_powl.S: Likewise.
32233         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32234         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32235         * sysdeps/i386/fpu/e_logl.S: Likewise.
32236         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32237         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32238         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32239         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32240         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32241         * sysdeps/i386/fpu/e_log.S: Likewise.
32242         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32243         * sysdeps/i386/fpu/e_logf.S: Likewise.
32244         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32245         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32246         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32247         * sysdeps/i386/fpu/e_log10.S: Likewise.
32248         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32249         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32250         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32251         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32252         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32253         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32254         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32255         * sysdeps/i386/i686/strtok.S: Likewise.
32256         * sysdeps/i386/i386-mcount.S: Likewise.
32257         * sysdeps/i386/strtok.S: Likewise.
32258         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32259         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32260         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32261         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32262         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32263         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32264         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32265         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32266         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32267         * sysdeps/x86_64/_mcount.S: Likewise.
32268         * sysdeps/x86_64/strtok.S: Likewise.
32269         * sysdeps/sh/_mcount.S: Likewise.
32271 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32273         * libio/iofopen.c: Include <fcntl.h>.
32274         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32275         (_IO_fopen64, fopen64): Define as aliases.
32276         * libio/iofopen64.c: Include <fcntl.h>.
32277         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32278         Conditionalize body on this.
32279         * sysdeps/wordsize-64/iofopen.c: File removed.
32280         * sysdeps/wordsize-64/iofopen64.c: File removed.
32282 2012-08-01  Marek Polacek  <polacek@redhat.com>
32284         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32285         Use dlfcn directly instead of a variable.
32286         (binfmt-subdir): Do not define.
32287         (dlfcn): Likewise.
32289 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32291         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32292         Remove all definitions.
32293         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32294         <kernel-features.h>.
32295         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32296         (miss_F_GETOWN_EX): Remove all definitions.
32297         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32298         macro definition.
32299         [!__ASSUME_FCNTL64]: Remove conditional code.
32300         [__ASSUME_FCNTL64]: Make code unconditional.
32301         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32302         <kernel-features.h>.
32303         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32304         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32305         (lockf64) [__NR_fcntl64]: Make code unconditional.
32306         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32308         * sysdeps/unix/sysv/linux/kernel-features.h
32309         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32310         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32311         Make code unconditional.
32312         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32313         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32315         [__NR_vfork]: Make code unconditional.
32316         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32317         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32319         [__NR_vfork]: Make code unconditional.
32320         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32321         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32323 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32325         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32326         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32328         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32329         Define mkstemp64 as an alias.
32330         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32331         Define mkstemps64 as an alias.
32332         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32333         Define mkostemp64 as an alias.
32334         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32335         Define mkostemps64 as an alias.
32336         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32337         Conditionalize body on this.
32338         * misc/mkostemp64.c: Likewise.
32339         * misc/mkostemps64.c: Likewise.
32340         * misc/mkstemps64.c: Likewise.
32341         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32342         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32343         * sysdeps/wordsize-64/mkostemp.c: File removed.
32344         * sysdeps/wordsize-64/mkstemp.c: File removed.
32345         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32346         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32347         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32348         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32350         [BZ #14138]
32351         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32352         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32353         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32354         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32356         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32357         compat_symbol macros from <shlib-compat.h> rather than the underlying
32358         default_symbol_version and symbol_version macros, so that DEFAULT
32359         lines in shlib-versions are respected.
32360         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32362 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32364         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32365         Declare with warn_unused_result.
32366         (setgid, setregid, setegid, setresgid): Likewise.
32367         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32368         Likewise.
32369         * WUR-REPORT: Remove set*id functions.
32371 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32373         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32375 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32377         [BZ #10191]
32378         * include/sys/socket.h (__libc_accept, __libc_accept4):
32379         Add attribute_hidden.
32380         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32382         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32383         use of PTR_MANGLE.
32384         * inet/getnetgrent_r.c (setup): Likewise.
32386         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32388 2012-07-31  David S. Miller  <davem@davemloft.net>
32390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32392 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32394         [BZ #13629]
32395         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32396         value between 1.0 and 2.0 and smaller part has absolute value less
32397         than 1.0.
32398         * math/s_clog10.c (__clog10): Likewise.
32399         * math/s_clog10f.c (__clog10f): Likewise.
32400         * math/s_clog10l.c (__clog10l): Likewise.
32401         * math/s_clogf.c (__clogf): Likewise.
32402         * math/s_clogl.c (__clogl): Likewise.
32403         * math/libm-test.inc (clog_test): Add more tests.
32404         (clog10_test): Likewise.
32405         * sysdeps/i386/fpu/libm-test-ulps: Update.
32406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32408 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32410         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32411         Exit with zero in case no suitable GID is found, and write a
32412         message to standard error.
32414 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32416         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32417         rather than to 1.
32418         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32419         (MAXPATHLEN): Removed.
32420         (NOGROUP, NODEV): New macros.
32421         (setbit, clrbit, isset, isclr): New macros.
32422         (howmany, roundup, powerof2): New macros.
32423         (DEV_BSIZE): New macro.
32425         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32426         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32428         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32429         definition on [!__NO_LONG_DOUBLE_MATH].
32431         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32432         PTR_MANGLE and PTR_DEMANGLE.
32434         * socket/accept4.c (accept4): Rename to __libc_accept4.
32435         Define accept4 as a weak alias.
32437         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32438         on [_DIRENT_HAVE_D_TYPE].
32439         * io/ftw.c (ftw_dir): Likewise.
32441         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32443         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32445         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32446         Use the BSD numbers rather than the arbitrary ones we had.
32447         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32448         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32449         (SIGXCPU, SIGXFSZ): New macros.
32450         (_NSIG): Now 32.
32452         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32453         initializer on [_LIBC_REENTRANT].
32455         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32456         definitions inside [_POSIX_MAPPED_FILES].
32458         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32460         * dirent/opendir.c: Include <fcntl.h>.
32462         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32463         (__libc_getspecific): Likewise.
32464         (__libc_key_create): Likewise.
32466         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32467         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32468         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32469         (tmpfile64): Define as alias.
32470         * sysdeps/wordsize-64/tmpfile.c: File removed.
32471         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32472         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32473         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32475         * stdio-common/vfscanf.c: Include <stdbool.h>.
32476         * nss/makedb.c: Likewise.
32477         * stdio-common/_i18n_number.h: Likewise.
32478         * argp/argp-help.c: Likewise.
32479         * posix/wordexp.c: Likewise.
32480         * sysdeps/posix/spawni.c: Likewise.
32481         * nss/nss_files/files-initgroups.c: Likewise.
32482         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32483         * nss/nss_files/files-initgroups.c: Likewise.
32484         * nss/nss_db/db-netgrp.c: Likewise.
32485         * nss/nss_db/db-initgroups.c: Likewise.
32486         * io/fchmodat.c: Include <sys/stat.h>.
32488         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32489         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32491         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32492         [HAVE_MMAP].
32494         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32495         Add multiple inclusion protection.
32497 2012-07-27  David S. Miller  <davem@davemloft.net>
32499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32501 2012-07-27  Gary Benson  <gbenson@redhat.com>
32503         [BZ #14298]
32504         * elf/rtld.c: Include <stap-probe.h>.
32505         (dl_main): Added static probes "init_start" and "init_complete".
32506         * elf/dl-load.c: Include <stap-probe.h>.
32507         (lose): Take new parameter "nsid".
32508         Added static probe "map_failed".
32509         (_dl_map_object_from_fd): Pass namespace id to lose.
32510         Added static probe "map_start".
32511         (open_verify): Pass namespace id to lose.
32512         * elf/dl-open.c: Include <stap-probe.h>.
32513         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32514         and "reloc_complete".
32515         * elf/dl-close.c: Include <stap-probe.h>.
32516         (_dl_close_worker): Added static probes "unmap_start" and
32517         "unmap_complete".
32518         * elf/rtld-debugger-interface.txt: New file documenting the above.
32520 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32522         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32523         rather than a string variable.
32524         * sunrpc/rpc_main.c (h_output): Likewise.
32525         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32527 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32529         * inet/check_native.c: New file.
32531 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32533         [BZ #13629]
32534         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32535         if larger part has absolute value 1.0.
32536         * math/s_clog10.c (__clog10): Likewise.
32537         * math/s_clog10f.c (__clog10f): Likewise.
32538         * math/s_clog10l.c (__clog10l): Likewise.
32539         * math/s_clogf.c (__clogf): Likewise.
32540         * math/s_clogl.c (__clogl): Likewise.
32541         * math/libm-test.inc (clog_test): Add more tests.
32542         (clog10_test): Likewise.
32543         * sysdeps/i386/fpu/libm-test-ulps: Update.
32544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32546         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32547         (pltexit): Likewise.
32548         (La_regs): Likewise.
32549         (La_retval): Likewise.
32550         (int_retval): Likewise.
32551         Update #error for removed macros to refer only to definitions in
32552         tst-audit.h.
32553         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32554         macro.
32555         (pltexit): Likewise.
32556         (La_regs): Likewise.
32557         (La_retval): Likewise.
32558         (int_retval): Likewise.
32559         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32560         macro.
32561         (pltexit): Likewise.
32562         (La_regs): Likewise.
32563         (La_retval): Likewise.
32564         (int_retval): Likewise.
32565         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32566         macro.
32567         (pltexit): Likewise.
32568         (La_regs): Likewise.
32569         (La_retval): Likewise.
32570         (int_retval): Likewise.
32571         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32572         macro.
32573         (pltexit): Likewise.
32574         (La_regs): Likewise.
32575         (La_retval): Likewise.
32576         (int_retval): Likewise.
32577         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32578         macro.
32579         (pltexit): Likewise.
32580         (La_regs): Likewise.
32581         (La_retval): Likewise.
32582         (int_retval): Likewise.
32583         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32584         macro.
32585         (pltexit): Likewise.
32586         (La_regs): Likewise.
32587         (La_retval): Likewise.
32588         (int_retval): Likewise.
32589         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32590         macro definitions in tst-audit.h.
32591         * sysdeps/i386/tst-audit.h: New file.
32592         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32593         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32594         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32595         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32596         * sysdeps/sh/tst-audit.h: Likewise.
32597         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32598         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32599         * sysdeps/x86_64/tst-audit.h: Likewise.
32601 2012-07-26  Andreas Jaeger  <aj@suse.de>
32603         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32604         ptrace.
32606         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32607         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32608         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32609         PTRACE_O_MASK.
32610         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32611         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32612         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32614         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32615         value.
32617         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32618         _sigsys.
32619         (si_call_addr, si_syscall, si_arch): Define new macro.
32620         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32621         _sigsys.
32622         (si_call_addr, si_syscall, si_arch): Define new marcro.
32623         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32624         _sigsys.
32625         (si_call_addr, si_syscall, si_arch): Define new macro.
32626         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32627         _sigsys.
32628         (si_call_addr, si_syscall, si_arch): Define new macro.
32630 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32632         [BZ #13717]
32633         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32634         Change to 2.4.21 where previously 2.4.1.
32635         * sysdeps/unix/sysv/linux/configure: Regenerated.
32636         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32637         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32638         Linux kernel version.
32639         (__ASSUME_STD_AUXV): Remove.
32640         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32641         kernel version.
32642         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32643         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32644         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32645         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32646         (__ASSUME_NETLINK_SUPPORT): Likewise.
32647         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32648         (__no_netlink_support): Remove conditional definition.
32649         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32650         Remove.
32651         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32652         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32653         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32654         (if_nameindex_ioctl): Remove.
32655         (if_nameindex_netlink): Do not handle __no_netlink_support.
32656         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32657         code.
32658         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32659         Remove conditional code.
32660         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32661         code.
32662         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32663         unconditional.
32664         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32665         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32666         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32667         Remove.
32668         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32669         [!__ASSUME_STD_AUXV]: Remove conditional code.
32670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32671         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32672         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32674         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32675         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32676         code.
32677         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32679         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32680         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32681         conditional code.
32682         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32684         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32685         code.
32686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32687         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32688         conditional code.
32689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32690         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32691         code unconditional.
32692         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32693         conditional code.
32694         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32695         unconditional.
32696         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32697         conditional code.
32698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32699         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32700         unconditional.
32701         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32702         conditional code.
32703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32704         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32705         code unconditional.
32706         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32707         conditional code.
32708         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32709         unconditional.
32710         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32711         conditional code.
32712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32713         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32714         code unconditional.
32715         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32716         conditional code.
32717         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32718         unconditional.
32719         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32720         conditional code.
32722 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32724         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32725         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32726         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32727         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32728         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32729         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32730         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32731         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32732         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32733         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32734         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32735         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32736         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32737         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32738         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32739         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32740         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32741         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32742         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32743         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32744         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32745         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32746         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32748 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32750         * Versions.def: Add GLIBC_2.17.
32751         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32752         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32753         Introduce __libc_secure_getenv.
32754         * stdlib/Versions (2.17): Add secure_getenv
32755         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32756         * stdlib/secure-getenv.c: Rename __secure_getenv to
32757         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32758         symbol __secure_getenv for GLIBC_2.0.
32759         * stdlib/tst-secure-getenv.c: New.
32760         * stdlib/Makefile (tests): Add testcase.
32761         * manual/startup.texi (Environment Access): Document
32762         secure_getenv.
32763         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32764         __libc_secure_getenv.
32765         * inet/ruserpass.c (ruserpass): Likewise.
32766         * malloc/mtrace.c (mtrace): Likewise.
32767         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32768         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32769         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32770         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32771         HAVE_SECURE_GETENV.
32772         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32773         __secure_getenv to __libc_secure_getenv.
32774         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32776         Likewise.
32777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32778         Likewise.
32779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32781         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32787 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32789         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32790         (struct La_i86_retval): Likewise.
32791         (struct La_x86_64_regs): Likewise.
32792         (struct La_x86_64_retval): Likewise.
32793         (struct La_x32_regs): Likewise.
32794         (struct La_x32_retval): Likewise.
32795         (struct La_ppc32_regs): Likewise.
32796         (struct La_ppc32_retval): Likewise.
32797         (struct La_ppc64_regs): Likewise.
32798         (struct La_ppc64_retval): Likewise.
32799         (struct La_sh_regs): Likewise.
32800         (struct La_sh_retval): Likewise.
32801         (struct La_s390_32_regs): Likewise.
32802         (struct La_s390_32_retval): Likewise.
32803         (struct La_s390_64_regs): Likewise.
32804         (struct La_s390_64_retval): Likewise.
32805         (struct La_sparc32_regs): Likewise.
32806         (struct La_sparc32_retval): Likewise.
32807         (struct La_sparc64_regs): Likewise.
32808         (struct La_sparc64_retval): Likewise.
32809         (struct audit_ifaces): Remove architecture-specific pltenter and
32810         pltexit members.
32811         * sysdeps/i386/ldsodefs.h: New file.
32812         * sysdeps/powerpc/ldsodefs.h: Likewise.
32813         * sysdeps/s390/ldsodefs.h: Likewise.
32814         * sysdeps/sh/ldsodefs.h: Likewise.
32815         * sysdeps/sparc/ldsodefs.h: Likewise.
32816         * sysdeps/x86_64/ldsodefs.h: Likewise.
32818 2012-07-25  Marek Polacek  <polacek@redhat.com>
32820         [BZ #6808]
32821         * math/libm-test.inc (yn_test): Add another test.
32822         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32823         to ERANGE when the result is +-Inf.
32824         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32825         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32826         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32827         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32829 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32831         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32832         equal to 0.
32833         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32834         clock_t.
32835         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32837 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32839         * configure.in <sysdeps resolving>: Correct printing
32840         Implies_before.
32841         * configure: Regenerate.
32843 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32845         * math/w_ilogb.c: Include <limits.h>.
32846         * math/w_ilogbl.c: Likewise.
32848 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32850         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32851         va_copy.  Document allowing for unavailable va_copy only as
32852         pre-C99 compatibility.
32853         * manual/string.texi (Copying and Concatenation): Use va_copy
32854         instead of __va_copy in concat example.
32856 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32858         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32859         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32860         it if not null.
32862         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32863         with O_NOLINK passed to __file_name_lookup.
32865         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32866         with O_NOLINK passed to __file_name_lookup.
32868         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32869         negative N or less than NGIDS.
32871         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32872         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32873         enough.  Use memcpy instead of strncpy.
32875 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32877         * elf/Makefile (check-data): Remove.
32878         (localplt.data): New vpath directive.
32879         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32880         instead of $(check-data).
32881         * scripts/data/localplt-generic.data: Move to ...
32882         * sysdeps/generic/localplt.data: ... here.
32883         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32884         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32885         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32887         ... here.
32888         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32890         ... here.
32891         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32893         ... here.
32894         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32896         ... here.
32897         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32899         ... here.
32900         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32902         ... here.
32904 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32906         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32907         PPC32 and PPC64 files.
32908         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32909         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32911 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32913         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32914         __makecontext_ret to ...
32915         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32916         ... here and call exit if uc_link is NULL.  New file.
32917         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32918         __makecontext_ret.S.
32919         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32920         __makecontext_ret to ...
32921         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32922         ... here and call exit if uc_link is NULL.  New file.
32923         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32924         __makecontext_ret.S.
32926 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32928         * elf/elf.h (R_390_IRELATIVE): New definition.
32929         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32930         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32931         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32932         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32933         (elf_machine_lazy_rel): Likewise.
32934         * sysdeps/s390/dl-irel.h: New file.
32935         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32936         * sysdeps/s390/s390-64/memset.S: New asm code.
32937         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32938         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32939         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32940         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32941         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32942         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32943         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32944         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32945         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32946         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32947         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32948         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32949         * sysdeps/s390/s390-32/memset.S: New asm code.
32950         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32952 2012-07-17  Marek Polacek  <polacek@redhat.com>
32954         [BZ #14349]
32955         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32956         * sysdeps/s390/s390-64/configure.in: Likewise.
32957         * sysdeps/sparc/configure.in: Likewise.
32958         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32959         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32960         * sysdeps/i386/configure.in: Likewise.
32961         * sysdeps/x86_64/configure.in: Likewise.
32962         * sysdeps/sh/configure.in: Likewise.
32963         * sysdeps/s390/s390-32/configure: Regenerated.
32964         * sysdeps/s390/s390-64/configure: Likewise.
32965         * sysdeps/x86_64/configure: Likewise.
32966         * sysdeps/sh/configure: Likewise.
32967         * sysdeps/powerpc/powerpc64/configure: Likewise.
32968         * sysdeps/powerpc/powerpc32/configure: Likewise.
32969         * sysdeps/sparc/configure: Likwise.
32970         * sysdeps/i386/configure: Likewise.
32972         * elf/dl-open.c: Comment fixes.
32974 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32976         * Makefile [CXX] (check-data): Remove.
32977         [CXX] (c++-types.data): New vpath directive.
32978         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32979         vpath.  Do not allow for C++ type data being missing.
32980         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32981         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32982         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32983         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32984         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32985         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32986         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32988         ... here.
32989         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32991         ... here.
32992         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32994         ... here.
32995         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32997         ... here.
32998         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33000         ... here.
33001         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33003         ... here.
33004         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33006         ... here.
33007         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33010         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33011         definitions to architecture-specific files.
33012         (TLS_IE): Likewise.
33013         (TLS_LD): Likewise.
33014         (TLS_GD): Likewise.
33015         * sysdeps/i386/tls-macros.h: New file.
33016         * sysdeps/powerpc/tls-macros.h: Likewise.
33017         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33018         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33019         * sysdeps/sh/tls-macros.h: Likewise.
33020         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33021         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33022         * sysdeps/x86_64/tls-macros.h: Likewise.
33024 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33026         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33027         zero value for regular exit case.
33029         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33030         (__start_context): Preserve zero value for regular exit case.
33032 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33033             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33035         * manual/setjmp.texi (setcontext): Clarify normal process
33036         termination when uc_link is the null pointer.
33037         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33038         exit call.
33040 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33042         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33043         preprocessor.  Test for each exception mask separately.
33045 2012-07-16  Andreas Jaeger  <aj@suse.de>
33047         * po/ru.po: Update from translation team.
33049 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33051         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33052         equal to 0.
33053         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33054         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33055         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33056         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33057         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33059 2012-07-13  Andreas Jaeger  <aj@suse.de>
33061         * po/fr.po: Update from translation team.
33063 2012-07-12  Marek Polacek  <polacek@redhat.com>
33065         [BZ #14173]
33066         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33067         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33068         loop condition.
33070 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33072         [BZ #13717]
33073         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33074         Change to 2.4.1 where previously 2.4.0.
33075         * sysdeps/unix/sysv/linux/configure: Regenerated.
33076         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33077         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33078         version.
33079         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33080         (__ASSUME_AT_CLKTCK): Remove.
33081         (__ASSUME_AT_PAGESIZE): Likewise.
33082         (__ASSUME_AT_XID): Likewise.
33083         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33084         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33085         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33086         unconditionally.
33087         (HAVE_AUX_PAGESIZE): Likewise.
33088         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33089         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33090         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33092 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33094         [BZ #14307]
33095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33096         the temporary buffer used to invoke __gethostbyname2_r,
33097         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33098         host_data / struct gaih_addrtuple.
33099         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33100         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33101         header file nss/nsswitch.h.
33102         * nss/nsswitch.h (global scope): Add definition of implementation
33103         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33104         resolv/nss_dns/dns-host.c).
33106 2012-07-11  Andreas Jaeger  <aj@suse.de>
33108         * po/fr.po: Update from translation team.
33110         * po/sv.po: Update from translation team
33111         * po/fr.po: Another update from translation team.
33113 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33115         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33116         for subnormals or multiply small sinh result by itself.
33117         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33120 2012-07-11  David S. Miller  <davem@davemloft.net>
33122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33124 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33126         [BZ #14347]
33127         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33128         (INTERNAL_MARK): Shift it here.
33130 2012-07-10  Marek Polacek  <polacek@redhat.com>
33132         [BZ #14151]
33133         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33134         libc_cv_asm_global_directive with .globl.
33135         * configure: Regenerated.
33136         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33137         with .globl.
33138         * sysdeps/i386/configure: Regenerated.
33139         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33140         with .globl.
33141         * sysdeps/x86_64/configure: Regenerated.
33142         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33143         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33144         * elf/tst-unique2mod2.c: Likewise.
33145         * elf/tst-unique2mod1.c: Likewise.
33146         * elf/tst-unique1mod2.c: Likewise.
33147         * elf/tst-unique1mod1.c: Likewise.
33148         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33149         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33150         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33151         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33152         * sysdeps/mach/sysdep.h: Likewise.
33153         * sysdeps/i386/sysdep.h: Likewise.
33154         * sysdeps/i386/i386-mcount.S: Likewise.
33155         * sysdeps/x86_64/_mcount.S: Likewise.
33156         * sysdeps/x86_64/sysdep.h: Likewise.
33157         * sysdeps/sh/_mcount.S: Likewise.
33158         * sysdeps/sh/sysdep.h: Likewise.
33159         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33160         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33161         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33162         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33163         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33164         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33165         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33166         * locale/localeinfo.h: Likewise.
33167         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33168         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33170 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33172         [BZ #14336]
33173         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33174         system".
33175         * manual/message.texi (The Uniforum approach): Likewise.
33176         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33177         (glibc iconv Implementation): Likewise.
33179 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33181         [BZ #14337]
33182         * math/s_clog.c (__clog): Avoid scaling a value down where that
33183         could result in underflow.
33184         * math/s_clog10.c (__clog10): Likewise.
33185         * math/s_clog10f.c (__clog10f): Likewise.
33186         * math/s_clog10l.c (__clog10l): Likewise.
33187         * math/s_clogf.c (__clogf): Likewise.
33188         * math/s_clogl.c (__clogl): Likewise.
33189         * math/libm-test.inc (clog_test): Add more tests.
33190         (clog10_test): Likewise.
33191         * sysdeps/i386/fpu/libm-test-ulps: Update.
33192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33194 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33196         [BZ #14283]
33197         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33198         by 7 not 8 to examine high bit of fractional part.
33200         [BZ #14042]
33201         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33202         for call to __mcount_internal.
33203         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33204         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33205         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33207 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33209         [BZ #14154]
33210         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33211         approximation for values within 0x1p-13f of an odd multiple of
33212         pi/4.
33213         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33214         exception.  Add more tests.
33215         * sysdeps/i386/fpu/libm-test-ulps: Update.
33217         [BZ #6778]
33218         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33219         inputs and return -1 for them.  Do not check for +Inf in case not
33220         reachable for +Inf.
33221         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33222         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33223         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33224         and return -1 for them.  Do not check for +Inf in case not
33225         reachable for +Inf.
33226         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33227         define.
33228         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33229         and return -1 for them.  Do not check for +Inf in case not
33230         reachable for +Inf.
33231         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33232         spurious underflow.
33233         * sysdeps/i386/fpu/libm-test-ulps: Update.
33234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33236 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33238         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33240 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33242         [BZ #14157]
33243         [BZ #14331]
33244         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33245         could result in spurious underflow.  Scale down values above
33246         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33247         * math/s_csqrtf.c (__csqrtf): Likewise.
33248         * math/s_csqrtl.c (__csqrtl): Likewise.
33249         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33250         spurious underflow.
33251         * sysdeps/i386/fpu/libm-test-ulps: Update.
33252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33254 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33256         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33257         xopen-msg.sed.
33258         * catgets/xopen-msg.awk: New file.
33259         * catgets/xopen-msg.sed: Removed.
33261         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33262         po2text.sed.
33263         * intl/po2test.awk: New file.
33264         * intl/po2test.sed: Removed.
33266 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33268         [BZ #14328]
33269         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33270         or multiply small sinh result by itself.
33271         * math/s_ctanf.c (__ctanf): Likewise.
33272         * math/s_ctanh.c (__ctanh): Likewise.
33273         * math/s_ctanhf.c (__ctanhf): Likewise.
33274         * math/s_ctanhl.c (__ctanhl): Likewise.
33275         * math/s_ctanl.c (__ctanl): Likewise.
33276         * math/libm-test.inc (ctan_test_tonearest): New function.
33277         (ctan_test_towardzero): Likewise.
33278         (ctan_test_downward): Likewise.
33279         (ctan_test_upward): Likewise.
33280         (ctanh_test_tonearest): Likewise.
33281         (ctanh_test_towardzero): Likewise.
33282         (ctanh_test_downward): Likewise.
33283         (ctanh_test_upward): Likewise.
33284         (main): Call these new functions.
33285         * sysdeps/i386/fpu/libm-test-ulps: Update.
33286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33288 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33290         * .gitignore: Delete /ports entry.
33292 2012-07-03  Andreas Jaeger  <aj@suse.de>
33294         * po/bg.po: Update from translation team.
33295         * po/cs.po: Likewise.
33296         * po/de.po: Likewise.
33297         * po/hr.po: Likewise.
33298         * po/nl.pl: Likewise.
33299         * po/pl.po: Likewise.
33300         * po/vi.po: Likewise.
33302 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33304         * Makeconfig [!+link] (+link-before-libc): New variable.
33305         [!+link] (+link-after-libc): Likewise.
33306         [!+link] (+link-tests): Likewise.
33307         [!+link] (+link): Define in terms of $(+link-before-libc) and
33308         $(+link-after-libc).
33309         [!+link-static] (+link-static-before-libc): New variable.
33310         [!+link-static] (+link-static-after-libc): Likewise.
33311         [!+link-static] (+link-static-tests): Likewise.
33312         [!+link-static] (+link-static): Define in terms of
33313         $(+link-static-before-libc) and $(+link-static-after-libc).
33314         [build-shared] (link-libc-before-gnulib): New variable.
33315         [build-shared] (link-libc-tests): Likewise.
33316         [build-shared] (link-libc): Define in terms of
33317         $(link-libc-before-gnulib).
33318         [!build-shared] (link-libc-tests): New variable.
33319         (link-libc-static-tests): New variable.
33320         [!gnulib] (gnulib-arch): New variable.
33321         [!gnulib] (gnulib-tests): Likewise.
33322         [!gnulib] (static-gnulib-arch): Likewise.
33323         [!gnulib] (static-gnulib-tests): Likewise.
33324         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33325         Define with "=" instead of ":=".
33326         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33327         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33328         * Rules (binaries-all-notests): New variable.
33329         (binaries-all-tests): Likewise.
33330         (binaries-static-notests): Likewise.
33331         (binaries-static-tests): Likewise.
33332         (binaries-all): Define using $(binaries-all-notests) and
33333         $(binaries-all-tests).
33334         (binaries-static): Define using $(binaries-static-notests) and
33335         $(binaries-static-tests).
33336         (binaries-shared-tests): New variable.
33337         (binaries-shared-notests): Likewise.
33338         (binaries-shared): Remove variable.
33339         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33340         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33341         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33342         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33343         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33344         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33345         * elf/Makefile (sln-modules): New variable.
33346         (extra-objs): Add $(sln-modules:=.o).
33347         (ldconfig-modules): Add static-stubs.
33348         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33349         * elf/static-stubs.c: New file.
33351         [BZ #14283]
33352         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33353         by 7 not 8 to examine high bit of fractional part.  Use volatile
33354         variables when splitting into final array of floats if
33355         __FLT_EVAL_METHOD__ != 0.
33356         * math/libm-test.inc (cos_test): Add another test.
33357         (sin_test): Likewise.
33358         * sysdeps/i386/fpu/libm-test-ulps: Update.
33360         [BZ #14273]
33361         * math/libm-test.inc (cosh_test): Add more tests.
33363         * version.h (RELEASE): Set to "development".
33364         (VERSION): Set to "2.16.90".
33366 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33368         * NEWS: Update copyright. Remove last-updated date.
33369         Mention math library bug fixes and timezone data changes.
33370         * README: Mention GNU/Hurd, x32, and HPPA support status.
33372 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33374         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33376 2012-06-27  Andreas Jaeger  <aj@suse.de>
33378         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33380 2012-06-25  Andreas Jaeger  <aj@suse.de>
33382         * sysdeps/s390/fpu/libm-test-ulps: Update.
33384 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33385             Thomas Schwinge  <thomas@codesourcery.com>
33387         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33388         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33389         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33390         fanotify_mark.
33392 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33394         * sysdeps/mach/start.c: Remove file.
33395         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33396         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33397         * sysdeps/sh/init-first.c: Likewise.
33399         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33400         registers for frame unwinding purposes, add CFI directives.
33401         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33402         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33403         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33404         Likewise.
33406         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33407         __fortify_fail returning.
33408         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33410         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33411         sysdeps/sh/____longjmp_chk.S.
33412         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33413         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33414         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33415         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33417         * sysdeps/sh/abort-instr.h: New file.
33418         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33419         process in case exit returns.
33421         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33422         initialize the GOT register before use.
33424         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33425         calculation of ARGC > 4.
33427         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33428         meaningful names to some local labels.
33430 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33431             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33433         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33434         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33435         (__arch_compare_and_exchange_val_16_acq): Likewise.
33436         (__arch_compare_and_exchange_val_32_acq): Likewise.
33437         (atomic_exchange_and_add): Fix gUSA sequence.
33438         (atomic_add): Likewise.
33439         (atomic_add_negative): Likewise.
33440         (atomic_add_zero): Likewise.
33441         (atomic_bit_test_set): Likewise.
33443 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33445         [BZ #13579]
33446         * include/link.h (struct link_map): Add l_free_initfini.
33447         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33448         l_initfini.
33449         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33450         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33451         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33452         set.
33454 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33456         * configure.in: Use AC_LANG_SOURCE.
33457         * configure: Regenerate.
33459 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33461         * configure.in (libc_cv_localstatedir): New substituted variable.
33462         * configure: Regenerated.
33463         * config.make.in (localstatedir): New variable, substituted from
33464         libc_cv_localstatedir.
33465         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33466         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33467         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33468         * sysdeps/gnu/configure: Regenerated.
33470 2012-06-21  Jeff Law  <law@redhat.com>
33472         [BZ #14277]
33473         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33474         free.  Simplify list management for _LIBC case.
33476 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33478         [BZ #14273]
33479         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33480         Clear sign bit of 64-bit integer value before comparing against
33481         overflow value.
33483         * sysdeps/mach/configure: Regenerated.
33485 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33487         [BZ #14278]
33488         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33490 2012-06-21  Jeff Law  <law@redhat.com>
33492         [BZ #13882]
33493         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33494         uint16_t for elements in the "seen" array to avoid char overflows.
33495         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33496         * elf/dl-open.c (dl_open_worker): Likewise.
33498 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33500         * scripts/list-sources.sh: Scan PORTS for translations.
33501         * po/libc.pot: Regenerated.
33503 2012-06-21  Andreas Jaeger  <aj@suse.de>
33505         [BZ #12194]
33506         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33507         warning.
33508         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33509         * bits/byteswap-16.h (__bswap_16): Likewise.
33510         * bits/byteswap.h (__bswap_constant_16): Likewise.
33512 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33514         [BZ #14117]
33515         * sysdeps/i386/fpu_control.h: Removed.
33516         * sysdeps/x86_64/fpu_control.h: Moved to ...
33517         * sysdeps/x86/fpu_control.h: Here.
33519         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33520         (_FPU_SETCW): Likewise.
33522 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33524         [BZ #14117]
33525         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33526         * sysdeps/x86/fpu/bits/mathinline.h: This.
33527         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33529         [BZ #14050]
33530         [BZ #14117]
33531         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33532         functions if __x86_64__ is defined.
33534 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33536         * string/endian.h: Add !__ASSEMBLER__ condition for including
33537         conversion interfaces.
33539 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33541         [BZ #14241]
33542         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33543         of ABS(x) in calculating zero to negative powers other than odd
33544         integers.
33545         * math/libm-test.inc (pow_test): Add more tests.
33547 2012-06-15  Andreas Jaeger  <aj@suse.de>
33549         * manual/contrib.texi (Contributors): Update entry of Liubov
33550         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33551         Machado Filho.
33553 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33555         * string/string.h: Add __wur to GNU version of strerror_r.
33557 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33559         [BZ #14229]
33560         * string/Makefile (tests): Add tst-strtok_r.
33561         * string/tst-strtok_r.c: New file.
33562         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33563         RAX_LP/RDX_LP on SAVE_PTR.
33565 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33567         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33569 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33571         * libm_test.inc (csqrt_test): Allow more spurious underflow
33572         exceptions.
33573         (j0_test): Likewise.
33574         (j1_test): Likewise.
33575         (y0_test): Likewise.
33576         (y1_test): Likewise.
33578 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33580         * po/Makefile (libc.pot): Use UTF-8 charset.
33582 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33584         [BZ #14210]
33585         Suppress sign-conversion warning from FD_SET.
33586         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33587         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33588         not unsigned long int.
33589         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33591 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33593         [BZ #14050]
33594         [BZ #14117]
33595         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33596         __extern_always_inline instead of __extern_inline.
33597         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33598         (__signbit): Likewise.
33599         (__signbitl): Support C++ namespace.
33600         (lrintf): New inline function.
33601         (lrint): Likewise.
33602         (llrintf): Likewise.
33603         (llrint): Likewise.
33604         (fmaxf): Likewise.
33605         (fmax): Likewise.
33606         (fminf): Likewise.
33607         (fmin): Likewise.
33608         (rint): Likewise.
33609         (rintf): Likewise.
33610         (ceil): Likewise.
33611         (ceilf): Likewise.
33612         (floor): Likewise.
33613         (floorf): Likewise.
33614         (nearbyint): Likewise.
33615         (nearbyintf): Likewise.
33617 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33619         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33620         non-default versions.
33622 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33624         [BZ #14218]
33625         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33627 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33629         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33630         (FE_UPWARD, FE_DOWNWARD): Don't define.
33631         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33632         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33634         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33635         reading it.
33636         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33637         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33639 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33641         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33642         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33643         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33644         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33646 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33648         [BZ #14117]
33649         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33650         * sysdeps/i386/fpu/Implies: New file.
33651         * sysdeps/x86_64/fpu/Implies: Likewise.
33652         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33653         * sysdeps/x86/fpu/bits/fenv.h: This.
33655         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33656         __SSE_MATH__.
33658 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33660         [BZ #14134]
33661         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33662         character 0xffff that matches the last element of the
33663         conversion table.
33665 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33667         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33668         fmodl commit.
33670 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33672         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33673         values higher than 25.6283.
33675 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33677         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33678         subnormal exponent extraction and add some __builtin_expect.
33679         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33680         Fix for subnormal mantissa calculation.
33682 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33684         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33685         cpu2 is -1 and errno is not ENOSYS.
33687 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33689         [BZ #14117]
33690         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33691         * sysdeps/x86/bits/string.h: This.
33692         * sysdeps/x86_64/bits/string.h: Removed.
33694         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33695         if not compiling for x86-64, but compiling for >= i486.
33697         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33698         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33700         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33701         New macro from Linux kernel 3.4.0.
33702         (FP_XSTATE_MAGIC2): Likewise.
33703         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33704         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33705         (struct _fpx_sw_bytes): New struct.
33706         (struct _xsave_hdr): Likewise.
33707         (struct _ymmh_state): Likewise.
33708         (struct _xstate): Likewise.
33710         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33711         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33712         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33713         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33714         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33715         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33717         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33718         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33719         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33720         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33721         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33722         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33724 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33726         [BZ #13743]
33727         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33728         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33729         (sysdep_headers): Include sys/platform/ppc.h.
33730         * sysdeps/powerpc/test-gettimebase.c: Test for
33731         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33732         * manual/Makefile (appendices): Include platform.texi.
33733         * manual/contrib.texi (Contributors): Update @node pointers.
33734         * manual/maint.texi (Maintenance): Likewise.
33735         (Platform): New node.
33736         * manual/platform.texi: New file.  Document the new features.
33738 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33739             Jakub Jelinek  <jakub@redhat.com>
33741         [BZ #14188]
33742         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33743         where __builtin_expect is unavailable.
33745 2012-06-03  David S. Miller  <davem@davemloft.net>
33747         * stdlib/longlong.h: Updated from GCC.
33749 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33751         [BZ #14042]
33752         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33753         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33754         __mcount_internal.
33755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33756         (GLIBC_2.16): Likewise.
33758 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33760         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33762 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33765         (default-abi): New variable.
33766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33767         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33768         variable.
33769         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33770         Likewise.
33771         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33772         Likewise.
33773         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33774         Likewise.
33776         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33777         definition.  Document in comment.
33779 2012-06-01  David S. Miller  <davem@davemloft.net>
33781         * stdlib/longlong.h: Updated from GCC.
33783 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33785         [BZ #14117]
33786         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33787         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33788         sys/debugreg.h sys/io.h here.
33789         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33790         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33791         sys/io.h.
33792         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33793         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33794         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33795         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33796         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33797         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33799         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33800         Define only if __x86_64__ is defined.
33802 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33804         [BZ #14048]
33805         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33806         Use int64_t for variable i.
33807         * math/libm-test.inc (fmod_test): Add more tests.
33809         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33810         z computation is not scheduled after fetestexcept.
33811         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33812         Use math_force_eval instead of asm to ensure calculation scheduled
33813         before exception test.
33814         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33815         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33817 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33819         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33820         computation is not scheduled after fetestexcept.
33822 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33824         [BZ #14117]
33825         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33826         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33828 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33830         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33831         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33833 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33835         [BZ #14117]
33836         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33837         <bits/wordsize.h>.
33838         (__WCHAR_MIN): Support __WORDSIZE == 64.
33839         (__WCHAR_MAX): Likewise.
33841         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33842         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33844         [BZ #14183]
33845         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33846         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33848         [BZ #14117]
33849         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33850         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33852         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33853         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33855         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33856         Defined to 1 if __x86_64__ isn't defined.
33857         (_STAT_VER_LINUX_OLD): New.
33858         (st_atime): Remove duplicate.
33859         (st_mtime): Likewise.
33860         (st_ctime): Likewise.
33862 2012-05-31  David S. Miller  <davem@davemloft.net>
33864         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33865         entries.
33867 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33869         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33870         gen-libm-test.pl.
33872         [BZ #14132]
33873         * elf/dl-reloc.c: Include <_itoa.h>.
33874         (_dl_reloc_bad_type): Remove use of INTUSE.
33875         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33876         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33877         * stdio-common/psiginfo.c (psiginfo): Likewise.
33878         * stdio-common/psignal.c (psignal): Likewise.
33879         * string/strsignal.c (strsignal): Likewise.
33880         * include/signal.h (_sys_siglist): Declare hidden proto.
33881         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33882         INTVARDEF with libc_hidden_data_def.
33883         * stdio-common/itoa-udigits.c: Likewise.
33884         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33885         (_itoa_lower_digits_internal): Remove declaration.
33886         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33887         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33888         (_sys_sigabbrev_internal): Remove aliases.
33889         (_sys_siglist): Define hidden alias.
33891 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33893         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33894         bits/sysctl.h.
33896 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33898         [BZ #14117]
33899         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33900         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33902         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33903         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33904         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33905         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33906         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33907         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33909         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33910         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33911         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33913         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33914         with __addr.
33915         (insw): Likewise.
33916         (insl): Likewise.
33917         (outsb): Likewise.
33918         (outsw): Likewise.
33919         (outsl): Likewise.
33921         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33922         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33923         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33925         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33926         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33927         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33928         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33929         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33930         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33932         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33933         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33935         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33936         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33938         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33939         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33940         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33942         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33943         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33944         to ...
33945         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33947         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33948         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33949         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33951         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33952         for x86-64.
33953         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33955 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33957         * math/math.h (M_El): Use two more decimal places.
33958         (M_LOG2El): Likewise.
33959         (M_LOG10El): Likewise.
33960         (M_LN2l): Likewise.
33961         (M_LN10l): Likewise.
33962         (M_PIl): Likewise.
33963         (M_PI_2l): Likewise.
33964         (M_PI_4l): Likewise.
33965         (M_1_PIl): Likewise.
33966         (M_2_PIl): Likewise.
33967         (M_2_SQRTPIl): Likewise.
33968         (M_SQRT2l): Likewise.
33969         (M_SQRT1_2l): Likewise.
33971 2012-05-31  David S. Miller  <davem@davemloft.net>
33973         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33974         values between float registers.
33975         * sysdeps/sparc/sparc64/memset.S: Likewise.
33976         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33978 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33980         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33981         -D_FORTIFY_SOURCE=1.
33982         (CPPFLAGS-tst-longjmp_chk.c): Define.
33983         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33984         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33985         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33986         CFLAGS-tst-wchar-h.c.
33988 2012-05-31  Marek Polacek  <polacek@redhat.com>
33990         [BZ #14132]
33991         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33992         __endmntent_internal): Remove declaration.
33993         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33994         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33995         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33997 2012-05-30  David S. Miller  <davem@davemloft.net>
33999         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34000         (___Q_simulate_exceptions): Use real FP ops rather than writing
34001         into the %fsr.
34002         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34003         Likewise.
34005 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34007         [BZ #14117]
34008         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34009         * sysdeps/x86/bits/xtitypes.h: This.
34011         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34012         * sysdeps/x86/bits/wordsize.h: This.
34014         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34015         * sysdeps/x86/bits/huge_vall.h: This.
34017         * sysdeps/i386/bits/select.h: Removed.
34018         * sysdeps/x86_64/bits/select.h: Renamed to ...
34019         * sysdeps/x86/bits/select.h: This.
34021         * sysdeps/i386/bits/setjmp.h: Removed.
34022         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34023         * sysdeps/x86/bits/setjmp.h: This.
34025         * sysdeps/i386/bits/mathdef.h: Removed.
34026         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34027         * sysdeps/x86/bits/mathdef.h: This.
34029 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34031         [BZ #14132]
34032         * include/sys/socket.h (__connect_internal)
34033         (__libc_sa_len_internal): Remove declaration.
34034         (__connect, __libc_sa_len): Declare hidden_proto.
34035         (SA_LEN): Remove use of INTUSE.
34036         * socket/connect.c: Add libc_hidden_def.
34037         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34038         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34039         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34040         alias.
34041         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34042         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34043         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34044         of adding _internal alias.
34046 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34048         [BZ #14117]
34049         * sysdeps/i386/bits/link.h: Removed.
34050         * sysdeps/i386/bits/linkmap.h: Likewise.
34051         * sysdeps/x86_64/bits/link.h: Renamed to ...
34052         * sysdeps/x86/bits/link.h: This.
34053         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34054         * sysdeps/x86/bits/linkmap.h: This.
34056         * sysdeps/i386/bits/endian.h: Removed.
34057         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34058         * sysdeps/x86/bits/endian.h: This.
34060         * sysdeps/i386/bits/byteswap.h: Removed.
34061         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34062         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34063         * sysdeps/x86/bits/byteswap.h: This.
34064         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34065         * sysdeps/x86/bits/byteswap-16.h: This.
34066         * sysdeps/i386/Implies: Add x86.
34067         * sysdeps/x86_64/Implies: Likewise.
34069 2012-05-30  David S. Miller  <davem@davemloft.net>
34071         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34072         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34073         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34074         (FP_TRAPPING_EXCEPTIONS): Define.
34075         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34076         (FP_TRAPPING_EXCEPTIONS): Define.
34077         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34078         subnormals only when inexact has been signalled or underflow
34079         exceptions are enabled.
34080         (_FP_PACK_CANONICAL): Likewise.
34082 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34084         [BZ #14183]
34085         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34086         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34088 2012-05-30  Richard Henderson  <rth@twiddle.net>
34090         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34091         with #ifndef NOT_IN_libc.
34093         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34094         marked to avoid plt entry.
34096 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34098         [BZ #14112]
34099         * Makeconfig (default-abi): New macro.
34100         (abi-includes): Likewise.
34101         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34102         $(abi-$(default-abi)-lib-soname) for soname if defined.
34103         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34104         abi-variants.
34105         * Makefile (installed-stubs): Likewise.
34106         * include/stubs-biarch.h: Removed.
34107         * scripts/lib-names.awk: Only handle one library at a time.
34108         * scripts/soversions.awk: Remove WORDSIZE support.
34109         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34110         entries.
34111         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34112         Removed.
34113         (syscall-list-default-condition): Likewise.
34114         (syscall-list-default-condition): Likewise.
34115         (syscall-list-includes): Likewise.
34116         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34117         syscall-list-* with abi-*.  Handle undefined abi-variants.
34118         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34119         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34120         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34121         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34122         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34123         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34124         Removed.
34125         (syscall-list-32-options): Likewise.
34126         (syscall-list-32-condition): Likewise.
34127         (syscall-list-64-options): Likewise.
34128         (syscall-list-64-condition): Likewise.
34129         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34130         macro.
34131         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34132         Renamed to ...
34133         (abi-*): This.
34134         (abi-64-ld-soname): New macro.
34135         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34136         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34137         Renamed to ...
34138         (abi-*): This.
34139         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34140         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34142 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34144         * sysdeps/unix/sysv/linux/kernel-features.h
34145         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34146         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34147         include <kernel-features.h>.
34148         [!__NR_ftruncate64]: Remove conditional code.
34149         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34150         [__NR_ftruncate64]: Make code unconditional.
34151         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34152         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34153         include <kernel-features.h>.
34154         [!__NR_ftruncate64]: Remove conditional code.
34155         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34156         [__NR_ftruncate64]: Make code unconditional.
34157         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34159         include <kernel-features.h>.
34160         [!__NR_ftruncate64]: Remove conditional code.
34161         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34162         [__NR_ftruncate64]: Make code unconditional.
34163         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34165         include <kernel-features.h>.
34166         [!__NR_ftruncate64]: Remove conditional code.
34167         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34168         [__NR_ftruncate64]: Make code unconditional.
34169         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34171         * configure.in (libc_cv_fpie): Weaken to a compile test using
34172         LIBC_TRY_CC_OPTION.
34173         * configure: Regenerated.
34175 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34181         Refreshed.
34182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34188         Refreshed.
34190 2012-05-27  David S. Miller  <davem@davemloft.net>
34192         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34193         (___Q_zero): New.
34194         (__Q_simulate_exceptions): Return void.  Change to simulate
34195         exceptions by writing into the %fsr.
34196         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34197         (__Qp_handle_exceptions): Likewise.
34198         (numbers): Delete.
34199         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34200         __Qp_handle_exceptions.
34201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34202         __Qp_handle_exceptions.
34203         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34204         as unused and give dummy FP_RND_NEAREST initializer.
34205         (FP_INHIBIT_RESULTS): Define.
34206         (___Q_simulate_exceptions): Update declaration.
34207         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34208         formatting.
34209         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34210         as unused and give dummy FP_RND_NEAREST initializer.
34211         (__Qp_handle_exceptions): Update declaration.
34212         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34213         formatting.
34215 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34217         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34218         the temporary FPU control word.
34219         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34220         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34221         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34222         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34223         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34224         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34225         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34226         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34227         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34228         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34229         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34231 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34233         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34234         fields.
34236 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34238         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34239         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34240         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34241         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34242         Likewise.
34243         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34244         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34245         Likewise.
34247 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34249         * po/h.po: Update from translation team.
34251 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34253         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34255         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34256         handling of denormals.
34257         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34258         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34259         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34260         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34261         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34262         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34264         Likewise.
34266 2012-05-26  Marek Polacek  <polacek@redhat.com>
34268         [BZ #14152]
34269         * math/libm-test.inc (fma_test): Don't always expect underflow
34270         exception.
34272 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34274         [BZ #12416]
34275         * elf/tst-execstack.c: Include stackinfo.h.
34276         (do_test): Adjust test case to ensure that pthread_getattr_np
34277         behaviour remains the same after marking stack executable.
34279 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34281         * sysdeps/unix/sysv/linux/kernel-features.h
34282         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34283         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34284         kernel-features.h.
34285         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34286         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34287         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34288         kernel-features.h.
34289         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34290         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34292 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34294         * configure.in: Define the default includes to being none.
34295         * configure: Regenerated.
34297 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34299         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34300         * sysdeps/x86_64/setjmp.S: Likewise.
34301         * sysdeps/i386/bsd-setjmp.S: Likewise.
34302         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34303         * sysdeps/i386/setjmp.S: Likewise.
34304         * sysdeps/i386/__longjmp.S: Likewise.
34305         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34306         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34308         * include/stap-probe.h: New file.
34309         * configure.in: Handle --enable-systemtap.
34310         * configure: Regenerated.
34311         * config.h.in (USE_STAP_PROBE): New #undef.
34312         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34313         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34314         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34316 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34318         [BZ #13717]
34319         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34320         to 2.4.0 where earlier.
34321         * sysdeps/unix/sysv/linux/configure: Regenerated.
34322         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34323         <kernel-features.h>.
34324         [__ASSUME_32BITUIDS]: Make code unconditional.
34325         [!__ASSUME_32BITUIDS]: Remove conditional code.
34326         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34327         <kernel-features.h>.
34328         [__ASSUME_32BITUIDS]: Make code unconditional.
34329         [!__ASSUME_32BITUIDS]: Remove conditional code.
34330         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34331         [__ASSUME_32BITUIDS]: Make code unconditional.
34332         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34333         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34334         <kernel-features.h>.
34335         [__ASSUME_32BITUIDS]: Make code unconditional.
34336         [!__ASSUME_32BITUIDS]: Remove conditional code.
34337         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34338         <kernel-features.h>.
34339         [__ASSUME_32BITUIDS]: Make code unconditional.
34340         [!__ASSUME_32BITUIDS]: Remove conditional code.
34341         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34342         <kernel-features.h>.
34343         [__ASSUME_32BITUIDS]: Make code unconditional.
34344         [!__ASSUME_32BITUIDS]: Remove conditional code.
34345         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34346         <kernel-features.h>.
34347         [__ASSUME_32BITUIDS]: Make code unconditional.
34348         [!__ASSUME_32BITUIDS]: Remove conditional code.
34349         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34350         <kernel-features.h>.
34351         [__ASSUME_32BITUIDS]: Make code unconditional.
34352         [!__ASSUME_32BITUIDS]: Remove conditional code.
34353         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34354         <kernel-features.h>.
34355         [__ASSUME_32BITUIDS]: Make code unconditional.
34356         [!__ASSUME_32BITUIDS]: Remove conditional code.
34357         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34358         <kernel-features.h>.
34359         [__ASSUME_32BITUIDS]: Make code unconditional.
34360         [!__ASSUME_32BITUIDS]: Remove conditional code.
34361         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34362         <kernel-features.h>.
34363         [__ASSUME_32BITUIDS]: Make code unconditional.
34364         [!__ASSUME_32BITUIDS]: Remove conditional code.
34365         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34366         <kernel-features.h>.
34367         [__ASSUME_32BITUIDS]: Make code unconditional.
34368         [!__ASSUME_32BITUIDS]: Remove conditional code.
34369         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34370         <kernel-features.h>.
34371         [__ASSUME_32BITUIDS]: Make code unconditional.
34372         [!__ASSUME_32BITUIDS]: Remove conditional code.
34373         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34374         <kernel-features.h>.
34375         [__NR_setresgid] (__setresgid): Do not declare.
34376         [__ASSUME_32BITUIDS]: Make code unconditional.
34377         [!__ASSUME_32BITUIDS]: Remove conditional code.
34378         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34379         <kernel-features.h>.
34380         [__NR_setresuid] (__setresuid): Do not declare.
34381         [__ASSUME_32BITUIDS]: Make code unconditional.
34382         [!__ASSUME_32BITUIDS]: Remove conditional code.
34383         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34384         <kernel-features.h>.
34385         [__ASSUME_32BITUIDS]: Make code unconditional.
34386         [!__ASSUME_32BITUIDS]: Remove conditional code.
34387         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34388         <kernel-features.h>.
34389         [__ASSUME_32BITUIDS]: Make code unconditional.
34390         [!__ASSUME_32BITUIDS]: Remove conditional code.
34391         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34392         <kernel-features.h>.
34393         [__ASSUME_32BITUIDS]: Make code unconditional.
34394         [!__ASSUME_32BITUIDS]: Remove conditional code.
34395         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34396         <kernel-features.h>.
34397         [__ASSUME_32BITUIDS]: Make code unconditional.
34398         [!__ASSUME_32BITUIDS]: Remove conditional code.
34399         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34400         <kernel-features.h>.
34401         [__ASSUME_32BITUIDS]: Make code unconditional.
34402         [!__ASSUME_32BITUIDS]: Remove conditional code.
34403         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34404         <kernel-features.h>.
34405         [__ASSUME_32BITUIDS]: Make code unconditional.
34406         [!__ASSUME_32BITUIDS]: Remove conditional code.
34407         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34408         <kernel-features.h>.
34409         [__ASSUME_32BITUIDS]: Make code unconditional.
34410         [!__ASSUME_32BITUIDS]: Remove conditional code.
34411         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34412         <kernel-features.h>.
34413         [__ASSUME_32BITUIDS]: Make code unconditional.
34414         [!__ASSUME_32BITUIDS]: Remove conditional code.
34415         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34416         <kernel-features.h>.
34417         [__ASSUME_32BITUIDS]: Make code unconditional.
34418         [!__ASSUME_32BITUIDS]: Remove conditional code.
34419         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34420         <kernel-features.h>.
34421         [__ASSUME_32BITUIDS]: Make code unconditional.
34422         [!__ASSUME_32BITUIDS]: Remove conditional code.
34423         * sysdeps/unix/sysv/linux/kernel-features.h
34424         (__ASSUME_SETRESUID_SYSCALL): Remove.
34425         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34426         (__ASSUME_32BITUIDS): Likewise.
34427         (__ASSUME_LDT_WORKS): Likewise.
34428         (__ASSUME_O_DIRECTORY): Likewise.
34429         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34430         architecture but not kernel version.
34431         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34432         (__ASSUME_MMAP2_SYSCALL): Likewise.
34433         (__ASSUME_STAT64_SYSCALL): Likewise.
34434         (__ASSUME_IPC64): Likewise.
34435         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34436         <kernel-features.h>.
34437         [__ASSUME_32BITUIDS]: Make code unconditional.
34438         [!__ASSUME_32BITUIDS]: Remove conditional code.
34439         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34440         <kernel-features.h>.
34441         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34442         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34443         132096]: Remove conditional code.
34444         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34445         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34446         <kernel-features.h>.
34447         [__ASSUME_32BITUIDS]: Make code unconditional.
34448         [!__ASSUME_32BITUIDS]: Remove conditional code.
34449         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34450         <kernel-features.h>.
34451         [__ASSUME_32BITUIDS]: Make code unconditional.
34452         [!__ASSUME_32BITUIDS]: Remove conditional code.
34453         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34454         <kernel-features.h>.
34455         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34456         unconditional.
34457         (__setresgid): Do not declare.
34458         [__ASSUME_32BITUIDS]: Make code unconditional.
34459         [!__ASSUME_32BITUIDS]: Remove conditional code.
34460         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34461         <kernel-features.h>.
34462         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34463         unconditional.
34464         (__setresuid): Do not declare.
34465         [__ASSUME_32BITUIDS]: Make code unconditional.
34466         [!__ASSUME_32BITUIDS]: Remove conditional code.
34467         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34468         <kernel-features.h>.
34469         [__ASSUME_32BITUIDS]: Make code unconditional.
34470         [!__ASSUME_32BITUIDS]: Remove conditional code.
34471         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34472         <kernel-features.h>.
34473         [__ASSUME_32BITUIDS]: Make code unconditional.
34474         [!__ASSUME_32BITUIDS]: Remove conditional code.
34476 2012-05-25  Richard Henderson  <rth@twiddle.net>
34478         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34479         dl_hwcap to ifunc resolver.
34480         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34481         elf_ifunc_invoke.
34482         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34483         dl_hwcap to ifunc resolver.
34484         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34486 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34488         [BZ #14153]
34489         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34490         for |x| <= 2**-26, not 2**-57.
34491         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34492         exception.
34494 2012-05-24  Jeff Law  <law@redhat.com>
34496         * stdio-common/Makefile (tests): Add bug25.
34497         * stdio-common/bug25.c: New test.
34499 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34501         [BZ #13576]
34502         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34503         multiple of MALLOC_ALIGNMENT in size.
34504         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34506 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34508         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34509         Require >= 256.
34510         (FILENAME_MAX): Use macro-int-constant.
34511         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34512         (_IOFBF): Use macro-int-constant.
34513         (_IOLBF): Likewise.
34514         (_IONBF): Likewise.
34515         (SEEK_CUR): Likewise.
34516         (SEEK_END): Likewise.
34517         (SEEK_SET): Likewise.
34518         (TMP_MAX): Likewise.
34519         (EOF): Use macro-int-constant.  Require < 0.
34520         (NULL): Use macro-constant.  Require == 0.
34521         (stdin): Require type to be FILE *.
34522         (stdout): Likewise.
34523         (stderr): Likewise.
34524         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34525         macro-int-constant.
34526         (EXIT_SUCCESS): Likewise.
34527         (NULL): Use macro-constant.  Require == 0.
34528         (RAND_MAX): Use macro-int-constant.
34529         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34530         [C99-based standards] (strtof): Require function.
34531         [C99-based standards] (strtold): Likewise.
34532         [C99-based standards] (strtoll): Likewise.
34533         [C99-based standards] (strtoull): Likewise.
34534         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34535         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34536         [ISO || ISO99 || ISO11] (math.h): Likewise.
34537         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34538         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34539         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34541 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34543         [BZ #14132]
34544         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34545         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34546         * intl/dgettext.c (DCGETTEXT): Likewise.
34547         * intl/gettext.c (DCGETTEXT): Likewise.
34548         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34549         * posix/regex_internal.h (gettext): Likewise.
34550         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34551         Remove declaration.
34552         * include/argz.h (__argz_count_internal)
34553         (__argz_stringify_internal): Remove declaration.
34554         (__argz_count, __argz_stringify): Declare hidden proto.
34555         * intl/dcgettext.c: Remove use of INTDEF.
34556         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34557         * string/argz-stringify.c: Likewise.
34558         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34559         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34560         Declare hidden proto.
34561         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34562         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34563         Declare hidden proto.
34564         * include/stdio.h (__asprintf_internal): Don't declare.
34565         (__asprintf): Don't define as macro.  Declare hidden proto.
34566         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34567         (__fsetlocking): Declare hidden proto.
34568         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34569         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34570         hidden proto.
34571         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34572         (_IO_setlinebuf): Remove use of INTUSE.
34573         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34574         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34575         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34576         Remove declaration.
34577         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34578         (_IO_do_flush): Remove use of INTUSE.
34579         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34580         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34581         (_IO_adjust_column, _IO_least_wmarker)
34582         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34583         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34584         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34585         (_IO_default_doallocate, _IO_wdefault_doallocate)
34586         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34587         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34588         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34589         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34590         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34591         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34592         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34593         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34594         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34595         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34596         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34597         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34598         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34599         proto.
34600         (_IO_flush_all_internal, _IO_adjust_column_internal)
34601         (_IO_default_uflow_internal, _IO_default_finish_internal)
34602         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34603         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34604         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34605         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34606         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34607         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34608         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34609         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34610         (_IO_file_close_internal, _IO_file_close_it_internal)
34611         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34612         (_IO_file_init_internal, _IO_file_attach_internal)
34613         (_IO_file_fopen_internal, _IO_file_read_internal)
34614         (_IO_file_sync_internal, _IO_file_seek_internal)
34615         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34616         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34617         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34618         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34619         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34620         (_IO_list_all_internal, _IO_link_in_internal)
34621         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34622         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34623         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34624         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34625         (_IO_do_write_internal, _IO_padn_internal)
34626         (_IO_getline_info_internal, _IO_getline_internal)
34627         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34628         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34629         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34630         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34631         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34632         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34633         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34634         with libc_hidden_ver, remove use of INTUSE.
34635         * libio/genops.c: Likewise.
34636         * libio/freopen.c: Likewise.
34637         * libio/freopen64.c: Likewise.
34638         * libio/iofclose.c: Likewise.
34639         * libio/iofdopen.c: Likewise.
34640         * libio/iofflush.c: Likewise.
34641         * libio/iofflush_u.c: Likewise.
34642         * libio/iofgets.c: Likewise.
34643         * libio/iofgets_u.c: Likewise.
34644         * libio/iofopen.c: Likewise.
34645         * libio/iofopncook.c: Likewise.
34646         * libio/iofread.c: Likewise.
34647         * libio/iofread_u.c: Likewise.
34648         * libio/ioftell.c: Likewise.
34649         * libio/iofwrite.c: Likewise.
34650         * libio/iogetline.c: Likewise.
34651         * libio/iogets.c: Likewise.
34652         * libio/iogetwline.c: Likewise.
34653         * libio/iopadn.c: Likewise.
34654         * libio/iopopen.c: Likewise.
34655         * libio/ioseekoff.c: Likewise.
34656         * libio/ioseekpos.c: Likewise.
34657         * libio/iosetbuffer.c: Likewise.
34658         * libio/iosetvbuf.c: Likewise.
34659         * libio/ioungetc.c: Likewise.
34660         * libio/ioungetwc.c: Likewise.
34661         * libio/iovdprintf.c: Likewise.
34662         * libio/iovsprintf.c: Likewise.
34663         * libio/iovsscanf.c: Likewise.
34664         * libio/memstream.c: Likewise.
34665         * libio/obprintf.c: Likewise.
34666         * libio/oldfileops.c: Likewise.
34667         * libio/oldiofclose.c: Likewise.
34668         * libio/oldiofdopen.c: Likewise.
34669         * libio/oldiofopen.c: Likewise.
34670         * libio/oldiopopen.c: Likewise.
34671         * libio/oldstdfiles.c: Likewise.
34672         * libio/putc.c: Likewise.
34673         * libio/setbuf.c: Likewise.
34674         * libio/setlinebuf.c: Likewise.
34675         * libio/stdfiles.c: Likewise.
34676         * libio/strops.c: Likewise.
34677         * libio/vasprintf.c: Likewise.
34678         * libio/vscanf.c: Likewise.
34679         * libio/vsnprintf.c: Likewise.
34680         * libio/vswprintf.c: Likewise.
34681         * libio/wfiledoalloc.c: Likewise.
34682         * libio/wfileops.c: Likewise.
34683         * libio/wgenops.c: Likewise.
34684         * libio/wmemstream.c: Likewise.
34685         * libio/wstrops.c: Likewise.
34686         * libio/__fpurge.c: Likewise.
34687         * libio/__fsetlocking.c: Likewise.
34688         * assert/assert.c: Likewise.
34689         * debug/fgets_chk.c: Likewise.
34690         * debug/fgets_u_chk.c: Likewise.
34691         * debug/fread_chk.c: Likewise.
34692         * debug/fread_u_chk.c: Likewise.
34693         * debug/gets_chk.c: Likewise.
34694         * debug/obprintf_chk.c: Likewise.
34695         * debug/vasprintf_chk.c: Likewise.
34696         * debug/vdprintf_chk.c: Likewise.
34697         * debug/vsnprintf_chk.c: Likewise.
34698         * debug/vsprintf_chk.c: Likewise.
34699         * malloc/mtrace.c: Likewise.
34700         * misc/error.c: Likewise.
34701         * misc/syslog.c: Likewise.
34702         * stdio-common/asprintf.c: Likewise.
34703         * stdio-common/fxprintf.c: Likewise.
34704         * stdio-common/getw.c: Likewise.
34705         * stdio-common/isoc99_fscanf.c: Likewise.
34706         * stdio-common/isoc99_scanf.c: Likewise.
34707         * stdio-common/isoc99_vfscanf.c: Likewise.
34708         * stdio-common/isoc99_vscanf.c: Likewise.
34709         * stdio-common/isoc99_vsscanf.c: Likewise.
34710         * stdio-common/printf-prs.c: Likewise.
34711         * stdio-common/printf_fp.c: Likewise.
34712         * stdio-common/printf_fphex.c: Likewise.
34713         * stdio-common/printf_size.c: Likewise.
34714         * stdio-common/putw.c: Likewise.
34715         * stdio-common/scanf.c: Likewise.
34716         * stdio-common/sprintf.c: Likewise.
34717         * stdio-common/tmpfile.c: Likewise.
34718         * stdio-common/vfprintf.c: Likewise.
34719         * stdio-common/vfscanf.c: Likewise.
34720         * stdlib/strfmon_l.c: Likewise.
34721         * sunrpc/openchild.c: Likewise.
34722         * sunrpc/xdr_stdio.c: Likewise.
34723         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34724         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34726 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34728         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34730         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34731         in the third column, to generate for the shared library an IFUNC
34732         that uses _dl_vdso_vsym.
34733         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34734         * Makeconfig (object-suffixes-noshared): New variable.
34736         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34737         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34738         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34739         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34741         [BZ #14132]
34742         * include/sys/time.h (__gettimeofday): Remove macro.
34743         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34744         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34745         Remove INTDEF.
34746         (__gettimeofday): Add libc_hidden_def.
34747         (gettimeofday): Add libc_hidden_weak.
34748         * sysdeps/mach/gettimeofday.c: Likewise.
34749         * sysdeps/posix/gettimeofday.c: Likewise.
34750         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34751         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34752         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34753         (__gettimeofday_internal): Remove strong_alias.
34754         (__gettimeofday): Add libc_hidden_def.
34755         (gettimeofday): Add libc_hidden_weak.
34756         * sysdeps/unix/syscalls.list (gettimeofday):
34757         Remove __gettimeofday_internal alias.
34759 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34760             H.J. Lu  <hongjiu.lu@intel.com>
34762         [BZ #12495]
34763         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34764         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34765         (largebin_index_32_big): New.
34766         (largebin_index): Use it for 16-byte alignment.
34767         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34768         correction with front_misalign.
34770 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34774         Likewise.
34775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34776         Likewise.
34777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34778         Likewise.
34779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34780         Likewise.
34781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34782         Likewise.
34783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34784         Likewise.
34785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34786         Likewise.
34787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34788         Likewise.
34789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34790         Likewise.
34791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34792         Likewise.
34793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34794         Likewise.
34795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34796         Likewise.
34798         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34799         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34801 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34803         [BZ #10846]
34804         [BZ #14036]
34805         * math/libm-test.inc (exp_test): Add test from bug 14036.
34806         (pow_test): Add test from bug 10846.
34808         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34809         and other flags.
34810         (special_function): Do not include flags in test name.
34811         (parse_args): Likewise.
34812         * sysdeps/i386/fpu/libm-test-ulps: Update.
34813         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34814         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34815         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34818         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34819         exceptions.
34820         * math/libm-test.inc ("Philosophy"): Update comment about
34821         exception testing.
34822         (UNDERFLOW_EXCEPTION): New macro.
34823         (UNDERFLOW_EXCEPTION_OK): Likewise.
34824         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34825         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34826         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34827         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34828         (INVALID_EXCEPTION_OK): Update value.
34829         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34830         (OVERFLOW_EXCEPTION_OK): Likewise.
34831         (IGNORE_ZERO_INF_SIGN): Likewise.
34832         (test_exceptions): Handle underflow exceptions.
34833         (acos_test): Update for underflow exception expectations.
34834         (cexp_test): Likewise.
34835         (clog_test): Likewise.
34836         (clog10_test): Likewise.
34837         (csqrt_test): Likewise.
34838         (ctan_test): Likewise.
34839         (ctanh_test): Likewise.
34840         (exp_test): Likewise.
34841         (exp10_test): Likewise.
34842         (exp2_test): Likewise.
34843         (expm1_test): Likewise.
34844         (fma_test): Likewise.
34845         (j0_test): Likewise.
34846         (jn_test): Likewise.
34847         (nexttoward_test): Likewise.
34848         (pow_test): Likewise.
34849         (scalbn_test): Likewise.
34850         (scalbln_test): Likewise.
34851         (tan_test): Likewise.
34852         (y1_test): Likewise.
34853         * sysdeps/i386/fpu/libm-test-ulps: Update.
34854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34856 2012-05-23  David S. Miller  <davem@davemloft.net>
34858         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34859         (__libc_sigaction): Remove unused local variables.
34861 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34863         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34865 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34867         mktime: avoid signed integer overflow
34868         * time/mktime.c (__mktime_internal): Do not mishandle the case
34869         where diff == INT_MIN.
34871         mktime: simplify computation of average
34872         * time/mktime.c (ranged_convert): Use new time_t_avg function
34873         instead of rolling our own (probably-slower) code.
34875         mktime: do not assume signed right shift propagates sign bit
34876         * time/mktime.c (isdst_differ): New static function.
34877         (__mktime_internal): No need to normalize tm_isdst now.
34878         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34879         tm_isdst values.
34881         mktime: merge another wrapv change from gnulib
34882         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34883         from some compilers.
34885         mktime: remove incorrect attempt at unusual arithmetics
34886         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34887         The code didn't really work on such machines anyway.
34888         (TYPE_MINIMUM): Assume two's complement.
34889         (twos_complement_arithmetic): Verify that long_int and time_t
34890         are two's complement (or unsigned, in the latter case).
34892         mktime: check signed shifts on long_int and time_t, too
34893         * time/mktime.c (SHR): Check that shifts work as desired
34894         on the types long_int and time_t too, as SHR is used on
34895         such types.
34897         mktime: do not assume 'long' is wide enough
34898         * time/mktime.c (verify): Move decl up.
34899         (long_int): New type.
34900         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34901         to remove assumption in the code that 'long' is wide enough to
34902         store year values.  This assumption is not true on x32 and on
34903         some non-glibc platforms.
34905         mktime: merge wrapv change from gnulib
34906         * time/mktime.c (WRAPV): New macro.
34907         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34908         (guess_time_tm, __mktime_internal): Do not assume that signed
34909         integer overflow wraps around; modern compilers generate code
34910         where this assumption is no longer valid.
34912 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34914         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34915         Replace "jmp L(pseudo_end)" with "ret".
34916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34917         Likewise.
34919 2012-05-23  Andreas Jaeger  <aj@suse.de>
34921         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34922         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34924 2012-05-23  Andreas Jaeger  <aj@suse.de>
34925             Maximilian Attems  <max@stro.at>
34927         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34928         New macros.
34930 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34932         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34933         code so that pseudo_end is just ret and the stack pointer is
34934         correct also for static library in error case.
34936 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34938         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34939         move to syscalls.list.
34940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34945         * manual/install.texi (Running make install): Do not mention Linux
34946         kernel version for which pt_chown is not needed.
34947         (Linux): Do not mention problems with nscd with 2.0 kernels.
34948         * INSTALL: Regenerated.
34950 2012-05-23  Andreas Jaeger  <aj@suse.de>
34952         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34953         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34954         macro.
34955         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34956         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34957         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34958         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34959         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34960         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34961         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34962         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34963         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34964         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34965         * sysdeps/unix/sysv/linux/bits/in.h
34966         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34968 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34970         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34971         (PREPARE_VERSION): Just use assert instead, it will be elided
34972         under [NDEBUG] anyway.
34974 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34976         * sysdeps/unix/sysv/linux/Makefile: Include
34977         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34978         (sysdep_routines): Remove sysctl.
34979         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34980         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34981         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34982         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34983         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34985 2012-05-22  Andreas Jaeger  <aj@suse.de>
34987         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34988         that pseudo_end is just ret and the stack pointer is correct also
34989         for static library in error case.
34991 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34993         [BZ #14122]
34994         * nss/nsswitch.c (defconfig_entries): New variable.
34995         (__nss_database_lookup): Don't leak defconfig entries.
34996         (nss_parse_service_list): Don't leak on error paths.
34997         (free_database_entries): New function.
34998         (free_defconfig): New function.
34999         (free_mem): Move common code to free_database_entries.
35001 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35003         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35004         Add arch_prctl.
35005         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35007         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35008         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35010         New macro.
35011         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35012         (INTERNAL_SYSCALL_TYPES): Likewise.
35013         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35014         (LOAD_REGS_TYPES_[1-6]): Likewise.
35015         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35016         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35018 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35020         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35021         copysignl for GLIBC_2_0.
35022         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35023         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35024         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35025         logbl for GLIBC_2_0.
35026         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35027         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35029 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35031         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35032         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35034         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35035         Use "neg %eax".
35037         * time/mktime.c: Update copyright years.
35039 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35041         mktime: merge comment-quoting-style change from gnulib
35042         * time/mktime.c: Quote 'like this' in comments.
35043         The GNU coding standards suggest that we no longer quote `like this',
35044         as "`" and "'" are typically rendered asymmetrically nowadays.
35045         The typical gnulib style is to quote 'like this' when quoting
35046         code, and "like this" when quoting English.
35048         * time/mktime.c (compile-command): Add "-I.".
35050         mktime: merge mktime-internal.h change from gnulib
35051         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35053         mktime: merge time_r change from gnulib
35054         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35056         mktime: merge DEBUG change from gnulib
35057         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35058         case system <time.h> has a #define.
35060         mktime: merge <sys/types.h> change from gnulib
35061         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35062         since <time.t> is now guaranteed to define time_t.
35064         mktime: merge HAVE_CONFIG_H change from gnulib
35065         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35067 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35069         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35070         Use "neg %eax".
35072         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35073         __rlim_t cast.
35074         (struct rusage): Use anonymous union to pad each field to
35075         __syscall_slong_t.
35077 2012-05-21  David S. Miller  <davem@davemloft.net>
35079         * Makefules (o-iterator): Remove .s cases.
35080         (compile-command.s): Delete.
35081         (COMPILE.s): Delete.
35082         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35084 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35086         * configure.in (libc_cv_predef_stack_protector): Only consider
35087         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35088         * configure: Regenerated.
35090 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35093         New macro.  Use R*LP on int and pointer.
35094         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35095         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35096         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35097         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35099         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35100         [__WORDSIZE_TIME64_COMPAT32] instead of
35101         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35102         (struct utmp): Likewise.
35103         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35104         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35105         Renamed to ...
35106         (__WORDSIZE_TIME64_COMPAT32): This.
35107         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35108         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35109         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35110         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35111         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35112         (__WORDSIZE_TIME64_COMPAT32): New macro.
35114 2012-05-21  Andreas Jaeger  <aj@suse.de>
35116         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35117         only if [SHARED]. Add prototype for __wcschr_ia32.
35119 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35121         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35122         of %rbp unmolested in the jmp_buf while mangling the low bits.
35123         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35124         unmolested high bits of %rbp while demangling the low bits.
35125         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35127 2012-05-21  Andreas Jaeger  <aj@suse.de>
35129         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35130         * sunrpc/svc_simple.c: Use it for registerrpc.
35131         * sunrpc/xcrypt.c: Use it for passwd2des.
35133         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35135 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35137         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35138         Don't define if [__SYSCALL_WORDSIZE != 32].
35139         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35140         New macro.
35142 2012-05-21  Bruno Haible  <bruno@clisp.org>
35143             Andreas Jaeger  <aj@suse.de>
35145         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35146         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35147         inptr and inend for must_buffer_ch.
35148         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35149         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35150         * stdio-common/Makefile (tests): Remove bug15.
35151         (bug15-ENV): Remove macro.
35152         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35153         anymore.
35155 2012-05-19  Andreas Jaeger  <aj@suse.de>
35156             Roland McGrath  <roland@hack.frob.com>
35158         * manual/contrib.texi: Completely rewritten. It contains now an
35159         alphabetical list of contributors and their contributions.
35161 2012-05-21  Richard Henderson  <rth@twiddle.net>
35163         * misc/getauxval.c (__getauxval): Use unsigned long int.
35164         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35165         (getauxval): Use unsigned long int.
35167 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35169         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35171 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35173         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35174         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35175         __alignof__ (long double).
35177 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35181 2012-05-20  Richard Henderson  <rth@twiddle.net>
35183         * misc/getauxval.c: New file.
35184         * misc/sys/auxv.h: New file.
35185         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35186         (routines): Add getauxval.
35187         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35188         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35189         * elf/dl-sysdep.c (_dl_auxv): Remove.
35190         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35191         * elf/dl-support.c (_dl_auxv): New variable.
35192         (_dl_aux_init): Initialize it.
35193         * manual/startup.texi (Auxiliary Vector): New node.
35194         * sysdeps/generic/bits/hwcap.h: New file.
35195         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35196         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35197         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35198         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35199         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35200         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35202         Update.
35203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35206         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35212 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35216 2012-05-19  David S. Miller  <davem@davemloft.net>
35218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35220 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35222         [BZ #14123]
35223         * math/s_ccosh.c: Include <float.h>
35224         (__ccosh): Avoid internal overflow calculating sinh and cosh
35225         values before multiplying by sin and cos values.
35226         * math/s_ccoshf.c: Likewise.
35227         * math/s_ccoshl.c: Likewise.
35228         * math/s_csin.c: Likewise.
35229         * math/s_csinf.c: Likewise.
35230         * math/s_csinl.c: Likewise.
35231         * math/s_csinh.c: Likewise.
35232         * math/s_csinhf.c: Likewise.
35233         * math/s_csinhl.c: Likewise.
35234         * math/libm-test.inc (ccos_test): Add more tests.
35235         (ccosh_test): Likewise.
35236         (csin_test): Likewise.
35237         (csinh_test): Likewise.
35238         * sysdeps/i386/fpu/libm-test-ulps: Update.
35239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35241 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35243         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35244         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35246         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35248 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35250         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35251         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35252         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35253         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35254         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35255         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35256         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35257         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35258         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35259         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35260         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35261         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35262         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35263         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35264         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35265         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35266         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35267         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35268         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35269         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35270         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35271         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35272         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35273         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35274         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35275         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35276         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35277         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35278         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35279         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35280         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35282 2012-05-18  Andreas Jaeger  <aj@suse.de>
35284         * csu/.gitignore: Delete.
35286 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35288         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35289         (timex): Use __syscall_slong_t.
35291 2012-05-18  Andreas Jaeger  <aj@suse.de>
35292             Carlos O'Donell  <carlos_odonell@mentor.com>
35294         * manual/install.texi (Configuring and compiling): Update
35295         description about files modified in the source directory.
35296         * INSTALL: Regenerated.
35298 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35300         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35301         value.  Use "or" to set return value to -1.
35302         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35303         negate return value.
35305 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35307         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35308         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35309         failure if the compiler has Graphite support disabled.
35310         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35311         Likewise.
35312         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35313         (CFLAGS-memmove.c): Likewise.
35314         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35315         Likewise.
35317 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35319         * sysdeps/x86_64/x32/_itoa.h: New file.
35321         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35322         getdents system call only if kernel and user dirents have the
35323         same d_ino and d_off.
35325         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35326         LLONG_MAX != LONG_MAX.
35327         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35328         (_fitoa_word): Likewise.
35330         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35331         years.
35332         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35333         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35334         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35336         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35337         include <bits/wordsize.h>.  Check __x86_64__ instead of
35338         __WORDSIZE.
35339         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35340         if __x86_64__ is defined.  Use anonymous union on fpstate.
35342         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35343         anonymous union.
35345 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35347         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35348         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35349         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35350         Refer to _rtld_local_ro instead of _rtld_global_ro.
35351         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35352         Likewise.
35353         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35354         Likewise.
35355         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35356         Likewise.
35357         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35358         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35359         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35361         * sysdeps/powerpc/powerpc32/dl-machine.c
35362         (__elf_machine_runtime_setup) [PROF]: Don't reference
35363         _dl_prof_resolve.
35365 2012-05-18  Andreas Jaeger  <aj@suse.de>
35367         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35368         function only available for GCCs before 3.4 since GCC 3.4
35369         introduced a builtin.
35370         (lrint): Likewise.
35371         (llrintf): Likewise.
35372         (llrint): Likewise.
35373         (fmaxf): Likewise.
35374         (fmax): Likewise.
35375         (fminf): Likewise.
35376         (fmin): Likewise.
35377         (rint): Likewise.
35378         (rintf): Likewise.
35379         (nearbyint): Likewise.
35380         (nearbyintf): Likewise.
35381         (ceil): Likewise.
35382         (ceilf): Likewise.
35383         (floor): Likewise.
35384         (floorf): Likewise.
35386 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35388         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35389         on both fields and cast pointer to __syscall_ulong_t.
35391         * bits/types.h (__fsword_t): New type.
35392         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35393         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35394         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35395         (__FSWORD_T_TYPE): Likewise.
35396         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35397         (__FSWORD_T_TYPE): Likewise.
35398         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35399         (__FSWORD_T_TYPE): Likewise.
35400         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35401         (__FSWORD_T_TYPE): Likewise.
35402         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35403         __SWORD_TYPE with __fsword_t.
35404         (statfs64): Likewise.
35406 2012-05-17  David S. Miller  <davem@davemloft.net>
35408         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35410 2012-05-17  Andreas Jaeger  <aj@suse.de>
35412         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35413         warning.
35415 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35417         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35419 2012-05-17  Andreas Jaeger  <aj@suse.de>
35421         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35422         when it is used.
35424 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35426         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35428 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35430         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35431         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35433 2012-05-17  Andreas Jaeger  <aj@suse.de>
35434             Carlos O'Donell  <carlos_odonell@mentor.com>
35436         [BZ #14059]
35437         * sysdeps/x86_64/multiarch/init-arch.h
35438         (bit_YMM_Usable): Rename to...
35439         (bit_AVX_Usable): ... this.
35440         (bit_FMA4_Usable): New macro.
35441         (bit_XMM_state): New macro.
35442         (bit_YMM_state): New macro.
35443         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35444         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35445         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35446         (CPUID_OSXSAVE): New macro.
35447         (CPUID_AVX): New macro.
35448         (CPUID_FMA4): New macro.
35449         (index_YMM_Usable): Rename to...
35450         (index_AVX_Usable): ... this.
35451         (HAS_AVX): Use HAS_ARCH_FEATURE.
35452         (HAS_FMA4): Likewise.
35453         (HAS_YMM_USABLE): Remove.
35454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35455         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35456         are present.
35457         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35458         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35459         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35460         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35461         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35463 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35465         * math/libm-test.c: Support platforms without multiple rounding modes.
35466         * math/bug-nextafter.c: Support platforms without FP exceptions.
35467         * math/bug-nexttoward.c: Likewise.
35468         * math/test-fenv.c: Likewise.
35469         * math/test-misc.c: Likewise.
35470         * stdlib/bug-getcontext.c: Likewise.
35472 2012-05-17  Andreas Jaeger  <aj@suse.de>
35474         * manual/examples/search.c (critter_cmp): Change signature to
35475         avoid warnings.
35476         * manual/string.texi (Collation Functions): Likewise.
35478 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35480         * bits/types.h: Fold copyright years.
35481         * bits/typesizes.h: Likewise.
35482         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35483         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35484         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35486         * time/time.h: Likewise.
35488 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35490         [BZ #208]
35491         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35492         in instead of returning them.  Return void.
35493         (__libc_mallinfo): Accumulate over all arenas.
35494         (__malloc_stats): Adjust for change in int_mallinfo interface.
35496 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35498         [BZ #10375]
35499         * configure.in (NM): Add AC_CHECK_TOOL for it.
35500         (libc_extra_cflags): New substituted variable.
35501         Check for -fstack-protector being used implicitly.
35502         * configure: Regenerated.
35503         * config.make.in (config-extra-cflags): New variable,
35504         gets @libc_extra_cflags@.
35505         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35507         [BZ #10375]
35508         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35509         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35510         * configure: Regenerated.
35511         * config.make.in (CPPUNDEFS): New substituted variable.
35512         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35513         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35514         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35516 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35518         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35519         (mq_attr): Use __syscall_slong_t.
35521 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35523         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35524         Check __x86_64__ instead of __WORDSIZE.
35525         (_STAT_VER_LINUX): Likewise.
35526         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35527         __syscall_ulong_t and __syscall_slong_t.
35528         (stat64): Likewise.
35530 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35532         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35534 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35536         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35538 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35540         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35541         __syscall_ulong_t.
35543         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35544         include <bits/wordsize.h>.  Check __x86_64__ instead of
35545         __WORDSIZE.
35546         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35547         defined.
35548         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35550         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35551         include <bits/wordsize.h>.  Check __x86_64__ instead of
35552         __WORDSIZE.
35553         (user_regs_struct): Use "__extension__ unsigned long long"
35554         instead of "unsigned long" if __x86_64__ is defined.
35555         (user): Likewise.  Pad after pointer field if __ILP32__ is
35556         defined.
35558 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35560         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35561         versions 5 to 9.
35562         * configure: Regenerated.
35563         * manual/install.texi (texinfo): Increase version requirement to
35564         4.5 or later.
35565         * INSTALL: Regenerated.
35567         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35569 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35571         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35573         * sysdeps/x86_64/x32/ffs.c: New file.
35575         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35576         __syscall_ulong_t.
35577         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35578         defined.  Use __syscall_ulong_t.
35579         (shminfo): Use __syscall_ulong_t.
35580         (shm_info): Likewise.
35582         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35583         __syscall_ulong_t.
35585         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35586         <bits/wordsize.h>.
35587         (msgqnum_t): Use __syscall_ulong_t.
35588         (msglen_t): Likewise.
35589         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35590         __syscall_ulong_t.
35592         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35593         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35595         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35597         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35598         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35600         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35601         __syscall_slong_t.
35603         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35604         include <bits/wordsize.h>.  Check __x86_64__ instead of
35605         __WORDSIZE.
35607         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35608         "unsigned long long int" if __x86_64__ is defined.
35609         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35611         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35612         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35613         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35615         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35616         <stdint.h>.
35617         (GET_PC): Cast to uintptr_t first.
35618         (GET_FRAME): Likewise.
35619         (GET_STACK): Likewise.
35621         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35622         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35623         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35624         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35625         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35626         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35627         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35628         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35629         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35630         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35631         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35632         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35633         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35634         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35635         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35636         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35637         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35638         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35639         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35640         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35641         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35642         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35643         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35644         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35645         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35646         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35647         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35648         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35649         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35651 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35653         * Makerules (+depfiles): Also collect depfiles from .oS in
35654         $(extra-objs).
35655         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35656         .oS, $(libnldbl-routines)).
35658         * Makerules (native-compile-mkdep-flags): Define.
35659         * sunrpc/Makefile (extra-objs): Add $(addprefix
35660         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35661         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35662         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35663         calling $(make-target-directory).
35665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35667         * bits/types.h (__snseconds_t): Removed.
35668         * time/time.h (struct timespec): Replace __snseconds_t with
35669         __syscall_slong_t.
35670         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35671         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35672         Likewise.
35673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35674         (__SNSECONDS_T_TYPE): Likewise.
35675         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35676         (__SNSECONDS_T_TYPE): Likewise.
35677         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35678         (__SNSECONDS_T_TYPE): Likewise.
35680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35682         * sysdeps/mach/hurd/bits/typesizes.h
35683         (__SYSCALL_SLONG_TYPE): New macro.
35684         (__SYSCALL_ULONG_TYPE): Likewise.
35686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35688         * bits/types.h (__syscall_slong_t): New type.
35689         (__syscall_ulong_t): Likewise.
35691         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35692         (__SYSCALL_ULONG_TYPE): Likewise.
35693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35694         (__SYSCALL_SLONG_TYPE): Likewise.
35695         (__SYSCALL_ULONG_TYPE): Likewise.
35696         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35697         (__SYSCALL_SLONG_TYPE): Likewise.
35698         (__SYSCALL_ULONG_TYPE): Likewise.
35699         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35700         (__SYSCALL_SLONG_TYPE): Likewise.
35701         (__SYSCALL_ULONG_TYPE): Likewise.
35703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35705         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35706         Add sigaltstack-offsets.sym.
35707         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35708         <sigaltstack-offsets.h>.
35709         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35710         longjmp_msg pointer.
35711         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35712         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35713         signal stack.
35714         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35716 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35718         * elf/stackguard-macros.h: Remove file.
35719         * sysdeps/generic/stackguard-macros.h: New file.
35720         * sysdeps/i386/stackguard-macros.h: Likewise.
35721         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35722         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35723         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35724         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35725         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35726         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35727         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35728         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35729         <elf/stackguard-macros.h>.
35731         [BZ #14109]
35732         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35733         __aligned__ in attribute.
35734         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35735         (gregset_t): Likewise.
35737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35739         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35740         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35741         * sysdeps/x86_64/x32/Implies-after: New file.
35743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35745         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35746         and access return value for _dl_profile_fixup.  Use R10_LP to
35747         load frame size.
35749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35751         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35755         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35756         * sysdeps/x86_64/x32/sysdep.h: New file.
35758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35760         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35761         * sysdeps/x86_64/setjmp.S: Likewise.
35763 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35765         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35766         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35767         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35768         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35769         remove unused global constant.
35771 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35773         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35774         include of <not-cancel.h>.
35776 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35778         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35780 2012-05-15  Jeff Law  <law@redhat.com>
35781             Andreas Jaeger  <aj@suse.de>
35783         [BZ #13594]
35784         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35785         out from...
35786         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35787         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35788         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35789         code changing __hst_map_handle.map.
35791 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35793         * configure.in (sysnames): Look for Implies-before and Implies-after
35794         files.
35795         * configure: Regenerated.
35797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35799         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35800         8-byte data alignment with LP_SIZE alignment.
35802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35804         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35805         into R10_LP.
35807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35809         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35813         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35814         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35815         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35816         Likewise.
35817         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35821         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35822         (stackinfo_sub_sp): Likewise.
35824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35826         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35827         RAX_LP.
35829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35831         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35832         into R*_LP.
35834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35836         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35837         sizes into R*_LP.
35839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35841         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35845         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35846         into R11_LP and load __x86_64_shared_cache_size_half into
35847         R8_LP.
35849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35851         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35852         R8_LP.
35854 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35857         logb for POWER7.
35858         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35859         logbf for POWER7.
35860         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35861         logbl for POWER7.
35862         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35863         powerpc32/power7/fpu/s_logb.c via #include.
35864         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35865         powerpc32/power7/fpu/s_logbf.c via #include.
35866         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35867         powerpc32/power7/fpu/s_logbl.c via #include.
35869 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35871         * README.libm: Remove file.
35873 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35875         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35876         count for x32.  Use R*_LP and omit operand-size suffix.
35878 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35880         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35881         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35882         * sysdeps/x86_64/x32/shlib-versions: New file.
35884 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35886         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35887         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35888         Use _dl_fatal_printf instead.
35890 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35892         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35893         set if not set by the user.  Do not allow for being unset.
35894         * sysdeps/unix/sysv/linux/configure: Regenerated.
35896 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35898         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35899         the `q' suffix from lea and replace .quad with ASM_ADDR.
35901 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35904         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35905         instead of $17.
35906         (PTR_DEMANGLE): Likewise.
35908 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35910         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35911         (LP_OP): Likewise.
35912         (ASM_ADDR): Likewise.
35913         (RAX_LP): Likewise.
35914         (RBP_LP): Likewise.
35915         (RBX_LP): Likewise.
35916         (RCX_LP): Likewise.
35917         (RDI_LP): Likewise.
35918         (RSI_LP): Likewise.
35919         (RSP_LP): Likewise.
35920         (R8_LP): Likewise.
35921         (R9_LP): Likewise.
35922         (R10_LP): Likewise.
35923         (R10_LP): Likewise.
35924         (R11_LP): Likewise.
35925         (R12_LP): Likewise.
35926         (R13_LP): Likewise.
35927         (R14_LP): Likewise.
35928         (R15_LP): Likewise.
35930 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35932         * sysdeps/x86_64/x32/dl-machine.h: New file.
35934 2012-05-14  Andreas Jaeger  <aj@suse.de>
35936         * manual/Makefile (subdir): Remove export of subdir.
35937         (all): Remove target.
35938         (.PHONY): Remove all from list.
35939         (mkinstalldirs): Remove.
35940         (.PHONY): Remove installdirs from list.
35941         ($(inst_infodir)/libc.info): Use make-target-directory.
35942         (installdirs): Remove.
35943         (subdir_%): Remove.
35944         (glibc-targets): Remove.
35945         (lib): Remove.
35946         (stubs): Remove.
35947         ($(objpfx)stubs ../po/manual.pot): Remove.
35948         ($(objpfx)stamp%): Remove.
35949         (make-target-directory): Remove.
35950         (subdir_install): Remove.
35951         (routines): Remove.
35952         (aux): Remove.
35953         (sources): Remove.
35954         (objects): Remove.
35955         (headers): Remove.
35957         [BZ #13750]
35958         * manual/.gitignore: Remove, it's not needed anymore.
35959         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35960         all files in it.
35961         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35962         directory.
35963         (texis): Renamed to $(objpfx)texis.
35964         (texis-path): New, contains path to generated files.
35965         (chapters.%): Use texis-path for complete path, add extra argument
35966         libc-texinfo.sh.
35967         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35968         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35969         (summary,texi, stamp-summary): Use complete path of
35970         files. Generate files in build dir.
35971         (dir-add.texi): Build in build dir.
35972         (libm-err.texi,stamp-libm-err): Likewise.
35973         (version.texi, stamp-version): Likewise.
35974         (.%c.texi): Likewise.
35975         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35976         (mostlyclean): Remove target.
35977         (realclean): Remove target.
35978         (generated): Add new variable with contents from mostlyclean and
35979         realclean, remove entries duplicated in common-mostlyclean, add
35980         stamp-libm-err and stamp-version.
35981         (generated-dirs): Add libc directory.
35982         ($(inst_infodir)/libc.info): Install files from build dir.
35984         * manual/install.texi (Configuring and compiling): Adjust since
35985         the info files are not part of the tar ball anymore.
35987 2012-05-14  Andreas Jaeger  <aj@suse.de>
35989         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35990         variable.
35992 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35994         [BZ #13717]
35995         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35996         to 2.2.0 where earlier.
35997         * sysdeps/unix/sysv/linux/configure: Regenerated.
35998         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35999         Remove conditional code.
36000         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36001         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36002         Remove conditional code.
36003         [!__NR_lchown]: Likewise.
36004         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36005         [__NR_lchown]: Likewise.
36006         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36007         comment referencing __ASSUME_LCHOWN_SYSCALL.
36008         * sysdeps/unix/sysv/linux/i386/sigaction.c
36009         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36010         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36011         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36012         Remove conditional code.
36013         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36014         (__protocol_available): Remove #if 0 code.
36015         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36016         conditional code.
36017         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36018         * sysdeps/unix/sysv/linux/kernel-features.h
36019         (__ASSUME_GETCWD_SYSCALL): Don't define.
36020         (__ASSUME_REALTIME_SIGNALS): Likewise.
36021         (__ASSUME_PREAD_SYSCALL): Likewise.
36022         (__ASSUME_PWRITE_SYSCALL): Likewise.
36023         (__ASSUME_POLL_SYSCALL): Likewise.
36024         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36025         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36026         non-SPARC.
36027         (__ASSUME_SIOCGIFNAME): Don't define.
36028         (__ASSUME_MSG_NOSIGNAL): Likewise.
36029         (__ASSUME_SENDFILE): Define unconditionally.
36030         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36031         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36032         conditional code.
36033         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36034         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36035         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36036         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36037         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36038         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36039         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36041         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36042         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36044         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36045         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36047         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36048         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36050         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36051         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36053         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36054         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36056         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36057         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36059         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36060         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36062         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36063         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36064         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36065         Remove conditional code.
36066         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36067         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36068         Remove conditional code.
36069         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36070         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36071         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36072         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36073         Remove conditional code.
36074         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36075         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36076         Remove conditional code.
36077         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36078         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36079         Remove conditional code.
36080         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36081         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36082         Remove conditional code.
36083         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36084         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36085         Remove conditional code.
36086         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36087         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36088         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36090         * sysdeps/unix/sysv/linux/sigaction.c
36091         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36092         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36093         * sysdeps/unix/sysv/linux/sigpending.c
36094         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36095         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36096         * sysdeps/unix/sysv/linux/sigprocmask.c
36097         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36098         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36099         * sysdeps/unix/sysv/linux/sigsuspend.c
36100         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36101         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36102         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36103         (__libc_missing_rt_sigs): Remove.
36104         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36105         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36106         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36107         Remove conditional code.
36108         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36109         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36110         return 1.
36111         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36112         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36113         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36114         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36116 2012-05-14  Andreas Jaeger  <aj@suse.de>
36118         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36119         it's not used in glibc.
36120         (__coshm1): Likewise.
36121         (__acosh1p): Likewise.
36122         (__sgn): Likewise.
36124         * manual/string.texi (Copying and Concatenation): Add missing
36125         variable in concat example.
36126         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36128 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36130         [BZ #14103]
36131         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36132         __builtin_clzl with __builtin_clzll.
36134 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36136         [BZ #14104]
36137         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36138         libc_freeres_ptr.
36140 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36142         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36143         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36144         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36145         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36147 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36149         * NEWS: Update ia64 info.
36151 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36153         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36154         used as bcopy.
36156 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36158         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36159         * sysdeps/unix/syscalls.list (dup3): Likewise.
36160         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36161         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36163 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36165         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36166         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36168 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36170         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36171         thread pointer.
36172         (TLS_IE): Use mov/add instead of movq/addq to load thread
36173         pointer.
36174         (TLS_GD_PREFIX): New.
36175         (TLS_GD): Use it.
36177 2012-05-11  David S. Miller  <davem@davemloft.net>
36179         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36180         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36181         (_FPU_SETCW): Likewise.
36183 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36185         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36186         is 32-byte aligned.
36188 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36190         [BZ #11837]
36191         * iconvdata/gb18030.c: Update tables.
36192         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36193         characters specially.
36194         (BODY for TO_LOOP): Add encoding of missing ranges.
36196 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36198         [BZ #13673]
36199         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36200         * sysdeps/mach/hurd/dup3.c: Likewise.
36201         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36202         * sysdeps/powerpc/memmove.c:: Likewise.
36204 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36206         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36207         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36209 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36211         * elf/elf.h (R_X86_64_RELATIVE64): New.
36212         (R_X86_64_NUM): Updated.
36213         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36214         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36215         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36216         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36217         tst-quad1pie tst-quad2pie
36218         (modules-names): Add tst-quadmod1 tst-quadmod2.
36219         ($(objpfx)tst-quad1): New dependency.
36220         ($(objpfx)tst-quad2): Likewise.
36221         ($(objpfx)tst-quad1pie): Likewise.
36222         ($(objpfx)tst-quad2pie): Likewise.
36223         * sysdeps/x86_64/tst-quad1.c: New file.
36224         * sysdeps/x86_64/tst-quad1pie.c: New file.
36225         * sysdeps/x86_64/tst-quad2.c: Likewise.
36226         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36227         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36228         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36229         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36230         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36232 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36234         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36235         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36236         * streams/stropts.h (t_scalar_t): Define type.
36238         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36239         (_PATH_PRESERVE): Set to "/var/lib".
36240         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36242         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36243         instead of int.
36245         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36246         if __dir_mkfile succeeded.
36248         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36249         checking for _hurd_dtablesize.  Unlock it right after having
36250         finished _hurd_dtable allocation.
36252 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36254         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36255         * sysdeps/mach/hurd/configure: Regenerated.
36256         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36257         special-casing to...
36258         * sysdeps/gnu/configure.in: ... this new file.
36259         * sysdeps/unix/sysv/linux/configure: Regenerated.
36260         * sysdeps/gnu/configure: New generated file.
36262         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36263         for Linux: use nsec instead of usec, as well as:
36264         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36265         members of type struct timespec.
36266         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36267         New macros.
36268         (struct stat64): Likewise.
36269         (_STATBUF_ST_NSEC): New macro.
36270         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36272         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36273         __strtoul_internal rather than strtoul.
36275 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36277         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36278         and reject them.
36280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36282         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36283         which preserves existing values.
36284         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36286 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36288         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36289         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36290         greater than FD_SETSIZE.
36292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36294         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36295         allocated, call __vm_protect to finish enabling the existing space, and
36296         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36297         allocate the remainder.
36299 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36301         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36302         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36304 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36306         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36307         sysdeps/mach/hurd/readlink.c.
36309         * posix/tst-sysconf.c (posix_options): Only use
36310         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36311         _POSIX_SYNCHRONIZED_IO when they are defined
36312         * sysdeps/mach/hurd/bits/posix_opt.h:
36313         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36314         (_XOPEN_REALTIME): Undefine macro.
36315         (_XOPEN_REALTIME_THREADS): Undefine macro.
36316         (_XOPEN_SHM): Undefine macro.
36317         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36318         macro to -1.
36319         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36320         macro to -1.
36321         (_POSIX_ASYNC_IO): Undefine macro.
36322         (_POSIX_PRIORITIZED_IO): Undefine macro.
36323         (_POSIX_SPIN_LOCKS): Define macro to -1.
36325         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36326         SA_NODEFER, SA_RESETHAND.
36327         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36328         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36329         F_DUPFD_CLOEXEC.
36331 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36333         * elf/Makefile (pldd-modules): Define unconditionally.
36335 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36337         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36341         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36342         Return ENOENT when name is empty.
36343         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36345 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36347         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36349         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36351 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36353         Fix mlock in all cases except non-readable pages.
36354         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36355         instead of VM_PROT_ALL as parameter to __vm_wire function.
36357         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36358         (__mkdir): When path is `/', just fail with EEXIST.
36359         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36363         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36364         <sys/uio.h> (for writev).
36365         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36366         and <sys/param.h> (for MIN).
36368 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36370         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36371         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36372         if interrupted.
36374 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36376         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36377         Depend on against $(link-rpcuserlibs).
36379 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36381         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36382         (__libc_stack_end): Do not use attribute_relro.
36383         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36384         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36385         to libthread-provided value.
36386         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36387         attribute_relro.
36389 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36391         [BZ #3748]
36392         * bits/libc-lock.h (__libc_once_get): New macro.
36393         * sysdeps/mach/bits/libc-lock.h: Likewise.
36394         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36395         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36396         instead of using implementation details.
36398         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36399         * libio/freopen.c: Likewise.
36400         * libio/freopen64.c: Likewise.
36401         * misc/syslog.c: Likewise.
36402         * nscd/connections.c: Likewise.
36403         * nscd/netgroupcache.c: Likewise.
36404         * sysdeps/posix/getcwd.c: Likewise.
36406 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36408         * math/w_ilogbf.c: Add #include <limits.h>.
36410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36412         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36413         path instead of returning without unlocking.
36415         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36416         immediate-write ioctls.
36417         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36419 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36421         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36422         __builtin_frame_address instead of making assumptions about the
36423         location of the return address relative to DATA.  Force early load of
36424         the return address.
36425         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36426         __builtin_frame_address.
36428         dup3 for GNU Hurd.
36429         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36430         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36431         implement dup3 and do some further code clean-ups.
36432         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36433         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36435 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36437         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36439         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36440         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36441         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36442         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36443         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36444         d->port.lock.
36446         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36447         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36448         when handler == SIG_ERR, not when handler != SIG_ERR.
36450 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36452         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36453         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36454         definitions.
36456         accept4 for GNU Hurd.
36457         * include/sys/socket.h (__libc_accept4): New prototype.
36458         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36459         to implement __libc_accept4.
36460         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36461         __libc_accept4.
36462         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36464         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36465         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36466         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36467         signal-defines.sym.
36469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36471         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36473 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36475         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36476         assertion on O_CLOEXEC flag.
36477         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36478         * hurd/intern-fd.c: Likewise.
36479         * hurd/port2fd.c: Likewise.
36481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36483         [BZ #3906]
36484         * bits/in.h (IPV6_PKTINFO): Define new macro.
36485         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36487 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36489         [BZ #13954]
36490         [BZ #13955]
36491         [BZ #13956]
36492         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36493         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36494         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36495         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36496         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36497         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36498         * math/libm-test.inc (logb_test) : Additional logb tests.
36500 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36501             Andreas Jaeger  <aj@suse.de>
36503         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36504         * configure: Regenerated.
36505         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36506         * config.make.in (link-obsolete-rpc): New substituted variable.
36507         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36508         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36509         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36510         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36511         so that libc.a contains the symbols.
36512         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36513         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36514         * sunrpc/auth_none.c: Likewise.
36515         * sunrpc/auth_unix.c: Likewise.
36516         * sunrpc/authdes_prot.c: Likewise.
36517         * sunrpc/authuxprot.c: Likewise.
36518         * sunrpc/clnt_gen.c: Likewise.
36519         * sunrpc/clnt_perr.c: Likewise.
36520         * sunrpc/clnt_raw.c: Likewise.
36521         * sunrpc/clnt_simp.c: Likewise.
36522         * sunrpc/clnt_tcp.c: Likewise.
36523         * sunrpc/clnt_udp.c: Likewise.
36524         * sunrpc/clnt_unix.c: Likewise.
36525         * sunrpc/des_crypt.c: Likewise.
36526         * sunrpc/des_soft.c: Likewise.
36527         * sunrpc/get_myaddr.c: Likewise.
36528         * sunrpc/key_call.c: Likewise.
36529         * sunrpc/key_prot.c: Likewise.
36530         * sunrpc/netname.c: Likewise.
36531         * sunrpc/pm_getmaps.c: Likewise.
36532         * sunrpc/pm_getport.c: Likewise.
36533         * sunrpc/pmap_clnt.c: Likewise.
36534         * sunrpc/pmap_prot.c: Likewise.
36535         * sunrpc/pmap_prot2.c: Likewise.
36536         * sunrpc/pmap_rmt.c: Likewise.
36537         * sunrpc/publickey.c: Likewise.
36538         * sunrpc/rpc_cmsg.c: Likewise.
36539         * sunrpc/rpc_common.c: Likewise.
36540         * sunrpc/rpc_dtable.c: Likewise.
36541         * sunrpc/rpc_prot.c: Likewise.
36542         * sunrpc/rpc_thread.c: Likewise.
36543         * sunrpc/rtime.c: Likewise.
36544         * sunrpc/svc.c: Likewise.
36545         * sunrpc/svc_auth.c: Likewise.
36546         * sunrpc/svc_raw.c: Likewise.
36547         * sunrpc/svc_run.c: Likewise.
36548         * sunrpc/svc_tcp.c: Likewise.
36549         * sunrpc/svc_udp.c: Likewise.
36550         * sunrpc/svc_unix.c: Likewise.
36551         * sunrpc/svcauth_des.c: Likewise.
36552         * sunrpc/xcrypt.c: Likewise.
36553         * sunrpc/xdr.c: Likewise.
36554         * sunrpc/xdr_array.c: Likewise.
36555         * sunrpc/xdr_float.c: Likewise.
36556         * sunrpc/xdr_intXX_t.c: Likewise.
36557         * sunrpc/xdr_mem.c: Likewise.
36558         * sunrpc/xdr_rec.c: Likewise.
36559         * sunrpc/xdr_ref.c: Likewise.
36560         * sunrpc/xdr_sizeof.c: Likewise.
36561         * sunrpc/xdr_stdio.c: Likewise.
36563 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36565         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36566         change.  Update copyright years.
36568 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36570         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36572 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36573             Joseph Myers  <joseph@codesourcery.com>
36574             Paul Pluzhnikov  <ppluzhnikov@google.com>
36576         [BZ #14012]
36577         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36578         requiring rpcgen.
36579         [cross-compiling] (extra-libs): Likewise.
36580         [cross-compiling] (extra-libs-others): Likewise.
36581         [cross-compiling] (librpcsvc-routines): Likewise.
36582         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36583         [cross-compiling] (omit-deps): Likewise.
36584         (sunrpc-CPPFLAGS): New variable.
36585         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36586         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36587         (cross-rpcgen-objs): New variable.
36588         (extra-objs): Append $(cross-rpcgen-objs).
36589         ($(cross-rpcgen-objs)): New rule.
36590         ($(objpfx)cross-rpcgen): Likewise.
36591         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36592         comment.
36593         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36594         ($(objpfx)x%.stmp): Likewise.
36595         * sunrpc/proto.h [IS_IN_build] (_): Define.
36596         [IS_IN_build] (_libc_intl_domainname): Likewise.
36598 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36600         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36601         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36602         and R_X86_64_TPOFF64.
36604 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36606         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36607         sysdeps/unix/sysv/syscalls.list.
36608         (stime): Likewise.
36609         (utime): Likewise.
36610         * sysdeps/unix/sysv/syscalls.list: Remove file.
36612 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36614         [BZ #3440]
36615         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36616         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36617         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36618         (__LC_IDENTIFICATION): Make these macros useful in #if
36619         expressions, as required by C99.
36621 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36623         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36624         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36625         after this.
36627 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36629         * stdlib/longlong.h: Updated from GCC.
36631 2012-05-09  Andreas Jaeger  <aj@suse.de>
36633         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36634         default is first entry.
36635         (run_mode): Set type.
36636         (main): Remove informal message about syslog.
36637         (options): Fix typo.
36639         [BZ #14053]
36640         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36641         to asm.
36642         (lrint): Likewise.
36643         (llrintf): Likewise.
36644         (llrint): Likewise.
36645         (rint): Likewise.
36646         (rintf): Likewise.
36647         (nearbyint): Likewise.
36648         (nearbyintf): Likewise.
36650 2012-05-09  Andreas Jaeger  <aj@suse.de>
36651             Pedro Alves  <palves@redhat.com>
36653         * nscd/nscd.c (run_mode): Use enum.
36654         (main): Cleanup coding style issue.
36656 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36657             Andreas Jaeger  <aj@suse.de>
36659         * nscd/nscd.c (go_background): Replaced with...
36660         (run_mode): ... this.
36661         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36662         (options): Add -F --foreground.
36663         (main): Implement it.
36664         (parse_opt): Parse it.
36666 2012-05-09  Andreas Jaeger  <aj@suse.de>
36668         [BZ #14083]
36669         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36670         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36671         -Wconversion warning.
36672         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36673         Likewise.
36675 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36677         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36678         == 0.
36679         (LC_ALL): Use macro-int-constant.
36680         (LC_COLLATE): Likewise.
36681         (LC_CTYPE): Likewise.
36682         (LC_MESSAGES): Likewise.
36683         (LC_MONETARY): Likewise.
36684         (LC_NUMERIC): Likewise.
36685         (LC_TIME): Likewise.
36686         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36687         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36688         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36689         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36690         Specify type.
36691         [C99-based standards] (float_t): Expect type.
36692         [C99-based standards] (double_t): Expect type.
36693         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36694         type.
36695         [C99-based standards] (HUGE_VALL): Likewise.
36696         [C99-based standards] (INFINITY): Likewise.
36697         [C99-based standards] (NAN): Likewise.
36698         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36699         [C99-based standards] (FP_NAN): Likewise.
36700         [C99-based standards] (FP_NORMAL): Likewise.
36701         [C99-based standards] (FP_SUBNORMAL): Likewise.
36702         [C99-based standards] (FP_ZERO): Likewise.
36703         [C99-based standards] (FP_FAST_FMA): Use
36704         optional-macro-int-constant.  Specify type.  Require == 1.
36705         [C99-based standards] (FP_FAST_FMAF): Likewise.
36706         [C99-based standards] (FP_FAST_FMAL): Likewise.
36707         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36708         [C99-based standards] (FP_ILOGBNAN): Likewise.
36709         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36710         Specify type.
36711         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36712         [C99-based standards] (math_errhandling): Specify type.
36713         [ISO99 || ISO11] (signgam): Do not allow.
36714         [non-C99-based standards] (copysignf): Do not allow.
36715         [non-C99-based standards] (exp2f): Likewise.
36716         [non-C99-based standards] (log2f): Likewise.
36717         [non-C99-based standards] (modff): Allow.
36718         [non-C99-based standards] (erff): Do not allow.
36719         [non-C99-based standards] (erfcf): Likewise.
36720         [non-C99-based standards] (gammaf): Likewise.
36721         [non-C99-based standards] (hypotf): Likewise.
36722         [non-C99-based standards] (j0f): Likewise.
36723         [non-C99-based standards] (j1f): Likewise.
36724         [non-C99-based standards] (jnf): Likewise.
36725         [non-C99-based standards] (lgammaf): Likewise.
36726         [non-C99-based standards] (tgammaf): Likewise.
36727         [non-C99-based standards] (y0f): Likewise.
36728         [non-C99-based standards] (y1f): Likewise.
36729         [non-C99-based standards] (ynf): Likewise.
36730         [non-C99-based standards] (isnanf): Likewise.
36731         [non-C99-based standards] (acoshf): Likewise.
36732         [non-C99-based standards] (asinhf): Likewise.
36733         [non-C99-based standards] (atanhf): Likewise.
36734         [non-C99-based standards] (cbrtf): Likewise.
36735         [non-C99-based standards] (expm1f): Likewise.
36736         [non-C99-based standards] (ilogbf): Likewise.
36737         [non-C99-based standards] (log1pf): Likewise.
36738         [non-C99-based standards] (logbf): Likewise.
36739         [non-C99-based standards] (nextafterf): Likewise.
36740         [non-C99-based standards] (remainderf): Likewise.
36741         [non-C99-based standards] (rintf): Likewise.
36742         [non-C99-based standards] (scalbf): Likewise.
36743         [non-C99-based standards] (copysignl): Likewise.
36744         [non-C99-based standards] (exp2l): Likewise.
36745         [non-C99-based standards] (log2l): Likewise.
36746         [non-C99-based standards] (modfl): Allow.
36747         [non-C99-based standards] (erfl): Do not allow.
36748         [non-C99-based standards] (erfcl): Likewise.
36749         [non-C99-based standards] (gammal): Likewise.
36750         [non-C99-based standards] (hypotl): Likewise.
36751         [non-C99-based standards] (j0l): Likewise.
36752         [non-C99-based standards] (j1l): Likewise.
36753         [non-C99-based standards] (jnl): Likewise.
36754         [non-C99-based standards] (lgammal): Likewise.
36755         [non-C99-based standards] (tgammal): Likewise.
36756         [non-C99-based standards] (y0l): Likewise.
36757         [non-C99-based standards] (y1l): Likewise.
36758         [non-C99-based standards] (ynl): Likewise.
36759         [non-C99-based standards] (isnanl): Likewise.
36760         [non-C99-based standards] (acoshl): Likewise.
36761         [non-C99-based standards] (asinhl): Likewise.
36762         [non-C99-based standards] (atanhl): Likewise.
36763         [non-C99-based standards] (cbrtl): Likewise.
36764         [non-C99-based standards] (expm1l): Likewise.
36765         [non-C99-based standards] (ilogbl): Likewise.
36766         [non-C99-based standards] (log1pl): Likewise.
36767         [non-C99-based standards] (logbl): Likewise.
36768         [non-C99-based standards] (nextafterl): Likewise.
36769         [non-C99-based standards] (remainderl): Likewise.
36770         [non-C99-based standards] (rintl): Likewise.
36771         [non-C99-based standards] (scalbl): Likewise.
36772         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36773         [non-C99-based standards] (FP_*): Do not allow.
36774         [C99-based standards] (FP_*): Change to
36775         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36776         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36777         allow.
36778         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36779         (SIG_ERR): Likewise.
36780         [X/Open-based standards] (SIG_HOLD): Likewise.
36781         (SIG_IGN): Likewise.
36782         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36783         positive value.
36784         (SIGFPE): Likewise.
36785         (SIGILL): Likewise.
36786         (SIGINT): Likewise.
36787         (SIGSEGV): Likewise.
36788         (SIGTER): Likewise.
36789         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36790         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36791         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36792         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36793         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36794         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36795         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36796         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36797         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36798         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36799         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36800         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36801         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36802         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36803         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36804         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36805         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36806         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36807         [X/Open-based standards] (SIGTRAP): Likewise.
36808         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36809         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36810         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36811         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36812         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36813         allow.
36815 2012-05-08  Ian Wienand  <ianw@vmware.com>
36817         [BZ #14080]
36818         * time/tzset.c (__tzset_parse_tz): Update default rules for
36819         daylight time changes in the Energy Policy Act of 2005.
36821 2012-05-09  Andreas Jaeger  <aj@suse.de>
36823         [BZ #13983]
36824         * elf/ldconfig.c (parse_conf): Change string to make clear that
36825         ldconfig only issued a warning if ld.so.conf does not exist.
36827 2012-05-08  David S. Miller  <davem@davemloft.net>
36829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36830         movxtod instead of popping the value on the stack.
36832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36834 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36836         * config.h.in: Add HAVE_ARM_PCS_VFP.
36838 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36840         [BZ #13979]
36841         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36842         checking but the checks are disabled for any reason.
36844 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36846         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36847         and ELF64_R_TYPE with ELFW(R_TYPE).
36849 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36851         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36852         (ulimit): Likewise.
36854         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36855         (settimeofday): Likewise.
36857 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36859         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36860         a struct th_u2 inside the union, and move tu_block/tu_code into
36861         a new th_u3 union of tu_block/tu_code inside of that.  Move
36862         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36863         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36864         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36865         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36866         (th_stuff): Change to th_u1.tu_stuff.
36867         (th_data): Define.
36868         (th_msg): Change to th_u1.th_u2.tu_data.
36870 2012-05-07  David S. Miller  <davem@davemloft.net>
36872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36874         [BZ #14074]
36875         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36876         (SETUP_PIC_REG): Use it.
36877         (SETUP_PIC_REG_LEAF): Use it.
36879 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36881         [BZ #13885]
36882         [BZ #13923]
36883         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36884         USE_AS_EXPM1L.
36885         (EXPL_FINITE): Likewise.
36886         (FLDLOG): Likewise.
36887         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36888         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36889         e_expl.S.
36890         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36891         USE_AS_EXPM1L.
36892         (EXPL_FINITE): Likewise.
36893         (FLDLOG): Likewise.
36894         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36895         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36896         e_expl.S.
36897         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36898         test of -max_value argument for long double.
36899         * sysdeps/i386/fpu/libm-test-ulps: Update.
36900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36902 2012-05-06  David S. Miller  <davem@davemloft.net>
36904         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36905         quad soft-float symbols whose references which are compiler
36906         generated.
36907         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36909 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36911         [BZ #13884]
36912         [BZ #13914]
36913         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36914         USE_AS_EXP10L.
36915         (EXPL_FINITE): Likewise.
36916         (FLDLOG): Likewise.
36917         (c0): Likewise.
36918         (c1): Likewise.
36919         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36920         Adjust comments for base varying.
36921         (__expl_finite): Change alias to EXPL_FINITE.
36922         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36923         e_expl.S.
36924         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36925         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36926         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36927         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36928         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36929         USE_AS_EXP10L.
36930         (EXPL_FINITE): Likewise.
36931         (FLDLOG): Likewise.
36932         (c0): Likewise.
36933         (c1): Likewise.
36934         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36935         Adjust comments for base varying.
36936         (__expl_finite): Change alias to EXPL_FINITE.
36937         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36938         tests for bugs.
36939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36941         [BZ #14064]
36942         * math/libm-test.inc (check_float_internal): Correct ulp
36943         calculation for subnormal expected results.
36945 2012-05-06  Andreas Jaeger  <aj@suse.de>
36947         * Makeconfig (+math-flags): New, set to -frounding-math.
36948         (+cflags): Add +math-flags so that all of glibc gets compiled with
36949         it.
36951         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36953 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36955         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36956         Disable one test.
36958         [BZ #13787]
36959         [BZ #13922]
36960         [BZ #14036]
36961         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36962         (__ieee754_expl): Allow for and saturate large arguments.
36963         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36964         (u_threshold): Likewise.
36965         (__exp): Call __ieee754_exp before checking for overflow and
36966         underflow.
36967         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36968         (u_threshold): Likewise.
36969         (__expf): Call __ieee754_expf before checking for overflow and
36970         underflow.
36971         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36972         (u_threshold): Likewise.
36973         (__expl): Call __ieee754_expl before checking for overflow and
36974         underflow.
36975         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36976         (__ieee754_expl): Allow for and saturate large arguments.
36977         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36978         missing overflow exception on overflow.
36979         (expm1_test): Do not allow missing overflow exception on overflow.
36981         * sysdeps/i386/fpu/e_expl.c: Move to ...
36982         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36983         rather than using inline asm.
36984         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36985         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36986         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36988         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36989         (nice): Likewise.
36990         (poll): Likewise.
36991         (signal): Likewise.
36992         (time): Likewise.
36993         (times): Likewise.
36995 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36997         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36998         sysdeps/unix/common/syscalls.list.
36999         (fchmod): Likewise.
37000         (fchown): Likewise.
37001         (ftruncate): Likewise.
37002         (getrusage): Likewise.
37003         (gettimeofday): Likewise.
37004         (setpgid): Likewise.
37005         (setregid): Likewise.
37006         (setreuid): Likewise.
37007         (sigaction): Likewise.
37008         (truncate): Likewise.
37009         (vhangup): Likewise.
37010         * sysdeps/unix/common/syscalls.list: Remove file.
37011         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37012         * sysdeps/unix/sysv/linux/Implies: Likewise.
37014 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37016         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37018         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37019         Moved to ...
37020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37021         Here.
37022         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37023         to ...
37024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37025         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37026         to ...
37027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37028         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37029         to ...
37030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37031         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37032         to ...
37033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37034         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37035         to ...
37036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37037         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37038         to ...
37039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37040         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37041         to ...
37042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37043         Here.
37044         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37045         to ...
37046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37047         Here.
37048         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37049         to ...
37050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37051         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37052         Moved to ...
37053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37054         Here.
37055         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37056         to ...
37057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37059 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37061         * sysdeps/unix/common/bits/dirent.h: Remove file.
37062         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37064         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37065         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37066         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37067         * sysdeps/unix/bsd/isatty.c: Likewise.
37068         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37069         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37070         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37072 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37074         [BZ #13563]
37075         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37076         long double comparison inaccuracies.
37077         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37080 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37082         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37083         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37085 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37087         [BZ #14049]
37088         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37089         nonzero digits before rounding a hex value.
37090         * stdlib/tst-strtod.c (tests): Add another test.
37092 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37094         * sysdeps/s390/fpu/libm-test-ulps: Update.
37096 2012-05-03  Andreas Jaeger  <aj@suse.de>
37098         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37099         does not get optimized out.
37100         (malloc_opt_barrier): New.
37102 2012-05-03  Andreas Jaeger  <aj@suse.de>
37103             Roland McGrath  <roland@hack.frob.com>
37105         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37106         intermediate file deletion.
37107         (generated): Add .symlist files.
37109 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37111         [BZ #13775]
37112         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37113         Redirect under this condition.
37114         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37115         [__USE_GNU] (__dprintf_chk): Not under this condition.
37116         [__USE_GNU] (__vdprintf_chk): Likewise.
37117         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37118         under this condition.
37119         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37120         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37121         [__USE_XOPEN2K8] (vdprintf): Likewise.
37122         [__USE_GNU] (__dprintf_chk): Not under this condition.
37123         [__USE_GNU] (__vdprintf_chk): Likewise.
37124         [__USE_GNU] (dprintf): Likewise.
37125         [__USE_GNU] (vdprintf): Likewise.
37127 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37129         * elf/Makefile (common-generated): Set this instead of generated for
37130         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37131         $(all-built-dso)-derived lists.
37133 2012-05-03  Andreas Jaeger  <aj@suse.de>
37135         * sysdeps/i386/fpu/libm-test-ulps: Update.
37137         * FAQ: Removed.
37138         * FAQ.in: Likewise.
37139         * scripts/gen-FAQ.pl: Likewise.
37140         * manual/install.texi (Installation): Point to online location of
37141         FAQ.
37142         * Makefile (files-for-dist): Remove FAQ.
37143         (FAQ): Remove.
37145 2012-05-02  Allan McRae  <allan@archlinux.org>
37147         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37148         (LDFLAGS-reldepmod5.so): Likewise.
37149         (LDFLAGS-reldep6mod1.so): Likewise.
37150         (LDFLAGS-reldep6mod4.so): Likewise.
37151         (LDFLAGS-reldep8mod3.so): Likewise.
37152         (LDFLAGS-unload4mod1.so): Likewise.
37153         (LDFLAGS-unload4mod2.so): Likewise.
37154         (LDFLAGS-tst-initorder): Likewise.
37155         (LDFLAGS-tst-initordera2.so): Likewise.
37156         (LDFLAGS-tst-initordera3.so): Likewise.
37157         (LDFLAGS-tst-initordera4.so): Likewise.
37158         (LDFLAGS-tst-initorderb2.so): Likewise.
37159         (LDFLAGS-noload): Likewise.
37160         (LDFLAGS-next): Likewise.
37161         (LDFLAGS-order2mod1.so): Likewise.
37162         (LDFLAGS-order2mod2.so): Likewise.
37163         (LDFLAGS-tst-initorder2): Likewise.
37164         (LDFLAGS-tst-initorder2a.so): Likewise.
37165         (LDFLAGS-tst-initorder2b.so): Likewise.
37166         (LDFLAGS-tst-initorder2c.so): Likewise.
37167         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37169 2012-05-02  David S. Miller  <davem@davemloft.net>
37171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37173 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37175         [BZ #14055]
37176         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37178 2012-05-02  Andreas Jaeger  <aj@suse.de>
37180         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37181         since we manipulate rounding mode.
37182         (CPPFLAGS-test-idouble.c): Likewise.
37183         (CPPFLAGS-test-ifloat.c): Likewise.
37184         (CFLAGS-test-ldouble.c): Likewise.
37185         (CFLAGS-test-double.c): Likewise.
37186         (CFLAGS-test-float.c): Likewise.
37187         (CFLAGS-test-misc.c): Likewise.
37188         (CFLAGS-test-test-fenv.c): Likewise.
37190 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37192         [BZ #2550]
37193         [BZ #2570]
37194         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37195         comparisons to determine direction to adjust input.
37197 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37199         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37200         output to the target.
37202         * scripts/localplt.awk: New file.
37203         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37204         (check-localplt-CFLAGS): Variable removed.
37205         ($(all-built-dso:=.jmprel)): New static pattern rule.
37206         (generated): Add those targets.
37207         (localplt-built-dso): New variable.
37208         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37210         * elf/check-localplt.c: File removed.
37212         * scripts/check-execstack.awk: New file.
37213         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37214         (check-execstack-CFLAGS): Variable removed.
37215         ($(objpfx)check-execstack.h): Target removed.
37216         ($(objpfx)execstack-default): New target.
37217         (generated): Add that instead of check-execstack.h.
37218         ($(all-built-dso:=.phdr)): New static pattern rule.
37219         (generated): Add those targets.
37220         * elf/check-execstack.c: File removed.
37222         * scripts/check-textrel.awk: New file.
37223         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37224         (check-textrel-CFLAGS): Variable removed.
37225         (all-built-dso): Use := to define.o
37226         ($(all-built-dso:=.dyn)): New static pattern rule.
37227         (generated): Add those targets.
37228         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37229         * config.make.in (READELF): New substituted variable.
37230         * elf/check-textrel.c: File removed.
37232 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37234         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37235         allow.
37236         * conform/data/ctype.h-data [C99-based standards] (isblank):
37237         Expect function.
37238         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37239         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37240         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37241         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37242         Specify type.  Require positive value.
37243         (EILSEQ): Likewise.
37244         (ERANGE): Likewise.
37245         [ISO || POSIX] (EILSEQ): Do not expect.
37246         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37247         Specify type.  Require positive value.
37248         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37249         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37250         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37251         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37252         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37253         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37254         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37255         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37256         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37257         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37258         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37259         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37260         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37261         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37262         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37263         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37264         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37265         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37266         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37267         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37268         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37269         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37270         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37271         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37272         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37273         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37274         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37275         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37276         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37277         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37278         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37279         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37280         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37281         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37282         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37283         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37284         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37285         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37286         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37287         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37288         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37289         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37290         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37291         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37292         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37293         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37294         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37295         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37296         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37297         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37298         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37299         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37300         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37301         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37302         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37303         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37304         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37305         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37306         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37307         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37308         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37309         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37310         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37311         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37312         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37313         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37314         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37315         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37316         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37317         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37318         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37319         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37320         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37321         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37322         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37323         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37324         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37325         Require >= 2.
37326         (FLT_ROUNDS): Expect as macro, not constant.
37327         (FLT_MANT_DIG): Use macro-int-constant.
37328         (DBL_MANT_DIG): Likewise.
37329         (LDBL_MANT_DIG): Likewise.
37330         (FLT_DIG): Likewise.
37331         (DBL_DIG): Likewise.
37332         (LDBL_DIG): Likewise.
37333         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37334         (DBL_MIN_EXP): Likewise.
37335         (LDBL_MIN_EXP): Likewise.
37336         (FLT_MAX_EXP): Use macro-int-constant.
37337         (DBL_MAX_EXP): Likewise.
37338         (LDBL_MAX_EXP): Likewise.
37339         (FLT_MAX_10_EXP): Likewise.
37340         (DBL_MAX_10_EXP): Likewise.
37341         (LDBL_MAX_10_EXP): Likewise.
37342         (FLT_MAX): Use macro-constant.
37343         (DBL_MAX): Likewise.
37344         (LDBL_MAX): Likewise.
37345         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37346         (DBL_EPSILON): Likewise.
37347         (LDBL_EPSILON): Likewise.
37348         (FLT_MIN): Likewise.
37349         (DBL_MIN): Likewise.
37350         (LDBL_MIN): Likewise.
37351         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37352         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37353         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37354         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37355         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37356         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37357         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37358         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37359         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37360         [ISO11] (FLT_TRUE_MIN): Likewise.
37361         [ISO11] (LDBL_TRUE_MIN): Likewise.
37362         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37363         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37364         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37365         (SCHAR_MAX): Likewise.
37366         (UCHAR_MAX): Likewise.
37367         (CHAR_MIN): Likewise.
37368         (CHAR_MAX): Likewise.
37369         (MB_LEN_MAX): Use macro-int-constant.
37370         (SHRT_MIN): Use macro-int-constant.  Specify type.
37371         (SHRT_MAX): Likewise.
37372         (USHRT_MAX): Likewise.
37373         (INT_MAX): Likewise.
37374         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37375         bound negative.
37376         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37377         bound with "U".
37378         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37379         bound with "L".
37380         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37381         bound negative.  Suffix upper bound with "L".
37382         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37383         bound with "UL".
37384         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37385         Specify type.
37386         [C99-based standards] (LLONG_MAX): Likewise.
37387         [C99-based standards] (ULLONG_MAX): Likewise.
37388         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37389         == 0.
37390         [ISO11] (max_align_t): Require type.
37391         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37393         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37394         from $CFLAGS, without defining away __attribute__ calls.
37395         (checknamespace): Use $CFLAGS_namespace.
37397         * conform/conformtest.pl (@keywords): Only include C99 keywords
37398         for standards based on C99 or C11.
37400         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37401         Disable tests.
37402         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37403         UNIX98]: Likewise.
37405         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37406         usability of symbols in #if.
37408         * conform/conformtest.pl: If macro or constant types start
37409         "promoted:", expect the symbol to be of the following type
37410         promoted by the integer promotions.
37412         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37413         in one place.  Also handle "macro-constant".
37415         * conform/conformtest.pl: Only accept expected macro values with
37416         "==".  Parse all "macro" lines in one place.
37417         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37419         * conform/conformtest.pl: Handle braced types on "constant" lines
37420         instead of handling "typed-constant".
37421         * conform/data/signal.h-data: Use "constant" instead of
37422         "typed-constant".
37424         * conform/conformtest.pl: Handle "optional-" at start of lines in
37425         one place rather than duplicating several cases.  Handle each
37426         format of "macro" line with initial "optional-".
37428         * conform/conformtest.pl: Only accept expected constant or
37429         optional-constant values with "==".  Parse all "constant" lines in
37430         one place.  Parse all "optional-constant" lines in one place.
37431         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37432         * conform/data/fmtmsg.h-data: Likewise.
37433         * conform/data/netinet/in.h-data: Likewise.
37434         * conform/data/tar.h-data: Likewise.
37435         * conform/data/limits.h-data: Use "==" form on "constant" and
37436         "optional-constant" lines.
37438         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37439         Use -std=c99 for XOPEN2K.
37440         (@knownproblems): Remove.
37441         (newtoken): Don't check %isknown.
37443         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37444         Do not expect macro.
37445         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37446         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37447         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37448         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37449         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37450         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37451         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37452         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37453         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37454         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37455         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37456         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37457         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37458         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37459         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37460         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37461         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37462         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37463         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37464         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37465         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37466         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37467         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37468         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37469         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37470         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37471         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37472         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37473         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37474         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37475         [XPG3] (acosh): Likewise.
37476         [XPG3] (asinh): Likewise.
37477         [XPG3] (atanh): Likewise.
37478         [XPG3] (cbrt): Likewise.
37479         [XPG3] (expm1): Likewise.
37480         [XPG3] (ilogb): Likewise.
37481         [XPG3] (log1p): Likewise.
37482         [XPG3] (logb): Likewise.
37483         [XPG3] (nextafter): Likewise.
37484         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37485         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37486         [XPG3] (remainder): Likewise.
37487         [XPG3] (rint): Likewise.
37488         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37489         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37490         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37491         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37492         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37493         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37494         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37495         [UNIX98 || XOPEN2K] (scalb): Expect.
37496         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37497         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37498         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37499         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37500         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37501         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37502         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37503         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37504         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37505         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37506         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37507         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37508         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37509         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37510         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37511         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37512         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37513         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37514         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37515         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37516         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37517         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37518         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37519         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37520         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37521         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37522         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37523         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37524         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37525         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37526         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37527         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37528         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37529         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37530         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37531         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37532         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37533         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37534         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37535         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37536         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37537         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37538         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37539         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37540         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37541         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37542         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37543         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37544         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37545         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37546         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37547         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37548         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37549         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37550         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37551         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37552         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37553         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37554         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37555         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37556         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37557         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37558         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37559         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37560         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37561         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37562         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37563         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37564         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37565         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37566         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37567         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37568         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37569         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37570         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37571         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37572         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37573         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37574         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37575         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37576         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37577         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37578         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37579         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37580         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37581         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37582         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37583         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37584         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37585         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37586         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37587         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37588         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37589         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37590         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37591         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37592         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37593         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37594         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37595         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37596         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37597         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37598         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37599         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37600         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37601         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37602         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37603         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37604         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37605         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37606         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37607         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37608         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37609         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37610         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37611         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37612         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37613         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37614         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37615         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37616         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37617         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37618         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37619         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37620         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37621         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37622         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37623         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37624         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37625         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37626         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37630         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37631         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37634         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37635         _XOPEN_SOURCE_EXTENDED for XPG4.
37637         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37639         * Makeconfig (localtime): Remove variable.
37640         (inst_localtime-file): Likewise.
37642 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37645         Update.
37646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37647         Update.
37648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37649         Update.
37650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37651         Update.
37652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37653         Update.
37654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37655         Update.
37656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37657         Update.
37658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37659         Update.
37660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37661         Update.
37663 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37665         [BZ #2550]
37666         [BZ #2570]
37667         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37668         comparisons to determine direction to adjust input.
37669         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37670         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37671         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37672         Likewise.
37673         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37674         Likewise.
37675         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37676         Likewise.
37677         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37678         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37679         Likewise.
37680         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37681         Likewise.
37682         * math/libm-test.inc (nexttoward_test): Add more tests.
37684 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37686         [BZ #14040]
37687         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37688         in version GLIBC_2.1, not GLIBC_2.0.
37689         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37690         Likewise.
37692 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37694         [BZ #13942]
37695         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37696         (1 - x) * (1 + x).
37697         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37698         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37699         * math/libm-test.inc (acos_test): Add more tests.
37700         (asin_test): Likewise.
37701         * sysdeps/i386/fpu/libm-test-ulps: Update.
37702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37704         [BZ #14034]
37705         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37706         of square root.
37707         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37708         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37709         * math/libm-test.inc (acos_test_tonearest): New function.
37710         (acos_test_towardzero): Likewise.
37711         (acos_test_downward): Likewise.
37712         (acos_test_upward): Likewise.
37713         (asin_test_tonearest): Likewise.
37714         (asin_test_towardzero): Likewise.
37715         (asin_test_downward): Likewise.
37716         (asin_test_upward): Likewise.
37717         (main): Call the new functions.
37718         * sysdeps/i386/fpu/libm-test-ulps: Update.
37719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37721         [BZ #13884]
37722         [BZ #13924]
37723         * math/e_exp10.c: Include <float.h>.
37724         (__ieee754_exp10): Handle underflow here rather than multiplying
37725         large negative argument by M_LN10.
37726         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37727         of __ieee754_expf.
37728         * math/e_exp10l.c: Include <float.h>.
37729         (__ieee754_exp10l): Handle underflow here rather than multiplying
37730         large negative argument by M_LN10l.
37731         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37732         spurious overflow exception on underflow.
37734 2012-04-29  Marek Polacek  <polacek@redhat.com>
37736         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37737         (__fortify_function): New macro.
37738         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37739         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37740         __extern_always_inline.
37741         * libio/bits/stdio2.h: Likewise.
37742         * libio/bits/stdio.h: Likewise.
37743         * string/string.h: Likewise.
37744         * string/bits/string3.h: Likewise.
37745         * include/stdio.h: Likewise.
37746         * stdlib/bits/stdlib.h: Likewise.
37747         * stdlib/stdlib.h: Likewise.
37748         * rt/bits/mqueue2.h: Likewise.
37749         * rt/mqueue.h: Likewise.
37750         * posix/bits/unistd.h: Likewise.
37751         * posix/unistd.h: Likewise.
37752         * io/bits/poll2.h: Likewise.
37753         * io/bits/fcntl2.h: Likewise.
37754         * io/fcntl.h: Likewise.
37755         * io/sys/poll.h: Likewise.
37756         * misc/bits/syslog.h: Likewise.
37757         * misc/bits/syslog-ldbl.h: Likewise.
37758         * misc/sys/syslog.h: Likewise.
37759         * socket/bits/socket2.h: Likewise.
37760         * socket/sys/socket.h: Likewise.
37761         * debug/tst-chk1.c: Likewise.
37762         * wcsmbs/bits/wchar2.h: Likewise.
37763         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37764         * wcsmbs/wchar.h: Likewise.
37766 2012-04-29  Andreas Jaeger  <aj@suse.de>
37768         * Makerules (tests): Remove enable-check-abi protection.
37769         (check-abi-warn): Remove.
37770         (check-abi-%): Remove check-abi-warn usage.
37772         * configure.in: Remove check-abi configure option.
37773         * configure: Regenerated.
37774         * config.make.in (enable-check-abi): Remove.
37776 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37778         [BZ #14033]
37779         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37780         double functions to double *_finite functions.
37782         [BZ #13941]
37783         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37784         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37785         LDBL_MIN_EXP.
37786         * stdio-common/Makefile (tests): Add tst-sprintf3.
37787         * stdio-common/tst-sprintf3.c: New file.
37789         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37790         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37792 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37794         * conform/conformtest.pl: Remove duplicate typed-constant
37795         handling.
37797 2012-04-28  David S. Miller  <davem@davemloft.net>
37799         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37800         (check-abi-%): Remove AWK script prerequisite and explicit
37801         abilist directory.
37802         (check-abi): Rewrite to just diff the symlist with the abilist.
37803         (config-tls, config-abi-config): Delete, no longer used.
37804         (update-abi-%): Remove AWK script and explicit abilist directory.
37805         (update-abi): Rewrite to simply compare and conditionally copy the
37806         symlist and the sysdep abilist file.  Remove update-abi-config
37807         checks.
37808         * abilist/ld.abilist: Remove.
37809         * abilist/libBrokenLocale.abilist: Remove.
37810         * abilist/libanl.abilist: Remove.
37811         * abilist/libcrypt.abilist: Remove.
37812         * abilist/libdl.abilist: Remove.
37813         * abilist/librt.abilist: Remove.
37814         * abilist/libthread_db.abilist: Remove.
37815         * abilist/libutil.abilist: Remove.
37816         * scripts/extract-abilist.awk: Remove.
37817         * scripts/merge-abilist.awk: Remove.
37818         * sysdeps/generic/libcidn.abilist: New file.
37819         * sysdeps/generic/libnss_compat.abilist: New file.
37820         * sysdeps/generic/libnss_db.abilist: New file.
37821         * sysdeps/generic/libnss_dns.abilist: New file.
37822         * sysdeps/generic/libnss_files.abilist: New file.
37823         * sysdeps/generic/libnss_hesiod.abilist: New file.
37824         * sysdeps/generic/libnss_nis.abilist: New file.
37825         * sysdeps/generic/libnss_nisplus.abilist: New file.
37826         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37827         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37828         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37829         file.
37830         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37831         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37832         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37833         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37834         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37835         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37836         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37837         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37838         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37839         file.
37840         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37841         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37842         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37843         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37844         file.
37845         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37846         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37847         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37848         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37849         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37850         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37851         file.
37852         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37853         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37854         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37855         file.
37856         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37858         New file.
37859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37860         New file.
37861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37862         New file.
37863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37864         New file.
37865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37866         New file.
37867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37868         New file.
37869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37870         New file.
37871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37872         New file.
37873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37874         New file.
37875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37876         New file.
37877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37878         New file.
37879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37880         New file.
37881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37882         New file.
37883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37884         file.
37885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37886         New file.
37887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37888         New file.
37889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37890         file.
37891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37892         New file.
37893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37894         New file.
37895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37896         file.
37897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37898         New file.
37899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37900         New file.
37901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37902         New file.
37903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37904         New file.
37905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37906         New file.
37907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37908         New file.
37909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37911         file.
37912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37913         New file.
37914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37915         file.
37916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37917         file.
37918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37919         file.
37920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37921         file.
37922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37923         file.
37924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37925         New file.
37926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37927         file.
37928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37929         file.
37930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37931         New file.
37932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37933         file.
37934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37936         file.
37937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37938         New file.
37939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37940         file.
37941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37942         file.
37943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37944         file.
37945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37946         file.
37947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37948         file.
37949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37950         New file.
37951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37952         file.
37953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37954         file.
37955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37956         New file.
37957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37958         file.
37959         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37960         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37961         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37962         file.
37963         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37964         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37965         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37966         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37967         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37968         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37969         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37970         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37971         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37972         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37975         file.
37976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37977         New file.
37978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37979         file.
37980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37981         file.
37982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37983         file.
37984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37985         file.
37986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37987         file.
37988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37989         New file.
37990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37991         New file.
37992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37993         file.
37994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37995         New file.
37996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37997         file.
37998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38000         file.
38001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38002         New file.
38003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38004         file.
38005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38006         file.
38007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38008         file.
38009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38010         file.
38011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38012         file.
38013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38014         New file.
38015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38016         New file.
38017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38018         file.
38019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38020         New file.
38021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38022         file.
38024 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38026         * conform/conformtest.pl: Fix typo in handling typed-constant from
38027         allow-header.
38029 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38031         * README: Cut down references to pre-2.6 Linux kernels and
38032         Linuxthreads.  Update lists of configurations in libc and ports
38033         and sort alphabetically.  Say "or newer" with Linux kernel version
38034         requirements.
38036         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38038 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38040         [BZ #887]
38041         * math/libm-test.inc (logb_test_downward): New test to expose
38042         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38043         rounding mode.
38045 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38047         [BZ #14027]
38048         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38049         to be done.
38050         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38051         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38053 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38055         * sysdeps/unix/i386/brk.S: Remove file.
38056         * sysdeps/unix/i386/dl-brk.S: Likewise.
38057         * sysdeps/unix/i386/pipe.S: Likewise.
38058         * sysdeps/unix/i386/sigreturn.S: Likewise.
38059         * sysdeps/unix/i386/syscall.S: Likewise.
38060         * sysdeps/unix/i386/vfork.S: Likewise.
38061         * sysdeps/unix/i386/wait.S: Likewise.
38063         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38064         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38066         * configure.in (arm*-none*): Do not allow without
38067         --enable-hacker-mode.
38068         (netbsd*): Remove case setting base_os.
38069         (386bsd*): Likewise.
38070         (freebsd*): Likewise.
38071         (bsdi*): Likewise.
38072         (osf*): Likewise.
38073         (sunos*): Likewise.
38074         (ultrix*): Likewise.
38075         (newsos*): Likewise.
38076         (dynix*): Likewise.
38077         (*bsd*): Likewise.
38078         (sysv*): Likewise.
38079         (isc*): Likewise.
38080         (esix*): Likewise.
38081         (sco*): Likewise.
38082         (minix*): Likewise.
38083         (irix4*): Likewise.
38084         (irix6*): Likewise.
38085         (solaris[2-9]*): Likewise.
38086         (none): Likewise.
38087         * configure: Regenerated.
38089 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38091         [BZ #11521]
38092         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38093         overflow or cancellation in calculating denominator.
38094         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38095         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38096         down expression to avoid unexpected rounding in newer GCCs.
38097         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38099 2012-04-26  David S. Miller  <davem@davemloft.net>
38101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38102         long-double compat symbols.
38103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38117 2012-04-25  David S. Miller  <davem@davemloft.net>
38119         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38120         HWCAP_* values only after the memory barriers have been defined.
38121         (atomic_full_barrier): Define.
38122         (atomic_read_barrier): Define.
38123         (atomic_write_barrier): Define.
38125 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38127         * shlib-versions: Add libgcc_s version information.
38128         * sysdeps/generic/libgcc_s.h: Remove.
38129         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38130         libgcc_s.h.
38131         * sysdeps/gnu/unwind-resume.c: Likewise.
38132         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38134 2012-04-25  David S. Miller  <davem@davemloft.net>
38136         * sysdeps/unix/sparc/brk.S: Delete.
38137         * sysdeps/unix/sparc/dl-brk.S: Delete.
38138         * sysdeps/unix/sparc/pipe.S: Delete.
38139         * sysdeps/unix/sparc/sysdep.S: Delete.
38140         * sysdeps/unix/sparc/sysdep.h: Delete.
38141         * sysdeps/unix/sparc/vfork.S: Delete.
38142         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38143         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38144         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38145         (ret_ERRVAL, r0, r1, MOVE): Define.
38146         (JUMPTARGET): Remove.
38147         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38148         sysdeps/unix/sparc/sysdep.h
38149         (ENTRY, END): Remove.
38150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38152 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38154         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38155         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38156         -DIS_IN_build.
38158         * timezone/README: Update upstream location and email address for
38159         tzcode and tzdata.
38160         * timezone/zdump.c: Update from tzcode 2012b.
38161         * timezone/zic.c: Likewise.
38163         * configure.in (libc_cv_as_needed): Remove test.
38164         * configure: Regenerated.
38165         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38166         conditional definition.
38167         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38168         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38169         * config.make.in (have-as-needed): Remove variable.
38171 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38172             Paul Pluzhnikov  <ppluzhnikov@google.com>
38174         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38175         strings correctly.
38177 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38179         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38180         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38181         * sysdeps/sh/strlen.S: Likewise.
38183 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38185         * sysdeps/unix/fork.S: Remove file.
38186         * sysdeps/unix/i386/fork.S: Likewise.
38187         * sysdeps/unix/sparc/fork.S: Likewise.
38189         * sysdeps/unix/system.c: Remove file.
38190         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38192         * sysdeps/unix/getegid.S: Remove file.
38193         * sysdeps/unix/geteuid.S: Likewise.
38195 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38197         * scripts/check-localplt.awk: New file.
38198         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38199         of diff.
38200         * scripts/data/localplt-generic.data: Add a comment.
38202         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38203         NODE when __dir_mkfile failed.
38204         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38205         Reported by Ludovic Courtès <ludo@gnu.org>.
38207 2012-04-24  Andreas Jaeger  <aj@suse.de>
38209         * Makerules (common-clean): Also remove gen-as-const-headers
38210         files.
38212 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38214         * Makerules (native-compile): Do not change working directory for
38215         build.  Use $(OUTPUT_OPTION) in command.
38216         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38218 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38220         [BZ #13886]
38221         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38222         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38223         * math/libm-test.inc (floor_test): Add more tests.
38224         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38226 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38228         * sysdeps/unix/getdents.c: Remove file.
38229         * sysdeps/unix/sysv/getdents.c: Likewise.
38230         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38232         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38233         sysdeps/unix/mman/syscalls.list.
38234         (mmap): Likewise.
38235         (mprotect): Likewise.
38236         (msync): Likewise.
38237         (munmap): Likewise.
38238         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38239         * sysdeps/unix/mman/syscalls.list: Remove.
38240         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38242         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38243         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38244         * configure: Regenerated.
38245         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38246         $(libgcc_s_suffix).
38247         * config.make.in (libgcc_s_suffix): Remove variable.
38249 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38251         * sysdeps/unix/sysv/gethostname.c: Move to ...
38252         * sysdeps/posix/gethostname.c: ... here.
38254         * sysdeps/unix/execve.S: Remove file.
38256         * sysdeps/unix/_exit.S: Remove file.
38258 2012-04-23  Andreas Jaeger  <aj@suse.de>
38260         [BZ #13739]
38261         * manual/Makefile: Remove make dist support, there's no
38262         need for a stand-alone documentation tar ball.
38263         (TEXI2DVI): Define always, it's not in Makeconfig.
38264         (dist): Removed.
38265         (tar-it): Removed.
38266         (edition): Removed.
38267         (glibc-doc-$(edition).tar): Removed
38268         (%.Z): Removed.
38269         (%.gz): Removed.
38270         (%.uu): Removed.
38271         (ETAGS): Remove, it's in Makeconfig.
38272         (move-if-change): Remove, it's in Makeconfig.
38274 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38276         [BZ #13970]
38277         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38278         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38279         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38280         (strtod_l, strtof_l, strtold_l): Remove __wur.
38281         It is not necessarily an error to ignore strtol's return value.
38282         One can reliably look at the stored endptr to decide whether
38283         the number had valid syntax.
38285 2012-04-21  Andreas Jaeger  <aj@suse.de>
38287         [BZ #13739]
38288         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38290 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38292         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38293         * sysdeps/unix/sysv/Versions: Remove file.
38295 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38297         [BZ #13927]
38298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38300 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38302         [BZ #7064]
38303         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38304         version from __vm86.
38306 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38308         * sysdeps/unix/common/lxstat.c: Remove file.
38309         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38311         * sysdeps/unix/sysv/Makefile: Remove file.
38313         * sysdeps/unix/sysv/direct.h: Remove file.
38315         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38316         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38317         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38318         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38319         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38320         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38321         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38323         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38325         * sysdeps/unix/xmknod.c: Remove file.
38326         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38328         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38330         * sysdeps/unix/sysv/i386/time.S: Remove file.
38332         * sysdeps/unix/fxstat.c: Remove file.
38333         * sysdeps/unix/xstat.c: Likewise.
38334         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38336         * sysdeps/unix/sysv/sigaction.c: Remove file.
38338         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38339         (sysdep_headers): Remove variable.
38340         [termio.h not in sysdep_headers] (generated): Likewise.
38341         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38342         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38343         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38344         * sysdeps/unix/sysv/tcflow.c: Likewise.
38345         * sysdeps/unix/sysv/tcflush.c: Likewise.
38346         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38347         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38348         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38349         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38350         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38352         * sysdeps/unix/siglist.c: Remove file.
38354         * sysdeps/unix/getppid.S: Remove file.
38356         * sysdeps/unix/mkdir.c: Remove file.
38357         * sysdeps/unix/rmdir.c: Likewise.
38359 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38361         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38362         ERR_MAX value.
38363         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38364         errlist-compat value.
38366 2012-04-18  David S. Miller  <davem@davemloft.net>
38368         * sysdeps/generic/memcopy.h (reg_char): Delete.
38369         * debug/strcat_chk.c: Use char, not reg_char.
38370         * debug/strcpy_chk.c: Likewise.
38371         * debug/strncat_chk.c: Likewise.
38372         * debug/strncpy_chk.c: Likewise.
38373         * string/memchr.c: Likewise.
38374         * string/memrchr.c: Likewise.
38375         * string/rawmemchr.c: Likewise.
38376         * string/strcat.c: Likewise.
38377         * string/strchr.c: Likewise.
38378         * string/strchrnul.c: Likewise.
38379         * string/strcmp.c: Likewise.
38380         * string/strcpy.c: Likewise.
38381         * string/strncat.c: Likewise.
38382         * string/strncmp.c: Likewise.
38383         * string/strncpy.c: Likewise.
38385 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38387         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38388         __builtin_memcopy is called when src and dest ranges are known to not
38389         overlap.
38391 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38393         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38394         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38395         fwd_align_merge macro call.
38396         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38397         bwd_align_merge macro call.
38398         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38400 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38402         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38403         bwd_align_merge macros.
38404         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38405         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38406         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38408 2012-04-18  David S. Miller  <davem@davemloft.net>
38410         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38412 2012-04-18  Andreas Jaeger  <aj@suse.de>
38414         [BZ# 6794]
38415         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38416         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38417         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38419         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38420         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38421         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38423         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38424         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38425         Adjust for changed ldbl-128 files.
38427         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38428         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38429         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38431 2012-04-17  David S. Miller  <davem@davemloft.net>
38433         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38435 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38437         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38438         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38439         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38440         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38441         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38442         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38444 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38446         [BZ #6794]
38447         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38448         * math/libm-test.inc: Add ilogb errno and exception tests.
38449         * math/w_ilogb.c: New file: ilogb wrapper.
38450         * math/w_ilogbf.c: New file: ilogbf wrapper.
38451         * math/w_ilogbl.c: New file: ilogbl wrapper.
38452         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38453         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38454         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38455         exception being thrown with 0.0 as argument.
38456         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38457         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38458         exception being thrown with 0.0 as argument.
38459         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38460         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38461         exception being thrown with 0.0 as argument.
38462         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38463         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38464         exception being thrown with 0.0 as argument.
38465         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38466         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38467         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38468         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38469         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38470         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38471         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38472         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38473         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38475 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38477         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38478         with altivec.
38480 2012-04-16  Marek Polacek  <polacek@redhat.com>
38482         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38484 2012-04-16  Marek Polacek  <polacek@redhat.com>
38486         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38487         operands of fdivp instruction.
38489 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38491         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38492         * elf/tst-auditmod3b.c: Likewise.
38493         * elf/tst-auditmod4b.c: Likewise.
38494         * elf/tst-auditmod5b.c: Likewise.
38495         * elf/tst-auditmod6b.c: Likewise.
38496         * elf/tst-auditmod6c.c: Likewise.
38497         * elf/tst-auditmod7b.c: Likewise.
38498         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38499         * sysdeps/x86_64/preconfigure.in: Likewise.
38500         * sysdeps/x86_64/preconfigure: Regenerated.
38502 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38504         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38505         __ILP32__.
38507 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38509         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38510         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38512 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38514         [BZ #13973]
38515         * locale/iso-639.def: Fix gl language name. Spotted by
38516         Yaron Shahrabani.
38518 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38520         [BZ #2074]
38521         * libio/libio.h (__io_write_fn): Update comment.
38523 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38525         [BZ #2074]
38526         * stdio.texi (Hook Functions): The user provided writer function
38527         is not allowed to return -1.
38529 2012-04-11  David S. Miller  <davem@davemloft.net>
38531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38533 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38535         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38536         Add a leading slash to rtkaio.
38538 2012-04-11  Jim Meyering  <meyering@redhat.com>
38540         [BZ #11959]
38541         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38542         It is not necessarily an error to ignore fwrite's return
38543         value.  One can reliably use ferror to test for errors after
38544         the fact.
38546 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38548         * bits/types.h (__snseconds_t): New type.
38549         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38551         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38552         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38553         (__SNSECONDS_T_TYPE): Likewise.
38554         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38555         (__SNSECONDS_T_TYPE): Likewise.
38556         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38557         (__SNSECONDS_T_TYPE): Likewise.
38559 2012-04-10  Andreas Jaeger  <aj@suse.de>
38561         [BZ #2636]
38562         * manual/time.texi (Processor Time): Return type of times is
38563         elapsed real time since an arbitrary point in the past.
38564         (CPU Time): Move CLK_TCK from here...
38565         (Processor Time): ...to here.  Correct description.
38566         * manual/conf.texi (Constants for Sysconf): Correct description of
38567         _SC_CLK_TCK.
38569 2012-04-10  David S. Miller  <davem@davemloft.net>
38571         [BZ #13967]
38572         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38573         where the is a gap between DT_REL(A) and DT_JMPREL.
38575 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38577         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38578         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38579         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38581 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38583         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38584         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38585         (dl_main): Handle --inhibit-cache.
38586         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38587         _dl_inhibit_cache.
38588         * elf/dl-load.c (_dl_map_object): Use it.
38589         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38591 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38593         [BZ #13872]
38594         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38595         (__ieee754_powl): Saturate large exponents rather than testing for
38596         overflow of y*log2(x).
38597         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38598         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38599         exceptions.
38601         [BZ #11521]
38602         * math/s_ctan.c: Include <float.h>.
38603         (__ctan): Avoid internal overflow or cancellation in calculating
38604         denominator.
38605         * math/s_ctanf.c: Likewise.
38606         * math/s_ctanl.c: Likewise.
38607         * math/s_ctanh.c: Likewise.
38608         * math/s_ctanhf.c: Likewise.
38609         * math/s_ctanhl.c: Likewise.
38610         * math/libm-test.inc (ctan_test): Add more tests.
38611         (ctanh_test): Likewise.
38612         * sysdeps/i386/fpu/libm-test-ulps: Update.
38613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38615 2012-04-09  Andreas Jaeger  <aj@suse.de>
38617         [BZ #6894]
38618         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38619         is an optional BSD extension.
38621         [BZ #10254]
38622         * manual/stdio.texi (Opening Streams): Document additional fopen
38623         parameters.
38625 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38627         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38628         %eax without telling the compiler.
38630 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38632         [BZ # 13963]
38633         * manual/install.texi: Use sourceware.org.
38635 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38637         [BZ #13873]
38638         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38639         (__ieee754_pow): Generate overflow and underflow using huge*huge
38640         and tiny*tiny rather than just returning constant infinity or zero
38641         for large exponents.
38642         * math/libm-test.inc (pow_test): Require overflow exceptions for
38643         applicable cases of large exponents.
38645         [BZ #706]
38646         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38647         (__ieee754_pow): Use iterative multiplication algorithm only for
38648         integer exponents with absolute value below 1024.  Check for odd
38649         integer exponents when using algorithm for real exponents.
38650         * math/libm-test.inc (pow_test): Add more tests.
38651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38653 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38655         [BZ #13705]
38656         * math/libm-test.inc (exp_test): Do not allow overflow exception
38657         on underflow test.
38659 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38661         [BZ #13705]
38662         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38663         instead of __kernel_standard_f.
38665 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38667         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38668         * sysdeps/x86_64/memset_chk.S: Likewise.
38670 2012-04-08  Andreas Jaeger  <aj@suse.de>
38672         [BZ #10153]
38673         * manual/startup.texi (Environment Access): Describe return value
38674         for putenv and setenv.
38676         [BZ #6895]
38677         * manual/filesys.texi (Directory Entries): Add description for
38678         DT_LNK.
38680         [BZ #6890]
38681         * manual/filesys.texi (Directory Entries): Clarify that it's file
38682         system not operating system in the description of DT_UNKNOWN.
38684         [BZ #6578]
38685         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38687 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38689         [BZ #6649]
38690         * manual/llio.texi (Opening and Closing Files): Add cross
38691         reference to explain mode argument.
38693 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38695         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38696         * sysdeps/x86_64/memset_chk.S: Likewise.
38698 2012-04-07  David S. Miller  <davem@davemloft.net>
38700         * elf/elf.h (R_SPARC_WDISP10): Define.
38701         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38702         R_SPARC_SIZE32.
38703         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38704         R_SPARC_SIZE64 and R_SPARC_H34.
38706 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38708         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38709         conditions and remove no longer applicable assertion.
38711 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38713         * bits/byteswap.h: Include <features.h>.
38714         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38715         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38717 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38719         * bits/byteswap.h (__bswap_16): Removed.
38720         Include <bits/byteswap-16.h> to get __bswap_16.
38721         * sysdeps/i386/bits/byteswap.h: Likewise.
38722         * sysdeps/s390/bits/byteswap.h: Likewise.
38723         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38724         * bits/byteswap-16.h: New file.
38725         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38726         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38727         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38728         * string/Makefile (headers): Add bits/byteswap-16.h.
38730 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38732         [BZ #13895]
38733         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38734         extra indirection.
38735         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38736         * nss/tst-nss-static.c: New.
38738 2012-04-06  Robert Millan  <rmh@gnu.org>
38740         [BZ #6486]
38741         * manual/llio.texi (File Position Primitive): lseek
38742         refers to WHENCE when it really means OFFSET.
38744 2012-04-06  Andreas Jaeger  <aj@suse.de>
38746         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38747         strncmp declarations.
38749         * abilist/libc.abilist: Add __poll and __ppoll.
38751 2012-04-05  David S. Miller  <davem@davemloft.net>
38753         * scripts/check-local-headers.sh: Accept a host triplet in the
38754         path matched by the exclude regexp.
38756         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38757         definition.
38758         * sysdeps/powerpc/powerpc32/dl-machine.h
38759         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38760         * sysdeps/s390/s390-32/dl-machine.h
38761         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38762         * sysdeps/sparc/sparc32/dl-machine.h
38763         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38764         * sysdeps/sparc/sparc64/dl-machine.h
38765         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38767         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38768         lazy binding.
38769         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38770         undefined symbol errors.
38772         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38773         DT_NEEDED entries.
38775 2012-04-05  Michael Matz  <matz@suse.de>
38777         [BZ #13592]
38778         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38780 2012-04-05  Andreas Jaeger  <aj@suse.de>
38782         [BZ #13908]
38783         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38784         comment.
38786 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38788         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38789         which ROUND is no valid rounding mode.
38791 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38793         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38794         read again.
38795         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38797 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38799         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38800         an exception using FPU order intentionally.
38802 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38804         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38805         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38806         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38807         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38809 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38811         [BZ #12340]
38812         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38813         EINVAL when BUFLEN is too smal.
38815 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38817         [BZ #13553]
38818         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38819         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38821 2012-04-03  Andreas Jaeger  <aj@suse.de>
38823         [BZ #13938]
38824         * manual/setjmp.texi (System V contexts): Fix sentence.
38826         [BZ #13926]
38827         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38828         New macro for this case.
38829         [!__GNUC__] (__bswap_64): New inline function for this case.
38830         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38831         * bits/byteswap.h: Likewise.
38832         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38833         ull, guard with __GLIBC_HAVE_LONG_LONG.
38835         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38836         __GLIBC_HAVE_LONG_LONG.
38838         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38839         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38841 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38843         [BZ #13691]
38844         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38845         inptr and inend, rather than using last_ch.
38847 2012-04-02  David S. Miller  <davem@davemloft.net>
38849         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38850         * stdio-common/printf-parse.h (read_int): Change return type to
38851         'int', return -1 on INT_MAX overflow.
38852         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38853         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38854         overflows INT_MAX.  Check for overflow of in-format-string precision
38855         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38856         SIZE_MAX not INT_MAX for integer overflow test.
38857         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38858         skip the construct in the format string but do not record anything.
38859         * stdio-common/bug22.c: Adjust to test both width/prevision
38860         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38861         explicitly for proper errno values.
38863 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38865         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38866         CHAR_MAX.
38867         * string/test-strcmp.c [! WIDE]: Likewise.
38868         * time/tst-mktime2.c: Likewise for INT_MAX.
38869         * string/test-string.h: #include <sys/param.h> for MIN.
38871         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38872         * sysdeps/i386/init-first.c (init): Likewise.
38873         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38874         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38875         * sysdeps/sh/init-first.c (init): Likewise.
38877 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38879         * po/ru.po: Update from translation team.
38880         * po/vi.po: Likewise.
38882 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38884         * resolv/nss_dns/dns-host.c: Merge copyright years.
38886 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38888         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38889         Optimize memcpy with prefetch if
38890         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38891         src, dst pointers have unequal 16 byte alignments.
38893 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38895         [BZ #13928]
38896         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38897         from a CNAME entry and return the minimum ttl for the query.
38898         (gaih_getanswer_slice): Likewise.
38900 2012-03-30  Jeff Law  <law@redhat.com>
38902         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38903         due to long keys.
38904         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38905         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38907         * resolv/nss_dns/dns-host.c: Update copyright year.
38909 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38911         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38912         requests to save a system call.  Fix check that all bytes are sent.
38914         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38915         comments for sendmmsg.
38917 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38919         [BZ #13691]
38920         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38921         with only 1 character between 0x0041 and 0x01b0.
38922         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38923         * wcsmbs/tst-mbsnrtowcs.c: New file.
38925 2012-03-29  David S. Miller  <davem@davemloft.net>
38927         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38928         small copies by hand.
38930 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38932         [BZ #13761]
38933         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38934         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38935         group memberships.
38937 2012-03-28  David S. Miller  <davem@davemloft.net>
38939         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38940         that branches into memcpy.
38941         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38942         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38943         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38944         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38945         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38946         bits.
38947         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38948         implementation too.
38949         * sysdeps/sparc/mempcpy.S: New file.
38951         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38952         the IFUNC routine in the libc case.
38953         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38955         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38956         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38957         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38958         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38959         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38960         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38961         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38962         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38964         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38965         loop to 256 bytes instead of 64 bytes and fix test signedness.
38967         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38968         * sysdeps/sparc/sparc32/Makefile: rather than here...
38969         * sysdeps/sparc/sparc64/Makefile: and here.
38971 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38973         * malloc/mallocbug.c: Avoid warnings about unused variables.
38975 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38977         [BZ #13760]
38978         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38979         in the right place. Discard and retry query if response is
38980         larger than input buffer size.
38982 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38984         [BZ #369]
38985         [BZ #2678]
38986         [BZ #3866]
38987         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38988         x for large integer exponent.
38989         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38990         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38991         sign of result as needed afterwards.
38992         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38993         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38994         result for underflowing pow the same as for overflow.
38995         (__kernel_standard_l): Handle powl overflow and underflow here
38996         rather than calling __kernel_standard.
38997         * math/libm-test.inc (pow_test): Add more tests.
38999         [BZ #3868]
39000         [BZ #13879]
39001         [BZ #13910]
39002         [BZ #13911]
39003         [BZ #13912]
39004         [BZ #13913]
39005         [BZ #13915]
39006         [BZ #13916]
39007         [BZ #13917]
39008         [BZ #13918]
39009         [BZ #13919]
39010         [BZ #13920]
39011         [BZ #13921]
39012         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39013         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39014         (__kernel_standard_l): New function.
39015         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39016         __kernel_standard.
39017         * math/w_acosl.c (__acosl): Likewise.
39018         * math/w_asinl.c (__asinl): Likewise.
39019         * math/w_atan2l.c (__atan2l): Likewise.
39020         * math/w_atanhl.c (__atanhl): Likewise.
39021         * math/w_coshl.c (__coshl): Likewise.
39022         * math/w_exp10l.c (__exp10l): Likewise.
39023         * math/w_exp2l.c (__exp2l): Likewise.
39024         * math/w_fmodl.c (__fmodl): Likewise.
39025         * math/w_hypotl.c (__hypotl): Likewise.
39026         * math/w_j0l.c (__j0l, __y0l): Likewise.
39027         * math/w_j1l.c (__j1l, __y1l): Likewise.
39028         * math/w_jnl.c (__jnl, __ynl): Likewise.
39029         * math/w_lgammal.c (__lgammal): Likewise.
39030         * math/w_log10l.c (__log10l): Likewise.
39031         * math/w_log2l.c (__log2l): Likewise.
39032         * math/w_logl.c (__logl): Likewise.
39033         * math/w_powl.c (__powl): Likewise.
39034         * math/w_remainderl.c (__remainderl): Likewise.
39035         * math/w_scalbl.c (sysv_scalbl): Likewise.
39036         * math/w_sinhl.c (__sinhl): Likewise.
39037         * math/w_sqrtl.c (__sqrtl): Likewise.
39038         * math/w_tgammal.c (__tgammal): Likewise.
39039         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39040         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39041         * math/libm-test.inc (acos_test): Add more tests.
39042         (acosh_test): Likewise.
39043         (asin_test): Likewise.
39044         (atanh_test): Likewise.
39045         (exp_test): Likewise.
39046         (exp10_test): Likewise.
39047         (exp2_test): Likewise.
39048         (expm1_test): Likewise.
39049         (lgamma_test): Likewise.
39050         (log_test): Likewise.
39051         (log10_test): Likewise.
39052         (log1p_test): Likewise.
39053         (log2_test): Likewise.
39054         (pow_test): Do not allow some spurious overflow exceptions.
39055         (sqrt_test): Add more tests.
39056         (tgamma_test): Likewise.
39057         (y0_test): Likewise.
39058         (y1_test): Likewise.
39059         (yn_test): Likewise.
39061 2012-03-27  Anton Blanchard  <anton@samba.org>
39063         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39064         MAP_HUGETLB.
39065         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39066         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39067         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39069 2012-03-27  David S. Miller  <davem@davemloft.net>
39071         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39073         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39074         have-as-vis3 check.
39076 2012-03-27  Andreas Jaeger  <aj@suse.de>
39078         * sysdeps/x86_64/elf/configure.in: Moved to ...
39079         * sysdeps/x86_64/configure.in: ... here.
39080         * sysdeps/x86_64/elf/start.S: Moved to ...
39081         * sysdeps/x86_64/start.S: ... here.
39082         * sysdeps/x86_64/elf/configure: Delete.
39084         * sysdeps/x86_64/configure.in: Merge contents from
39085         sysdeps/i386/configure.in (without i686 check).
39087         * sysdeps/i386/elf/Versions: Merge into ...
39088         * sysdeps/i386/Versions: ... this.
39089         * sysdeps/i386/elf/Versions: Delete file.
39090         * sysdeps/i386/elf/start.S: Moved to ...
39091         * sysdeps/i386/start.S: ...here.
39092         * sysdeps/i386/elf/configure.in: Merge into...
39093         * sysdeps/i386/configure.in: ...here.
39094         * sysdeps/i386/elf/configure.in: Delete file.
39095         * sysdeps/i386/elf/configure: Delete file.
39097         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39098         * debug/backtracesyms.c: ... here.
39099         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39100         * debug/backtracesymsfd.c: ... here.
39101         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39102         * sysdeps/generic/ifunc-sel.h: ... here.
39104         * sysdeps/unix/i386/start.c: Delete file.
39105         * sysdeps/unix/sparc/start.c: Delete file.
39106         * sysdeps/unix/start.c: Delete file.
39108         * sysdeps/sh/elf/configure.in: Moved to ...
39109         * sysdeps/sh/configure.in: ... here.
39110         * sysdeps/sh/elf/start.S: Moved to ...
39111         * sysdeps/sh/start.S: ... here.
39112         * sysdeps/sh/elf/configure: Delete file.
39114         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39115         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39116         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39117         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39118         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39119         * sysdeps/powerpc/powerpc64/start.S: here.
39120         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39121         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39122         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39123         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39124         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39126         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39127         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39128         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39129         * sysdeps/powerpc/powerpc32/start.S: ... here.
39130         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39131         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39132         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39134         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39135         * sysdeps/powerpc/ifunc-sel.h: ... here.
39136         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39137         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39139         * sysdeps/sparc/elf/configure.in: Moved to ...
39140         * sysdeps/sparc/configure.in: ... here.
39141         * sysdeps/sparc/elf/configure: Delete file.
39142         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39143         * sysdeps/sparc/sparc32/start.S: ... here.
39144         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39145         * sysdeps/sparc/sparc64/start.S: ... here.
39146         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39147         * sysdeps/sparc/sparc32/Makefile: ... this.
39148         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39149         * sysdeps/sparc/sparc64/Makefile: ... this.
39151         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39152         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39153         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39154         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39155         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39156         * sysdeps/s390/s390-32/setjmp.S: ... here.
39157         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39158         * sysdeps/s390/s390-32/configure.in: ... here.
39159         * sysdeps/s390/s390-32/elf/configure: Delete file.
39160         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39161         * sysdeps/s390/s390-32/start.S: ... here.
39163         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39164         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39165         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39166         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39167         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39168         * sysdeps/s390/s390-64/setjmp.S: ... here.
39169         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39170         * sysdeps/s390/s390-64/configure.in: ... here
39171         * sysdeps/s390/s390-64/elf/configure: Delete file.
39172         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39173         * sysdeps/s390/s390-64/start.S: ... here.
39174         * sysdeps/s390/s390-64/elf/configure: Delete.
39176         * configure.in: Remove support for elf directories in sysdeps.
39178         * configure: Regenerated.
39179         * sysdeps/i386/configure: Regenerated.
39180         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39181         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39182         * sysdeps/s390/s390-32/configure: Regenerated.
39183         * sysdeps/s390/s390-64/configure: Regenerated.
39184         * sysdeps/sh/configure: Regenerated.
39185         * sysdeps/sparc/configure: Regenerated.
39186         * sysdeps/x86_64/configure: Regenerated.
39188 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39192         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39193         denormal result into account.
39195 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39197         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39198         Reported by Allan McRae <allan@archlinux.org>.
39200 2012-03-23  Jeff Law  <law@redhat.com>
39202         * nss/getnssent.c (__nss_getent): Fix typo.
39204 2012-03-23  David S. Miller  <davem@davemloft.net>
39206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39208 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39210         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39211         to pad to uint64_t for each field.
39212         (dl_tls_index): Replace unsigned long with uint64_t.
39214 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39215         Paul Pluzhnikov  <ppluzhnikov@google.com>
39217         [BZ #6528]
39218         * grp/Makefile (otherlibs): Don't set it.
39219         * inet/Makefile (otherlibs): Likewise.
39220         * login/Makefile (otherlibs): Likewise.
39221         * nscd/Makefile (otherlibs): Likewise.
39222         * posix/Makefile (otherlibs): Likewise.
39223         * pwd/Makefile (otherlibs): Likewise.
39224         * rt/Makefile (otherlibs): Likewise.
39225         * sunrpc/Makefile (otherlibs): Likewise.
39226         * nss/Makefile (otherlibs): Likewise.
39227         Add libnss_files to routines and static-only-routines.
39228         ($(objpfx)getent): Remove rule.
39229         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39230         static-only-routines.
39232 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39234         [BZ #13892]
39235         * math/s_cexp.c: Include <float.h>.
39236         (__cexp): Handle exp result overflowing not necessarily
39237         overflowing both real and imaginary parts of result.
39238         * math/s_cexpf.c: Likewise.
39239         * math/s_cexpl.c: Likewise.
39240         * math/libm-test.inc (cexp_test): Add more tests.
39241         * sysdeps/i386/fpu/libm-test-ulps: Update.
39242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39244 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39246         * include/link.h (ELFW): New macro.
39247         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39248         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39250 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39252         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39253         with uint64_t.
39255 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39257         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39258         declaration.
39259         (struct La_x32_retval): Likewise.
39261 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39263         * sysdeps/x86_64/preconfigure.in: New file.
39264         * sysdeps/x86_64/preconfigure: New generated file.
39266 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39268         [BZ #13824]
39269         * math/e_exp2l.c: Include <float.h>.
39270         (__ieee754_exp2l): Handle overflow and underflow cases
39271         separately.  Only pass fractional part of argument to
39272         __ieee754_expl.
39273         * math/libm-test.inc (exp2_test): Add more tests.
39275         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39276         negating x to take absolute value.
39277         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39278         Likewise.
39279         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39280         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39281         Likewise.
39282         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39283         computing low part if x was negated.
39284         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39286 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39288         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39289         la_x32_gnu_pltexit.
39290         (pltexit): Cast int_retval to ptrdiff_t.
39291         * elf/tst-auditmod3b.c: Likewise.
39292         * elf/tst-auditmod4b.c: Likewise.
39293         * elf/tst-auditmod5b.c: Likewise.
39294         * elf/tst-auditmod6b.c: Likewise.
39295         * elf/tst-auditmod6c.c: Likewise.
39296         * elf/tst-auditmod7b.c: Likewise.
39298         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39299         and x32_gnu_pltexit.
39301         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39302         __ELF_NATIVE_CLASS.
39303         (La_x32_regs): New macro.
39304         (La_x32_retval): Likewise.
39305         (la_x32_gnu_pltenter): New function prototype.
39306         (la_x32_gnu_pltexit): Likewise.
39308 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39310         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39311         exponent.
39313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39315         * configure.in (libc_cv_cc_nofma): Check for option to disable
39316         generation of FMA instructions.
39317         * configure: Regenerate.
39318         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39319         * sysdeps/ieee754/dbl-64/Makefile: New file.
39320         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39321         Remove brandred-fma4.
39322         (CFLAGS-brandred-fma4.c): Remove.
39323         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39324         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39325         define.
39326         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39327         define.
39329 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39331         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39332         LLONG_MAX != LONG_MAX.
39333         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39334         (_fitoa_word): Likewise.
39335         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39336         LLONG_MAX != LONG_MAX.
39337         * stdio-common/_itowa.h: Include <_itoa.h>.
39338         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39339         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39340         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39341         only if not defined.
39342         (_ITOA_WORD_TYPE): Likewise.
39343         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39344         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39346 2012-03-21  David S. Miller  <davem@davemloft.net>
39348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39350 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39352         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39353         of x86_64 when setting libc_cv_slibdir, libdir and
39354         libc_cv_localedir.
39355         * sysdeps/unix/sysv/linux/configure: Regenerated.
39357 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39359         * manual/lang.texi (Old Varargs): Remove section.
39360         (How Variadic): Update menu.
39361         (va_start): Do not mention varargs.h.
39363 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39364             Joseph Myers  <joseph@codesourcery.com>
39366         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39367         link test.
39368         * configure: Regenerated.
39370 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39372         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39373         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39374         conformtest.pl
39376 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39378         * NOTES: Remove.
39379         * Makefile (files-for-dist): Remove NOTES.
39380         (NOTES): Remove rule.
39381         * README: Don't refer to NOTES.
39382         * manual/creature.texi: Don't include macros.texi.
39383         * manual/intro.texi (creature.texi): Remove comment referring to
39384         NOTES.
39386         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39387         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39388         * configure: Regenerated.
39389         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39390         LIBC_TRY_CC_OPTION.
39391         (libc_cv_as_i686): Likewise.
39392         (libc_cv_cc_avx): Likewise.
39393         (libc_cv_cc_sse2avx): Likewise.
39394         (libc_cv_cc_fma4): Likewise.
39395         (libc_cv_cc_novzeroupper): Likewise.
39396         * sysdeps/i386/configure: Regenerated.
39398         [BZ #13883]
39399         * sysdeps/i386/fpu/s_cexp.S: Remove.
39400         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39401         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39402         * math/libm-test.inc (cexp_test): Add more tests.
39403         * sysdeps/i386/fpu/libm-test-ulps: Update.
39404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39406 2012-03-21  Allan McRae  <allan@archlinux.org>
39408         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39410 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39412         [BZ #13871]
39413         * math/w_exp2.c: Do not include <float.h>.
39414         (o_threshold, u_threshold): Remove.
39415         (__exp2): Calculate result before checking finiteness and calling
39416         __kernel_standard.
39417         * math/w_exp2f.c: Likewise.
39418         * math/w_exp2l.c: Likewise.
39419         * math/libm-test.inc (exp2_test): Require overflow exception for
39420         1e6 input.
39422         [BZ #3866]
39423         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39424         range of signed 64-bit integers before using fistpll.  Remove
39425         checks for whether integers fit in mantissa bits.
39426         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39427         the range of signed 32-bit integers before using fistpl.  Remove
39428         checks for whether integers fit in mantissa bits.
39429         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39430         (__ieee754_powl): Test for y outside the range of signed 64-bit
39431         integers before using fistpll.  Reduce 64-bit values to 63-bit
39432         ones as needed.
39433         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39434         divide-by-zero is raised for zero to large negative powers.
39435         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39436         (__ieee754_powl): Test for y outside the range of signed 64-bit
39437         integers before using fistpll.  Reduce 64-bit values to 63-bit
39438         ones as needed.
39439         * math/libm-test.inc (pow_test): Add more tests.
39441 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39443         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39444         <stdio-common/_itoa.h>.
39445         * debug/segfault.c: Likewise.
39446         * elf/dl-cache.c: Likewise.
39447         * elf/dl-minimal.c: Likewise.
39448         * elf/dl-misc.c: Likewise.
39449         * elf/dl-sysdep.c: Likewise.
39450         * elf/dl-version.c: Likewise.
39451         * elf/rtld.c: Likewise.
39452         * hurd/hurdsock.c: Likewise.
39453         * hurd/lookup-retry.c: Likewise.
39454         * malloc/malloc.c: Likewise.
39455         * malloc/mtrace.c: Likewise.
39456         * nscd/nscd_getgr_r.c: Likewise.
39457         * nscd/nscd_getpw_r.c: Likewise.
39458         * nscd/nscd_getserv_r.c: Likewise.
39459         * posix/getopt_init.c: Likewise.
39460         * posix/wordexp.c: Likewise.
39461         * stdio-common/_itoa.c: Likewise.
39462         * stdio-common/printf_fphex.c: Likewise.
39463         * stdio-common/vfprintf.c: Likewise.
39464         * string/_strerror.c: Likewise.
39465         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39466         * sysdeps/i386/i686/hp-timing.h: Likewise.
39467         * sysdeps/mach/_strerror.c: Likewise.
39468         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39469         * sysdeps/mach/hurd/sethostid.c: Likewise.
39470         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39471         * sysdeps/mach/xpg-strerror.c: Likewise.
39472         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39473         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39474         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39475         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39476         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39477         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39478         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39479         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39480         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39481         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39482         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39483         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39484         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39485         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39486         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39487         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39488         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39489         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39490         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39491         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39492         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39494         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39496         * stdio-common/_itoa.h: Moved to ...
39497         * sysdeps/generic/_itoa.h: Here.
39499         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39501         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39502         instead of "_itoa.h" and "_itowa.h".
39503         * stdio-common/vfprintf.: Likewise.
39505 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39507         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39508         <bits/wordsize.h>.
39509         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39510         (__signbit): Likwise.
39511         (llrintf): Likwise.
39512         (llrint): Likwise.
39514 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39516         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39517         __WORDSIZE != 64.
39519 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39521         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39522         OVERFLOW_EXCEPTION_OK.
39523         * math/libm-test.inc ("Philosophy"): Update comment about
39524         exception testing.
39525         (OVERFLOW_EXCEPTION): Define.
39526         (OVERFLOW_EXCEPTION_OK): Likewise.
39527         (INVALID_EXCEPTION_OK): Renumber.
39528         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39529         (IGNORE_ZERO_INF_SIGN): Likewise.
39530         (test_exceptions): Handle FE_OVERFLOW.
39531         (exp10_test): Expect overflow exceptions.
39532         (exp2_test): Likewise.
39533         (expm1_test): Likewise.
39534         (nextafter_test): Likewise.
39535         (pow_test): Likewise.
39536         (scalbn_test): Likewise.
39537         (scalbln_test): Likewise.
39539 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39541         * sysdeps/x86_64/bits/atomic.h
39542         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39543         64bit integer.
39544         (atomic_exchange_acq): Likewise.
39545         (__arch_exchange_and_add_body): Likewise.
39546         (__arch_add_body): Likewise.
39547         (atomic_add_negative): Likewise.
39548         (atomic_add_zero): Likewise.
39550 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39552         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39553         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39555 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39557         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39558         Check __x86_64__ instead of __WORDSIZE.
39560 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39562         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39564 2012-03-19  David S. Miller  <davem@davemloft.net>
39566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39568         * sysdeps/sparc/fpu/fenv_private.h: New file.
39569         * sysdeps/sparc/fpu/math_private.h: Use it.
39570         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39571         Remove.
39572         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39573         (libc_feholdexcept_setroundl): Remove.
39574         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39575         Remove.
39576         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39577         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39579 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39581         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39582         int64_t instead of long int.
39583         (INSERT_WORDS64): Likwise.
39585 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39587         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39588         _Unwind_GetCFA return to _Unwind_Ptr first.
39590 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39592         [BZ #13629]
39593         * math/s_clog.c: Include <float.h>.
39594         (__clog): Scale large or subnormal inputs.
39595         * math/s_clogf.c: Likewise.
39596         * math/s_clogl.c: Likewise.
39597         * math/s_clog10.c: Include <float.h>.
39598         (M_LOG10_2): Define.
39599         (__clog10): Scale large or subnormal inputs.
39600         * math/s_clog10f.c: Likewise.
39601         * math/s_clog10l.c: Likewise.
39602         * math/libm-test.inc (clog_test): Add more tests.
39603         (clog10_test): Likewise.
39604         * sysdeps/i386/fpu/libm-test-ulps: Update.
39605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39607         [BZ #11451]
39608         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39609         x and y.
39610         * math/libm-test.inc (atan2_test): Add another test.
39612         * Makerules (common-objdir-compile): Remove.
39613         * sysdeps/unix/Makefile (config-generated): Do not add
39614         $(unix-generated) to variable.
39615         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39616         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39617         Remove rule.
39618         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39619         Likewise.
39620         [generic bits/local_lim.h] (before-compile): Do not append to
39621         variable.
39622         [generic bits/local_lim.h] (common-generated): Likewise.
39623         [generic sys/param.h] (before-compile): Do not append to variable.
39624         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39625         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39626         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39627         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39628         include.
39629         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39630         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39631         [generic sys/param.h] ($(addprefix
39632         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39633         [generic sys/param.h] (common-generated): Do not append to
39634         variable.
39635         [generic sys/param.h] (sysdep_headers): Likewise.
39636         [generic bits/errno.h] (before-compile): Do not append to
39637         variable.
39638         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39639         rule.
39640         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39641         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39642         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39643         [generic bits/errno.h] (common-generated): Do not append to
39644         variable.
39645         [generic bits/ioctls.h] (before-compile): Do not append to
39646         variable.
39647         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39648         rule.
39649         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39650         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39651         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39652         rule.
39653         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39654         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39655         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39656         [generic bits/ioctls.h] (common-generated): Do not append to
39657         variable.
39658         [generic sys/syscall.h] (syscall.h): Remove variable.
39659         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39660         rule.
39661         [generic sys/syscall.h] (before-compile): Do not append to
39662         variable.
39663         [generic sys/syscall.h] (common-generated): Likewise.
39664         * sysdeps/unix/errnos-tmpl.c: Remove file.
39665         * sysdeps/unix/errnos.awk: Likewise.
39666         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39667         * sysdeps/unix/ioctls.awk: Likewise.
39668         * sysdeps/unix/mk-local_lim.c: Likewise.
39669         * sysdeps/unix/snarf-ioctls: Likewise.
39671 2012-03-19  Richard Henderson  <rth@twiddle.net>
39673         * sysdeps/i386/fpu/fenv_private.h: New file.
39674         * sysdeps/i386/fpu/math_private.h: Use it.
39675         (math_opt_barrier, math_force_eval): Remove.
39676         (libc_feholdexcept_setround_53bit): Remove.
39677         (libc_feupdateenv_53bit): Remove.
39678         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39679         (math_opt_barrier, math_force_eval): Remove.
39680         (libc_feholdexcept): Remove.
39681         (libc_feholdexcept_setround): Remove.
39682         (libc_fetestexcept, libc_fesetenv): Remove.
39683         (libc_feupdateenv_test): Remove.
39684         (libc_feupdateenv, libc_feholdsetround): Remove.
39685         (libc_feresetround): Remove.
39687         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39688         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39690         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39691         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39692         (libc_feupdateenv_testl): New.
39693         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39694         (libc_feupdateenv_testf): New.
39695         (libc_feupdateenv): Use libc_feupdateenv_test.
39696         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39699         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39700         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39701         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39702         (libc_feresetround_noex): New.
39703         (libc_feresetround_noexf): New.
39704         (libc_feresetround_noexl): New.
39705         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39706         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39707         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39708         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39709         SET_RESTORE_ROUND.
39710         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39711         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39712         (__cos): Likewise.
39713         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39714         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39715         SET_RESTORE_ROUND_NOEX.
39716         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39717         SET_RESTORE_ROUND_NOEXF.
39718         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39719         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39720         (libc_feholdsetroundf): New.
39721         (libc_feresetround, libc_feresetroundf): New.
39723         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39724         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39725         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39727         * sysdeps/generic/math_private.h: Include <fenv.h>.
39728         (default_libc_feholdexcept): New.
39729         (default_libc_feholdexcept_setround): New.
39730         (default_libc_fesetenv, default_libc_feupdateenv): New.
39731         (libc_feholdexcept): Only define if undefined.
39732         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39733         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39734         (libc_feholdexcept_setroundl): Likewise.
39735         (libc_feholdexcept_setround_53bit): Likewise.
39736         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39737         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39738         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39739         (libc_feupdateenv_53bit): Likewise.
39740         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39741         (libc_feholdexcept): Convert from macro to inline function.
39742         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39743         (libc_fesetenv, libc_feupdateenv): Likewise.
39745         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39746         not previously defined.
39747         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39748         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39749         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39750         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39751         * sysdeps/ieee754/flt-32/math_private.h: New file.
39752         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39753         math_private.h below SET_FLOAT_WORD.
39754         (__isnan, __isinf_ns, __finite): Remove.
39755         (__isnanf, __isinf_nsf, __finitef): Remove.
39757 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39761 2012-03-17  David S. Miller  <davem@davemloft.net>
39763         [BZ #6471]
39764         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39765         for 2.16.
39767 2012-03-16  David S. Miller  <davem@davemloft.net>
39769         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39770         warnings.
39772         [BZ #6471]
39773         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39774         properly.
39775         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39776         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39777         sysdep_routines when subdir is sysvipc.
39778         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39779         __getshmlba helper.
39781         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39783 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39785         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39786         [__LP64__].
39788 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39790         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39791         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39792         (__lround): Renamed to ...
39793         (__llround): This.  Replace long int with long long int.
39794         Define lround functions as aliases of llround functions.
39795         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39797 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39799         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39800         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39801         adresses to uintptr_t.  Replace "long int" and "unsigned long
39802         int" with "greg_t" on va_arg.
39804 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39806         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39807         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39809         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39810         Move e_machine check before EI_CLASS check.  Handle x32
39811         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39812         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39813         SKIP_EM_IA_64 and include
39814         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39816         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39817         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39818         (add_system_dir): New macro.
39820         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39821         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39823 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39825         [BZ #2551]
39826         [BZ #2552]
39827         [BZ #2553]
39828         [BZ #2554]
39829         [BZ #2562]
39830         [BZ #2563]
39831         [BZ #2565]
39832         [BZ #2566]
39833         [BZ #2576]
39834         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39835         (y0): Likewise.
39836         * math/w_j0f.c (j0f): Likewise.
39837         (y0f): Likewise.
39838         * math/w_j0l.c (__j0l): Likewise.
39839         (__y0l): Likewise.
39840         * math/w_j1.c (j1): Likewise.
39841         (y1): Likewise.
39842         * math/w_j1f.c (j1f): Likewise.
39843         (y1f): Likewise.
39844         * math/w_j1l.c (__j1l): Likewise.
39845         (__y1l): Likewise.
39846         * math/w_jn.c (jn): Likewise.
39847         (yn): Likewise.
39848         * math/w_jnf.c (jnf): Likewise.
39849         (ynf): Likewise.
39850         * math/w_jnl.c (__jnl): Likewise.
39851         (__ynl): Likewise.
39852         * math/libm-test.inc (j0_test): Add more tests.
39853         (j1_test): Likewise.
39854         (jn_test): Likewise.  Add trailing semicolon to existing test.
39855         (y0_test): Likewise.
39856         (y1_test): Likewise.
39857         * sysdeps/i386/fpu/libm-test-ulps: Update.
39858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39860         [BZ #13851]
39861         [BZ #13854]
39862         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39863         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39864         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39865         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39866         (__tanl): Set errno for infinite argument.
39867         * sysdeps/i386/fpu/mptan.c: Remove.
39868         * sysdeps/i386/fpu/s_tan.S: Likewise.
39869         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39870         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39871         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39872         * math/libm-test.inc (tan_test): Add more tests and enable more
39873         tests for double and long double.
39874         * sysdeps/i386/fpu/libm-test-ulps: Update.
39875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39877 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39879         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39880         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39882 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39884         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39885         * configure.in: Use it for both main tree and add-ons.
39886         * configure: Regenerated.
39888 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39890         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39892 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39894         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39895         in comment.
39897         [BZ #13851]
39898         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39899         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39900         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39901         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39902         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39903         infinite argument.
39904         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39905         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39906         != 0 for prec == 2.
39907         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39908         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39909         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39910         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39911         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39912         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39913         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39914         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39915         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39916         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39917         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39918         * math/libm-test.inc (cos_test): Add more tests and enable more
39919         tests for long double.
39920         (sin_test): Likewise.
39921         (sincos_test): Likewise.
39922         * sysdeps/i386/fpu/libm-test-ulps: Update.
39923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39925 2012-03-16  David S. Miller  <davem@davemloft.net>
39927         * sysdeps/sparc/fpu/math_private.h: New file.
39929 2012-03-15  David S. Miller  <davem@davemloft.net>
39931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39932         file.
39933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39935         file.
39936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39940         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39941         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39942         sysdep routines.
39943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39945         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39946         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39948         * sysdeps/sparc/sparc-ifunc.h: New file.
39949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39950         sparc-ifunc.h
39951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39953         Likewise.
39954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39955         Likewise.
39956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39960         Likewise.
39961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39966         Likewise.
39967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39968         Likewise.
39969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39975         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39976         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39982         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39983         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39986         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39987         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39988         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39989         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39990         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39991         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39992         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39994 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39996         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39997         scaling.
39998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40000 2012-03-15  Andreas Jaeger  <aj@suse.de>
40002         [BZ #13852]
40003         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40004         ieee754/flt-32 implementation for sin, cos and sincos.
40005         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40006         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40007         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40008         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40009         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40010         ieee754/flt-32 implementation for tan.
40012         * math/libm-test.inc (cos_test): Enable some large input tests for
40013         float as well
40014         (sin_test): Likewise.
40015         (sincos_test): Likewise.
40016         (tan_test): Add tests for large input.
40018         * sysdeps/i386/fpu/libm-test-ulps: Update.
40020 2012-03-15  Andreas Jaeger  <aj@suse.de>
40022         [BZ #13658]
40023         * math/libm-test.inc (cos_test): Add more test cases.
40024         (sin_test): Likewise.
40025         (sincos_test): Likewise.
40027 2012-03-15  Andreas Jaeger  <aj@suse.de>
40029         [BZ #13837]
40030         * math/libm-test.inc (cos_test): Add a test case for large input
40031         value.
40032         (sin_test): Likewise.
40033         (sincos_test): Likewise.
40035 2012-03-15  Andreas Jaeger  <aj@suse.de>
40036             Joseph Myers  <joseph@codesourcery.com>
40038         [BZ #13658]
40039         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40040         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40041         * sysdeps/i386/fpu/branred.c: Likewise.
40042         * sysdeps/i386/fpu/dosincos.c: Likewise.
40043         * sysdeps/i386/fpu/mpa.c: Likewise.
40044         * sysdeps/i386/fpu/s_cos.S: Likewise.
40045         * sysdeps/i386/fpu/s_sin.S: Likewise.
40046         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40047         * sysdeps/i386/fpu/sincos32.c: Likewise.
40049         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40050         Define.
40051         (libc_feupdateenv_53bit): Define.
40052         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40053         Define.
40054         (libc_feupdateenv_53bit): Define.
40056         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40057         53 bit (without extend i386 double precision).
40059         * math/libm-test.inc (sincos_test): Add tests for large input.
40060         (sin): Likewise.
40061         (cos): Likewise.
40063         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40065 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40069 2012-03-15  David S. Miller  <davem@davemloft.net>
40071         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40072         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40073         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40074         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40081         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40083         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40084         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40087         file.
40088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40090         file.
40091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40093         file.
40094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40096         file.
40097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40098         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40099         fmin/fmax sysdep routines.
40100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40102 2012-03-14  David S. Miller  <davem@davemloft.net>
40104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40107         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40108         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40109         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40110         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40111         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40118         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40119         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40120         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40121         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40123         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40124         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40125         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40126         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40127         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40128         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40129         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40130         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40131         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40132         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40133         routines.
40134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40135         file.
40136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40138         file.
40139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40141         file.
40142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40144         file.
40145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40147         file.
40148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40150         file.
40151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40152         file.
40153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40154         file.
40155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40156         file.
40157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40158         New file.
40159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40160         file.
40161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40162         file.
40163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40165         file.
40166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40168         file.
40169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40171         file.
40172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40174         VIS3 routines.
40176         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40177         New file.
40179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40181         * sysdeps/sparc/configure.in: New file.
40182         * sysdeps/sparc/configure: Generate.
40183         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40184         * configure: Regenerate.
40185         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40186         * config.make.in (have-as-vis3): New.
40187         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40188         available use -Av9d instead of -Av9a.
40189         * sysdeps/sparc/sparc64/Makefile: Likewise.
40190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40192         New file.
40193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40194         file.
40195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40196         New file.
40197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40198         file.
40199         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40200         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40202         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40203         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40205         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40206         fzeros/fnegs to load 0x80000000 into a float register instead of
40207         using the stack.
40208         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40210 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40212         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40213         bits/syscall.h.
40214         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40215         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40216         ($(inst_includedir)/bits/syscall.h): Remove rule.
40217         ($(objpfx)bits/syscall.d): Include instead of
40218         $(objpfx)syscall-list.d.
40219         (generated): Change syscall-list.h and syscall-list.d to
40220         bits/syscall.h and bits/syscall.d.
40222 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40224         [BZ #13846]
40225         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40227 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40229         [BZ #13841]
40230         * math/s_csqrt.c: Include <float.h>.
40231         (__csqrt): Scale large or subnormal inputs.
40232         * math/s_csqrtf.c: Likewise.
40233         * math/s_csqrtl.c: Likewise.
40234         * math/libm-test.inc (csqrt_test): Add more tests.
40235         * sysdeps/i386/fpu/libm-test-ulps: Update.
40236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40238         [BZ #13840]
40239         * math/libm-test.inc (hypot_test): Add more tests.
40241 2012-03-13  David S. Miller  <davem@davemloft.net>
40243         [BZ #13840]
40244         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40245         double-precision for the calculation instead of scaling.
40247 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40249         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40250         manipulate bits before adding and subtracting TWO52[sx].
40251         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40252         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40253         Likewise.
40254         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40256 2012-03-13  David S. Miller  <davem@davemloft.net>
40258         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40259         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40261         rtld-global-offsets.h
40262         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40264         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40265         large parameters.
40267         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40269         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40270         'err' in the ifdef scope in which it is actually used.
40272         * nss/nss_db/db-init.c: Include string.h
40274 2012-03-12  David S. Miller  <davem@davemloft.net>
40276         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40277         masking out of the most significant byte of random value used.
40278         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40279         Fix coding style in previous change.
40281         * sysdeps/unix/sysv/linux/kernel-features.h
40282         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40283         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40284         expression.
40285         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40286         later.
40288 2012-03-11  David S. Miller  <davem@davemloft.net>
40290         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40291         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40292         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40293         for 'resultvar' otherwise things get truncated on 64-bit.
40295         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40296         Fix masking out of the most significant byte of random value used.
40298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40300 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40304 2012-03-09  David S. Miller  <davem@davemloft.net>
40306         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40307         variables with appropriate CPP guards.
40308         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40309         from the frame pointer, not the stack pointer.  Correct layout
40310         comments.  Fix test on resulting framesize and the management of
40311         the outregs buffer for pltexit.  Preserve floating point return
40312         values across _dl_call_pltexit call.
40313         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40314         framesize and the management of the outregs buffer for pltexit.
40315         Preserve floating point return values across _dl_call_pltexit
40316         call.
40317         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40318         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40319         (la_sparc64_gnu_pltexit): New functions.
40320         (print_exit): Fix format string for return register value.
40322 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40324         * sunrpc/Makefile (others): Add rpcgen.
40325         ($(objpfx)rpcgen): Remove special build rule and dependency on
40326         libc.
40327         * sunrpc/rpcgen.c: New file.
40329 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40331         [BZ #13673]
40332         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40333         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40334         * sysdeps/i386/crti.S: Likewise.
40335         * sysdeps/i386/crtn.S: Likewise.
40336         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40337         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40338         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40339         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40340         * sysdeps/sh/crti.S: Likewise.
40341         * sysdeps/sh/crtn.S: Likewise.
40342         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40344         [BZ #13673]
40345         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40346         with URL.
40347         * locale/programs/locfile-kw.gperf: Likewise.
40348         * locale/programs/charmap-kw.h: Regenerated.
40349         * locale/programs/locfile-kw.h: Likewise.
40351         [BZ #13673]
40352         * intl/plural.y: Replace FSF snail mail address with URL.
40353         * intl/plural.c: Regenerated.
40355 2012-03-09  Richard Henderson  <rth@twiddle.net>
40357         * include/math_private.h: Remove file.
40358         * math/math_private.h: Move file ...
40359         * sysdeps/generic/math_private.h: ... here.
40361         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40362         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40363         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40365         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40366         and <math_private.h>.
40367         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40368         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40369         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40370         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40371         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40372         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40373         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40374         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40375         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40376         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40377         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40378         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40379         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40380         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40381         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40382         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40383         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40384         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40385         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40386         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40387         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40388         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40389         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40390         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40391         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40392         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40393         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40394         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40395         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40396         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40397         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40398         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40399         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40400         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40401         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40402         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40403         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40404         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40405         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40406         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40407         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40408         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40409         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40410         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40411         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40412         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40413         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40414         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40415         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40416         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40417         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40418         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40419         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40420         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40421         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40422         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40423         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40424         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40425         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40426         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40427         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40428         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40429         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40430         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40431         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40432         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40433         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40434         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40435         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40436         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40437         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40438         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40439         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40440         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40442         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40443         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40444         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40445         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40446         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40447         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40448         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40455         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40456         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40457         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40458         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40459         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40460         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40461         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40462         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40463         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40464         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40465         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40466         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40467         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40468         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40469         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40470         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40471         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40472         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40473         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40474         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40475         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40476         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40477         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40478         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40479         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40480         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40481         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40482         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40483         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40484         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40485         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40486         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40487         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40488         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40489         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40490         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40491         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40492         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40493         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40494         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40495         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40496         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40497         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40498         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40499         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40500         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40501         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40502         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40503         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40504         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40505         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40506         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40507         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40508         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40509         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40510         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40511         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40512         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40513         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40514         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40515         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40516         * sysdeps/ieee754/k_standard.c: Likewise.
40517         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40518         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40519         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40520         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40521         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40522         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40523         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40524         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40525         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40526         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40527         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40528         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40529         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40530         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40531         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40532         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40533         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40534         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40535         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40536         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40537         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40538         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40539         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40540         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40541         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40542         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40543         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40544         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40545         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40546         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40547         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40548         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40549         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40550         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40551         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40552         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40553         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40554         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40555         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40556         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40557         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40558         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40559         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40560         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40561         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40562         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40563         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40564         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40565         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40566         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40567         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40568         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40569         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40570         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40571         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40572         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40573         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40574         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40575         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40576         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40577         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40578         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40579         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40580         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40581         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40582         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40583         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40584         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40585         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40586         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40587         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40588         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40589         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40590         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40591         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40592         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40593         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40594         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40595         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40596         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40605         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40606         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40607         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40608         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40609         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40610         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40611         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40612         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40613         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40614         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40615         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40616         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40617         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40618         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40619         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40620         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40621         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40622         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40623         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40624         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40625         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40626         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40627         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40628         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40629         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40630         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40631         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40632         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40635         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40636         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40637         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40639         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40641         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40643         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40644         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40648         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40649         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40653         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40655         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40656         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40657         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40661         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40664         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40665         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40666         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40667         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40668         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40669         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40670         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40671         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40674         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40675         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40677         * sysdeps/ieee754/s_lib_version.c: Likewise.
40678         * sysdeps/ieee754/s_matherr.c: Likewise.
40679         * sysdeps/ieee754/s_signgam.c: Likewise.
40680         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40681         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40682         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40683         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40684         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40685         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40686         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40687         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40688         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40689         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40690         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40691         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40692         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40693         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40694         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40695         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40696         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40697         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40698         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40699         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40700         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40702 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40704         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40705         * sunrpc/rpc_main.c: Likewise.
40706         * sunrpc/rpc_svcout.c: Likewise.
40708 2012-03-09  David S. Miller  <davem@davemloft.net>
40710         * include/math_private.h: New file.
40712 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40714         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40715         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40716         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40717         from <bits/socket_type.h>.
40718         (enum __socket_type): Don't define here.
40719         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40721         bits/socket_type.h.
40723         [BZ #13566]
40724         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40725         checking __USE_GNU.
40727         * Makerules ($(inst_includedir)/%.h): New rule.
40728         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40729         (install-others): Remove variable setting.
40730         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40732 2012-03-08  Richard Henderson  <rth@twiddle.net>
40734         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40735         from macro to inline function; merge with the
40736         !__LIBC_INTERNAL_MATH_INLINES version.
40737         (__ieee754_sqrtf): Likewise.
40739         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40740         to inline function.
40741         (__rintf, __floor, __floorf): Likewise.
40743         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40744         macro to inline function.
40745         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40747         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40748         not <math/math_private.h>.
40750 2012-03-08  David S. Miller  <davem@davemloft.net>
40752         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40753         copyright year.
40754         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40756 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40758         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40759         normalization.
40760         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40761         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40763 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40765         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40766         be defined individually, they must be defined as a block.  Define
40767         S for printing a string instead of hidint the different by using a
40768         macro for adding the 'l'.
40769         * stdio-common/tst-fphex-wide.c: Adjust.
40771 2012-03-07  Marek Polacek  <polacek@redhat.com>
40773         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40775 2012-03-08  Marek Polacek  <polacek@redhat.com>
40777         [BZ #13806]
40778         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40779         * stdio-common/tst-fphex.c: Define a few macros to make the
40780         test reusable.  Use them.
40781         * stdio-common/tst-fphex-wide.c: New file.
40783 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40785         [BZ #6911]
40786         * manual/macros.texi (gnusystems): New macro.
40787         (nongnusystems): Likewise.
40788         (gnulinuxhurdsystems): Likewise.
40789         (gnuhurdsystems): Likewise..
40790         (gnulinuxsystems): Likewise.
40791         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40792         variants of the GNU system, not "GNU system".
40793         * manual/conf.texi: Likewise.
40794         * manual/errno.texi: Likewise.  Update example of errno macro
40795         expansion.
40796         * manual/filesys.texi: Likewise.
40797         (getumask): Document as specific to GNU/Hurd.
40798         * manual/install.texi: Likewise.  Reword some references to
40799         GNU/Linux.
40800         * manual/intro.texi: Likewise.
40801         * manual/io.texi: Likewise.
40802         (File Name Portability): Detail which constraints are inapplicable
40803         to all GNU systems and which are only inapplicable to GNU/Hurd.
40804         * manual/job.texi: Likewise.
40805         * manual/llio.texi: Likewise.
40806         (O_NOCTTY): Document as present on GNU/Linux.
40807         * manual/maint.texi: Likewise.
40808         * manual/memory.texi: Likewise.
40809         * manual/pattern.texi: Likewise.
40810         * manual/pipe.texi: Likewise.
40811         * manual/process.texi: Likewise.
40812         * manual/resource.texi: Likewise.
40813         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40814         child on GNU/Hurd.
40815         * manual/setjmp.texi: Likewise.
40816         * manual/signal.texi: Likewise.
40817         * manual/startup.texi: Likewise.
40818         * manual/stdio.texi: Likewise.
40819         * manual/terminal.texi: Likewise.
40820         (ONLCR): Document as POSIX.
40821         (OXTABS): Document availability on GNU/Linux as XTABS.
40822         (ONOEOT): Document availability separately from other bits.
40823         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40824         * manual/time.texi: Likewise.
40825         * manual/users.texi: Likewise.
40826         * INSTALL: Regenerated.
40827         * sysdeps/gnu/errlist.c: Regenerated.
40829         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40830         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40831         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40832         puts.
40833         * configure: Regenerated.
40835 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40837         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40838         default includes instead of AC_HEADER_CHECK.
40839         * sysdeps/i386/configure: Regenerated.
40841         [BZ #10716]
40842         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40843         * math/s_cacoshf.c (__cacoshf): Likewise.
40844         * math/s_cacoshl.c (__cacoshl): Likewise.
40845         * math/s_casinh.c (__casinh): Set signs of result from argument.
40846         * math/s_casinhf.c (__casinhf): Likewise.
40847         * math/s_casinhl.c (__casinhl): Likewise.
40848         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40849         (casinh_test): Add more tests.
40850         * sysdeps/i386/fpu/libm-test-ulps: Update.
40851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40853 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40855         * po/zh_TW.po: Update from translation team.
40857         * login/Makefile (distribute): Remove variable.
40858         * catgets/Makefile: Likewise.
40859         * mach/Makefile: Likewise.
40860         * malloc/Makefile: Likewise.
40861         * misc/Makefile: Likewise.
40862         * iconv/Makefile: Likewise.
40863         * nscd/Makefile: Likewise.
40864         * hurd/Makefile: Likewise.
40865         * manual/Makefile: Likewise.
40866         * locale/Makefile: Likewise.
40867         * intl/Makefile: Likewise.
40868         * conform/Makefile: Likewise.
40869         * nss/Makefile: Likewise.
40870         * time/Makefile: Likewise.
40871         * soft-fp/Makefile: Likewise.
40872         * dirent/Makefile: Likewise.
40873         * gmon/Makefile: Likewise.
40874         * po/Makefile: Likewise.
40875         * rt/Makefile: Likewise.
40876         * socket/Makefile: Likewise.
40877         * math/Makefile: Likewise.
40878         * signal/Makefile: Likewise.
40879         * debug/Makefile: Likewise.
40880         * elf/Makefile: Likewise.
40881         * timezone/Makefile: Likewise.
40882         * stdlib/Makefile: Likewise.
40883         * iconvdata/Makefile: Likewise.
40884         * sunrpc/Makefile: Likewise.
40885         * io/Makefile: Likewise.
40886         * argp/Makefile: Likewise.
40887         * inet/Makefile: Likewise.
40888         * hesiod/Makefile: Likewise.
40889         * grp/Makefile: Likewise.
40890         * csu/Makefile: Likewise.
40891         * wctype/Makefile: Likewise.
40892         * crypt/Makefile: Likewise.
40893         * libio/Makefile: Likewise.
40894         * string/Makefile: Likewise.
40895         * nis/Makefile: Likewise.
40896         * resolv/Makefile: Likewise.
40897         * stdio-common/Makefile: Likewise.
40898         * wcsmbs/Makefile: Likewise.
40899         * dlfcn/Makefile: Likewise.
40900         * posix/Makefile: Likewise.
40902         [BZ #6959]
40903         * timezone/Makefile: Don't install timezone files, just the programs
40904         and scripts.
40906 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40908         * nss/databases.def: Add missing gshadow entry.
40910         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40912 2012-03-06  Marek Polacek  <polacek@redhat.com>
40914         [BZ #13726]
40915         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40916         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40917         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40918         * stdio-common/tst-long-dbl-fphex.c: New file.
40920 2012-03-06  David S. Miller  <davem@davemloft.net>
40922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40923         (set_obp_int): New function.
40924         (get_obp_int): New function.
40925         (__get_clockfreq_via_dev_openprom): Likewise.
40926         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40927         Avoid unused variable warnings on 'val' and use builtin_expect.
40928         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40929         __builtin_expect.
40930         (INLINE_CLONE_SYSCALL): Likewise.
40932 2012-03-05  David S. Miller  <davem@davemloft.net>
40934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40936 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40940         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40941         only for |x| >= 40.
40942         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40944 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40946         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40947         Replace gettimeofday with __vdso_gettimeofday.
40949         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40950         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40951         __vdso_clock_gettime and __vdso_getcpu.
40953         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40954         time with __vdso_time.
40956 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40958         * manual/lang.texi (size_t): Note types to which size_t may be
40959         equivalent with the GNU C Library, but do not describe when
40960         differences between them are significant.
40962 2012-03-05  Andreas Jaeger  <aj@suse.de>
40964         * sysdeps/i386/fpu/libm-test-ulps: Update.
40966 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40968         [BZ #3976]
40969         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40970         (__ieee754_pow): Save and restore rounding mode and use
40971         round-to-nearest for main computations.
40972         * math/libm-test.inc (pow_test_tonearest): New function.
40973         (pow_test_towardzero): Likewise.
40974         (pow_test_downward): Likewise.
40975         (pow_test_upward): Likewise.
40976         (main): Call the new functions.
40977         * sysdeps/i386/fpu/libm-test-ulps: Update.
40978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40980         [BZ #3976]
40981         * math/libm-test.inc (cosh_test_tonearest): New function.
40982         (cosh_test_towardzero): Likewise.
40983         (cosh_test_downward): Likewise.
40984         (cosh_test_upward): Likewise.
40985         (sinh_test_tonearest): Likewise.
40986         (sinh_test_towardzero): Likewise.
40987         (sinh_test_downward): Likewise.
40988         (sinh_test_upward): Likewise.
40989         (main): Call the new functions.
40990         * sysdeps/i386/fpu/libm-test-ulps: Update.
40991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40993 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40995         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40996         default stack guard is set in last bytes.
40997         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40999 2012-03-05  Kees Cook  <keescook@chromium.org>
41001         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41003         [BZ #13656]
41004         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41005         possibly allocate from heap instead of stack.
41006         * stdio-common/bug-vfprintf-nargs.c: New file.
41007         * stdio-common/Makefile (tests): Add nargs overflow test.
41009 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41013 2012-03-03  Marek Polacek  <polacek@redhat.com>
41015         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41016         * math/math_private.h: Likewise.
41017         * stdlib/tst-strtod.c: Likewise.
41018         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41019         * sysdeps/x86_64/bits/atomic.h: Likewise.
41021 2012-03-02  David S. Miller  <davem@davemloft.net>
41023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41027         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41028         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41029         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41030         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41032 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41034         [BZ #13792]
41035         * manual/examples/README: New file, says the example source files
41036         can be used under GPL>=2.
41037         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41038         line containing just "*/".
41039         * manual/examples/add.c: Add copyright header (GPL>=2).
41040         * manual/examples/argp-ex1.c: Likewise.
41041         * manual/examples/argp-ex2.c: Likewise.
41042         * manual/examples/argp-ex3.c: Likewise.
41043         * manual/examples/argp-ex4.c: Likewise.
41044         * manual/examples/atexit.c: Likewise.
41045         * manual/examples/db.c: Likewise.
41046         * manual/examples/dir.c: Likewise.
41047         * manual/examples/dir2.c: Likewise.
41048         * manual/examples/execinfo.c: Likewise.
41049         * manual/examples/filecli.c: Likewise.
41050         * manual/examples/filesrv.c: Likewise.
41051         * manual/examples/fmtmsgexpl.c: Likewise.
41052         * manual/examples/genpass.c: Likewise.
41053         * manual/examples/inetcli.c: Likewise.
41054         * manual/examples/inetsrv.c: Likewise.
41055         * manual/examples/isockad.c: Likewise.
41056         * manual/examples/longopt.c: Likewise.
41057         * manual/examples/memopen.c: Likewise.
41058         * manual/examples/memstrm.c: Likewise.
41059         * manual/examples/mkfsock.c: Likewise.
41060         * manual/examples/mkisock.c: Likewise.
41061         * manual/examples/mygetpass.c: Likewise.
41062         * manual/examples/pipe.c: Likewise.
41063         * manual/examples/popen.c: Likewise.
41064         * manual/examples/rprintf.c: Likewise.
41065         * manual/examples/search.c: Likewise.
41066         * manual/examples/select.c: Likewise.
41067         * manual/examples/setjmp.c: Likewise.
41068         * manual/examples/sigh1.c: Likewise.
41069         * manual/examples/sigusr.c: Likewise.
41070         * manual/examples/stpcpy.c: Likewise.
41071         * manual/examples/strdupa.c: Likewise.
41072         * manual/examples/strftim.c: Likewise.
41073         * manual/examples/strncat.c: Likewise.
41074         * manual/examples/subopt.c: Likewise.
41075         * manual/examples/swapcontext.c: Likewise.
41076         * manual/examples/termios.c: Likewise.
41077         * manual/examples/testopt.c: Likewise.
41078         * manual/examples/testpass.c: Likewise.
41079         * manual/examples/timeval_subtract.c: Likewise.
41081         [BZ #13792]
41082         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41083         function to ...
41084         * manual/timeval_subtract.c.texi: ... here, new file.
41086 2012-03-02  David S. Miller  <davem@davemloft.net>
41088         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41090 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41092         [BZ #3976]
41093         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41094         (__sin): Save and restore rounding mode and use round-to-nearest
41095         for all computations.
41096         (__cos): Save and restore rounding mode and use round-to-nearest
41097         for all computations.
41098         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41099         <fenv.h>.
41100         (tan): Save and restore rounding mode and use round-to-nearest for
41101         all computations.
41102         * math/libm-test.inc (cos_test_tonearest): New function.
41103         (cos_test_towardzero): Likewise.
41104         (cos_test_downward): Likewise.
41105         (cos_test_upward): Likewise.
41106         (sin_test_tonearest): Likewise.
41107         (sin_test_towardzero): Likewise.
41108         (sin_test_downward): Likewise.
41109         (sin_test_upward): Likewise.
41110         (tan_test_tonearest): Likewise.
41111         (tan_test_towardzero): Likewise.
41112         (tan_test_downward): Likewise.
41113         (tan_test_upward): Likewise.
41114         (main): Call the new functions.
41115         * sysdeps/i386/fpu/libm-test-ulps: Update.
41116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41118         [BZ #10135]
41119         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41120         small n, then large n, before computing and testing k+n.
41121         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41122         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41123         Likewise.
41124         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41125         Likewise.
41126         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41127         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41128         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41129         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41130         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41131         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41132         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41133         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41134         * math/libm-test.inc (scalbn_test): Add more tests.
41135         (scalbln_test): Likewise.
41137         * manual/filesys.texi (mode_t): Describe constraints on size and
41138         signedness, not exact equivalence to a particular type.
41139         (ino_t): Likewise.
41140         (ino64_t): Likewise.
41141         (dev_t): Likewise.
41142         (nlink_t): Likewise.
41143         (blkcnt_t): Likewise.
41144         (blkcnt64_t): Likewise.
41145         * manual/llio.texi (off_t): Likewise.
41147         [BZ #3976]
41148         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41149         (__ieee754_exp): Save and restore rounding mode and use
41150         round-to-nearest for all computations.
41151         * math/libm-test.inc (exp_test_tonearest): New function.
41152         (exp_test_towardzero): Likewise.
41153         (exp_test_downward): Likewise.
41154         (exp_test_upward): Likewise.
41155         (main): Call the new functions.
41156         * sysdeps/i386/fpu/libm-test-ulps: Update.
41157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41159 2012-03-01  Chris Demetriou  <cgd@google.com>
41161         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41162         have predictable order.
41164 2012-03-01  David S. Miller  <davem@davemloft.net>
41166         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41168         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41169         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41170         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41171         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41173         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41174         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41175         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41177         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41178         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41179         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41180         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41181         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41185         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41186         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41187         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41189         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41190         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41191         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41192         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41193         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41194         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41195         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41196         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41197         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41198         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41199         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41200         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41201         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41202         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41203         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41204         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41205         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41206         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41207         * sysdeps/sparc/elf/configure: Regenerated.
41209 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41211         * configure.in (AS, LD): Require binutils 2.20 or later.
41212         * configure: Regenerated.
41213         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41214         as required minimum version.
41215         * INSTALL: Regenerated.
41217         [BZ #2541]
41218         [BZ #4108]
41219         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41220         before squaring exponent.
41221         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41222         bottom long double and 27 bits of top long double before squaring
41223         exponent.
41224         * math/libm-test.inc (erfc_test): Add more tests.
41225         * sysdeps/i386/fpu/libm-test-ulps: Update.
41226         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41229 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41231         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41232         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41233         containing bit-fields.
41234         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41235         * soft-fp/single.h (_FP_UNION_S): Likewise.
41236         * soft-fp/double.h (_FP_UNION_D): Likewise.
41238 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41240         [BZ #13786]
41241         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41242         not include ../strcmp.S.
41243         [USE_AS_STRNCASECMP_L]: Likewise.
41244         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41245         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41246         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41247         (__strncasecmp_l_ia32): Define as alias to
41248         __strncasecmp_l_nonascii.
41250         [BZ #5794]
41251         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41252         * sysdeps/i386/fpu/libm-test-ulps: Update.
41253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41255         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41258 2012-02-29  Jeff Law  <law@redhat.com>
41260         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41261         out of bounds read.
41263 2012-02-29  Marek Polacek  <polacek@redhat.com>
41265         [BZ #13706]
41266         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41267         * elf/Makefile: Add rules to run tst-unused-dep.out.
41269 2012-02-28  David S. Miller  <davem@davemloft.net>
41271         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41272         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41273         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41274         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41275         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41276         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41278 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41280         * math/libm-test.inc (llround_test): Move one test from
41281         lround_test.  Use TEST_f_L in moved test.
41282         (lround_test): Move misplaced test to llround_test.  Add testcase
41283         from bug 2561.
41285 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41287         * sysdeps/x86_64/fpu/e_expf.S: New file.
41288         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41290 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41292         [BZ #13637]
41293         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41294         of remain_len that may cause incomplete multi-byte character and
41295         false match.
41296         * posix/bug-regex33.c: New file.
41297         * posix/Makefile (tests): Add bug-regex33.
41299 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41301         * manual/macros.texi: New file.
41302         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41303         * manual/libc.texinfo: Include macros.texi.
41304         * manual/creatute.texi: Likewise.
41305         * manual/install.texi: Likewise.
41306         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41307         @glibcadj{} in references to the GNU C Library.
41308         * manual/charset.texi: Likewise.
41309         * manual/conf.texi: Likewise.
41310         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41311         when not using those macros.
41312         * manual/creature.texi: Likewise.
41313         * manual/crypt.texi: Likewise.
41314         * manual/errno.texi: Likewise.
41315         * manual/filesys.texi: Likewise.
41316         * manual/header.texi: Likewise.
41317         * manual/install.texi: Likewise.
41318         * manual/intro.texi: Likewise.
41319         * manual/io.texi: Likewise.
41320         * manual/job.texi: Likewise.
41321         * manual/lang.texi: Likewise.
41322         * manual/libc.texiinfo: Likewise.
41323         * manual/llio.texi: Likewise.
41324         * manual/locale.texi: Likewise.
41325         * manual/maint.texi: Likewise.
41326         * manual/math.texi: Likewise.
41327         * manual/memory.texi: Likewise.
41328         * manual/message.texi: Likewise.
41329         * manual/nss.texi: Likewise.
41330         * manual/pattern.texi: Likewise.
41331         * manual/process.texi: Likewise.
41332         * manual/resource.texi: Likewise.
41333         * manual/search.texi: Likewise.
41334         * manual/setjmp.texi: Likewise.
41335         * manual/signal.texi: Likewise.
41336         * manual/socket.texi: Likewise.
41337         * manual/startup.texi: Likewise.
41338         * manual/stdio.texi: Likewise.
41339         * manual/string.texi: Likewise.
41340         * manual/sysinfo.texi: Likewise.
41341         * manual/syslog.texi: Likewise.
41342         * manual/terminal.texi: Likewise.
41343         * manual/time.texi: Likewise.
41344         * manual/users.texi: Likewise.
41345         * INSTALL: Regenerated.
41346         * NOTES: Regenerated.
41347         * sysdeps/gnu/errlist.c: Regenerated.
41349 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41351         * include/dirent.h: Include <dirstream.h> before
41352         <dirent/dirent.h>.
41354 2012-02-28  David S. Miller  <davem@davemloft.net>
41356         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41357         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41358         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41359         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41361 2012-02-27  David S. Miller  <davem@davemloft.net>
41363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41365         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41366         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41369         frame pointer instead of stack pointer relative arg slot.
41370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41371         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41372         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41374 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41376         [BZ #3992]
41377         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41379 2012-02-27  David S. Miller  <davem@davemloft.net>
41381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41385         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41386         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41387         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41388         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41390 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41392         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41393         later.  Allow versions 5-9.
41394         * configure: Regenerated.
41395         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41396         required minimum version and 4.6 as recommended version.  Do not
41397         mention bugs in GCC 2.7 and 2.8.
41398         * INSTALL: Regenerated.
41400 2012-02-27  David S. Miller  <davem@davemloft.net>
41402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41406         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41407         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41408         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41409         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41411         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41412         manipulate bits before adding and subtracting TWO112[sx].
41413         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41415 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41417         [BZ #13775]
41418         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41419         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41420         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41421         being in POSIX, because they are in 1003.1-2008.
41423         * rt/tst-aio.c: Include <fcntl.h>.
41424         * rt/tst-aio7.c: Likewise.
41425         * rt/tst-aio64.c: Likewise.
41427         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41429 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41431         * manual/install.texi (--with-headers): Describe headers as
41432         interface headers, not private headers.
41433         (Specific advice for GNU/Linux systems): Describe use of headers
41434         from "make headers_install", not private headers from older
41435         kernels.
41436         * INSTALL: Regenerated.
41437         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41438         Change to 2.6.19.
41439         * sysdeps/unix/sysv/linux/configure: Regenerated.
41441         * manual/llio.texi (fclean): Remove documentation.
41443         * manual/Makefile (libc-texi-generated): New variable.  Include
41444         version.texi.
41445         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41446         $(libc-texi-generated), not duplicated list of files.
41447         (version.texi, stamp-version): New rules.
41448         (realclean): Remove $(libc-texi-generated), not individual files
41449         from that list.  Do not remove dir-add.texinfo.
41450         * manual/libc.texinfo: Comment out uses of edition numbers and
41451         references to printed manual.  Remove last-updated dates.
41452         (EDITION): Comment out.
41453         (ISBN): Likewise.
41454         (VERSION, UPDATED): Remove.
41455         (version.texi): Include.
41457 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41459         * sysdeps/posix/spawni.c: Include <signal.h>.
41460         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41461         * sysdeps/pthread/aio_fsync.c: Likewise.
41463 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41465         * conform/Makefile (tests): Run only when not cross-compiling and
41466         when fast-check is not defined.
41468         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41469         * conform/data/limits.h-data: Fixes for POSIX2008.
41470         * conform/run-conformtest.sh: Run all tests.
41471         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41472         headers.
41473         * include/bits/dlfcn.h: Likewise.
41474         * include/langinfo.h: Likewise.
41475         * include/monetary.h: Likewise.
41476         * include/sys/poll.h: Likewise.
41478         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41479         for __USE_GNU.
41480         * posix/spawn.h: Define __need_sigset_t.
41481         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41482         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41483         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41484         to get sigevent_t only.
41485         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41486         only for __USE_GNU.
41487         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41488         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41489         process_vm_writev only for __USE_GNU.
41490         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41492         * conform/Makefile: For now ignore errors from run-conformtest.
41493         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41494         POSIX to avoid namespace pollution.  Don't prepend headers.
41495         * conform/data/aio.h-data: Fixes for POSIX testing.
41496         * conform/data/fcntl.h-data: Likewise.
41497         * conform/data/glob.h-data: Likewise.
41498         * conform/data/grp.h-data: Likewise.
41499         * conform/data/pthread.h-data: Likewise.
41500         * conform/data/pwd.h-data: Likewise.
41501         * conform/data/signal.h-data: Likewise.
41502         * conform/data/spawn.h-data: Likewise.
41503         * conform/data/stdio.h-data: Likewise.
41504         * conform/data/stdlib.h-data: Likewise.
41505         * conform/data/stropts.h-data: Likewise.
41506         * conform/data/sys/mman.h-data: Likewise.
41507         * conform/data/sys/stat.h-data: Likewise.
41508         * conform/data/sys/types.h-data: Likewise.
41509         * conform/data/sys/wait.h-data: Likewise.
41510         * conform/data/time.h-data: Likewise.
41511         * conform/data/unistd.h-data: Likewise.
41512         * conform/data/utime.h-data: Likewise.
41514         * io/sys/stat.h: fchmod was always in POSIX.
41515         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41516         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41517         * rt/aio.h: Define __need_timespec before including <time.h>.
41518         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41519         struct.  Add forward declaration of pthread_attr_t and use it in
41520         sigevent.
41521         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41522         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41523         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41524         always remove CLK_TCK definition.
41526 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41528         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41530 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41532         * conform/run-conformtest.sh: New file.
41533         * conform/Makefile: Run run-conformtest for tests.
41534         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41535         support.
41537         * conform/data/uchar.h-data: New file.
41538         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41539         * conform/data/arpa/inet.h-data: Likewise.
41540         * conform/data/assert.h-data: Likewise.
41541         * conform/data/complex.h-data: Likewise.
41542         * conform/data/cpio.h-data: Likewise.
41543         * conform/data/ctype.h-data: Likewise.
41544         * conform/data/dirent.h-data: Likewise.
41545         * conform/data/dlfcn.h-data: Likewise.
41546         * conform/data/errno.h-data: Likewise.
41547         * conform/data/fcntl.h-data: Likewise.
41548         * conform/data/float.h-data: Likewise.
41549         * conform/data/fmtmsg.h-data: Likewise.
41550         * conform/data/fnmatch.h-data: Likewise.
41551         * conform/data/ftw.h-data: Likewise.
41552         * conform/data/glob.h-data: Likewise.
41553         * conform/data/grp.h-data: Likewise.
41554         * conform/data/iconv.h-data: Likewise.
41555         * conform/data/inttypes.h-data: Likewise.
41556         * conform/data/langinfo.h-data: Likewise.
41557         * conform/data/libgen.h-data: Likewise.
41558         * conform/data/limits.h-data: Likewise.
41559         * conform/data/locale.h-data: Likewise.
41560         * conform/data/math.h-data: Likewise.
41561         * conform/data/monetary.h-data: Likewise.
41562         * conform/data/mqueue.h-data: Likewise.
41563         * conform/data/ndbm.h-data: Likewise.
41564         * conform/data/net/if.h-data: Likewise.
41565         * conform/data/netdb.h-data: Likewise.
41566         * conform/data/netinet/in.h-data: Likewise.
41567         * conform/data/nl_types.h-data: Likewise.
41568         * conform/data/poll.h-data: Likewise.
41569         * conform/data/pthread.h-data: Likewise.
41570         * conform/data/pwd.h-data: Likewise.
41571         * conform/data/regex.h-data: Likewise.
41572         * conform/data/sched.h-data: Likewise.
41573         * conform/data/search.h-data: Likewise.
41574         * conform/data/semaphore.h-data: Likewise.
41575         * conform/data/setjmp.h-data: Likewise.
41576         * conform/data/signal.h-data: Likewise.
41577         * conform/data/spawn.h-data: Likewise.
41578         * conform/data/stdarg.h-data: Likewise.
41579         * conform/data/stdio.h-data: Likewise.
41580         * conform/data/stdlib.h-data: Likewise.
41581         * conform/data/string.h-data: Likewise.
41582         * conform/data/strings.h-data: Likewise.
41583         * conform/data/stropts.h-data: Likewise.
41584         * conform/data/sys/ipc.h-data: Likewise.
41585         * conform/data/sys/mman.h-data: Likewise.
41586         * conform/data/sys/msg.h-data: Likewise.
41587         * conform/data/sys/resource.h-data: Likewise.
41588         * conform/data/sys/select.h-data: Likewise.
41589         * conform/data/sys/sem.h-data: Likewise.
41590         * conform/data/sys/shm.h-data: Likewise.
41591         * conform/data/sys/socket.h-data: Likewise.
41592         * conform/data/sys/stat.h-data: Likewise.
41593         * conform/data/sys/statvfs.h-data: Likewise.
41594         * conform/data/sys/time.h-data: Likewise.
41595         * conform/data/sys/timeb.h-data: Likewise.
41596         * conform/data/sys/times.h-data: Likewise.
41597         * conform/data/sys/types.h-data: Likewise.
41598         * conform/data/sys/uio.h-data: Likewise.
41599         * conform/data/sys/un.h-data: Likewise.
41600         * conform/data/sys/utsname.h-data: Likewise.
41601         * conform/data/sys/wait.h-data: Likewise.
41602         * conform/data/syslog.h-data: Likewise.
41603         * conform/data/tar.h-data: Likewise.
41604         * conform/data/termios.h-data: Likewise.
41605         * conform/data/utime.h-data: Likewise.
41606         * conform/data/utmpx.h-data: Likewise.
41607         * conform/data/varargs.h-data: Likewise.
41608         * conform/data/wchar.h-data: Likewise.
41609         * conform/data/wctype.h-data: Likewise.
41610         * conform/data/wordexp.h-data: Likewise.
41612         * include/stropts.h: New file.
41613         * include/uchar.h: New file.
41614         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41615         * include/assert.h: Likewise.
41616         * include/ctype.h: Likewise.
41617         * include/dirent.h: Likewise.
41618         * include/dlfcn.h: Likewise.
41619         * include/fcntl.h: Likewise.
41620         * include/fnmatch.h: Likewise.
41621         * include/glob.h: Likewise.
41622         * include/grp.h: Likewise.
41623         * include/libio.h: Likewise.
41624         * include/locale.h: Likewise.
41625         * include/math.h: Likewise.
41626         * include/net/if.h: Likewise.
41627         * include/netdb.h: Likewise.
41628         * include/netinet/in.h: Likewise.
41629         * include/pthread.h: Likewise.
41630         * include/pwd.h: Likewise.
41631         * include/regex.h: Likewise.
41632         * include/sched.h: Likewise.
41633         * include/search.h: Likewise.
41634         * include/setjmp.h: Likewise.
41635         * include/signal.h: Likewise.
41636         * include/stdio.h: Likewise.
41637         * include/stdlib.h: Likewise.
41638         * include/string.h: Likewise.
41639         * include/sys/cdefs.h: Likewise.
41640         * include/sys/mman.h: Likewise.
41641         * include/sys/msg.h: Likewise.
41642         * include/sys/resource.h: Likewise.
41643         * include/sys/select.h: Likewise.
41644         * include/sys/socket.h: Likewise.
41645         * include/sys/stat.h: Likewise.
41646         * include/sys/statvfs.h: Likewise.
41647         * include/sys/time.h: Likewise.
41648         * include/sys/times.h: Likewise.
41649         * include/sys/uio.h: Likewise.
41650         * include/sys/utsname.h: Likewise.
41651         * include/sys/wait.h: Likewise.
41652         * include/termios.h: Likewise.
41653         * include/time.h: Likewise.
41654         * include/ulimit.h: Likewise.
41655         * include/unistd.h: Likewise.
41656         * include/utime.h: Likewise.
41657         * include/wchar.h: Likewise.
41658         * include/wctype.h: Likewise.
41659         * include/wordexp.h: Likewise.
41661         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41663         * time/time.h: TIME_UTC must be a macro.
41664         Make timespec_get available for ISO C11 only as well.
41666 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41668         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41669         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41671 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41673         * configure.in: Use -o not -a in test for unsupported multi-arch.
41675 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41677         * manual/texinfo.tex: Update to version 2012-01-19.16.
41679 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41681         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41683 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41685         [BZ #13738]
41686         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41687         * manual/fdl-1.3.texi: New file.
41688         * manual/fdl-1.1.texi: File removed.
41690         [BZ #13738]
41691         * manual/libc.texinfo (FDL_VERSION): New @set.
41692         Use it for mention of FDL in cover text.
41693         (Documentation License): Use it in @include file name.
41695 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41696             Roland McGrath  <roland@hack.frob.com>
41698         [BZ #5461]
41699         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41700         (not LONG_LONG_MAX and LONG_LONG_MIN.
41701         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41702         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41703         name.
41704         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41706 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41708         [BZ #2547]
41709         [BZ #11365]
41710         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41711         manipulate bits before adding and subtracting TWO23[sx].
41712         * math/libm-test.inc (nearbyint_test): Add more tests.
41714 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41716         [BZ #2548]
41717         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41718         bits before adding and subtracting TWO23[sx].
41719         * math/libm-test.inc (rint_test): Add more tests.
41720         (rint_test_tonearest): Likewise.
41721         (rint_test_towardzero): Likewise.
41722         (rint_test_downward): Likewise.
41723         (rint_test_upward: Likewise.
41725 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41727         [BZ #10110]
41728         * include/stdc-predef.h: New file.  Extracted from features.h.
41729         * include/features.h: Include stdc-predef.h.
41730         * Makefile (headers): Add stdc-predef.h.
41731         * CONFORMANCE (Compiler limitations): Update.
41733 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41735         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41737 2012-02-21  David S. Miller  <davem@davemloft.net>
41739         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41740         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41742 2012-02-20  David S. Miller  <davem@davemloft.net>
41744         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41745         using a normal save/restore sequence, rather than allocating a
41746         dummy stack frame just to store a frame pointer and restore.
41747         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41749 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41751         * manual/install.texi: Fix stray word in line-wrapped comment.
41753 2012-02-20  David S. Miller  <davem@davemloft.net>
41755         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41756         both binutils and gcc support GOTDATA.
41758         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41759         "rd %pc" in the PIC register setup sequences.
41761         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41762         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41763         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41764         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41765         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41766         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41767         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41768         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41769         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41770         (SYSCALL_ERROR_HANDLER): Likewise.
41771         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41772         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41773         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41774         (SYSCALL_ERROR_HANDLER): Likewise.
41776         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41777         (HAVE_GCC_GOTDATA): New.
41778         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41779         relocation support in both binutils and gcc.
41780         * sysdeps/sparc/elf/configure: Regenerate.
41782         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41783         * sysdeps/sparc/sparc32/elf/configure: Delete.
41784         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41785         * sysdeps/sparc/sparc64/elf/configure: Delete.
41786         * sysdeps/sparc/elf/configure.in: New file.
41787         * sysdeps/sparc/elf/configure: Generate.
41789         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41790         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41791         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41792         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41793         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41795 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41797         * manual/install.texi: Do not mention specific glibc version
41798         numbers.
41799         * manual/libc.texinfo (VERSION, UPDATED): Update.
41800         (@copying): Use @copyright{} and range of years.
41802 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41804         [BZ #13695]
41805         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41806         [crti.S not in sysdirs] (generated): Do not append.
41807         [crti.S not in sysdirs] (omit-deps): Likewise.
41808         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41809         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41810         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41811         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41812         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41813         Likewise.
41814         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41815         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41816         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41817         * csu/defs.awk: Remove file.
41818         * sysdeps/generic/initfini.c: Likewise.
41819         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41820         variable.
41821         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41822         Likewise.
41824 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41826         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41827         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41828         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41829         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41830         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41831         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41832         <bits/epoll.h>.
41833         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41834         (__EPOLL_PACKED): Define to empty if not defined by
41835         <bits/epoll.h>.
41836         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41838         bits/epoll.h.
41840 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41842         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41843         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41844         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41845         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41846         <bits/timerfd.h>.
41847         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41849         bits/timerfd.h.
41851 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41853         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41854         in C locale.
41855         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41856         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41857         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41860 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41862         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41863         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41865 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41867         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41868         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41869         defined.
41870         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41871         Likewise.
41872         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41873         entry for 2.16.
41875 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41877         * math/w_acos.c: Use non-signaling floating-point comparisons.
41878         * math/w_acosf.c: Likewise.
41879         * math/w_acosh.c: Likewise.
41880         * math/w_acoshf.c: Likewise.
41881         * math/w_acoshl.c: Likewise.
41882         * math/w_acosl.c: Likewise.
41883         * math/w_asin.c: Likewise.
41884         * math/w_asinf.c: Likewise.
41885         * math/w_asinl.c: Likewise.
41886         * math/w_atanh.c: Likewise.
41887         * math/w_atanhf.c: Likewise.
41888         * math/w_atanhl.c: Likewise.
41889         * math/w_exp2.c: Likewise.
41890         * math/w_exp2f.c: Likewise.
41891         * math/w_exp2l.c: Likewise.
41892         * math/w_j0.c: Likewise.
41893         * math/w_j0f.c: Likewise.
41894         * math/w_j0l.c: Likewise.
41895         * math/w_j1.c: Likewise.
41896         * math/w_j1f.c: Likewise.
41897         * math/w_j1l.c: Likewise.
41898         * math/w_jn.c: Likewise.
41899         * math/w_jnf.c: Likewise.
41900         * math/w_log.c: Likewise.
41901         * math/w_log10.c: Likewise.
41902         * math/w_log10f.c: Likewise.
41903         * math/w_log10l.c: Likewise.
41904         * math/w_log2.c: Likewise.
41905         * math/w_log2f.c: Likewise.
41906         * math/w_log2l.c: Likewise.
41907         * math/w_logf.c: Likewise.
41908         * math/w_logl.c: Likewise.
41909         * math/w_sqrt.c: Likewise.
41910         * math/w_sqrtf.c: Likewise.
41911         * math/w_sqrtl.c: Likewise.
41912         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41913         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41914         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41915         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41916         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41918 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41920         [BZ #9739]
41921         * manual/string.texi (strnlen): Use correct parameter name in
41922         equivalent expression.
41924 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41926         [BZ #11174]
41927         * manual/users.texi (seteuid): Consistently use neweuid for
41928         argument name.
41930 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41932         [BZ #13704]
41933         * manual/nss.texi (Services in the NSS configuration): Correct
41934         list of services in example configuration file.
41936 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41938         [BZ #11322]
41939         * manual/arith.texi: Remove statements about negative zero
41940         behaving identically to zero.
41942 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41944         [BZ #5993]
41945         * manual/install.texi: Do not document upgrading from libc5.
41947 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41949         [BZ #4596]
41950         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41952 2012-02-18  David S. Miller  <davem@davemloft.net>
41954         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41955         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41956         %o7 across the call.
41957         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41958         instead.
41959         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41960         SETUP_PIC_REG_LEAF.
41961         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41962         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41963         * sysdeps/sparc/crtn.S: Likewise.
41965 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41967         * aout/Makefile: Remove.
41969 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41971         [BZ #13058]
41972         * manual/examples/argp-ex1.c (main): Format definition in GNU
41973         style.
41974         * manual/examples/argp-ex2.c (main): Likewise.
41975         * manual/examples/argp-ex3.c (main): Likewise.
41976         * manual/examples/argp-ex4.c (main): Likewise.
41977         * manual/examples/longopt.c (main): Use new-style prototype
41978         definition.
41979         * manual/examples/strncat.c (main): Specify return type and use
41980         (void) for arguments.
41981         * manual/examples/subopt.c (main): Use char **argv argument.
41983 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41985         [BZ #5077]
41986         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41987         rounding modes.
41989 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41991         [BZ #6907]
41992         * manual/string.texi (strchr): Change when strchrnul is
41993         recommended.
41995 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41997         [BZ #174]
41998         * manual/locale.texi (setlocale): Document LOCPATH.
42000 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42002         [BZ #10210]
42003         * manual/process.texi (execle): Move @dots{} before last argument.
42005 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42007         [BZ #12047]
42008         * manual/charset.texi (Generic Charset Conversion): Fix typo
42009         (LC_TYPE -> LC_CTYPE).
42011 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42013         [BZ #5805]
42014         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42015         (scalbnf): Likewise.
42016         (scalbnl): Likewise.
42017         (scalbln): Likewise.
42018         (scalblnf): Likewise.
42019         (scalblnl): Likewise.
42020         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42021         (vwarnx): Likewise.
42022         (verr): Likewise.
42023         (verrx): Likewise.
42024         * manual/filesys.texi (telldir): Use braces around return type.
42025         * manual/llio.texi (mmap): Add space after comma.
42026         (mmap64): Likewise.
42027         * manual/math.texi (jn): Use @var{} on parameter names.
42028         (jnf): Likewise.
42029         (jnl): Likewise.
42030         (yn): Likewise.
42031         (ynf): Likewise.
42032         (ynl): Likewise.
42033         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42034         line.
42035         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42036         "...".
42037         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42038         (sched_get_priority_max): Likewise.
42039         * manual/signal.texi (sigvec): Add space after comma.
42040         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42041         names.
42042         (if_indextoname): Likewise.
42043         (if_freenameindex): Likewise.
42044         (sendto): Use ',' instead of '.' in prototype.
42045         * manual/startup.texi (syscall): Use @dots{} instead of literal
42046         "...".
42047         * manual/stdio.texi (__fpending): Separate initial words of
42048         paragraph from @deftypefun line.
42049         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42050         "...".
42051         (vsyslog): Use @var{} on parameter names.
42052         * manual/terminal.texi (stty): Use @var{} on parameter names.
42053         * manual/users.texi (getutmp): Use @var{} on parameter names.
42054         (getutmpx): Likewise.
42056 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42058         [BZ #6884]
42059         * manual/stdio.texi (fopen): Fix typos in description of
42060         ",ccs=STRING".
42062 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42064         [BZ #4026]
42065         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42066         get clock_id definition.
42068 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42070         [BZ #4822]
42071         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42072         (madvise): Cast every argument to void on its own.
42074 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42076         [BZ #9902]
42077         * manual/startup.texi (Exit Status): Fix typo.
42079 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42081         [BZ #10140]
42082         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42083         * manual/examples/argp-ex2.c: Likewise.
42084         * manual/examples/argp-ex3.c: Likewise.
42086 2012-02-16  Richard Henderson  <rth@redhat.com>
42088         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42089         * sysdeps/s390/s390-32/initfini.c: Remove.
42090         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42091         * sysdeps/s390/s390-64/initfini.c: Remove.
42093 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42095         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42096         compiler output for sysdeps/generic/initfini.c.
42097         * sysdeps/sh/elf/initfini.c: Remove file.
42099 2012-02-16  David S. Miller  <davem@davemloft.net>
42101         [BZ #11494]
42102         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42104         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42105         * sysdeps/sparc/crti.S: New file.
42106         * sysdeps/sparc/crtn.S: New file.
42107         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42108         * sysdeps/sparc/sparc64/Makefile: Likewise.
42110 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42112         [BZ #3335]
42113         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42115 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42117         [BZ #4822]
42118         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42120         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42121         (write, read, close): Likewise.
42122         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42124 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42126         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42127         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42128         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42129         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42130         <bits/signalfd.h>.
42131         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42133         bits/signalfd.h.
42135 2012-02-14  Marek Polacek  <polacek@redhat.com>
42137         * sysdeps/x86_64/crti.S: New file.
42138         * sysdeps/x86_64/crtn.S: New file.
42139         * sysdeps/x86_64/elf/initfini.c: Remove file.
42141 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42143         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42144         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42145         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42146         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42147         <bits/inotify.h>.
42148         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42149         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42150         bits/inotify.h.
42152 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42154         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42155         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42156         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42157         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42158         <bits/eventfd.h>.
42159         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42160         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42161         bits/eventfd.h.
42163 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42165         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42166         __feraiseexcept instead of feraiseexcept.
42168         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42169         nanosleep invocations.
42170         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42171         strings, and add error checking for a nanosleep invocations.
42173 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42175         Replace FSF snail mail address with URLs, as per GNU coding standards.
42176         Most of the snail mail addresses were wrong anyway, and omitting
42177         them makes the source code easier to maintain.  Almost all of the
42178         changes are to license notices and to locale LC_IDENTIFICATION
42179         addresses, except for this one:
42180         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42181         not its snail mail address.
42183 2012-02-09  Richard Henderson  <rth@twiddle.net>
42185         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42186         of kernel-features.h.
42188         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42190 2012-02-08  Marek Polacek  <polacek@redhat.com>
42192         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42193         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42194         * sysdeps/gnu/_G_config.h: Likewise.
42195         * sysdeps/generic/_G_config.h: Likewise.
42197 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42199         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42200         tests.
42201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42203         * sysdeps/powerpc/powerpc32/crti.S: New file.
42204         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42205         * sysdeps/powerpc/powerpc64/crti.S: New file.
42206         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42208         * Makeconfig (have-initfini): Don't set.
42209         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42210         * configure.in (nopic_initfini): Don't substitute.
42211         * config.h.in (HAVE_INITFINI): Don't #undef.
42212         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42213         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42215 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42217         Support crti.S and crtn.S provided directly by architectures.
42218         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42219         [crti.S in sysdirs] (omit-deps): Likewise.
42220         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42221         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42222         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42223         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42224         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42225         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42226         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42227         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42228         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42229         compiler output for sysdeps/generic/initfini.c.
42230         * sysdeps/i386/elf/Makefile: Remove file.
42231         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42233 2012-02-07  Marek Polacek  <polacek@redhat.com>
42235         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42236         * sysdeps/gnu/_G_config.h: Likewise.
42237         * sysdeps/mach/hurd/_G_config.h: Likewise.
42239 2012-02-07  Marek Polacek  <polacek@redhat.com>
42241         * math/Makefile (tests): Add tst-CMPLX2.
42242         * math/tst-CMPLX2.c: New file.
42244 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42246         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42248         * math/libm-test.inc (jn_test): Add missing L suffix.
42250 2012-02-06  Marek Polacek  <polacek@redhat.com>
42252         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42253         * sysdeps/i386/fpu/e_powf.S: Likewise.
42254         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42255         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42256         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42257         * sysdeps/i386/fpu/e_pow.S: Likewise.
42258         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42259         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42260         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42261         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42262         * sysdeps/i386/fpu/e_log2.S: Likewise.
42263         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42264         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42265         * sysdeps/i386/fpu/e_powl.S: Likewise.
42266         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42267         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42268         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42269         * sysdeps/i386/fpu/e_logl.S: Likewise.
42270         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42271         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42272         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42273         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42274         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42275         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42276         * sysdeps/i386/fpu/e_log.S: Likewise.
42277         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42278         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42279         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42280         * sysdeps/i386/fpu/e_logf.S: Likewise.
42281         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42282         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42283         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42284         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42285         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42286         * sysdeps/i386/fpu/e_log10.S: Likewise.
42287         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42288         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42289         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42290         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42291         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42292         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42293         * sysdeps/i386/asm-syntax.h: Likewise.
42294         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42295         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42296         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42297         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42298         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42299         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42300         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42301         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42302         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42303         * sysdeps/powerpc/sysdep.h: Likewise.
42304         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42305         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42307 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42309         [BZ #411]
42310         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42312 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42314         * sysdeps/i386/sysdep.h: Include <features.h>.
42315         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42316         version.
42318 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42320         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42321         Define.
42322         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42323         LOAD_PIC_REG_STR.
42325 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42327         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42328         (SETUP_PIC_REG): Use GET_PC_THUNK.
42329         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42330         macro.
42332 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42334         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42335         for non-PIC compilation.
42336         (SETUP_PIC_REG): Add .p2align directive.
42337         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42338         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42339         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42340         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42341         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42342         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42343         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42344         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42345         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42346         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42347         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42348         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42349         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42350         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42351         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42352         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42353         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42354         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42355         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42356         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42357         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42358         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42359         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42360         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42361         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42362         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42363         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42364         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42365         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42366         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42367         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42368         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42369         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42370         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42371         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42372         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42373         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42374         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42375         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42376         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42377         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42379 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42381         * math/tst-CMPLX.c: Include <stdio.h>.
42383 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42385         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42386         float.
42387         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42388         * sysdeps/sparc/bits/mathdef.h: Likewise.
42390 2012-01-31  Marek Polacek  <polacek@redhat.com>
42392         * libio/libio.h: Don't define _PARAMS.
42393         * locale/programs/config.h: Don't define PARAMS.
42394         * stdlib/strtol_l.c: Likewise.
42395         (__strtol_l): Remove PARAMS from the prototype.
42397 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42399         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42400         names.  Just use the correct names.  Remove unnecessary wrapper
42401         functions.
42402         * malloc/arena.c: Likewise.
42403         * malloc/hooks.c: Likewise.
42405         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42406         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42407         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42409 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42411         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42412         into tail calls.
42413         (update_get_addr): New function.
42414         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42415         GET_ADDR_MODULE parameter.
42417 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42419         * crypt/cert.c: Remove __STDC__ conditionals.
42420         * crypt/crypt-entry.c: Likewise.
42421         * crypt/crypt_util.c: Likewise.
42422         * libio/filedoalloc.c: Likewise.
42423         * libio/fileops.c: Likewise.
42424         * libio/genops.c: Likewise.
42425         * libio/iofclose.c: Likewise.
42426         * libio/iofdopen.c: Likewise.
42427         * libio/iofopen.c: Likewise.
42428         * libio/iofopen64.c: Likewise.
42429         * libio/iogetdelim.c: Likewise.
42430         * libio/iopopen.c: Likewise.
42431         * libio/obprintf.c: Likewise.
42432         * libio/oldfileops.c: Likewise.
42433         * libio/oldiofclose.c: Likewise.
42434         * libio/oldiofdopen.c: Likewise.
42435         * libio/oldiofopen.c: Likewise.
42436         * libio/oldiopopen.c: Likewise.
42437         * libio/wfiledoalloc.c: Likewise.
42438         * libio/wgenops.c: Likewise.
42439         * locale/programs/xmalloc.c: Likewise.
42440         * misc/syslog.c: Likewise.
42441         * stdio-common/xbug.c: Likewise.
42442         * string/memchr.c: Likewise.
42443         * string/memcmp.c: Likewise.
42444         * string/memrchr.c: Likewise.
42445         * string/rawmemchr.c: Likewise.
42446         * sysdeps/posix/getcwd.c: Likewise.
42447         * time/strftime_l.c: Likewise.
42449 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42451         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42452         * config.make.in (config-cflags-sse2avx): Define.
42453         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42454         Fix typo.
42456 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42458         * scripts/config.guess: Update from upstream config git repository.
42459         * scripts/config.sub: Likewise.
42461 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42463         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42464         (EM_NUM): Update.
42465         (R_TILEPRO_*, R_TILEGX_*): New macros.
42467         * scripts/firstversions.awk: Fix bug in version range handling.
42469         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42471         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42473         * include/sys/epoll.h: New file.
42474         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42475         libc_hidden_def.
42477 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42479         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42480         Avoid unnecessary __WORDSIZE == 64 test.
42481         (fmaxf): Use VEX format if possible.
42482         (fmax): Likewise.
42483         (fminf): Likewise.
42484         (fmin): Likewise.
42486         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42487         * math/math_private.h: Remove libc_fegetround* and
42488         libc_fesetround*.
42489         * sysdeps/i386/configure.in: Check for -msse2avx.
42490         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42491         also if SSE2AVX is defined.
42492         Remove libc_fegetround* and libc_fesetround*.
42493         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42494         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42495         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42496         of HAS_YMM_USABLE.
42497         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42498         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42499         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42500         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42501         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42503         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42505 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42507         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42508         size is not set.
42509         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42511 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42513         [BZ #13618]
42514         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42515         relocation.
42516         * Makeconfig (libm): Define.
42517         * elf/Makefile: Add rules to build and run tst-relsort1.
42518         * elf/tst-relsort1.c: New file.
42519         * elf/tst-relsort1mod1.c: New file.
42520         * elf/tst-relsort1mod2.c: New file.
42522 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42524         * math/s_ldexp.c: Remove __STDC__ conditionals.
42525         * math/s_ldexpf.c: Likewise.
42526         * math/s_ldexpl.c: Likewise.
42527         * math/s_nextafter.c: Likewise.
42528         * math/s_nexttowardf.c: Likewise.
42529         * math/s_significand.c: Likewise.
42530         * math/s_significandf.c: Likewise.
42531         * math/s_significandl.c: Likewise.
42532         * math/w_jnl.c: Likewise.
42533         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42534         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42535         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42536         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42537         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42538         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42539         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42540         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42541         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42542         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42543         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42544         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42545         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42546         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42547         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42548         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42549         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42550         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42551         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42552         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42553         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42554         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42555         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42556         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42557         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42558         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42559         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42560         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42561         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42562         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42563         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42564         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42565         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42566         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42567         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42568         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42569         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42570         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42571         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42572         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42573         * sysdeps/ieee754/k_standard.c: Likewise.
42574         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42575         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42576         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42577         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42578         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42579         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42580         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42581         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42582         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42583         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42584         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42585         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42586         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42587         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42588         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42589         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42590         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42591         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42592         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42593         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42594         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42595         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42596         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42597         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42598         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42599         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42600         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42601         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42603         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42604         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42605         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42606         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42607         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42608         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42609         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42610         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42611         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42612         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42613         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42614         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42615         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42616         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42617         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42618         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42619         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42620         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42621         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42622         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42623         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42624         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42625         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42626         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42627         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42628         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42629         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42630         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42631         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42632         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42633         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42634         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42635         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42636         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42637         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42638         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42639         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42640         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42641         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42642         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42643         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42644         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42645         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42646         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42647         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42648         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42649         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42650         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42651         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42652         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42653         * sysdeps/ieee754/s_matherr.c: Likewise.
42654         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42655         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42656         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42657         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42659 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42661         * crypt/md5.h: Remove __STDC__ conditionals.
42662         * libio/libioP.h: Likewise.
42663         * locale/programs/config.h: Likewise.
42664         * sysdeps/generic/sysdep.h: Likewise.
42665         * sysdeps/i386/asm-syntax.h: Likewise.
42666         * sysdeps/s390/asm-syntax.h: Likewise.
42667         * sysdeps/unix/sysdep.h: Likewise.
42668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42671 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42673         * libio/libio.h: Remove __STDC__ conditionals.
42674         * malloc/obstack.h: Likewise.
42675         * math/complex.h: Likewise.
42676         * math/math.h: Likewise.
42677         * sysdeps/generic/_G_config.h: Likewise.
42678         * sysdeps/gnu/_G_config.h: Likewise.
42679         * sysdeps/mach/hurd/_G_config.h: Likewise.
42680         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42681         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42682         * sysdeps/sparc/bits/mathdef.h: Likewise.
42684 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42686         [BZ #13583]
42687         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42688         Clean up HAS_* macros.
42689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42690         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42691         possible.
42692         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42693         HAS_AVX.
42694         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42695         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42696         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42697         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42698         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42700 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42702         * elf/tst-unique3.cc (gets): Remove declaration.
42703         * elf/tst-unique3lib.cc (gets): Likewise.
42704         * elf/tst-unique3lib2.cc (gets): Likewise.
42705         * elf/tst-unique4.cc (gets): Likewise.
42707 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42709         * include/stdio.h: Add C++ protection.  Add gets declarations and
42710         definitions.
42711         * debug/tst-chk1.c: Don't declare gets here.
42712         * stdio-common/tst-gets.c: Likewise.
42714 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42716         * posix/glob: Remove directory.
42718 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42720         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42722 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42724         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42725         of the non-standard EPFNOSUPPORT.
42727 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42729         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42730         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42731         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42733 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42735         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42737 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42739         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42740         transient errors.
42741         * nscd/grpcache.c (cache_addgr): Likewise.
42742         * nscd/hstcache.c (cache_addhst): Likewise.
42743         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42744         * nscd/pwdcache.c (cache_addpw): Likewise.
42745         * nscd/servicescache.c (cache_addserv): Likewise.
42747 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42749         * malloc/malloc.c: Various cleanups.
42750         * malloc/hooks.c: Likewise.
42752         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42753         * stdlib/bug-fmtmsg1.c: New file.
42755         * stdlib/fmtmsg.c (init): Add missing unlock.
42756         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42758 2012-01-12  Marek Polacek  <polacek@redhat.com>
42760         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42761         and _GNU_SOURCE.
42763 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42765         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42766         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42767         macro to ensure uniqueness of label name.
42768         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42769         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42771 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42773         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42775         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42776         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42777         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42778         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42780 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42782         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42784         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42785         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42786         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42788         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42790         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42791         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42792         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42793         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42795         * math/bits/math-finite.h: Add ldexp support.
42797 2012-01-10  Marek Polacek  <polacek@redhat.com>
42799         * locale/programs/localedef.h (show_archive_content): Add noreturn
42800         attribute.
42802 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42804         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42806 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42808         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42810         * io/Makefile (headers): Add bits/poll2.h.
42812 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42815         typo #include statement.
42817 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42819         * include/sys/cdefs.h: Define __attribute_alloc_size.
42820         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42821         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42822         * elf/pldd.c: Likewise.
42823         * iconv/iconv_charmap.c: Likewise.
42824         * iconv/iconvconfig.c: Likewise.
42825         * iconv/strtab.c: Likewise.
42826         * locale/programs/locale.c: Likewise.
42827         * locale/programs/localedef.h: Likewise.
42828         * locale/programs/simple-hash.c: Likewise.
42829         * nscd/nscd.h: Likewise.
42830         * nss/makedb.c: Likewise.
42831         * sysdeps/generic/ldconfig.h: Likewise.
42832         * locale/programs/localedef.c: Remove xmalloc prototype.
42833         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42835 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42837         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42838         appropriate.
42840 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42842         * math/Makefile (tests): Add tst-CMPLX.
42843         * math/tst-CMPLX.c: New file.
42845         * math/complex.h (CMPLXL): Fix typo.
42847         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42848         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42849         GLIBC_2.16.
42850         * debug/tst-chk1.c: Add poll and ppoll tests.
42851         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42852         * include/sys/poll.h: Add hidden proto for ppoll.
42853         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42854         * sysdeps/mach/hurd/ppoll.c: Likewise.
42855         * io/ppoll.c: Likewise.
42856         * debug/poll_chk.c: New file.
42857         * debug/ppoll_chk.c: New file.
42858         * include/bits/poll2.h: New file.
42859         * io/bits/poll2.h: New file.
42861         [BZ #1350]
42862         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42864         * configure.in: static is always set to yes.  Remove.
42865         * config.make.in: Don't set build-static.
42866         * Makeconfig: Remove use of build-static.
42867         * dlfcn/Makefile: Likewise.
42868         * elf/Makefile: Likewise.
42869         * math/Makefile: Likewise.
42870         * misc/Makefile: Likewise.
42871         * nptl/Makefile: Likewise.
42872         * sysdeps/mach/hurd/Makefile: Likewise.
42874         * configure.in: PWD_P is not used anymore.
42875         * config.make.in: Remove PWD_P entry.
42877         * configure.in: Remove last remnants of RANLIB.
42878         No need to check for signed size_t anymore.
42879         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42880         and IA-64.
42881         Remove __builtin_expect test because we require at least gcc 3.4.
42882         * aclocal.m4: Likewise.
42884         * wcsmbs/mbrtoc16.c: Implement using towc function.
42885         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42886         * wcsmbs/wcsmbsload.c: Likewise.
42887         * iconv/gconv_simple.c: Likewise.
42888         * iconv/gconv_int.h: Likewise.
42889         * iconv/gconv_builtin.h: Likewise.
42890         * iconv/iconv_prog.c: Remove CHAR16 handling.
42892         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42894         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42896         * configure.in: Remove --with-elf and --enable-bounded options.
42897         Dont set base_machine for ia64.  More non-ELF conditions removed.
42898         Remove testing and setting of leading underscore information.
42899         * config.make.in (build-bounded): Set to no.
42900         * config.h.in: Remove NO_UNDERSCORES entry.
42901         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42902         them.
42903         * csu/start.c: Remove !NO_UNDERSCORE code.
42904         * locale/localeinfo.h: Likewise.
42905         * sysdeps/generic/machine-gmon.h: Likewise.
42906         * sysdeps/generic/sysdep.h: Likewise.
42907         * sysdeps/i386/sysdep.h: Likewise.
42908         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42909         * sysdeps/mach/sysdep.h: Likewise.
42910         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42911         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42912         * sysdeps/sh/sysdep.h: Likewise.
42913         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42914         * sysdeps/unix/i386/sysdep.S: Likewise.
42915         * sysdeps/unix/sparc/start.c: Likewise.
42916         * sysdeps/unix/sparc/sysdep.S: Likewise.
42917         * sysdeps/unix/sparc/sysdep.h: Likewise.
42918         * sysdeps/unix/start.c: Likewise.
42919         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42920         * sysdeps/x86_64/sysdep.h: Likewise.
42922 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42924         [BZ #13553]
42925         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42926         for non-gcc.
42927         * argp/argp-fmtstream.h: Use const instead __const.
42928         * argp/argp.h: Likewise.
42929         * assert/assert.h: Likewise.
42930         * bits/fenv.h: Likewise.
42931         * bits/sched.h: Likewise.
42932         * bits/sigset.h: Likewise.
42933         * bits/sigthread.h: Likewise.
42934         * catgets/nl_types.h: Likewise.
42935         * conform/data/pthread.h-data: Likewise.
42936         * crypt/crypt-private.h: Likewise.
42937         * crypt/crypt.h: Likewise.
42938         * crypt/crypt_util.c: Likewise.
42939         * ctype/ctype.h: Likewise.
42940         * debug/execinfo.h: Likewise.
42941         * debug/mbsnrtowcs_chk.c: Likewise.
42942         * debug/mbsrtowcs_chk.c: Likewise.
42943         * debug/wcsnrtombs_chk.c: Likewise.
42944         * debug/wcsrtombs_chk.c: Likewise.
42945         * debug/wcstombs_chk.c: Likewise.
42946         * dirent/dirent.h: Likewise.
42947         * dlfcn/dlfcn.h: Likewise.
42948         * elf/neededtest4.c: Likewise.
42949         * grp/grp.h: Likewise.
42950         * gshadow/gshadow.h: Likewise.
42951         * iconv/gconv.h: Likewise.
42952         * iconv/gconv_int.h: Likewise.
42953         * iconv/gconv_simple.c: Likewise.
42954         * iconv/iconv.h: Likewise.
42955         * iconv/loop.c: Likewise.
42956         * iconv/skeleton.c: Likewise.
42957         * include/aio.h: Likewise.
42958         * include/aliases.h: Likewise.
42959         * include/argz.h: Likewise.
42960         * include/arpa/inet.h: Likewise.
42961         * include/assert.h: Likewise.
42962         * include/dirent.h: Likewise.
42963         * include/dlfcn.h: Likewise.
42964         * include/execinfo.h: Likewise.
42965         * include/fcntl.h: Likewise.
42966         * include/fenv.h: Likewise.
42967         * include/glob.h: Likewise.
42968         * include/grp.h: Likewise.
42969         * include/libintl.h: Likewise.
42970         * include/mntent.h: Likewise.
42971         * include/netdb.h: Likewise.
42972         * include/pwd.h: Likewise.
42973         * include/rpc/netdb.h: Likewise.
42974         * include/sched.h: Likewise.
42975         * include/search.h: Likewise.
42976         * include/shadow.h: Likewise.
42977         * include/signal.h: Likewise.
42978         * include/stdio.h: Likewise.
42979         * include/stdlib.h: Likewise.
42980         * include/string.h: Likewise.
42981         * include/sys/socket.h: Likewise.
42982         * include/sys/stat.h: Likewise.
42983         * include/sys/statfs.h: Likewise.
42984         * include/sys/statvfs.h: Likewise.
42985         * include/sys/syslog.h: Likewise.
42986         * include/sys/time.h: Likewise.
42987         * include/sys/uio.h: Likewise.
42988         * include/time.h: Likewise.
42989         * include/unistd.h: Likewise.
42990         * include/utmp.h: Likewise.
42991         * include/wchar.h: Likewise.
42992         * include/wctype.h: Likewise.
42993         * inet/aliases.h: Likewise.
42994         * inet/arpa/inet.h: Likewise.
42995         * inet/netinet/ether.h: Likewise.
42996         * inet/netinet/in.h: Likewise.
42997         * intl/libintl.h: Likewise.
42998         * io/bits/fcntl2.h: Likewise.
42999         * io/fcntl.h: Likewise.
43000         * io/ftw.h: Likewise.
43001         * io/sys/poll.h: Likewise.
43002         * io/sys/stat.h: Likewise.
43003         * io/sys/statfs.h: Likewise.
43004         * io/sys/statvfs.h: Likewise.
43005         * io/utime.h: Likewise.
43006         * libio/bits/stdio.h: Likewise.
43007         * libio/bits/stdio2.h: Likewise.
43008         * libio/libio.h: Likewise.
43009         * libio/libioP.h: Likewise.
43010         * libio/stdio.h: Likewise.
43011         * locale/lc-ctype.c: Likewise.
43012         * locale/locale.h: Likewise.
43013         * login/utmp.h: Likewise.
43014         * malloc/arena.c: Likewise.
43015         * malloc/malloc.c: Likewise.
43016         * malloc/malloc.h: Likewise.
43017         * malloc/mcheck.c: Likewise.
43018         * malloc/mtrace.c: Likewise.
43019         * math/bits/mathcalls.h: Likewise.
43020         * math/fenv.h: Likewise.
43021         * math/math_private.h: Likewise.
43022         * misc/bits/error.h: Likewise.
43023         * misc/bits/syslog.h: Likewise.
43024         * misc/err.h: Likewise.
43025         * misc/error.h: Likewise.
43026         * misc/fstab.h: Likewise.
43027         * misc/mntent.h: Likewise.
43028         * misc/regexp.h: Likewise.
43029         * misc/search.h: Likewise.
43030         * misc/sgtty.h: Likewise.
43031         * misc/sys/mman.h: Likewise.
43032         * misc/sys/syslog.h: Likewise.
43033         * misc/sys/uio.h: Likewise.
43034         * misc/sys/xattr.h: Likewise.
43035         * misc/ttyent.h: Likewise.
43036         * nis/rpcsvc/ypclnt.h: Likewise.
43037         * nss/nss.h: Likewise.
43038         * posix/bits/unistd.h: Likewise.
43039         * posix/fnmatch.h: Likewise.
43040         * posix/glob.h: Likewise.
43041         * posix/sched.h: Likewise.
43042         * posix/spawn.h: Likewise.
43043         * posix/sys/wait.h: Likewise.
43044         * posix/unistd.h: Likewise.
43045         * posix/wordexp.h: Likewise.
43046         * pwd/pwd.h: Likewise.
43047         * resolv/netdb.h: Likewise.
43048         * resource/sys/resource.h: Likewise.
43049         * rt/aio.h: Likewise.
43050         * rt/bits/mqueue2.h: Likewise.
43051         * rt/mqueue.h: Likewise.
43052         * shadow/shadow.h: Likewise.
43053         * signal/signal.h: Likewise.
43054         * socket/send.c: Likewise.
43055         * socket/sendto.c: Likewise.
43056         * socket/sys/socket.h: Likewise.
43057         * stdio-common/printf.h: Likewise.
43058         * stdlib/bits/stdlib.h: Likewise.
43059         * stdlib/fmtmsg.h: Likewise.
43060         * stdlib/monetary.h: Likewise.
43061         * stdlib/stdlib.h: Likewise.
43062         * stdlib/ucontext.h: Likewise.
43063         * streams/stropts.h: Likewise.
43064         * string/argz.h: Likewise.
43065         * string/bits/string2.h: Likewise.
43066         * string/string.h: Likewise.
43067         * string/strings.h: Likewise.
43068         * sunrpc/rpc/auth.h: Likewise.
43069         * sunrpc/rpc/auth_des.h: Likewise.
43070         * sunrpc/rpc/clnt.h: Likewise.
43071         * sunrpc/rpc/netdb.h: Likewise.
43072         * sunrpc/rpc/pmap_clnt.h: Likewise.
43073         * sunrpc/rpc/xdr.h: Likewise.
43074         * sysdeps/generic/inttypes.h: Likewise.
43075         * sysdeps/generic/net/if.h: Likewise.
43076         * sysdeps/generic/sys/swap.h: Likewise.
43077         * sysdeps/gnu/net/if.h: Likewise.
43078         * sysdeps/gnu/utmpx.h: Likewise.
43079         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43080         * sysdeps/i386/i486/bits/string.h: Likewise.
43081         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43082         * sysdeps/s390/bits/string.h: Likewise.
43083         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43084         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43085         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43086         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43087         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43088         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43089         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43090         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43091         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43092         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43093         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43094         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43095         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43096         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43097         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43098         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43099         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43100         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43101         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43102         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43103         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43104         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43105         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43106         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43107         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43108         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43109         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43110         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43111         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43112         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43113         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43114         * sysvipc/sys/ipc.h: Likewise.
43115         * sysvipc/sys/msg.h: Likewise.
43116         * sysvipc/sys/sem.h: Likewise.
43117         * sysvipc/sys/shm.h: Likewise.
43118         * termios/termios.h: Likewise.
43119         * time/sys/time.h: Likewise.
43120         * time/time.h: Likewise.
43121         * wcsmbs/bits/wchar2.h: Likewise.
43122         * wcsmbs/uchar.h: Likewise.
43123         * wcsmbs/wchar.h: Likewise.
43124         * wctype/wctype.h: Likewise.
43126         [BZ #13551]
43127         * Makeconfig: Remove all but ELF support including AIX support.
43128         * Makerules: Likewise.
43129         * config.h.in: Likewise.
43130         * config.make.in: Likewise.
43131         * configure: Likewise.
43132         * configure.in: Likewise.
43133         * csu/Makefile: Likewise.
43134         * csu/version.c: Likewise.
43135         * debug/Makefile: Likewise.
43136         * dlfcn/Makefile: Likewise.
43137         * elf/Makefile: Likewise.
43138         * extra-lib.mk: Likewise.
43139         * iconv/Makefile: Likewise.
43140         * include/libc-symbols.h: Likewise.
43141         * include/shlib-compat.h: Likewise.
43142         * resolv/Makefile: Likewise.
43143         * resolv/res_libc.c: Likewise.
43144         * rt/Makefile: Likewise.
43145         * sysdeps/i386/asm-syntax.h: Likewise.
43146         * sysdeps/i386/sysdep.h: Likewise.
43147         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43148         * sysdeps/mach/sysdep.h: Likewise.
43149         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43150         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43151         * sysdeps/s390/asm-syntax.h: Likewise.
43152         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43153         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43154         * sysdeps/sh/sysdep.h: Likewise.
43155         * sysdeps/unix/sparc/sysdep.h: Likewise.
43156         * sysdeps/wordsize-32/divdi3.c: Likewise.
43157         * sysdeps/x86_64/sysdep.h: Likewise.
43159         * argp/Versions: Remove _argp_unlock_xxx.
43161         [BZ #13559]
43162         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43163         * abilist/libBrokenLocale.abilist: Likewise.
43164         * abilist/libanl.abilist: Likewise.
43165         * abilist/libc.abilist: Likewise.
43166         * abilist/libcrypt.abilist: Likewise.
43167         * abilist/libdl.abilist: Likewise.
43168         * abilist/libm.abilist: Likewise.
43169         * abilist/libnsl.abilist: Likewise.
43170         * abilist/libpthread.abilist: Likewise.
43171         * abilist/libresolv.abilist: Likewise.
43172         * abilist/librt.abilist: Likewise.
43173         * abilist/libthread_db.abilist: Likewise.
43174         * abilist/libutil.abilist: Likewise.
43175         * abilist/libnss_db.abilist: New file.
43177         * scripts/abilist.awk: Add support for indirect functions.
43179         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43181         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43183         * shlib-versions: Remove entries for ports architectures.
43185         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43186         files in ports.
43187         * elf/stackguard-macros.h: Remove support for IA-64.
43188         * elf/tst-auditmod1.c: Likewise.
43189         * sysdeps/generic/ldsodefs.h: Likewise.
43191         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43192         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43193         configure files.
43195         [BZ #13552]
43196         * configure.in: Remove --enable-omitfp support.
43197         * FAQ.in: Adjust.
43198         * config.make.in: Likewise.
43199         * Makeconfig: Likewise.
43200         * manual/install.texi: Likewise.
43202         In case anyone cares, the IA-64 architecture could move to ports.
43203         * sysdeps/ia64/*: Removed.
43204         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43205         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43207         [BZ #13555]
43208         * configure.in: Remove entries for unsupported architectures.
43210         [BZ #13533]
43211         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43212         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43213         routines.
43214         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43215         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43216         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43217         fall back to using wcrtomb.
43218         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43219         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43220         renaming.
43221         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43222         * wcsmbs/tst-c16c32-1.c: New file.
43224         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43225         local variable.
43227         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43229         * elf/tst-unique3.cc: Add explicit declaration of gets.
43230         * elf/tst-unique3lib.cc: Likewise.
43231         * elf/tst-unique3lib2.cc: Likewise.
43232         * elf/tst-unique4.cc: Likewise.
43234         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43236 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43238         [BZ #13566]
43239         * assert/assert.h (static_assert): Don't define for C++.
43240         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43241         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43243 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43245         * iconv/loop.c (single loop): Fix assertion in storing of
43246         remaining bytes.
43248         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43250 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43252         * posix/getconf.c: Update copyright year.
43253         * nss/getent.c: Likewise.
43254         * nss/makedb.c: Likewise.
43255         * iconv/iconvconfig.c: Likewise.
43256         * iconv/iconv_prog.c: Likewise.
43257         * elf/ldconfig.c: Likewise.
43258         * elf/pldd.c: Likewise.
43259         * elf/sotruss.ksh: Likewise.
43260         * catgets/gencat.c: Likewise.
43261         * csu/version.c: Likewise.
43262         * elf/ldd.bash.in: Likewise.
43263         * elf/sprof.c (print_version): Likewise.
43264         * locale/programs/locale.c: Likewise.
43265         * locale/programs/localedef.c: Likewise.
43266         * login/programs/pt_chown.c: Likewise.
43267         * nscd/nscd.c (print_version): Likewise.
43268         * debug/xtrace.sh: Likewise.
43269         * malloc/memusage.sh: Likewise.
43270         * malloc/mtrace.pl: Likewise.
43271         * debug/catchsegv.sh: Likewise.
43273 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43275         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43276         pure attribute.
43278 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43280         [BZ #13533]
43281         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43282         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43283         transformations.
43284         * iconv/gconv_int.h: Likewise.
43285         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43286         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43287         from libc for GLIBC_2.16.
43288         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43289         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43290         * wcsmbs/uchar.h: Really define mbstate_t.
43291         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43292         * wcsmbs/c16rtomb.c: New file.
43293         * wcsmbs/mbrtoc16.c: New file.
43294         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43295         for C/POSIX locale.
43296         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43297         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43299         * wcsmbs/wchar.h: Add missing __restrict.
43301 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43303         [BZ #13532]
43304         * time/Makefile (routines): Add timespec_get.
43305         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43306         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43307         timespec for ISO C11.
43308         * time/timespec_get.c: New file.
43309         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43310         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43312         [BZ #13531]
43313         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43314         * stdlib/stdlib.h: Declare aligned_alloc.
43315         * Versions.def: Add GLIBC_2.16 for libc.
43316         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43318         [BZ 13527]
43319         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43320         ISO C11.
43322         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43323         code.
43325         [BZ #13528]
43326         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43328         [BZ #13529]
43329         * assert/assert.h (static_assert): Define.
43331         * version.h: Update for 2.16 development version.
43333         [BZ #13526]
43334         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43335         _ISOC11_SOURCE.
43337         * version.h (RELEASE): Bump for 2.15 release.
43338         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43340         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43341         Patch by Marek Polacek <mpolacek@redhat.com>.
43343         * bits/byteswap.h: Protect long long constants with __extension__.
43344         * sysdeps/i386/bits/byteswap.h: Likewise.
43345         * sysdeps/ia64/bits/byteswap.h: Likewise.
43346         * sysdeps/s390/bits/byteswap.h: Likewise.
43347         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43349 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43351         [BZ #13540]
43352         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43353         destination buffer.
43354         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43356 2011-12-23  Marek Polacek  <polacek@redhat.com>
43358         * elf/dl-addr.c (determine_info): Add inline keyword.
43359         * elf/tst-auditmod4b.c (check_avx): Likewise.
43360         * elf/tst-auditmod6b.c (check_avx): Likewise.
43361         * elf/tst-auditmod6c.c (check_avx): Likewise.
43362         * elf/tst-auditmod7b.c (check_avx): Likewise.
43364 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43366         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43367         !__SSE_MATH__.
43369 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43371         [BZ #13540]
43372         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43373         processing for last bytes.
43375 2011-08-06  Bruno Haible  <bruno@clisp.org>
43377         [BZ #13061]
43378         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43379         U+0385, not to U+1FEE.
43381         [BZ #13062]
43382         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43383         entry for U+00A5 U+0301.
43385 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43387         [BZ #13166]
43388         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43389         buffer for the output is too small.
43391         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43392         optimization.
43394         [BZ #13185]
43395         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43396         SSE flags if possible.
43398 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43400         [BZ #13540]
43401         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43402         processing for last bytes.
43404 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43406         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43407         (syscall-list-default-options, syscall-list-default-condition)
43408         (syscall-list-includes): Define.
43409         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43410         list of ABIs and options and #if conditions for each ABI.  Do not
43411         handle common syscalls between ABIs specially.
43412         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43413         Remove.
43414         (syscall-list-variants, syscall-list-32bit-options)
43415         (syscall-list-32bit-condition, syscall-list-64bit-options)
43416         (syscall-list-64bit-condition): Define.
43417         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43418         (syscall-list-variants, syscall-list-32bit-options)
43419         (syscall-list-32bit-condition, syscall-list-64bit-options)
43420         (syscall-list-64bit-condition): Define.
43421         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43422         Remove.
43423         (syscall-list-variants, syscall-list-32bit-options)
43424         (syscall-list-32bit-condition, syscall-list-64bit-options)
43425         (syscall-list-64bit-condition): Define.
43426         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43427         Remove.
43428         (syscall-list-variants, syscall-list-32bit-options)
43429         (syscall-list-32bit-condition, syscall-list-64bit-options)
43430         (syscall-list-64bit-condition): Define.
43432 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43434         * locale/iso-639.def: Add brx entry.
43436         [BZ #13328]
43437         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43438         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43440         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43441         __feraiseexcept_renamed.
43443 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43445         [BZ #13538]
43446         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43447         EPOLLET with unsigned values.
43448         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43449         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43451         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43452         to large cancellation.
43453         * math/s_cacoshf.c: Likewise.
43454         * math/s_cacoshl.c: Likewise.
43456 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43458         [BZ #13305]
43459         [BZ #12786]
43460         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43461         * math/s_cacoshf.c: Likewise.
43462         * math/s_cacoshl.c: Likewise.
43464 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43466         [BZ #13439]
43467         * iconv/gconv.h: Define __GCONV_SWAP.
43468         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43469         * iconvdata/utf-16.c: Likewise.
43470         * iconvdata/utf-32.c: Likewise.
43472 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43474         [BZ #13524]
43475         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43476         numerator after shifting it by one limb.
43478 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43480         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43481         under [__USE_EXTERN_INLINES].
43483 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43485         [BZ #13446]
43486         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43488 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43490         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43491         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43492         optimized code.
43493         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43494         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43495         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43496         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43497         for strncasecmp/strncasecmp_l compilation.
43498         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43499         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43501 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43503         [BZ #13484]
43504         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43505         of __asm__.
43507 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43509         [BZ #13506]
43510         * time/tzfile.c (__tzfile_read): Check values from file header.
43512 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43514         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43515         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43516         * powerpc/powerpc32/dl-start.S: Likewise.
43517         * powerpc/powerpc32/elf/start.S: Likewise.
43518         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43519         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43520         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43521         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43522         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43523         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43524         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43525         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43526         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43527         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43528         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43529         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43530         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43531         * powerpc/powerpc32/memset.S: Likewise.
43532         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43533         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43534         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43535         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43536         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43537         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43538         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43539         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43540         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43541         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43542         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43543         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43544         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43546 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43548         * math/libm-test.inc: Added more nearbyint tests.
43549         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43550         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43551         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43552         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43554 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43556         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43557         FD_CLOEXEC.
43559 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43561         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43562         Add wcscpy-ssse3 wcscpy-c.
43563         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43564         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43565         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43566         * sysdeps/x86_64/wcschr.S: New file.
43567         * sysdeps/x86_64/wcsrchr.S: New file.
43568         * string/test-strcmp.c: Remove checking of wcscmp function for
43569         wrong alignments.
43570         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43571         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43572         wcsrchr-sse2 wcsrchr-c.
43573         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43574         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43575         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43576         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43577         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43578         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43579         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43580         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43581         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43582         * wcsmbc/wcschr.c (WCSCHR): New macro.
43584 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43586         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43587         * wcsmbs/test-wcsrchr.c: New file.
43588         * string/test-strrchr.c: Add wcsrchr support.
43589         (WIDE): New macro.
43590         * wcsmbs/test-wcscpy.c: New file.
43591         * string/test-strcpy.c: Add wcscpy support.
43592         (WIDE): New macro.
43594 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43596         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43597         the inner loop.
43599 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43601         [BZ #13472]
43602         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43604 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43606         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43607         Minor optimizations.
43609         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43610         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43611         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43613 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43615         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43616         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43617         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43618         for gcc to avoid warnings.
43619         * inet/Makefile (tests): Add tst-checks.
43620         * inet/tst-checks.c: New file.
43622         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43623         warning.
43625         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43626         __wmemcmp_sse2.
43628         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43629         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43631         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43633 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43635         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43636         problem.
43638         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43640 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43642         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43643         conditional on GCC version.
43644         (__arch_compare_and_exchange_val_8_acq)
43645         (__arch_compare_and_exchange_val_16_acq)
43646         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43647         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43648         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43650 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43652         * sysdeps/sh/backtrace.c: New file.
43654 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43656         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43657         parenthesis.
43659 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43661         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43662         falling back to utime.
43664 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43666         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43667         expectations for float.
43669 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43671         * locale/weight.h (findidx): Add parameter len.
43672         * locale/weightwc.h (findidx): Likewise.
43673         * posix/fnmatch_loop.c (FCT): Adjust caller.
43674         * posix/regcomp.c (build_equiv_class): Likewise.
43675         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43676         * posix/regexec.c (check_node_accept_bytes): Likewise.
43677         * string/strcoll_l.c (STRCOLL): Likewise.
43678         * string/strxfrm_l.c (STRXFRM): Likewise.
43680 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43682         * Makefile.in: Remove CVSOPT handling.
43683         * configure.in: Remove use of AC_REVISION.
43684         * iconvdata/Makefile (distribute): No need to filter out CVS.
43685         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43686         handling.
43688 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43690         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43691         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43692         [USE_AS_STRNCASECMP_L]: Likewise.
43693         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43694         NO_TLS_DIRECT_SEG_REFS.
43695         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43696         Fix argument offsets for non-PIC.
43697         [USE_AS_STRNCASECMP_L]: Likewise.
43698         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43699         NO_TLS_DIRECT_SEG_REFS.
43701 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43703         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43704         O_CLOEXEC.
43705         * locale/loadlocale.c (_nl_load_locale): Likewise.
43707 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43709         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43710         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43711         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43712         (SYSCALL_GETTIME): Set errno on error.
43714         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43715         count references to noai6ai_cached.
43717 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43719         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43721         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43722         FD_CLOEXEC for /proc/self/maps.
43724         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43725         FD_CLOEXEC for /proc/meminfo.
43727         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43728         gai.conf.
43730         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43731         FD_CLOEXEC for given file.
43733         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43735         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43736         FD_CLOEXEC for /etc/hosts.
43737         (_gethtent): Likewise.
43739         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43741         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43742         cancellation and set FD_CLOEXEC for /etc/netgroup.
43744         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43745         reading /etc/publickey.
43747         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43748         allow cancellation when reading /etc/group.
43750         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43751         cancellation.
43752         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43754         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43755         when using data file.
43757         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43759         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43760         (write_nis_obj): Use "c" and "e" in fopen.
43762         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43764         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43766         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43768         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43770         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43771         locale.alias.
43773         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43775         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43777         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43779         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43780         file parsing and set FD_CLOEXEC.
43782 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43784         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43786 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43788         * malloc/arena.c (arena_get2): Don't call reused_arena when
43789         _int_new_arena failed.
43791 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43793         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43794         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43795         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43796         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43797         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43798         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43799         to compile strcasecmp and strncasecmp.
43800         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43801         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43803         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43805 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43807         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43808         locale-defines.sym to gen-as-const-headers.
43809         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43810         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43812         to compile strcasecmp and strncasecmp.
43813         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43814         strcasecmp_l and strncasecmp_l.
43815         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43816         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43817         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43818         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43819         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43820         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43821         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43822         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43823         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43824         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43825         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43827 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43829         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43830         result of SYSDEP_GETTIME_CPU to retval.
43831         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43832         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43834         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43835         variable.
43837         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43838         mantissa words.
43839         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43841         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43842         from unused variable.
43844         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43845         DWARF definitions.
43846         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43847         for assembling.
43849         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43850         over namespaces.
43852         * sunrpc/rpc_prot.c (rejected): Fix case value.
43854         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43855         unsigned long long int to avoid warnings in shift.
43857         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43858         of use of trans.
43859         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43860         variable tmp.
43862         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43863         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43864         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43866         * nis/nis_table.c (nis_list): Use variable of correct type for
43867         result of __follow_path call.
43869 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43871         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43872         of math functions ceil, trunc, floor, round, and sqrt, when
43873         avaliable on the platform.
43874         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43875         name clash.
43876         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43877         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43878         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43880 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43882         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43883         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43885 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43887         * include/unistd.h: Fix __readlink return type.
43888         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43890 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43892         * stdlib/ucontext.h: Undo last change for makecontext.
43894 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43896         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43898         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43899         * setjmp/setjmp.h: Mark functions as non-leaf.
43900         * setjmp/bits/setjmp2.h: Likewise.
43901         * stdlib/ucontext.h: Likewise.
43903 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43905         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43906         (reused_arena): Don't check arena limit.
43907         (arena_get2): Atomically check arena limit.
43909 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43911         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43912         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43914         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43915         instructions.
43917 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43919         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43920         handler when locking.
43922         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43923         Fix size of allocated buffer.
43925 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43927         [BZ #10103]
43928         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43929         declarations for long double functions.
43930         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43932         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43934 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43936         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43937         installed.
43939         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43940         is disabled.
43942 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43944         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43946 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43948         * include/alloca.h (stackinfo_alloca_round): Define.
43949         (extend_alloca): Use it.
43950         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43951         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43952         here.
43954         * scripts/check-local-headers.sh: Ignore libaudit.h.
43956         * nscd/Makefile (extra-objs): Make recursively expanded.
43958 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43960         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43961         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43963         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43964         * posix/tst-rfc3484-2.c: Likewise.
43965         * posix/tst-rfc3484-3.c: Likewise.
43967         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43968         process_vm_writev.
43969         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43970         process_vm_writev.
43971         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43972         process_vm_writev from libc using GLIBC_2.15 version.
43974         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43976 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43978         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43979         stack usage.
43981 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43983         [BZ #13367]
43984         * nss/getent.c (initgroups_keys): Show error message in case no group
43985         names are given.
43987         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43988         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43989         __bump_nl_timestamp.
43990         * nscd/connections (nscd_init): When host database is served open
43991         netlink socket and request notification about configuration changes.
43992         (main_loop_poll): Track netlink file descriptor and bump timestamp
43993         in case data becomes available.
43994         (main_loop_epoll): Likewise.
43995         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43996         (database_pers_head): Add extra_data fileds.
43997         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43998         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43999         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44000         Adjust caller.
44001         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44002         in6ai data, call __free_in6ai.
44003         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44004         Add -DHAVE_NETLINK.
44005         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44006         interface information.  Reuse previous data if netlink timestamp
44007         is not changed.
44008         (__bump_nl_timestamp): New function.
44009         (__free_in6ai): New function.
44011 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44013         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44014         close_not_cancel_no_status here.
44015         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44017 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44019         [BZ #13276]
44020         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44021         return value.
44023         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44024         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44025         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44027 2011-07-03  Andreas Jaeger  <aj@suse.de>
44029         [BZ #10709]
44030         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44031         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44032         * math/libm-test.inc (sin_test): Add test case.
44034 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44036         [BZ #13337]
44037         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44038         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44040         * elf/chroot_canon.c (chroot_canon): Cleanups.
44042         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44044         [BZ #13335]
44045         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44046         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44048         * string/test-strchr.c: Make usable for strchrnul testing.
44049         * string/test-strchrnul.c: New file.
44050         * string/Makefile (strop-tests): Add strchrnul.
44052         * po/it.po: Update from translation team.
44053         * po/es.po: Likewise.
44055 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44057         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44058         the three constants needed as parameters.  Drop the others.
44059         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44060         __m128i_strloadu_tolower.
44061         Create and initialize variable zero and use it in all the places
44062         where _mm_setzero_si128 was used.
44064         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44065         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44066         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44067         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44068         anymore.
44069         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44070         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44071         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44072         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44073         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44074         __mpranred, __mptan.
44075         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44076         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44077         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44078         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44079         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44080         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44081         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44082         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44083         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44085 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44087         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44088         redefine if SHARED.
44089         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44092         wide char related routines to wcsmbs subdir.
44094 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44096         [BZ #13344]
44097         * misc/sys/cdefs.h (__THROWNL): Define.
44098         * posix/unistd.h: Use __THREADNL instead of __THREAD
44099         for memory synchronization functions.
44101 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44103         [BZ #13349]
44104         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44105         doesn't exist.
44106         * manual/stdio.texi (Obstack Streams): Node removed.
44108 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44110         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44111         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44112         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44114         * math/math_private.h (math_force_eval): Allow non-addressable
44115         arguments.
44116         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44118 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44120         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44121         file is not needed.
44123         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44124         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44125         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44126         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44127         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44128         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44129         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44130         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44131         Add AVX variants.
44132         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44133         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44134         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44135         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44136         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44137         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44138         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44139         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44140         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44141         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44142         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44143         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44144         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44145         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44146         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44147         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44148         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44149         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44150         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44152         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44153         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44155         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44156         place.  Use VEX encoding when compiling for AVX.
44158 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44160         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44161         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44163         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44165 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44167         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44168         useless if() expression.
44169         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44170         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44171         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44172         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44173         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44174         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44175         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44176         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44177         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44178         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44179         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44180         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44181         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44182         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44183         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44184         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44185         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44186         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44187         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44189         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44191 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44193         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44194         condition.
44195         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44197 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44199         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44200         .text section.  Avoid duplicate constants.
44201         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44202         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44203         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44204         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44205         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44206         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44207         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44208         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44209         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44210         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44211         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44212         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44213         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44214         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44215         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44216         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44217         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44218         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44219         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44220         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44221         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44222         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44223         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44224         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44225         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44226         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44227         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44228         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44229         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44230         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44231         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44232         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44233         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44234         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44235         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44236         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44237         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44238         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44239         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44240         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44241         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44242         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44243         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44244         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44245         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44247 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44249         * sysdeps/x86_64/dla.h: Move to ...
44250         * sysdeps/x86_64/fpu/dla.h: ...here.
44251         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44252         situations.  Use __builtin_fma only for gcc 4.6 and up.
44254         * config.make.in: Add have-mfma4 entry.
44255         * configure.in: Substitute libc_cv_cc_fma4.
44256         * math/Makefile (dbl-only-routines): Add sincostab.
44257         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44258         Use __sincostab not sincos.
44259         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44260         name is a macro.
44261         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44262         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44263         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44264         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44265         using __copysign.
44266         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44267         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44268         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44269         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44270         and __inv.
44271         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44272         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44273         __copysign.
44274         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44275         define aliases when function name is a macro.
44276         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44277         sysdeps/ieee754/dbl-64/sincos.tbl.
44278         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44279         fma4-enabled routines.
44280         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44281         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44282         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44283         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44284         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44285         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44286         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44287         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44288         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44289         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44290         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44291         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44292         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44293         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44294         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44295         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44296         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44297         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44298         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44299         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44300         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44301         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44302         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44303         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44304         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44305         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44306         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44307         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44308         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44309         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44311         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44312         rename.
44313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44314         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44315         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44316         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44317         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44318         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44319         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44320         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44322 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44324         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44326 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44328         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44330         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44331         prediction.
44332         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44334         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44335         Remove unused variable magic_bits.
44336         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44338         * string/strnlen.c: Define and use STRNLEN macro.
44339         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44340         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44341         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44342         * wcsmbs/wcslen.c: Define and use WCSLEN.
44343         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44344         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44345         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44346         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44347         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44348         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44349         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44351 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44354         strnlen-sse2-no-bsf.
44355         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44356         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44357         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44358         Add strnlen support.
44359         (USE_AS_STRNLEN): New macro.
44360         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44361         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44362         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44363         * sysdeps/x86_64/wcslen.S: New file.
44365 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44367         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44368         XMM-moves are used for copying on small sizes.
44370 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44372         * wcsmbs/Makefile (strop-tests): Add wcschr.
44373         * wcsmbs/test-wcschr.c: New file.
44374         * string/test-strchr.c: Update.
44375         Add wcschr support.
44376         (WIDE): New macro.
44378 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44380         * wcsmbs/Makefile (strop-tests): Add wcslen.
44381         * wcsmbs/test-wcslen.c: New file.
44382         * string/test-strlen.c: Update.
44383         Add wcslen support.
44384         (WIDE): New macro.
44386 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44388         * po/it.po: Update from translation team.
44390 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44392         * sysdeps/x86_64/wcscmp.S: Update.
44393         Fix wrong comparison semantics.
44394         wcscmp shall use signed comparison not unsigned.
44395         Don't use substraction to avoid overflow bug.
44396         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44397         * wcsmbc/wcscmp.c: Likewise.
44398         * string/test-strcmp.c: Likewise.
44399         Add new tests to check cases with negative values.
44401 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44403         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44404         * sysdeps/x86_64/dla.h: ...here.  New file.
44405         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44406         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44407         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44408         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44409         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44410         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44411         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44412         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44413         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44415 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44417         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44418         __ynl_finite aliases.
44420 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44424         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44425         define DLA_FMA.
44426         [DLA_FMA] (EMULV): Use DLA_FMA.
44427         [DLA_FMA] (MUL12): Use EMULV.
44428         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44429         that are not needed.
44430         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44431         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44432         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44433         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44434         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44435         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44436         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44438 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44440         * math/s_nan.c: Undef __nan.
44441         * math/s_nanf.c: Undef __nanf.
44442         * math/s_nanl.c: Undef __nanl.
44443         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44444         "math_private.h".
44446 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44448         * math/s_catan.c: Add branch predictions.
44449         * math/s_catanf.c: Likewise.
44450         * math/s_catanh.c: Likewise.
44451         * math/s_catanhf.c: Likewise.
44452         * math/s_catanhl.c: Likewise.
44453         * math/s_catanl.c: Likewise.
44454         * math/s_cexp.c: Likewise.
44455         * math/s_cexpf.c: Likewise.
44456         * math/s_cexpl.c: Likewise.
44457         * math/s_clog.c: Likewise.
44458         * math/s_clog10.c: Likewise.
44459         * math/s_clog10f.c: Likewise.
44460         * math/s_clog10l.c: Likewise.
44461         * math/s_clogf.c: Likewise.
44462         * math/s_clogl.c: Likewise.
44463         * math/s_csqrt.c: Likewise.
44464         * math/s_csqrtf.c: Likewise.
44465         * math/s_csqrtl.c: Likewise.
44466         * math/s_ctanf.c: Likewise.
44467         * math/s_ctanh.c: Likewise.
44468         * math/s_ctanhf.c: Likewise.
44469         * math/s_ctanhl.c: Likewise.
44470         * math/s_ctanl.c: Likewise.
44472         * math/math_private.h: Define __nan, __nanf, __nanl.
44473         * math/s_cacosh.c: Include <math_private.h>.
44474         * math/s_cacoshl.c: Likewise.
44475         * math/s_casinh.c: Likewise.
44476         * math/s_casinhf.c: Likewise.
44477         * math/s_casinhl.c: Likewise.
44478         * math/s_ccos.c: Rely entire on ccosh.
44479         * math/s_ccosf.c: Rely entire on ccoshf.
44480         * math/s_ccosl.c: Rely entirely on ccoshl.
44481         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44482         Remove tests for FE_INVALID.
44483         * math/s_ccoshf.c: Likewise.
44484         * math/s_ccoshl.c: Likewise.
44485         * math/s_csin.c: Likewise.
44486         * math/s_csinf.c: Likewise.
44487         * math/s_csinh.c Likewise.
44488         * math/s_csinhf.c: Likewise.
44489         * math/s_csinhl.c: Likewise.
44490         * math/s_csinl.c: Likewise.
44491         * math/s_ctan.c: Likewise.
44492         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44493         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44494         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44496 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44499         compilation problems.
44501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44502         __builtin_expect.
44504 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44506         * sysdeps/i386/configure.in: Test for -mfma4 option.
44507         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44508         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44509         COMMON_CPUID_INDEX_80000001.
44510         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44511         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44512         use it if FMA3 is not supported.
44513         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44515         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44516         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44518 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44520         [BZ #12892]
44521         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44522         it would create a cycle with a link time dependency.
44524 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44526         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44527         instruction.
44528         * string/Makefile (strop-tests): Add rawmemchr.
44529         * string/test-rawmemchr.c: New file.
44531         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44532         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44533         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44534         when compiling str{,n}casecmp and when AVX is available.  Hook up
44535         new optimized code in initializers.
44537 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44539         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44540         __feraiseexcept instead of feraiseexcept.
44542 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44544         * math/math_private.h: Define defaults for libc_fetestexcept and
44545         libc_feupdateenv.
44546         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44547         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44548         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44549         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44550         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44551         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44552         libc_fetestexcept and libc_feupdateenv.
44554         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44555         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44556         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44557         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44558         libc_feholdexcept_setround.
44560         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44561         Add s_nearbyint-c and s_nearbyintf-c.
44562         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44563         nearbyintf inlines.
44564         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44565         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44566         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44567         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44569         * math/math_private.h: Define defaults for libc_fegetround,
44570         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44571         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44572         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44573         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44574         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44575         standard functions.
44576         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44577         Remove comments and hacks for old compiler versions.
44578         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44579         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44580         libc_feholdexceptl.
44582 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44584         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44585         (__feraiseexcept_renamed): Add __NTH.
44586         (feraiseexcept): Add __NTH.  Rename local variables to fix
44587         namespace violations.
44589 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44591         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44593         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44595         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44596         recently added interfaces.
44597         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44599         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44600         about macro parameter expansion.
44602         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44603         __NO_MATH_INLINES is defined.  Cleanups.
44605         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44606         and __floorf is target has SSE4.1.
44607         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44608         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44609         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44610         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44612         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44613         name.
44614         (floorf): Likewise.
44616         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44618 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44620         * misc/sys/cdefs.h: Fix last change.
44622         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44623         database lookup.
44625 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44627         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44629         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44630         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44631         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44632         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44633         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44634         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44635         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44636         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44637         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44638         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44639         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44640         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44641         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44642         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44643         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44644         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44645         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44646         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44647         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44648         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44649         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44650         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44652         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44653         ceil, ceilf, floor, floorf.
44655         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44656         Perform IRELATIVE relocations last.
44658         * elf/do-rel.h: Add another parameter nrelative, replacing the
44659         local variable with the same name.  Change name of the function
44660         to end in Rel or Rela (uppercase).
44661         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44662         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44663         elf_dynamic_do_##reloc function.
44665 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44667         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44668         is sufficient, at least on modern CPUs.
44670         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44672         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44673         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44675         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44676         __expl_finite.
44677         * math/bits/math-finite.h: Add entries for exp.
44678         * math/e_expl.c: Add __*_finite alias.
44679         * sysdeps/i386/fpu/e_exp.S: Likewise.
44680         * sysdeps/i386/fpu/e_expf.S: Likewise.
44681         * sysdeps/i386/fpu/e_expl.c: Likewise.
44682         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44683         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44684         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44685         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44686         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44687         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44688         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44690         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44691         is sufficient, at least on modern CPUs.
44693         * ctype/ctype-info.c (__ctype_init): Define.
44694         * include/ctype.h (__ctype_init): Declare.
44695         (__ctype_b_loc): The variable is always initialized.
44696         (__ctype_toupper_loc): Likewise.
44697         (__ctype_tolower_loc): Likewise.
44698         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44699         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44701 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44703         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44705         * configure.in: Also look in $cxxmachine/include for C++ system
44706         headers.
44708 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44710         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44711         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44712         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44713         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44714         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44715         (USE_AS_WMEMCMP): New macro.
44716         Fixing indents.
44717         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44718         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44719         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44720         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44721         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44722         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44723         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44724         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44725         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44726         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44727         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44728         (USE_AS_WMEMCMP): New macro.
44729         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44730         * sysdeps/string/test-memcmp.c: Update.
44731         Fix simple_wmemcmp.
44732         Add new tests.
44733         * wcsmbs/wmemcmp.c: Update.
44734         (WMEMCMP): New macro.
44735         Fix overflow bug.
44737 2011-10-12  Andreas Jaeger  <aj@suse.de>
44739         [BZ #13268]
44740         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44742 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44744         * libio/iofwide.c (do_length): Avoid warning.
44746         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44748 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44750         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44752         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44753         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44754         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44755         * sysdeps/i386/i686/fpu/e_log.S: New file.
44756         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44757         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44759         * ctype/ctype.h: Add support for inlined isXXX functions when
44760         compiling C++ code.
44762 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44764         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44766         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44768 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44770         [BZ #13291]
44771         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44773 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44775         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44776         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44777         feraiseexcept.
44779         * sysdeps/x86_64/memrchr.S: Check for zero size.
44781         * string/stratcliff.c: Add memrchr tests.
44783 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44785         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44786         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44787         rawmemchr-sse2 rawmemchr-sse2-bsf.
44788         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44789         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44790         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44791         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44792         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44793         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44794         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44795         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44796         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44797         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44798         * string/memrchr.c (MEMRCHR): New macro.
44800 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44802         Add integration with gcc's -ffinite-math-only and optimize wrapper
44803         functions in libm.
44804         * Versions.def: Define GLIBC_2.15 version for libm.
44805         * math/Makefile (headers): Add bits/math-finite.h.
44806         * math/bits/math-finite.h: New file.
44807         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44808         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44809         * math/e_acoshl.c: Add __*_finite alias.
44810         * math/e_acosl.c: Likewise.
44811         * math/e_asinl.c: Likewise.
44812         * math/e_atan2l.c: Likewise.
44813         * math/e_atanhl.c: Likewise.
44814         * math/e_coshl.c: Likewise.
44815         * math/e_exp10.c: Likewise.
44816         * math/e_exp10f.c: Likewise.
44817         * math/e_exp10l.c: Likewise.
44818         * math/e_exp2l.c: Likewise.
44819         * math/e_fmodl.c: Likewise.
44820         * math/e_gammal_r.c: Likewise.
44821         * math/e_hypotl.c: Likewise.
44822         * math/e_j0l.c: Likewise.
44823         * math/e_j1l.c: Likewise.
44824         * math/e_jnl.c: Likewise.
44825         * math/e_lgammal_r.c: Likewise.
44826         * math/e_log10l.c: Likewise.
44827         * math/e_log2l.c: Likewise.
44828         * math/e_logl.c: Likewise.
44829         * math/e_powl.c: Likewise.
44830         * math/e_sinhl.c: Likewise.
44831         * math/e_sqrtl.c: Likewise.
44832         * math/e_scalb.c: Completely rewritten and optimized.
44833         * math/e_scalbf.c: Likewise.
44834         * math/e_scalbl.c: Likewise.
44835         * math/w_acos.c: Likewise.
44836         * math/w_acosf.c: Likewise.
44837         * math/w_acosl.c: Likewise.
44838         * math/w_acosh.c: Likewise.
44839         * math/w_acoshf.c: Likewise.
44840         * math/w_acoshl.c: Likewise.
44841         * math/w_asin.c: Likewise.
44842         * math/w_asinf.c: Likewise.
44843         * math/w_asinl.c: Likewise.
44844         * math/w_atan2.c: Likewise.
44845         * math/w_atan2f.c: Likewise.
44846         * math/w_atan2l.c: Likewise.
44847         * math/w_atanh.c: Likewise.
44848         * math/w_atanhf.c: Likewise.
44849         * math/w_atanhl.c: Likewise.
44850         * math/w_exp10.c: Likewise.
44851         * math/w_exp10f.c: Likewise.
44852         * math/w_exp10l.c: Likewise.
44853         * math/w_fmod.c: Likewise.
44854         * math/w_fmodf.c: Likewise.
44855         * math/w_fmodl.c: Likewise.
44856         * math/w_j0.c: Likewise.
44857         * math/w_j0f.c: Likewise.
44858         * math/w_j0l.c: Likewise.
44859         * math/w_j1.c: Likewise.
44860         * math/w_j1f.c: Likewise.
44861         * math/w_j1l.c: Likewise.
44862         * math/w_jn.c: Likewise.
44863         * math/w_jnf.c: Likewise.
44864         * math/w_log.c: Likewise.
44865         * math/w_logf.c: Likewise.
44866         * math/w_logl.c: Likewise.
44867         * math/w_log10.c: Likewise.
44868         * math/w_log10f.c: Likewise.
44869         * math/w_log10l.c: Likewise.
44870         * math/w_log2.c: Likewise.
44871         * math/w_log2f.c: Likewise.
44872         * math/w_log2l.c: Likewise.
44873         * math/w_pow.c: Likewise.
44874         * math/w_powf.c: Likewise.
44875         * math/w_powl.c: Likewise.
44876         * math/w_remainder.c: Likewise.
44877         * math/w_remainderf.c: Likewise.
44878         * math/w_remainderl.c: Likewise.
44879         * math/w_scalb.c: Likewise.
44880         * math/w_scalbf.c: Likewise.
44881         * math/w_scalbl.c: Likewise.
44882         * math/w_sqrt.c: Likewise.
44883         * math/w_sqrtf.c: Likewise.
44884         * math/w_sqrtl.c: Likewise.
44885         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44886         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44887         used.
44888         * math/math_private.h: Declare __kernel_standard_f.
44889         * math/w_cosh.c: Remove cruft and optimize a bit.
44890         * math/w_coshf.c: Likewise.
44891         * math/w_coshl.c: Likewise.
44892         * math/w_exp2.c: Likewise.
44893         * math/w_exp2f.c: Likewise.
44894         * math/w_exp2l.c: Likewise.
44895         * math/w_hypot.c: Likewise.
44896         * math/w_hypotf.c: Likewise.
44897         * math/w_hypotl.c: Likewise.
44898         * math/w_lgamma.c: Likewise.
44899         * math/w_lgamma_r.c: Likewise.
44900         * math/w_lgammaf.c: Likewise.
44901         * math/w_lgammaf_r.c: Likewise.
44902         * math/w_lgammal.c: Likewise.
44903         * math/w_lgammal_r.c: Likewise.
44904         * math/w_sinh.c: Likewise.
44905         * math/w_sinhf.c: Likewise.
44906         * math/w_sinhl.c: Likewise.
44907         * math/w_tgamma.c: Likewise.
44908         * math/w_tgammaf.c: Likewise.
44909         * math/w_tgammal.c: Likewise.
44910         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44911         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44912         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44913         Minor optimizations.  Pretty printing.  Remove cruft.
44914         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44915         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44916         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44917         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44918         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44919         * sysdeps/i386/fpu/e_asin.S: Likewise.
44920         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44921         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44922         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44923         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44924         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44925         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44926         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44927         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44928         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44929         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44930         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44931         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44932         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44933         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44934         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44935         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44936         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44937         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44938         * sysdeps/i386/fpu/e_log.S: Likewise.
44939         * sysdeps/i386/fpu/e_log10.S: Likewise.
44940         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44941         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44942         * sysdeps/i386/fpu/e_log2.S: Likewise.
44943         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44944         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44945         * sysdeps/i386/fpu/e_logf.S: Likewise.
44946         * sysdeps/i386/fpu/e_logl.S: Likewise.
44947         * sysdeps/i386/fpu/e_pow.S: Likewise.
44948         * sysdeps/i386/fpu/e_powf.S: Likewise.
44949         * sysdeps/i386/fpu/e_powl.S: Likewise.
44950         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44951         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44952         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44953         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44954         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44955         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44956         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44957         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44958         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44959         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44960         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44961         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44962         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44963         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44964         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44965         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44966         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44967         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44968         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44969         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44970         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44972         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44973         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44974         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44975         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44976         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44977         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44979         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44980         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44981         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44982         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44983         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44984         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44985         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44986         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44987         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44988         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44989         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44990         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44991         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44992         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44993         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44994         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44995         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44996         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44997         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44998         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44999         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45000         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45001         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45002         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45003         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45004         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45005         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45006         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45007         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45008         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45009         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45010         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45011         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45012         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45013         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45014         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45015         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45016         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45017         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45018         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45019         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45020         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45021         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45022         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45023         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45024         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45025         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45026         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45027         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45028         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45029         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45030         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45031         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45032         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45033         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45034         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45035         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45036         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45037         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45038         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45039         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45040         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45041         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45042         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45043         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45044         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45045         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45046         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45047         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45048         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45049         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45050         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45051         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45052         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45053         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45054         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45055         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45056         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45057         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45058         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45059         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45060         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45061         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45062         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45063         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45064         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45065         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45066         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45067         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45068         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45069         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45070         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45071         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45072         (__isnanf): Likewise.
45073         (__isinf_ns): Likewise.
45074         (__isinf_nsf): Likewise.
45075         (__finite): Likewise.
45076         (__finitef): Likewise.
45077         (__ieee754_sqrt): Define as macro.
45078         (__ieee754_sqrtf): Define as macro.
45079         (__ieee754_sqrtl): Define as macro.
45080         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45081         inlined copy.
45082         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45083         __FINITE_MATH_ONLY__ consistent.
45084         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45086 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45088         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45089         of rawmemchr.
45091         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45093 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45095         * po/ja.po: Update from translation team.
45097 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45099         * locale/programs/locarchive.c (prepare_address_space): New function.
45100         (create_archive, enlarge_archive, open_archive): Use it.
45102         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45103         inside [SHARED], where it is used.
45105         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45107         * nss/getent.c (netgroup_keys): Remove unused variable.
45108         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45110 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45112         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45113         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45114         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45115         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45116         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45117         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45118         * math/Makefile (libm-calls): Add s_isinf_ns.
45119         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45120         * math/multc3.c: Likewise.
45121         * math/s_casin.c: Likewise.
45122         * math/s_casinf.c: Likewise.
45123         * math/s_casinl.c: Likewise.
45124         * math/s_ccos.c: Likewise.
45125         * math/s_ccosf.c: Likewise.
45126         * math/s_ccosl.c: Likewise.
45127         * math/s_ctan.c: Likewise.
45128         * math/s_ctanf.c: Likewise.
45129         * math/s_ctanh.c: Likewise.
45130         * math/s_ctanhf.c: Likewise.
45131         * math/s_ctanhl.c: Likewise.
45132         * math/s_ctanl.c: Likewise.
45133         * math/w_fmod.c: Likewise.
45134         * math/w_fmodf.c: Likewise.
45135         * math/w_fmodl.c: Likewise.
45136         * math/w_remainder.c: Likewise.
45137         * math/w_remainderf.c: Likewise.
45138         * math/w_remainderl.c: Likewise.
45139         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45140         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45141         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45142         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45143         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45144         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45145         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45146         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45148         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45149         of the number.
45150         * stdio-common/printf_fphex.c: Likewise.
45151         * stdio-common/printf_size.c: Likewise.
45153         * math/e_exp10.c: Include math_private.h using <...> not "...".
45154         * math/e_exp10f.c: Likewise.
45155         * math/e_exp10l.c: Likewise.
45156         * math/e_exp2l.c: Likewise.
45157         * math/e_j0l.c: Likewise.
45158         * math/e_j1l.c: Likewise.
45159         * math/e_jnl.c: Likewise.
45160         * math/e_lgammal_r.c: Likewise.
45161         * math/e_rem_pio2l.c: Likewise.
45162         * math/e_scalb.c: Likewise.
45163         * math/e_scalbf.c: Likewise.
45164         * math/e_scalbl.c: Likewise.
45165         * math/k_cosl.c: Likewise.
45166         * math/k_sinl.c: Likewise.
45167         * math/k_tanl.c: Likewise.
45168         * math/s_cacoshf.c: Likewise.
45169         * math/s_catan.c: Likewise.
45170         * math/s_catanf.c: Likewise.
45171         * math/s_catanh.c: Likewise.
45172         * math/s_catanhf.c: Likewise.
45173         * math/s_catanhl.c: Likewise.
45174         * math/s_catanl.c: Likewise.
45175         * math/s_ccosh.c: Likewise.
45176         * math/s_ccoshf.c: Likewise.
45177         * math/s_ccoshl.c: Likewise.
45178         * math/s_cexp.c: Likewise.
45179         * math/s_cexpf.c: Likewise.
45180         * math/s_cexpl.c: Likewise.
45181         * math/s_clog.c: Likewise.
45182         * math/s_clog10.c: Likewise.
45183         * math/s_clog10f.c: Likewise.
45184         * math/s_clog10l.c: Likewise.
45185         * math/s_clogf.c: Likewise.
45186         * math/s_clogl.c: Likewise.
45187         * math/s_csin.c: Likewise.
45188         * math/s_csinf.c: Likewise.
45189         * math/s_csinh.c: Likewise.
45190         * math/s_csinhf.c: Likewise.
45191         * math/s_csinhl.c: Likewise.
45192         * math/s_csinl.c: Likewise.
45193         * math/s_csqrt.c: Likewise.
45194         * math/s_csqrtf.c: Likewise.
45195         * math/s_csqrtl.c: Likewise.
45196         * math/s_ctan.c: Likewise.
45197         * math/s_ctanf.c: Likewise.
45198         * math/s_ctanh.c: Likewise.
45199         * math/s_ctanhf.c: Likewise.
45200         * math/s_ctanhl.c: Likewise.
45201         * math/s_ctanl.c: Likewise.
45202         * math/s_ldexp.c: Likewise.
45203         * math/s_ldexpf.c: Likewise.
45204         * math/s_ldexpl.c: Likewise.
45205         * math/s_significand.c: Likewise.
45206         * math/s_significandf.c: Likewise.
45207         * math/s_significandl.c: Likewise.
45208         * math/w_acos.c: Likewise.
45209         * math/w_acosf.c: Likewise.
45210         * math/w_acosh.c: Likewise.
45211         * math/w_acoshf.c: Likewise.
45212         * math/w_acoshl.c: Likewise.
45213         * math/w_acosl.c: Likewise.
45214         * math/w_asin.c: Likewise.
45215         * math/w_asinf.c: Likewise.
45216         * math/w_asinl.c: Likewise.
45217         * math/w_atan2.c: Likewise.
45218         * math/w_atan2f.c: Likewise.
45219         * math/w_atan2l.c: Likewise.
45220         * math/w_atanh.c: Likewise.
45221         * math/w_atanhf.c: Likewise.
45222         * math/w_atanhl.c: Likewise.
45223         * math/w_cosh.c: Likewise.
45224         * math/w_coshf.c: Likewise.
45225         * math/w_coshl.c: Likewise.
45226         * math/w_dremf.c: Likewise.
45227         * math/w_exp10.c: Likewise.
45228         * math/w_exp10f.c: Likewise.
45229         * math/w_exp10l.c: Likewise.
45230         * math/w_exp2.c: Likewise.
45231         * math/w_exp2f.c: Likewise.
45232         * math/w_fmod.c: Likewise.
45233         * math/w_fmodf.c: Likewise.
45234         * math/w_fmodl.c: Likewise.
45235         * math/w_hypot.c: Likewise.
45236         * math/w_hypotf.c: Likewise.
45237         * math/w_hypotl.c: Likewise.
45238         * math/w_j0.c: Likewise.
45239         * math/w_j0f.c: Likewise.
45240         * math/w_j0l.c: Likewise.
45241         * math/w_j1.c: Likewise.
45242         * math/w_j1f.c: Likewise.
45243         * math/w_j1l.c: Likewise.
45244         * math/w_jn.c: Likewise.
45245         * math/w_jnf.c: Likewise.
45246         * math/w_jnl.c: Likewise.
45247         * math/w_lgamma.c: Likewise.
45248         * math/w_lgamma_r.c: Likewise.
45249         * math/w_lgammaf.c: Likewise.
45250         * math/w_lgammaf_r.c: Likewise.
45251         * math/w_lgammal.c: Likewise.
45252         * math/w_lgammal_r.c: Likewise.
45253         * math/w_log.c: Likewise.
45254         * math/w_log10.c: Likewise.
45255         * math/w_log10f.c: Likewise.
45256         * math/w_log10l.c: Likewise.
45257         * math/w_log2.c: Likewise.
45258         * math/w_log2f.c: Likewise.
45259         * math/w_log2l.c: Likewise.
45260         * math/w_logf.c: Likewise.
45261         * math/w_logl.c: Likewise.
45262         * math/w_pow.c: Likewise.
45263         * math/w_powf.c: Likewise.
45264         * math/w_powl.c: Likewise.
45265         * math/w_remainder.c: Likewise.
45266         * math/w_remainderf.c: Likewise.
45267         * math/w_remainderl.c: Likewise.
45268         * math/w_scalb.c: Likewise.
45269         * math/w_scalbf.c: Likewise.
45270         * math/w_scalbl.c: Likewise.
45271         * math/w_sinh.c: Likewise.
45272         * math/w_sinhf.c: Likewise.
45273         * math/w_sinhl.c: Likewise.
45274         * math/w_sqrt.c: Likewise.
45275         * math/w_sqrtf.c: Likewise.
45276         * math/w_sqrtl.c: Likewise.
45277         * math/w_tgamma.c: Likewise.
45278         * math/w_tgammaf.c: Likewise.
45279         * math/w_tgammal.c: Likewise.
45281         * po/ja.po: Update from translation team.
45283 2011-09-29  Andreas Jaeger  <aj@suse.de>
45285         [BZ #13179]
45286         * sunrpc/netname.c (netname2host): Fix logic.
45288         [BZ #6779]
45289         [BZ #6783]
45290         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45291         correctly.
45292         * math/w_remainder.c (__remainder): Likewise.
45293         * math/w_remainderf.c (__remainderf): Likewise.
45294         * math/libm-test.inc (remainder_test): Add test cases.
45296 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45298         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45299         sdiv_qrnnd.
45301 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45303         * string/test-memcmp.c: Avoid unncessary #defines.
45304         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45306 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45308         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45309         Use new sse2 version for core i3 - i7 as it's faster
45310         than sse42 version.
45311         (bit_Prefer_PMINUB_for_stringop): New.
45312         * sysdeps/x86_64/rawmemchr.S: Update.
45313         Replace with faster SSE2 version.
45314         * sysdeps/x86_64/memrchr.S: New file.
45315         * sysdeps/x86_64/memchr.S: Update.
45316         Replace with faster SSE2 version.
45318 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45320         * elf/dl-load.c (lose): Add cast to avoid warning.
45322 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45324         * po/ca.po: Update from translation team.
45326         * inet/getnetgrent_r.c: Hook up nscd.
45327         * nscd/Makefile (routines): Add nscd_netgroup.
45328         (nscd-modules): Add netgroupcache.
45329         (CFLAGS-netgroupcache.c): Define.
45330         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45331         (cache_search): Add const to second parameter.
45332         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45333         INNETGR.
45334         (dbs): Add netgrdb entry.
45335         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45336         (verify_persistent_db): Handle netgrdb.
45337         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45338         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45339         GETFDNETGR.
45340         (netgroup_response_header): Define.
45341         (innetgroup_response_header): Define.
45342         (datahead): Add netgroup_response_header and innetgroup_response_header
45343         elements.
45344         * nscd/nscd.conf: Add entries for netgroup cache.
45345         * nscd/nscd.h (dbtype): Add netgrdb.
45346         (_PATH_NSCD_NETGROUP_DB): Define.
45347         (netgroup_iov_disabled): Declare.
45348         (xmalloc, xcalloc, xrealloc): Move declarations here.
45349         (cache_search): Adjust prototype.
45350         Add netgroup-related prototypes.
45351         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45352         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45353         (__nscd_innetgr): Declare.
45354         * nscd/selinux.c (perms): Use access_vector_t as element type and
45355         add netgroup-related initializers.
45356         * nscd/netgroupcache.c: New file.
45357         * nscd/nscd_netgroup.c: New file.
45358         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45359         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45360         For four parameters use innetgr.
45361         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45362         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45363         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45364         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45366         * nscd/connections.c (register_traced_file): Don't register file
45367         for disabled databases.
45369 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45371         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45373         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45374         from tree and freeing node.
45376 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45378         * nss/nsswitch.c (__nss_database_lookup): Handle
45379         nss_parse_service_list out of memory case.
45381 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45383         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45384         out of memory case.
45386 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45388         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45389         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45390         pass it down.
45391         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45392         elf_machine_rela, elf_machine_lazy_rel.
45393         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45394         (ELF_DYNAMIC_DO_REL): Likewise.
45395         (ELF_DYNAMIC_DO_RELA): Likewise.
45396         (ELF_DYNAMIC_RELOCATE): Likewise.
45397         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45398         to ELF_DYNAMIC_DO_REL.
45399         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45400         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45401         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45402         elf_machine_rela.
45403         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45404         skip_ifunc, don't call ifunc function if non-zero.
45405         (elf_machine_rela): Likewise.
45406         (elf_machine_lazy_rel): Likewise.
45407         (elf_machine_lazy_rela): Likewise.
45408         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45409         (elf_machine_lazy_rel): Likewise.
45410         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45411         Likewise.
45412         (elf_machine_lazy_rel): Likewise.
45413         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45414         Likewise.
45415         (elf_machine_lazy_rel): Likewise.
45416         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45417         (elf_machine_lazy_rel): Likewise.
45418         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45419         (elf_machine_lazy_rel): Likewise.
45420         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45421         (elf_machine_lazy_rel): Likewise.
45422         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45423         (elf_machine_lazy_rel): Likewise.
45424         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45425         (elf_machine_lazy_rel): Likewise.
45426         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45427         (elf_machine_lazy_rel): Likewise.
45429 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45431         * nss/nss_files/files-init.c (_nss_files_init): Use static
45432         initialization for all the *_traced_file variables.
45434 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45436         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45438 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45440         [BZ #13226]
45441         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45443 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45445         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45446         Reread the line before reparsing it.
45448 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45450         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45452 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45453             Maxim Kuvyrkov  <maxim@codesourcery.com>
45454             Joseph Myers  <joseph@codesourcery.com>
45456         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45457         if needed for __stack_chk_guard.
45459 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45461         * sysdeps/posix/spawni.c (script_execute): Always define it.
45462         It will be optimized away if unused.
45463         (maybe_script_execute): New function.
45464         (__spawni): Call it.
45466         * Makerules: Don't include tls.make.
45467         (config-tls): Always set to thread.
45468         * tls.make.c: File removed.
45470 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45472         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45473         * config.make.in (CPPFLAGS-config): New substituted variable.
45475 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45477         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45479         [BZ #13192]
45480         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45481         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45483 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45485         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45486         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45487         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45488         (CALL_FAIL): Likewise.
45489         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45490         (CALL_FAIL): Macro removed.
45491         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45493 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45495         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45496         for __FINITE_MATH_ONLY__ == 1.
45498 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45500         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45501         __ieee754_sqrt instead of sqrt.
45502         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45503         __ieee754_sqrtf instead of sqrtf.
45504         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45505         __floorf instead of floorf.
45506         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45507         __floorf, __truncf instead of floorf, truncf.
45509 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45511         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45513         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45514         __extern_always_inline.
45515         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45516         32-bit.
45518 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45520         * elf/rtld.c (dl_main): Also relocate in dependency order when
45521         doing symbol dependency testing.
45523 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45525         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45526         Always define `refsym'.
45528 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45530         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45531         (__FD_ELT): Renamed from __FDELT.
45532         * misc/bits/select2.h (__FD_ELT): Likewise.
45533         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45534         __FD_MASK instead of __FDELT, __FDMASK.
45535         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45536         Likewise.
45537         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45538         Likewise.
45540         * elf/Makefile (gen-ldd): Fix pattern.
45542         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45543         (init_tls): Likewise.
45545 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45547         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45549 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45551         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45552         `struct cmsghdr *' instead of `void *'.
45553         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45554         Likewise.
45556 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45558         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45559         if non-absolute.
45560         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45561         ldd_rewrite_script.
45563 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45565         * configure.in: Remove --with-tls option.
45566         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45567         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45568         out in case it is missing.
45569         * sysdeps/ia64/elf/configure.in: Likewise.
45570         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45571         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45572         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45573         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45574         * sysdeps/sh/elf/configure.in: Likewise.
45575         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45576         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45577         * sysdeps/x86_64/elf/configure.in: Likewise.
45578         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45579         * sysdeps/mach/hurd/tls.h: Likewise.
45581         [BZ #13067]
45582         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45584         [BZ #13090]
45585         * configure.in: Fix use of AC_INIT.
45587         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45589 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45591         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45592         __set_errno.
45593         * malloc/hooks.c: Likewise.
45595         [BZ #11929]
45596         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45597         variables statically.
45598         (narenas): Initialize.
45599         (list_lock): Initialize.
45600         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45601         initializtion of main_arena and list_lock.  Small cleanups.
45602         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45603         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45604         Add initializers to main_arena and mp_.
45605         (malloc_state): Remove pagesize member.  Change all users to use
45606         GLRO(dl_pagesize).
45608         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45609         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45610         is always initialized.
45612         * malloc/malloc.c: Removed unused configurations and dead code.
45613         * malloc/arena.c: Likewise.
45614         * malloc/hooks.c: Likewise.
45615         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45617         * include/tls.h: Removed.  USE___THREAD must always be defined.
45618         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45619         * elf/dl-libc.c: Likewise.
45620         * elf/dl-tsd.c: Likewise.
45621         * include/errno.h: Likewise.
45622         * include/netdb.h: Likewise.
45623         * include/resolv.h: Likewise.
45624         * inet/herrno-loc.c: Likewise.
45625         * inet/herrno.c: Likewise.
45626         * malloc/arena.c: Likewise.
45627         * malloc/hooks.c: Likewise.
45628         * malloc/malloc.c: Likewise.
45629         * resolv/res-state.c: Likewise.
45630         * resolv/res_libc.c: Likewise.
45631         * sysdeps/i386/dl-machine.h: Likewise.
45632         * sysdeps/ia64/dl-machine.h: Likewise.
45633         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45634         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45635         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45636         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45637         * sysdeps/sh/dl-machine.h: Likewise.
45638         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45639         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45640         * sysdeps/unix/i386/sysdep.S: Likewise.
45641         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45642         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45644         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45647         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45648         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45649         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45651         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45652         * sysdeps/x86_64/dl-machine.h: Likewise.
45653         * tls.make.c: Likewise.
45655         * configure.in: Remove --with-__thread option.  Make tests for
45656         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45657         tls_model attribute fail if no support is available.  Remove
45658         USE_IN_LIBIO.
45659         * Makeconfig: Adjust for dropped configure option.  All features are
45660         now mandatory.
45661         * Makerules: Likewise.
45662         * Versions.def: Likewise.
45663         * argp/argp-fmtstream.c: Likewise.
45664         * argp/argp-fmtstream.h: Likewise.
45665         * argp/argp-help.c: Likewise.
45666         * assert/assert.c: Likewise.
45667         * config.h.in: Likewise.
45668         * config.make.in: Likewise.
45669         * configure: Likewise.
45670         * configure.in: Likewise.
45671         * csu/Versions: Likewise.
45672         * csu/init.c: Likewise.
45673         * elf/tst-audit2.c: Likewise.
45674         * elf/tst-tls10.c: Likewise.
45675         * elf/tst-tls10.h: Likewise.
45676         * elf/tst-tls11.c: Likewise.
45677         * elf/tst-tls12.c: Likewise.
45678         * elf/tst-tls14.c: Likewise.
45679         * elf/tst-tlsmod11.c: Likewise.
45680         * elf/tst-tlsmod12.c: Likewise.
45681         * elf/tst-tlsmod13.c: Likewise.
45682         * elf/tst-tlsmod13a.c: Likewise.
45683         * elf/tst-tlsmod14a.c: Likewise.
45684         * elf/tst-tlsmod15b.c: Likewise.
45685         * elf/tst-tlsmod16a.c: Likewise.
45686         * elf/tst-tlsmod16b.c: Likewise.
45687         * elf/tst-tlsmod7.c: Likewise.
45688         * elf/tst-tlsmod8.c: Likewise.
45689         * elf/tst-tlsmod9.c: Likewise.
45690         * gmon/gmon.c: Likewise.
45691         * grp/fgetgrent_r.c: Likewise.
45692         * grp/putgrent.c: Likewise.
45693         * hurd/fopenport.c: Likewise.
45694         * include/libc-symbols.h: Likewise.
45695         * include/tls.h: Likewise.
45696         * intl/gettextP.h: Likewise.
45697         * intl/loadinfo.h: Likewise.
45698         * locale/global-locale.c: Likewise.
45699         * locale/localeinfo.h: Likewise.
45700         * mach/devstream.c: Likewise.
45701         * malloc/arena.c: Likewise.
45702         * malloc/set-freeres.c: Likewise.
45703         * misc/err.c: Likewise.
45704         * misc/getttyent.c: Likewise.
45705         * misc/mntent_r.c: Likewise.
45706         * posix/getopt.c: Likewise.
45707         * posix/wordexp.c: Likewise.
45708         * pwd/fgetpwent_r.c: Likewise.
45709         * resolv/Versions: Likewise.
45710         * resolv/res_hconf.c: Likewise.
45711         * shadow/fgetspent_r.c: Likewise.
45712         * shadow/putspent.c: Likewise.
45713         * stdio-common/printf_fphex.c: Likewise.
45714         * stdio-common/tmpfile.c: Likewise.
45715         * stdlib/abort.c: Likewise.
45716         * stdlib/fmtmsg.c: Likewise.
45717         * sunrpc/auth_unix.c: Likewise.
45718         * sunrpc/clnt_perr.c: Likewise.
45719         * sunrpc/clnt_tcp.c: Likewise.
45720         * sunrpc/clnt_udp.c: Likewise.
45721         * sunrpc/clnt_unix.c: Likewise.
45722         * sunrpc/openchild.c: Likewise.
45723         * sunrpc/svc_simple.c: Likewise.
45724         * sunrpc/svc_tcp.c: Likewise.
45725         * sunrpc/svc_udp.c: Likewise.
45726         * sunrpc/svc_unix.c: Likewise.
45727         * sunrpc/xdr.c: Likewise.
45728         * sunrpc/xdr_array.c: Likewise.
45729         * sunrpc/xdr_rec.c: Likewise.
45730         * sunrpc/xdr_ref.c: Likewise.
45731         * sunrpc/xdr_stdio.c: Likewise.
45733 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45735         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45737 2011-07-03  Andreas Jaeger  <aj@suse.de>
45739         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45740         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45741         regenerate with gen-libm-tests.pl.
45743 2010-05-12  Petr Baudis  <pasky@suse.cz>
45745         [BZ #11589]
45746         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45747         around j0() zero points by switching to j1().
45748         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45749         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45751         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45753 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45755         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45756         instead of 0.
45757         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45758         instead of 0.
45759         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45760         Patch in part by Pavel Roskin <proski@gnu.org>.
45762         [BZ #13138]
45763         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45764         realloc.
45765         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45766         Free memory block if necessary.
45768         [BZ #12847]
45769         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45770         be NULL.  Don't lock in this case.
45772 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45774         * elf/elf.h (ELFOSABI_GNU): New macro.
45775         (ELFOSABI_LINUX): Define to that.
45777 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45779         * string/strncat.c (strncat): Undef the symbol in case it has been
45780         defined in bits/string.h.
45782 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45784         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45786         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45787         link map.
45789 2011-08-17  Andreas Jaeger  <aj@suse.de>
45791         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45793 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45794             Ian Lance Taylor  <iant@google.com>
45796         * math/libm-test.inc (lround_test): New testcase.
45797         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45799 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45801         * Makefile: Remove support for automatic cvs check-ins.
45802         * Makerules: Likewise.
45803         * config.make.in: Likewise.
45804         * configure.in: Likewise.
45805         * intl/Makefile: Likewise.
45806         * locale/Makefile: Likewise.
45807         * po/Makefile: Likewise.
45808         * posix/Makefile: Likewise.
45809         * sysdeps/gnu/Makefile: Likewise.
45810         * sysdeps/mach/hurd/Makefile: Likewise.
45811         * sysdeps/sparc/sparc32/Makefile: Likewise.
45813         [BZ #13118]
45814         * posix/Makefile (bug-regex32-ENV): Define.
45815         Patch by John Stanley <jpsinthemix@verizon.net>.
45817         * misc/Makefile (headers): Add bits/select2.h.
45818         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45819         * misc/bits/select2.h: New file.
45820         * include/bits/select2.h: New file.
45821         * debug/Makefile (routines): Add fdelt_chk.
45822         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45823         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45824         FD_ISSET.
45825         * debug/fdelt_chk.c: New file.
45827         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45828         * wcsmbs/test-wmemcmp.c: Likewise.
45829         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45830         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45832 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45834         * string/Makefile (strop-tests): Add memcmp.
45835         * string/test-wmemcmp.c: New file.
45836         * string/test-memcmp.c: Add wmemcmp support.
45838 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45840         [BZ #13153]
45841         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45842         2011-07-19 change.
45844         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45845         garbage value in a __mach_port_mod_refs call in the cases of the
45846         task-self and thread-self ports.
45848 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45850         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45852 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45854         * elf/dl-load.c (lose): Check for non-null L.
45856 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45858         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45860         * elf/dl-libc.c (dlerror_run): Pass back error code from
45861         dl_catch_error.
45863         [BZ #13123]
45864         * elf/dl-load.c (lose): Free l_origin if it is valid.
45866         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45867         names.
45868         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45869         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45870         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45871         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45872         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45873         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45875 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45877         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45878         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45879         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45880         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45881         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45882         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45883         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45884         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45885         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45886         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45888 2011-08-15  Alan Modra  <amodra@gmail.com>
45890         [BZ #13092]
45891         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45892         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45893         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45894         ppc_mcount to static-only-routines.
45895         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45896         __mcount_internal.
45897         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45898         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45900 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45902         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45903         for finite and infinity parameters.
45905 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45907         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45908         and add nop instructions for throughput optimization.
45909         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45911 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45913         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45914         aligned copy for power7 with vector-scalar instructions.
45915         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45917 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45920         AVX check.
45922 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45924         [BZ #13144]
45925         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45926         last change.
45928 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45930         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45931         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45932         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45933         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45934         clock_gettime.
45936 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45938         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45939         Forgot to demangle the pointer.
45941         * sysdeps/i386/sysdep.h: Define atom_text_section.
45942         * sysdeps/x86_64/sysdep.h: Likewise.
45943         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45944         section with atom_text_section.
45945         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45946         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45947         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45948         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45949         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45951         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45952         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45953         already be defined.  Change to take two parameters and don't assign
45954         result to variable.  Adjust all users.
45955         Define INTERNAL_GETTIME if not already defined.
45956         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45957         call.
45958         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45959         HAVE_CLOCK_GETTIME_VSYSCALL.
45960         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45962         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45963         gettimeofday vsyscall, just use time.
45965 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45967         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45968         <errno.h>.
45970 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45972         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45973         syscall on x86-64.
45974         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45975         syscall.
45976         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45977         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45978         syscall if possible.
45980 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45982         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45983         e_ident.  Don't pass to find_mapsXX.
45984         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45986 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45989         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45990         * sysdeps/x86_64/multiarch/strchr.S: Update.
45991         Check bit_slow_BSF bit.
45992         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45993         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45994         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45996 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45998         [BZ #13134]
45999         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46000         before glibc 2.15.
46001         (tryshell): Define.
46002         (__spawni): Change last parameter to be flag.  Test
46003         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46004         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46005         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46006         * posix/spawni.c: Likewise.
46007         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46008         * posix/spawnp.c: Likewise.  Change normal version to use
46009         SPAWN_XFLAGS_USE_PATH.
46010         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46011         SPAWN_XFLAGS_TRY_SHELL.
46013         [BZ #13150]
46014         * posix/glob.h: Remove gcc 1.x support.
46016         [BZ #13068]
46017         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46019 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46021         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46022         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46023         strrchr-sse2-bsf
46024         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46025         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46026         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46027         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46028         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46029         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46031 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46033         * sysdeps/x86_64/wcscmp.S: New file.
46035         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46036         wcscmp-c wcscmp-sse2
46037         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46038         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46039         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46040         * wcsmbs/wcscmp.c: Allow renaming.
46042 2011-09-05  David S. Miller  <davem@davemloft.net>
46044         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46045         stack slot, rather than the struct return pointer slot.
46046         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46047         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46049         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46051 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46053         * po/ja.po: Update from translation team.
46055         [BZ #13144]
46056         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46057         kernel in 64-bit binaries.
46059 2011-09-01  David S. Miller  <davem@davemloft.net>
46061         * elf/elf.h (HWCAP_SPARC_*): Move to..
46062         * sysdeps/sparc/sysdep.h: this new file and add new values.
46063         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46064         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46065         _DL_HWCAP_COUNT to 24.
46066         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46067         entries.
46068         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46069         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46070         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46072         instead of magic constants.
46073         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46075 2011-08-31  David S. Miller  <davem@davemloft.net>
46077         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46078         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46079         Reimplement to do errno handling inline.
46080         (SYSCALL_ERROR_HANDLER): New macro.
46081         (__SYSCALL_STRING): Do not do errno handling in asm.
46082         (__CLONE_SYSCALL_STRING): Delete.
46083         (__INTERNAL_SYSCALL_STRING): Delete.
46084         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46085         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46086         (PSEUDO): Reimplement to do errno handling inline.
46087         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46088         (SYSCALL_ERROR_HANDLER): New macro.
46089         (__SYSCALL_STRING): Do not do errno handling in asm.
46090         (__CLONE_SYSCALL_STRING): Delete.
46091         (__INTERNAL_SYSCALL_STRING): Delete.
46092         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46093         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46094         i386.
46095         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46096         (inline_syscall*): Add 'err' argument.
46097         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46098         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46099         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46100         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46102         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46103         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46105 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46107         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46109 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46111         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46112         directive.
46114 2011-08-24  David S. Miller  <davem@davemloft.net>
46116         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46118 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46120         * elf/Makefile: Add rules to build and run unload8 test.
46121         * elf/unload8.c: New file.
46122         * elf/unload8mod1.c: New file.
46123         * elf/unload8mod1x.c: New file.
46124         * elf/unload8mod2.c: New file.
46125         * elf/unload8mod3.c: New file.
46127         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46128         it wasn't used.
46130 2011-08-23  David S. Miller  <davem@davemloft.net>
46132         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46133         subtract stack bias.
46134         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46135         %sp not %fp in calculations.
46136         (_JMPBUF_UNWINDS_ADJ): Likewise.
46138         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46139         (aio_suspend): Call it to force an exception region around the
46140         AIO_MISC_WAIT() invocation.
46142 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46144         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46145         backslash.
46147 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46149         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46150         protection macro.
46151         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46152         and <dl-machine.h>.
46153         (Elf64_FuncDesc): Remove.
46155 2011-08-22  David S. Miller  <davem@davemloft.net>
46157         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46158         sigaltstack check, add missing cfi directives.
46159         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46160         missing cfi directives, and sigaltstack handling.
46162 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46164         [BZ #11724]
46165         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46166         object is seen twice.
46167         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46169         * elf/Makefile (distribute): Add tst-initorder2.c.
46170         (tests): Add tst-initorder2.
46171         (modules-names): Add tst-initorder2a tst-initorder2b
46172         tst-initorder2c tst-initorder2d.  Add rules to build them.
46173         ($(objpfx)tst-initorder2.out): New rule.
46174         * elf/tst-initorder2.c: New file.
46175         * elf/tst-initorder2.exp: New file.
46177 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46179         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46181         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46182         dependencies back to end of function.
46184         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46185         $(elfobjdir)/ld.so.
46187 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46189         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46190         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46191         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46192         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46193         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46194         of __vdso_gettimeofday.
46195         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46196         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46197         attribute_hidden.
46198         (_libc_vdso_platform_setup): Remove initialization of
46199         __vdso_gettimeofday and __vdso_time.
46201 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46203         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46204         and fgetc_unlocked.
46205         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46206         getc_unlocked.
46208         * elf/dl-open.c (add_to_global): Report additions to the global scope
46209         for LD_DEBUG=scopes.
46210         (dl_open_worker): Also print scope of newly loaded dependencies.
46211         (_dl_show_scope): Indicate if there is no scope.
46213         [BZ #13114]
46214         * stdio-common/Makefile (tests): Add bug24.
46215         * stdio-common/bug24.c: New file.
46217 2011-08-19  Andreas Jaeger  <aj@suse.de>
46219         [BZ #13114]
46220         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46221         non-existant file when using close-on-exec mode.
46223 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46225         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46226         the very first instruction.
46228         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46229         the CFI state in the end.
46230         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46231         inclusion of dl-trampoline.h.
46232         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46234 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46236         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46237         expectations for long double.
46239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46240         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46242 2011-08-14  David S. Miller  <davem@davemloft.net>
46244         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46245         artificual limit depends upon the system page size.
46247 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46249         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46250         * resolv/Makefile: Define CFLAGS-libresolv.
46252 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46254         * nss/makedb.c (compute_tables): Make variables used in nested
46255         function static.
46257 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46259         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46260         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46261         if buffer was too small.
46263         * elf/pldd.c (main): Attach to all threads in the process.
46264         Rewrite /proc handling to use *at functions.
46266 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46268         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46269         specifies first scope to show.
46270         (dl_open_worker): Update callers.  Move printing scope of new
46271         object to before the relocation.
46272         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46273         * sysdeps/generic/ldsodefs.h: Update declaration.
46275         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46276         string for the scope number.
46278 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46280         * nscd/servicescache.c (cache_addserv): Make sure written is always
46281         initialized.
46283 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46285         * sysdeps/i386/i486/bits/atomic.h
46286         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46287         statement expression, so as to suppress "set but not used" warning.
46288         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46290         * string/strncat.c (STRNCAT): Use prototype definition.
46292         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46293         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46294         -Iprograms here.
46295         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46296         (localedef-modules): Add localedef.
46297         (locale-modules): Add locale.
46299         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46300         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46301         to avoid a warning.
46303 2011-08-14  David S. Miller  <davem@davemloft.net>
46305         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46306         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46308 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46310         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46311         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46312         * elf/rtld.c (dl_main): Set l_name of vDSO.
46313         Call _dl_show_scope when DL_DEBUG_SCOPES.
46314         (process_dl_debug): Recognize scopes flag and also set it for all.
46315         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46316         Declare _dl_show_scope.
46318         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46319         (do_dlopen): Pass caller_dlopen to dl_open.
46320         (__libc_dlopen_mode): Initialize caller_dlopen.
46322         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46323         of libc.  Make tolower call locale-independent.  Optimize a bit by
46324         using isdigit instead of isalnum.
46325         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46327 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46329         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46330         was a dependency or dynamically loaded.
46332 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46334         * intl/l10nflist.c: Allow architecture-specific pop function.
46335         * sysdeps/x86_64/l10nflist.c: New file.
46337         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46338         classification.
46340 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46342         * include/dirent.h: Add libc_hidden_proto for scandirat and
46343         scandirat64.  Don't declare __scandirat64.
46344         * dirent/scandirat.c: Add libc_hidden_def.
46345         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46346         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46348 2011-08-10  David S. Miller  <davem@davemloft.net>
46350         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46351         enum.
46352         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46353         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46354         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46356 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46358         * Versions.def [libc]: Add GLIBC_2.15.
46359         * dirent/Makefile (routines): Add scandirat and scandirat64.
46360         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46361         GLIBC_2.15.
46362         * dirent/dirent.h: Declare scandirat and scandirat64.
46363         * dirent/scandirat.c: New file.
46364         * dirent/scandirat64.c: New file.
46365         * sysdeps/wordsize-64/scandirat.c: New file.
46366         * sysdeps/wordsize-64/scandirat64.c: New file.
46367         * dirent/opendir.c: Define opendirat.
46368         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46369         using scandirat.
46370         * dirent/scandir64.c: Adjust for scandir.c change.
46371         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46372         __scandirat64, and __scandir_cancel_handler.
46373         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46374         additional parameter and use openat instead of open (outside of ld.so).
46375         Add new __opendir as wrapper around __opendirat.
46376         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46377         here without requiring old scandirat implementation.
46379 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46381         * dirent/scandir.c (cancel_handler): Renamed to
46382         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46383         defined.  Adjust users.
46384         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46385         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46387 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46389         * string/test-string.h (IMPL): Use __STRING to expand name and then
46390         stringify it.
46392         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46393         of cleanups.
46395 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46397         * string/Makefile: Update.
46398         (strop-tests): Append strncat.
46399         * string/test-wcscmp.c: New file.
46400         New comprehensive test for wcscmp.
46401         * string/test-strcmp.c: Update.
46402         (WIDE): New define.
46404 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46406         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46407         line.
46409 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46411         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46412         encoding to ACE if AI_IDN.
46414 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46416         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46417         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46419 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46421         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46422         Fix overflow bug in strncat.
46423         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46425         * string/test-strncat.c: Update.
46426         Add new tests for checking overflow bugs.
46428 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46430         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46431         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46432         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46433         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46434         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46435         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46436         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46437         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46438         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46440         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46441         (USE_AS_STRCAT): Define.
46442         Add strcat and strncat support.
46443         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46445 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46447         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46448         __n bigger than INT_MAX+1.
46449         (__strncmp_g): Likewise.
46451 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46453         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46454         * libio/stido.h: Likewise.
46456         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46457         (AF_NFC): Define.
46458         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46459         (AF_NFC): Define.
46461         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46462         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46463         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46464         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46465         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46467         [BZ #13021]
46468         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46469         installed.
46471         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46472         typo.
46473         (_dl_x86_64_save_sse): Likewise.
46475 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46478         OSXSAVE.
46479         (_dl_x86_64_save_sse): Likewise.
46481         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46483         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46485 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46488         change.
46489         (_dl_x86_64_save_sse): Use correct AVX check.
46491 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46493         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46494         bug in strncpy/strncat.
46495         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46497 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46499         * string/tester.c (test_strcat): Add tests for different alignments
46500         of source and destination.
46501         (test_strncat): Likewise.
46503 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46505         [BZ #12852]
46506         * posix/glob.c (glob): Check passed in values before using them in
46507         expressions to avoid some overflows.
46508         (glob_in_dir): Likewise.
46510         [BZ #13007]
46511         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46512         check for AVX enablement so that we don't crash with old kernels and
46513         new hardware.
46514         * elf/tst-audit4.c: Add same checks here.
46515         * elf/tst-audit6.c: Likewise.
46517         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46519 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46521         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46523 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46525         * po/cs.po: Update from translation team.
46526         * po/bg.po: Likewise.
46528 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46530         * misc/sys/cdefs.h: Add support for const attribute.
46531         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46532         to gnu_dev_{major,minor,makedev} functions.
46534 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46536         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46538 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46540         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46541         strlen results.
46543 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46546         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46547         register in order to avoid conflicts with the soft frame pointer
46548         being held in r11 when necessary.
46549         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46550         (INTERNAL_VSYSCALL_NCS): Likewise.
46552 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46554         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46555         * elf/dl-fini.c (_dl_fini): Adjust caller.
46556         * elf/dl-close.c (_dl_close_worker): Likewise.
46557         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46559 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46561         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46562         "aux_cache->nlibs < 0".
46564         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46565         in the reload-count case.
46567 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46570         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46571         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46572         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46573         * sysdeps/x86_64/multiarch/strcat.S: New file.
46574         * sysdeps/x86_64/multiarch/strncat.S: New file.
46575         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46576         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46577         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46578         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46579         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46580         (USE_AS_STRCAT): Define.
46581         Add strcat and strncat support.
46582         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46583         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46584         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46585         * string/strncat.c: Update.
46586         (USE_AS_STRNCAT): Define.
46587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46588         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46589         and i7.
46590         * sysdeps/x86_64/multiarch/init-arch.h
46591         (bit_Prefer_PMINUB_for_stringop): New.
46592         (index_Prefer_PMINUB_for_stringop): Likewise.
46593         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46594         bit_Prefer_PMINUB_for_stringop.
46596 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46598         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46599         buffer64.
46600         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46601         of casting of buffer.
46602         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46603         buffer32 and buffer64.
46604         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46605         writes instead of casting of buffer.
46606         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46607         buffer32.
46608         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46609         casting of buffer.
46611 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46613         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46615 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46617         * nscd/nscd.c (termination_handler): Don't do anything for a database
46618         if it has not yet been initialized.
46620 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46622         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46624 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46626         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46628 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46630         * po/nl.po: Update from translation team.
46631         * po/sv.po: Likewise.
46633 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46635         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46636         now disallowed by GCC.
46638         * configure.in (use-default-link): Default to yes if a test -shared
46639         link meets our qualifications.
46640         * configure: Regenerated.
46642         * config.make.in (output-format): New variable.
46643         * configure.in: Check for ld --print-output-format support.
46644         * configure: Regenerated.
46645         * Makerules ($(common-objpfx)format.lds)
46646         [$(output-format) != unknown]: Just use $(output-format),
46647         instead of the linker-script munging.
46649 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46651         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46652         of $(common-objpfx)shlib.lds.
46653         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46655         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46656         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46658         * configure.in (-z relro check): Adjust test code to add a large
46659         writable data section after it.
46660         * configure: Regenerated.
46662 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46664         * configure.in (-z relro check): Fix test code to make the variable
46665         truly const.
46666         * configure: Regenerated.
46668 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46670         * nscd/nscd.h (struct traced_file): Define.
46671         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46672         elements.  Add traced_files.
46673         (inotify_fd): Declare.
46674         (register_traced_file): Declare.
46675         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46676         (inotify_fd): Export.
46677         (resolv_conf_descr): Remove.
46678         (nscd_init): Move inotify descriptor creation to main.
46679         Don't register files for notification here.
46680         (register_traced_file): New function.
46681         (invalidate_cache): Don't use reset_res to determine whether to call
46682         res_init, go through the list of registered files.
46683         (main_loop_poll): The inotify descriptors are now stored in the
46684         structures for the traced files.
46685         (main_loop_epoll): Likewise
46686         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46687         to __nss_disable_nscd.
46688         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46689         for a database anymore.  Check the records for all the registered
46690         files instead.
46691         * nss/Makefile (libnss_files-routines): Add files-init.
46692         (libnss_db-routines): Add db-init.
46693         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46694         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46695         * nss/nss_db/db-init.c: New file.
46696         * nss/nss_files/files-init.c: New file.
46697         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46698         __nss_lookup_function.
46699         (__nss_lookup_function): Call nss_load_library.
46700         (nss_load_all_libraries): New function.
46701         (__nss_disable_nscd): Take parameter with callback function for files
46702         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46703         used for the cached services.
46704         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46705         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46706         options for features to all the files in nscd.
46708         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46710 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46712         * csu/elf-init.c (__libc_csu_init): Comment typo.
46714 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46716         * po/pl.po: Update from translation team.
46717         * po/ja.po: Likewise.
46718         * po/ru.po: Likewise.
46719         * po/ko.po: Likewise.
46720         * po/fr.po: Likewise.
46722 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46724         * configure.in (.ctors/.dtors header and trailer check):
46725         Use an empirical test on a built program.
46726         * configure: Regenerated.
46728         * configure.in (-z relro check): Use an empirical test on a built DSO.
46729         Detect, but do not require, on ia64.
46730         * configure: Regenerated.
46732         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46733         Update tests that use readelf to use $READELF instead.
46734         * configure: Regenerated.
46736 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46738         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46739         if the result is not used.
46741 2011-07-05  Andreas Jaeger  <aj@suse.de>
46743         [BZ#9696]
46744         * stdlib/tst-strtod.c: Add testcase.
46746 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46748         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46749         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46750         The latter has a higher limit.  Take additional parameter to pass to
46751         the new function.
46752         (__pathconf): Pass file to __statfs_link_max.
46753         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46754         __statfs_link_max.
46755         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46756         __statfs_link_max.
46758         [BZ #12868]
46759         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46760         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46761         Handle Lustre.
46762         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46763         (__statfs_filesize_max): Likewise.
46764         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46766 2011-07-05  Andreas Jaeger  <aj@suse.de>
46768         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46770 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46772         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46773         `status' variable.
46774         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46775         Likewise.
46777 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46779         * Makefile (strop-tests): Add strncat.
46780         * string/test-strncat.c: New file.
46782 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46784         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46786 2011-06-21  Andreas Jaeger  <aj@suse.de>
46788         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46789         Copy rule from iconvdata/Makefile.
46791 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46793         [BZ #12922]
46794         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46795         but no long options are defined, just return 'W'.
46797 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46799         [BZ #9696]
46800         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46802 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46804         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46805         netgroups to read.
46806         (innetgr): Likewise.
46808 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46810         * config.make.in (install_root): Default to $(DESTDIR).
46812 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46814         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46816 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46818         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46820         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46821         containing directory rather than embedding absolute directory names.
46823         * scripts/check-local-headers.sh: Rewritten using awk.
46824         Match by word, not by line.  Print error messages for matches.
46825         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46827         * Makerules [shlib-lds-flags empty]:
46828         ($(common-objpfx)libc_pic.opts): New target.
46829         ($(common-objpfx)libc_pic.os.clean): New target.
46830         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46832         * config.make.in (OBJCOPY): New variable.
46833         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46834         * configure: Regenerated.
46836         * config.make.in (use-default-link): New variable.
46837         * configure.in (use_default_link): Grok --with-default-link to set it.
46838         * configure: Regenerated.
46839         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46840         (shlib-lds, shlib-lds-flags): Define to empty.
46842         * Makerules (shlib-lds): New variable.
46843         (shlib-lds-flags): New variable.
46844         (build-shlib, build-moduile, build-module-asneeded): Use it.
46845         ($(common-objpfx)libc.so): Use $(shlib-lds).
46846         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46847         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46849         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46850         DT_FLAGS/DT_FLAGS_1 with zero flags.
46852         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46853         linker script munging.
46855 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46857         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46858         as 128-bit value.
46859         * crypt/sha512.c (sha512_process_block): Perform total addition using
46860         128-bit if possible.
46861         (__sha512_finish_ctx): Likewise.
46862         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46863         as 64-bit value.
46864         * crypt/sha256.c (SWAP64): Define.
46865         (sha256_process_block): Perform total addition using 64-bit if
46866         possible.
46867         (__sha256_finish_ctx): Likewise.
46869 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46871         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46872         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46873         * nscd/hstcache.c (cache_addhst): Likewise.
46874         * nscd/grpcache.c (cache_addgr): Likewise.
46875         * nscd/aicache.c (addhstaiX): Likewise
46876         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46878 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46880         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46881         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46882         * nscd/hstcache.c (cache_addhst): Likewise.
46883         * nscd/grpcache.c (cache_addgr): Likewise.
46884         * nscd/aicache.c (addhstaiX): Likewise
46886 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46888         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46889         domain only when needed.
46891 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46894         is always restored.
46896 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46898         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46899         are re-adding the entry.
46900         * nscd/servicescache.c (cache_addserv): Likewise.
46902 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46904         * sysdeps/generic/dl-irel.h: fix protection against multiple
46905         inclusions.
46906         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46908 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46910         [BZ #12935]
46911         * malloc/memusage.sh: Fix quoting in message.
46912         * debug/xtrace.sh: Likewise.
46914         * configure.in: Remove support for --experimental-malloc option, make
46915         it the default.
46916         * config.make.in: Likewise.
46917         * malloc/Makefile: Likewise.
46919 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46921         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46922         two-byte characters.
46924 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46926         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46927         AC_CACHE_CHECK invocation.
46928         * configure: Regenerated.
46930         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46932 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46934         [BZ #12350]
46935         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46936         bit from old_res_options.
46938         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46940         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46941         value type for setfct.
46943 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46945         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46946         __gettimeofday instead of gettimeofday.
46948 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46950         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46952 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46954         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46956         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46957         info.
46959 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46962         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46963         strcpy-sse2-unaligned strncpy-sse2-unaligned
46964         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46965         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46966         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46967         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46968         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46969         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46970         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46971         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46972         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46973         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46974         (STRCPY): Support SSE2 and SSSE3 versions.
46976 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46978         [BZ #12874]
46979         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46980         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46981         kernels which artificially limit size of requests.
46983 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46985         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46986         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46987         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46988         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46989         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46990         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46991         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46992         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46993         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46994         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46995         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46996         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46997         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46998         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46999         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47001         Enable unaligned load optimization for Intel Core i3, i5 and i7
47002         processors.
47003         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47004         Define.
47005         (index_Fast_Unaligned_Load): Define.
47006         (HAS_FAST_UNALIGNED_LOAD): Define.
47008 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47010         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47012 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47014         [BZ #12907]
47015         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47016         until it is clear that the information is realy needed.
47017         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47019 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47023 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47025         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47026         /sys/devices/system/cpu/online if it is usable.
47028         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47029         reading the information from the /proc filesystem to once a second.
47031 2011-06-21  Andreas Jaeger  <aj@suse.de>
47033         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47034         NULL after inclusion of kernel headers.
47036 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47038         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47039         calls to internal_setent.
47041         [BZ #12885]
47042         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47043         addresses using gethostbyname4_r ignore IPv4 addresses.
47045         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47046         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47048         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47050 2011-06-20  David S. Miller  <davem@davemloft.net>
47052         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47053         inclusions.
47054         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47056         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47057         (elf_irel): Use it.
47058         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47059         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47060         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47061         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47062         * sysdeps/x86_64/dl-irel.h: Likewise.
47064         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47065         * elf/dl-sym.c: Likewise.
47067 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47069         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47070         need to dereference resplen2.
47072 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47074         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47076 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47078         * Makeconfig: Define vardbdir and inst_vardbdir.
47079         * nss/Makefile: Add rules to install db-Makefile.
47081         * nss/nss_db/db-XXX.c: Cleanup.
47083         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47084         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47085         GLIBC_PRIVATE.
47086         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47087         * nss/makedb.c: Implement -g option to specify that value strings
47088         are generated and should not be added to table iterated over for
47089         get*ent calls.
47090         * nss/nss_db/db-initgroups.c: New file.
47092         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47093         interface.
47095         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47096         (internal_getgrouplist): Adjust to name change.
47097         Update use_initgroups_entry if this is not the first call.
47098         * nss/databases.def: Add initgroups entry.
47100         * nss/makedb.c (compute_tables): Check result of multiple hash table
47101         sizes to minimize maximum chain length.
47103 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47105         * Versions.def: Add entry for libnss_db.
47106         * shlib-versions: Likewise.
47107         * nss/Makefile: Add rules to build libnss_db.
47108         * nss/Versions: Add libnss_db information.  Organize libnss_files
47109         entries better.
47110         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47111         makedb progra.  Some minor improvements to generate smaller files.
47112         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47113         here from...
47114         * nss/makedb.c: ...here.
47115         Improve database format to be smaller and require less memory at
47116         runtime.
47117         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47118         db anymore.
47119         * nss/nss_db/db-netgrp.c: Likewise.
47120         * nss/nss_db/db-open.c: Likewise.
47121         * nss/nss_files/flies-XXX.x: Adjust comments.
47122         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47123         * nss/nss_files/files-grp.c: Likewise.
47124         * nss/nss_files/files-hosts.c: Likewise.
47125         * nss/nss_files/files-network.c: Likewise.
47126         * nss/nss_files/files-proto.c: Likewise.
47127         * nss/nss_files/files-pwd.c: Likewise.
47128         * nss/nss_files/files-rpc.c: Likewise.
47129         * nss/nss_files/files-service.c: Likewise.
47130         * nss/nss_files/files-sgrp.c: Likewise.
47131         * nss/nss_files/files-spwd.c: Likewise.
47132         * nss/nss_db/db-alias.c: Removed.
47133         * nss/nss_db/dummy-db.h: Removed.
47135 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47137         * nss/makedb.c: Rewritten to not use database library.
47138         * nss/Makefile: Update to build new makedb program.
47140 2011-06-14  Andreas Jaeger  <aj@suse.de>
47142         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47143         memset declaration.
47145 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47148         tmpbuf.
47150 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47152         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47153         * elf/Makefile ($(objpfx)ld.so): Likewise.
47155         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47156         Don't list ld.so twice in dependencies.
47158         * posix/bug-regex31.c: Include <stdlib.h>.
47160         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47162         * nis/nss_compat/compat-spwd.c
47163         (getspent_next_nss_netgr): Remove unused variable.
47164         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47166         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47167         nonmembers" output to use the right array.
47169         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47171         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47173         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47174         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47175         * catgets/gencat.c (read_input_file): Likewise.
47176         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47178         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47179         variable definition inside #if's controlling its use.
47181         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47183         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47185         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47187         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47188         unreachable code.
47190         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47192         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47193         * configure: Regenerated.
47195         * Makerules: Revert last change.
47196         * elf/Makefile: Likewise.
47198 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47200         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47201         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47202         (reloc-link): Likewise.
47204 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47206         * elf/Makefile: Add rules to build pldd.
47207         * elf/pldd.c: New file.
47208         * elf/pldd-xx.c: New file.
47210 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47212         * version.h: Update for 2.15 development version.
47214 2011-06-07  David S. Miller  <davem@davemloft.net>
47216         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47217         ifuncs.
47218         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47219         elf_machine_lazy_rel): Likewise.
47220         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47221         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47222         elf_machine_lazy_rel): Likewise.
47223         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47224         dl_hwcap via passed in argument.
47225         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47226         Likewise.
47228 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47230         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47232 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47234         [BZ #12849]
47235         * manual/fdl-1.1.texi: New file, verbatim from:
47236         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47237         * manual/lgpl-2.1.texi: New file, verbatim from:
47238         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47239         * manual/Makefile (licenses): New variable, list those new file names.
47240         (texis): Use it.
47241         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47243         * manual/fdl.texi: File removed.
47244         * manual/lesser.texi: File removed.
47245         * manual/libc.texinfo (Copying, Documentation License):
47246         Use new @include file names, put @appendix directive before @include.
47248 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47250         [BZ #12841]
47251         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47252         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47253         (mq_open): Add __NTH.
47255 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47258         Assume Intel Core i3/i5/i7 processor if AVX is available.
47260 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47263         typo.
47265 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47267         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47268         memory.  Use alloca_account.  Fix memory leak when retrying.
47270 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47272         * version.h (RELEASE): Bump for 2.14 release.
47273         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47275         * config.make.in (RANLIB): Remove entry.
47277 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47279         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47280         (libc.pot): Work around missing support for .ksh extension in xgettext.
47282         [BZ #12684]
47283         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47284         if both request failed.
47285         (send_dg): In case of server errors clear resplen or *resplen2.
47287         [BZ #12454]
47288         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47289         when there are multiple maps.
47290         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47291         (_dl_fini): Remove test here.
47293         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47295 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47297         [BZ #12350]
47298         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47299         bit from old_res_options.
47300         (gaih_inet): Likewise.
47302         [BZ #11099]
47303         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47304         as signed.
47306         * resolv/res_init.c (res_setoptions): Make the code more compact.
47308         [BZ #11558]
47309         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47310         set RES_USEVC.
47312         [BZ #11634]
47313         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47315         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47317         [BZ #11781]
47318         * malloc/malloc.h: Declare malloc hook variables as volatile.
47320         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47321         in last patch.
47323         [BZ #11799]
47324         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47325         raise in the comment.
47326         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47327         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47328         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47330 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47332         [BZ #12811]
47333         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47334         grow the buffers more if it already has to be sufficient.
47335         (build_wcs_upper_buffer): Likewise.
47336         * posix/regexec.c (check_matching): Likewise.
47337         (clean_state_log_if_needed): Likewise.
47338         (extend_buffers): Don't enlarge buffers beyond size of the input
47339         buffer.
47340         Patches mostly by Emil Wojak <emil@wojak.eu>.
47341         * posix/bug-regex32.c: New file.
47342         * posix/Makefile (tests): Add bug-regex32.
47344         * locale/findlocale.c (_nl_find_locale): Return right away if
47345         _nl_explode_name failed.
47346         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47348         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47350         * debug/xtrace.sh: Unify messages.
47351         * malloc/memusage.sh: Likewise.
47353         [BZ #12813]
47354         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47355         time symbol from vDSO.  Substitute with vsyscall if not available.
47356         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47357         __vdso_time.
47359         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47360         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47361         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47362         Add sendmmsg and internal_sendmmsg.
47363         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47364         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47365         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47367         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47368         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47369         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47371 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47373         [BZ #12813]
47374         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47375         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47376         available.
47377         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47378         __vdso_getcpu.
47380         [BZ #12814]
47381         * iconvdata/Makefile (tests): Add bug-iconv9.
47382         * iconvdata/bug-iconv9.c: New file.
47384 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47386         [BZ #12814]
47387         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47389 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47391         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47392         (struct user_regs_struct): Change intcs field back to cs.
47394 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47396         * po/ja.po: Update from translation team.
47398 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47400         [BZ #12795]
47401         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47402         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47404 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47406         * stdlib/longlong.h: Update from GCC.
47408 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47410         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47411         parameter name.
47412         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47413         Add parameter name.
47414         (__sysconf): Pass it down.
47416 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47418         [BZ #12671]
47419         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47420         some situations.
47421         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47422         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47423         add in in __libc_use_alloca calls.  Adjust callers.
47424         (glob): Use malloc in some situations.
47426         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47427         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47428         pltexit.
47430 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47432         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47433         and CLOCK_BOOTTIME_ALARM.
47435         [BZ #12782]
47436         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47437         is returned.
47439         * string/_strerror.c (__strerror_r): Print negative errors as signed
47440         numbers.
47442         [BZ #12777]
47443         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47444         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47445         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47447         * configure.in: Fix typo in redirection and correct removal of test
47448         files in two cases.
47450         [BZ #12788]
47451         * locale/setlocale.c (new_composite_name): Fix test to check for
47452         identical name of all categories.
47454         [BZ #12792]
47455         * libio/filedoalloc.c (local_isatty): New function.
47456         (_IO_file_doallocate): Use local_isatty.
47457         * stdio-common/perror.c (perror): In case a new stream is used
47458         forward the stream error.
47459         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47460         error flag.
47462 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47464         [BZ #11869]
47465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47466         alloca.
47467         * include/alloca.h (extend_alloca_account): Define.
47469         [BZ #11857]
47470         * posix/regex.h: Fix comments with documentation of user-accessible
47471         fields after compilation and describe correct free'ing of pattern
47472         after re_compile_pattern.
47473         Patch by Reuben Thomas <rrt@sc3d.org>.
47475 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47477         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47478         and -mno-altivec to prevent the compiler from using Altivec and/or
47479         VSX instructions when the corresponding registers are not available.
47481 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47483         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47485 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47487         * libio/freopen.c (freopen): Use __dup2, not dup2.
47488         * libio/freopen64.c (freopen64): Likewise.
47490 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47492         [BZ #12775]
47493         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47494         * math/Makefile (tests): Add test-powl.
47495         (CFLAGS-test-powl.c): Define.
47496         * math/test-powl.c: New file.
47498 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47500         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47502 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47504         [BZ #11837]
47505         * iconvdata/gb18030.c: Update to GB18020-2005.
47507 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47509         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47510         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47511         Patch by Aharon Robbins <arnold@skeeve.com>.
47513         [BZ #11892]
47514         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47515         on the stack.
47517         [BZ #11895]
47518         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47519         through underflows.
47521         [BZ #12766]
47522         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47523         point to strings before performing equality test for error_one_per_line
47524         mode.
47526         [BZ #11697]
47527         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47529         [BZ #11820]
47530         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47531         (struct user_fpregs_struct): Avoid __uint*_t types.
47533         [BZ #6420]
47534         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47535         symbol info.  Use it instead of calling _dl_addr locally.
47536         (lock_and_info): New function.
47537         (tr_freehook): Call lock_and_info and pass symbol info as additional
47538         parameter to tr_where.
47539         (tr_mallochook): Likewise.
47540         (tr_reallochook): Likewise.
47541         (tr_memalignhook): Likewise.
47543         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47544         used and couldn't be at all thread-safe.
47546 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47548         * libio/freopen.c (freopen): Don't close old file descriptor
47549         before the new one is opened.  Instead dup the new file descriptor
47550         to the old one after the new stream is created.
47551         * libio/freopen64.c (freopen64): Likewise.
47552         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47553         * libio/fileops.c (_IO_new_file_close_it): Handle new
47554         _IO_FLAGS2_NOCLOSE flag.
47555         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47556         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47557         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47558         _IO_FLAGS2_NOCLOSE flag.
47559         * include/unistd.h: Add hidden_proto for dup3.
47560         Define __have_dup3.
47561         * io/dup3.c: Define hidden symbol.
47562         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47564         [BZ #7101]
47565         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47566         when an incomplete long option is used.
47567         * posix/tst-getopt_long1.c: New file.
47568         * posix/Makefile (tests): Add tst-getopt_long1.
47570         [BZ #10138]
47571         * scripts/config.guess: Update from autoconf-2.68.
47572         * scripts/config.sub: Likewise.
47574         [BZ #10157]
47575         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47576         tests into ...
47577         (has_cpuclock): ...this.  New function.
47578         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47579         macro here based on has_cpuclock code.
47581         [BZ #10149]
47582         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47583         First byte (not low byte) is now always NUL.
47584         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47586         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47587         Use non-cancelable interfaces.
47589         [BZ #9809]
47590         * locale/iso-639.def: Add entry for Sorani.
47592         [BZ #11901]
47593         * include/stdlib.h: Move include protection to the right place.
47594         Define abort_msg_s.  Declare __abort_msg with it.
47595         * stdlib/abort.c (__abort_msg): Adjust type.
47596         * assert/assert.c (__assert_fail_base): New function.  Majority
47597         of code from __assert_fail.  Allocate memory for __abort_msg with
47598         mmap.
47599         (__assert_fail): Now call __assert_fail_base.
47600         * assert/assert-perr.c: Remove bulk of implementation.  Use
47601         __assert_fail_base.
47602         * include/assert.hL Declare __assert_fail_base.
47603         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47604         mmap.
47605         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47607 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47609         [BZ #11952]
47610         [BZ #12453]
47611         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47612         until all modules are registered in the DTV.
47613         * elf/Makefile: Add rules to build and run tst-tls19.
47614         * elf/tst-tls19.c: New file.
47615         * elf/tst-tls19mod1.c: New file.
47616         * elf/tst-tls19mod2.c: New file.
47617         * elf/tst-tls19mod3.c: New file.
47618         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47620         [BZ #12083]
47621         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47622         correctly.
47624         [BZ #12601]
47625         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47626         two-byte sequence errors.
47627         * iconvdata/Makefile (tests): Add bug-iconv8.
47628         * iconvdata/bug-iconv8.c: New file.
47630         [BZ #12626]
47631         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47632         buf2 definition.
47634         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47636         [BZ #12432]
47637         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47638         (dummy_getcfa): New function.
47639         (init): Get _Unwind_GetCFA address, use dummy if not found.
47640         (backtrace_helper): In recursion check, also check whether CFA changes.
47641         (__backtrace): Completely initialize arg.
47643         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47644         storing incomplete byte sequence in state object.  Avoid testing for
47645         guaranteed too small input if we know there is enough data available.
47647 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47649         * Makeconfig (+link-pie): Indent.
47650         * Rules (binaries-pie): Define if $(have-fpie) and
47651         $(build-shared).
47652         (binaries-shared): Also filter out $(binaries-pie).
47653         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47654         * nscd/Makefile (others-pie): Add nscd.
47655         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47656         ($(objpfx)nscd): Remove command override.
47657         * login/Makefile (others-pie): Add pt_chown.
47658         ($(objpfx)pt_chown): Remove command override.
47659         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47660         remove command overrides.
47662 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47664         * libio/tst_putwc.c: Fix error messages.
47666         [BZ #12724]
47667         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47668         currently writing and seek to current position when not.
47669         * libio/Makefile (tests): Add bug-fclose1.
47670         * libio/bug-fclose1.c: New file.
47672 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47674         [BZ #12511]
47675         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47676         don't set DF_1_NODELETE here.
47677         (do_lookup_x): When entering new entry test for copy relocation
47678         and if necessary set DF_1_NODELETE flag.
47679         * elf/tst-unique4.cc: New file.
47680         * elf/tst-unique4.h: New file.
47681         * elf/tst-unique4lib.cc: New file.
47682         * elf/Makefile: Add rules to build and run tst-unique4.
47683         Patch by Piotr Bury <pbury@goahead.com>.
47685 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47687         [BZ #12052]
47688         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47690         [BZ #12625]
47691         * misc/mntent_r.c (addmntent): Flush the stream after the output
47693         [BZ #12393]
47694         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47695         (is_trusted_path_normalize): Skip initial colon.  Append slash
47696         to empty buffer.  Duplicate is_trusted_path code but allow
47697         constructed patch to be prefix.
47698         (is_dst): Allow $ORIGIN followed by /.
47699         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47700         Correct testing of result of is_trusted_path_normalize
47701         (decompose_rpath): Fix warning.
47703 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47705         [BZ #11257]
47706         * grp/initgroups.c (internal_getgrouplist): When we found the service
47707         list through the initgroups entry in nsswitch.conf do not always
47708         continue on a successful lookup.  Don't always use the
47709         __nss_group_database value if it is set.
47710         * nss/nsswitch.conf (initgroups): Change action for successful db
47711         lookup to continue for compatibility.
47713 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47715         [BZ #11532]
47716         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47717         and CP774 modules.
47718         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47719         and CP774 modules.
47720         * iconvdata/tst-tables.sh: Likewise.
47721         * iconvdata/cp770.c: New file.
47722         * iconvdata/cp771.c: New file.
47723         * iconvdata/cp772.c: New file.
47724         * iconvdata/cp773.c: New file.
47725         * iconvdata/cp774.c: New file.
47726         * iconvdata/testdata/CP770: New file.
47727         * iconvdata/testdata/CP770..UTF8: New file.
47728         * iconvdata/testdata/CP771: New file.
47729         * iconvdata/testdata/CP771..UTF8: New file.
47730         * iconvdata/testdata/CP772: New file.
47731         * iconvdata/testdata/CP772..UTF8: New file.
47732         * iconvdata/testdata/CP773: New file.
47733         * iconvdata/testdata/CP773..UTF8: New file.
47734         * iconvdata/testdata/CP774: New file.
47735         * iconvdata/testdata/CP774..UTF8: New file.
47737         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47738         END CHARMAP line.
47739         * iconvdata/gen-8bit-gap.sh: Likewise.
47740         * iconvdata/gen-8bit.sh: Likewise.
47742         * locale/iso-639.def: Add ary entry.
47744         [BZ #11258]
47745         * locale/C-translit.h.in: Add U20A1 transliteration.
47747         [BZ #12178]
47748         * locale/iso-639.def: Add wae entry.
47749         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47751         [BZ #12545]
47752         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47753         for n.
47755         [BZ #12711]
47756         * locale/C-translit.h.in: Add entry for U20B9.
47757         Patch by pravin.d.s@gmail.com.
47759 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47761         [BZ #12713]
47762         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47763         ENAMETOOLONG use generic getcwd.
47764         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47765         in rtld.  Use *stat64.
47766         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47767         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47768         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47769         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47770         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47771         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47772         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47773         __fstatat64 macros.
47774         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47775         * dirent/rewinddir.c: Add libc_hidden_def.
47776         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47777         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47779         * include/dirent.h (__alloc_dir): Add flags parameter.
47780         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47781         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47782         __alloc_dir.
47783         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47784         from fdopendir if O_CLOEXEC is already set.
47786 2011-03-15  Alan Modra  <amodra@gmail.com>
47788         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47789         l_tls_firstbyte_offset non-zero.  Save padding offset in
47790         l_tls_firstbyte_offset for later use.
47791         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47792         freeing static tls block.
47794 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47796         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47797         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47798         being defined by the kernel headers.
47800 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47802         [BZ #12734]
47803         * resolv/resolv.h: Define RES_NOTLDQUERY.
47804         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47805         no-tld-query and set RES_NOTLDQUERY.
47806         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47807         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47808         modern BIND to search name as TLD unless forbidden.
47810 2011-05-07  Petr Baudis  <pasky@suse.cz>
47811             Ulrich Drepper  <drepper@gmail.com>
47813         [BZ #12393]
47814         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47815         (is_trusted_path): ...to here.
47816         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47817         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47818         using is_trusted_path_normalize() in setuid scripts.
47820 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47822         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47823         __BEGIN/__END_DECLS.
47825 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47827         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47828         NSS_STATUS_NOTFOUND if no record was found.
47830 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47832         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47833         (headers-not-in-tirpc): Remove rpc/netdb.h
47834         * resolv/netdb.h: Revert last change.
47836 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47838         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47839         circular dependency between libgcc.a and libc.a.
47841 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47843         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47844         * nis/Makefile: Don't install rpcsvc/*.
47845         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47846         instead of <rpc/types.h>.
47847         (MAXHOSTNAMELEN): Define.
47849 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47851         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47853 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47855         [BZ #12714]
47856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47857         gethostbyname4_r when IPv6 results are possible.
47859 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47861         [BZ #12723]
47862         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47863         _PC_PIPE_BUF handling.
47865 2011-04-30  Bruno Haible  <bruno@clisp.org>
47867         [BZ #12717]
47868         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47869         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47870         to 'int'.
47871         * inet/getnameinfo.c (getnameinfo): Likewise.
47873 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47875         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47876         to groups setting in database lookup.
47877         * nss/nsswitch.conf: Add initgroups entry.
47879 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47881         [BZ #12685]
47882         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47883         mode string.
47884         Patch by Eric Blake <eblake@redhat.com>.
47886 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47888         * sunrpc/Makefile (need-export-routines): Add svc_run.
47889         (routines): Remove svc_run.
47890         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47891         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47892         * sunrpc/svc_run.c (svc_run): Likewise.
47893         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47895 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47897         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47898         problem in reallocation in last patch.
47900 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47902         * sunrpc/Makefile: Move inclusion of Rules.
47904 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47906         * nss/nss_files/files-initgroups.c: New file.
47907         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47908         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47909         _nss_files_initgroups_dyn.
47911 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47913         * elf/elf.h (R_ARM_IRELATIVE): Define.
47915 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47917         * po/ru.po: Update from translation team.
47919 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47921         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47922         dependencies.
47924 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47926         [BZ #12653]
47927         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47928         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47929         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47930         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47931         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47933 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47935         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47936         differing bytes.
47937         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47938         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47939         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47941 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47943         [BZ #12420]
47944         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47945         storing it.
47946         * stdlib/bug-getcontext.c: New file.
47947         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47949 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47951         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47952         instructions into .machine "z9-109".
47953         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47954         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47956 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47958         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47959         between environment variables and auxiliary vector.
47961 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47963         * Makefile: Add rules to build linkobj/libc.so.
47964         * include/libc-symbols.h: Define libc_hidden_nolink.
47965         * include/rpc/auth.h: Mark functions which are to be hidden.
47966         * include/rpc/auth_des.h: Likewise.
47967         * include/rpc/auth_unix.h: Likewise.
47968         * include/rpc/clnt.h: Likewise.
47969         * include/rpc/des_crypt.h: Likewise.
47970         * include/rpc/key_prot.h: Likewise.
47971         * include/rpc/pmap_clnt.h: Likewise.
47972         * include/rpc/pmap_prot.h: Likewise.
47973         * include/rpc/pmap_rmt.h: Likewise.
47974         * include/rpc/rpc_msg.h: Likewise.
47975         * include/rpc/svc.h: Likewise.
47976         * include/rpc/svc_auth.h: Likewise.
47977         * include/rpc/xdr.h: Likewise.
47978         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47979         * nss/Makefile: Likewise.
47980         * sunrpc/Makefile: Don't install headers.  Build library with normal
47981         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47982         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47983         for the compat linking library.  Remove use of INTDEF/INTUSE.
47984         * sunrpc/auth_none.c: Likewise.
47985         * sunrpc/auth_unix.c: Likewise.
47986         * sunrpc/authdes_prot.c: Likewise.
47987         * sunrpc/authuxprot.c: Likewise.
47988         * sunrpc/clnt_gen.c: Likewise.
47989         * sunrpc/clnt_perr.c: Likewise.
47990         * sunrpc/clnt_raw.c: Likewise.
47991         * sunrpc/clnt_simp.c: Likewise.
47992         * sunrpc/clnt_tcp.c: Likewise.
47993         * sunrpc/clnt_udp.c: Likewise.
47994         * sunrpc/clnt_unix.c: Likewise.
47995         * sunrpc/des_crypt.c: Likewise.
47996         * sunrpc/des_soft.c: Likewise.
47997         * sunrpc/get_myaddr.c: Likewise.
47998         * sunrpc/key_call.c: Likewise.
47999         * sunrpc/key_prot.c: Likewise.
48000         * sunrpc/netname.c: Likewise.
48001         * sunrpc/pm_getmaps.c: Likewise.
48002         * sunrpc/pm_getport.c: Likewise.
48003         * sunrpc/pmap_clnt.c: Likewise.
48004         * sunrpc/pmap_prot.c: Likewise.
48005         * sunrpc/pmap_prot2.c: Likewise.
48006         * sunrpc/pmap_rmt.c: Likewise.
48007         * sunrpc/publickey.c: Likewise.
48008         * sunrpc/rpc_cmsg.c: Likewise.
48009         * sunrpc/rpc_common.c: Likewise.
48010         * sunrpc/rpc_dtable.c: Likewise.
48011         * sunrpc/rpc_prot.c: Likewise.
48012         * sunrpc/rpc_thread.c: Likewise.
48013         * sunrpc/rtime.c: Likewise.
48014         * sunrpc/svc.c: Likewise.
48015         * sunrpc/svc_auth.c: Likewise.
48016         * sunrpc/svc_authux.c: Likewise.
48017         * sunrpc/svc_raw.c: Likewise.
48018         * sunrpc/svc_run.c: Likewise.
48019         * sunrpc/svc_simple.c: Likewise.
48020         * sunrpc/svc_tcp.c: Likewise.
48021         * sunrpc/svc_udp.c: Likewise.
48022         * sunrpc/svc_unix.c: Likewise.
48023         * sunrpc/svcauth_des.c: Likewise.
48024         * sunrpc/xcrypt.c: Likewise.
48025         * sunrpc/xdr.c: Likewise.
48026         * sunrpc/xdr_array.c: Likewise.
48027         * sunrpc/xdr_float.c: Likewise.
48028         * sunrpc/xdr_intXX_t.c: Likewise.
48029         * sunrpc/xdr_mem.c: Likewise.
48030         * sunrpc/xdr_rec.c: Likewise.
48031         * sunrpc/xdr_ref.c: Likewise.
48032         * sunrpc/xdr_sizeof.c: Likewise.
48033         * sunrpc/xdr_stdio.c: Likewise.
48035 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48037         [BZ #12650]
48038         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48039         * sysdeps/ia64/dl-tls.h: Likewise.
48040         * sysdeps/powerpc/dl-tls.h: Likewise.
48041         * sysdeps/s390/dl-tls.h: Likewise.
48042         * sysdeps/sh/dl-tls.h: Likewise.
48043         * sysdeps/sparc/dl-tls.h: Likewise.
48044         * sysdeps/x86_64/dl-tls.h: Likewise.
48045         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48047 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48049         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48050         rpath element also skip the following colon.
48051         (expand_dynamic_string_token): Add is_path parameter and pass
48052         down to DL_DST_REQUIRED and _dl_dst_substitute.
48053         (decompose_rpath): Call expand_dynamic_string_token with
48054         non-zero is_path.  Ignore empty rpaths.
48055         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48056         with zero is_path.
48058 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48061         Make cancelable.
48063 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48065         [BZ #12655]
48066         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48067         Patch by Filipe David Manana <fdmanana@apache.org>.
48069 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48071         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48072         Maintain aligned stack.
48073         (CHECK_RSP): Remove unused macro.
48075 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48077         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48078         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48080 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48082         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48084         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48086 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48088         [BZ #12518]
48089         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48090         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48091         * sysdeps/x86_64/memmove.c: New file.
48092         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48093         (memcpy): Renamed to ...
48094         (__new_memcpy): This.
48095         (memcpy): Provide GLIBC_2_14 memcpy.
48096         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48097         (memcpy): Provide GLIBC_2_2_5 memcpy.
48099 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48101         [BZ #12631]
48102         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48104 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48106         * misc/syncfs.c: New file.
48107         * misc/Makefile (routines): Add syncfs.
48108         * posix/unistd.h: Declare syncfs.
48109         * sysdeps/unix/syscalls.list: Add syncfs.
48111 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48113         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48114         open_by_handle_at.
48115         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48116         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48117         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48118         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48119         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48120         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48121         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48123 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48125         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48126         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48127         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48128         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48129         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48130         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48131         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48133         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48134         sync_file_range.c with -fexceptions.
48135         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48136         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48137         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48138         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48139         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48140         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48142         sync_file_range as cancellation point
48143         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48144         now a wrapper around __call_sync_file_range with cancellation handling.
48145         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48146         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48147         function name to __call_sync_file_range.
48148         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48149         Add call_sync_file_range.
48151 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48153         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48154         bits/timex.h.
48156 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48158         * iconv/iconv.h: Fix typo in comment.
48159         * io/fcntl.h: Likewise.
48160         * libio/stdio.h: Likewise.
48161         * posix/spawn.h: Likewise.
48162         * posix/unistd.h: Likewise.
48163         * stdlib/stdlib.h: Likewise.
48164         * time/time.h: Likewise.
48165         * wcsmbs/wchar.h: Likewise.
48167         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48168         open_by_handle): Add.
48169         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48170         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48171         Augment a few comments.
48172         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48173         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48174         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48175         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48176         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48177         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48178         open_by_handle.
48180         * io/fcntl.h (AT_EMPTY_PATH): Define.
48182 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48184         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48185         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48186         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48187         to...
48188         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48189         * Versions.def: Add GLIBC_2.14.
48190         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48191         Export.
48193 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48195         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48196         round counter.
48197         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48199 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48201         [BZ #12597]
48202         * string/test-strncmp.c (do_page_test): New function.
48203         (check2): Likewise.
48204         (test_main): Call check2.
48205         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48207 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48209         [BZ #12587]
48210         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48211         Handle cache information in CPU leaf 4.
48212         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48214 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48216         [BZ #12583]
48217         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48218         character representation.
48219         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48221 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48223         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48224         END(__isnan) to END(__isnanf) to match function entry point/label
48225         EALIGN(__isnanf,...).
48227 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48229         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48231 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48233         [BZ #12510]
48234         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48235         copy from the symbol referenced in the relocation to initialize the
48236         used variable.
48237         Patch by Piotr Bury <pbury@goahead.com>.
48238         * elf/Makefile: Add rules to build and tst-unique3.
48239         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48240         * elf/tst-unique3.cc: New file.
48241         * elf/tst-unique3.h: New file.
48242         * elf/tst-unique3lib.cc: New file.
48243         * elf/tst-unique3lib2.cc: New file.
48245         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48247 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48249         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48250         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48251         to _start.
48253 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48255         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48256         to-be-loaded object along a path to loader is ld.so.
48258 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48259             Ulrich Drepper  <drepper@gmail.com>
48261         * sysdeps/x86_64/memset.S: After aligning destination, code
48262         branches to different locations depending on the value of
48263         misalignment, when multiarch is enabled. Fix this.
48265 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48267         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48268         Set _x86_64_preferred_memory_instruction for AMD processsors.
48269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48270         Set bit_Prefer_SSE_for_memop for AMD processors.
48272 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48274         * libio/fmemopen.c (fmemopen): Optimize a bit.
48276 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48278         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48280 2011-03-03  Roland McGrath  <roland@redhat.com>
48282         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48284 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48286         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48287         __bzero_ultra1 instead of __memset_ultra1.
48289 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48290             Ulrich Drepper  <drepper@gmail.com>
48292         [BZ #12509]
48293         * include/link.h (struct link_map): Add l_orig_initfini.
48294         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48295         returning unsuccessfully.
48296         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48297         close of a file loaded at startup, restore the original l_initfini
48298         list.
48299         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48300         list, store the pointer.
48301         * elf/Makefile ($(objpfx)noload-mem): New rule.
48302         (noload-ENV): Define.
48303         (tests): Add $(objpfx)noload-mem.
48304         * elf/noload.c: Include <memcheck.h>.
48305         (main): Call mtrace.  Close all opened handles.
48307 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48309         [BZ #12454]
48310         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48311         dependencies are missing.
48313 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48315         Fix __if_freereq crash: Unlike the generic version which uses free,
48316         Hurd needs munmap.
48317         * sysdeps/mach/hurd/ifreq.h: New file.
48319 2011-01-27  Petr Baudis  <pasky@suse.cz>
48320             Ulrich Drepper  <drepper@gmail.com>
48322         [BZ 12445]#
48323         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48324         to extend_alloca().
48325         * stdio-common/bug23.c: New file.
48326         * stdio-common/Makefile (tests): Add bug23.
48328 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48329             Ulrich Drepper  <drepper@gmail.com>
48331         [BZ #12489]
48332         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48333         before performing relro protection.  At old place add assertion
48334         to make sure nothing changed.
48336 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48337             Glauber de Oliveira Costa  <glommer@gmail.com>
48339         * elf/elf.h: Add new ARM TLS relocs.
48341 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48344         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48345         cast from r3.
48346         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48347         'tests' variable.
48348         * sysdeps/wordsize-64/tst-writev.c: New file.
48350 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48352         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48353         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48354         insns in _dl_start to prevent a TOC reference before relocs are
48355         resolved.
48357 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48359         [BZ #12469]
48360         * Makeconfig: Remove RANLIB definition.
48361         * Makerules: Don't use RANLIB.
48362         * aclocal.m4: Remove ranlib test.
48363         * configure.in: No need to check for ranlib.
48364         * elf/rtld-Rules: Don't use RANLIB.
48366 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48368         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48369         protection macro.
48370         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48371         inclusion protection macro.
48373         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48374         SIGRTMIN and SIGRTMAX and print information in that case only when
48375         SIGRTMIN is defined.
48377 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48379         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48380         arginfo fn returning -1.
48382         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48383         and thousands string is zero terminated.
48385 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48387         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48388         sysdeps/unix/sysv/linux/bits/socket.h.
48390 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48392         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48393         (__CPU_COUNT): Remove old macros.
48394         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48395         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48396         (__CPU_ALLOC, __CPU_FREE): Add macros.
48397         (__sched_cpualloc, __sched_cpufree): Add declarations.
48399 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48401         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48402         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48403         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48404         (readdhstai): Return value of addhstaiX call.
48405         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48406         (addgrbyX): Return value returned by cache_addgr.
48407         (readdgrbyname): Return value returned by addgrbyX.
48408         (readdgrbygid): Likewise.
48409         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48410         (addpwbyX): Return value returned by cache_addpw.
48411         (readdpwbyname): Return value returned by addhstbyX.
48412         (readdpwbyuid): Likewise.
48413         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48414         (addservbyX): Return value returned by cache_addserv.
48415         (readdservbyname): Return value returned by addservbyX:
48416         (readdservbyport): Likewise.
48417         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48418         (addhstbyX): Return value returned by cache_addhst.
48419         (readdhstbyname): Return value returned by addhstbyX.
48420         (readdhstbyaddr): Likewise.
48421         (readdhstbynamev6): Likewise.
48422         (readdhstbyaddrv6): Likewise.
48423         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48424         (readdinitgroups): Return value returned by addinitgroupsX.
48425         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48426         (prune_cache): Keep track of timeout value of re-added entries.
48427         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48428         * nscd/nscd.h: Adjust prototypes of readd* functions.
48430 2011-02-04  Roland McGrath  <roland@redhat.com>
48432         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48433         (nis_stats): Likewise.
48434         * nis/nis_modify.c (nis_modify): Likewise.
48435         * nis/nis_remove.c (nis_remove): Likewise.
48436         * nis/nis_add.c (nis_add): Likewise.
48438         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48440         * posix/fnmatch_loop.c: Add some consts.
48442         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48444 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48446         [BZ #12460]
48447         * config.make.in (config-cflags-novzeroupper): Define.
48448         * configure.in: Substitute libc_cv_cc_novzeroupper.
48449         * elf/Makefile (AVX-CFLAGS): Define.
48450         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48451         (CFLAGS-tst-auditmod4a.c): Likewise.
48452         (CFLAGS-tst-auditmod4b.c): Likewise.
48453         (CFLAGS-tst-auditmod6b.c): Likewise.
48454         (CFLAGS-tst-auditmod6c.c): Likewise.
48455         (CFLAGS-tst-auditmod7b.c): Likewise.
48456         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48458 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48460         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48461         function to the callback.
48462         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48464 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48466         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48467         of errno.
48469 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48471         [BZ #11724]
48472         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48473         of constructors.
48474         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48475         of destructors.
48476         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48478         [BZ #11724]
48479         * elf/Makefile: Add rules to build and run new test.
48480         * elf/tst-initorder.c: New file.
48481         * elf/tst-initorder.exp: New file.
48482         * elf/tst-initordera1.c: New file.
48483         * elf/tst-initordera2.c: New file.
48484         * elf/tst-initordera3.c: New file.
48485         * elf/tst-initordera4.c: New file.
48486         * elf/tst-initorderb1.c: New file.
48487         * elf/tst-initorderb2.c: New file.
48488         * elf/tst-order-a1.c: New file.
48489         * elf/tst-order-a2.c: New file.
48490         * elf/tst-order-a3.c: New file.
48491         * elf/tst-order-a4.c: New file.
48492         * elf/tst-order-b1.c: New file.
48493         * elf/tst-order-b2.c: New file.
48494         * elf/tst-order-main.c: New file.
48495         New test case by George Gensure <werkt0@gmail.com>.
48497 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48499         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48500         decoding ACE if AI_CANONIDN.
48502 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48504         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48506 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48508         * version.h (RELEASE): Bump for 2.13 release.
48509         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48511         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48513         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48514         MADV_NOHUGEPAGE.
48515         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48516         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48517         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48518         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48519         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48520         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48522         * posix/getconf.c: Update copyright year.
48523         * catgets/gencat.c: Likewise.
48524         * csu/version.c: Likewise.
48525         * debug/catchsegv.sh: Likewise.
48526         * debug/xtrace.sh: Likewise.
48527         * elf/ldconfig.c: Likewise.
48528         * elf/ldd.bash.in: Likewise.
48529         * elf/sprof.c (print_version): Likewise.
48530         * iconv/iconv_prog.c: Likewise.
48531         * iconv/iconvconfig.c: Likewise.
48532         * locale/programs/locale.c: Likewise.
48533         * locale/programs/localedef.c: Likewise.
48534         * malloc/memusage.sh: Likewise.
48535         * malloc/mtrace.pl: Likewise.
48536         * nscd/nscd.c (print_version): Likewise.
48537         * nss/getent.c: Likewise.
48539         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48540         PF_CAIF, and PF_ALG.
48541         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48543 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48545         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48546         (modules-names): Use them.
48547         (ifunc-test-modules, ifunc-pie-tests): Define.
48548         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48549         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48550         (test-extras): Likewise.
48551         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48552         $(compile-command.c).
48553         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48554         (all-built-dso): Define.
48555         (check-textrel.out, check-execstack.out): Depend on it.
48557         * configure.in: Don't override --enable-multi-arch.
48559 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48561         [BZ #6812]
48562         * nscd/hstcache.c (tryagain): Define.
48563         (cache_addhst): Return tryagain not notfound for temporary errors.
48564         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48565         failed.
48567 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48569         [BZ #10563]
48570         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48571         to make the syscall.
48572         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48574         [BZ #12378]
48575         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48576         and fall back to matching as normal character if the string ends before
48577         the matching ']' is found.  This is what POSIX requires.
48578         * posix/testfnm.c: Adjust test result.
48579         * posix/globtest.sh: Adjust test result.  Add new test.
48580         * posix/tst-fnmatch.input: Likewise.
48581         * posix/tst-fnmatch2.c: Add new test.
48583 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48585         * elf/Makefile (check-execstack): Revert last change.  Depend on
48586         check-execstack.h.
48587         (check-execstack.h): New target.
48588         (generated): Add check-execstack.h.
48589         * elf/check-execstack.c: Include "check-execstack.h".
48590         (main): Revert last change.
48591         (handle_file): Return zero if GNU_STACK is absent and
48592         DEFAULT_STACK_PERMS doesn't include PF_X.
48594 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48596         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48597         in child fails because the descriptor is already closed.
48598         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48599         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48600         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48602         [BZ #12397]
48603         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48604         syscall.
48606         [BZ #10484]
48607         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48608         temporary buffer used to handle multi lookups locally.
48609         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48611 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48613         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48614         loader is ld.so.
48616 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48618         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48619         alignment for SSE2.
48621 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48623         [BZ #12394]
48624         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48625         characters.  When rounding increased number of integer digits recompute
48626         number of groups.
48627         * stdio-common/tst-grouping.c: New file.
48628         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48630 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48632         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48633         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48635         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48636         void.
48637         * bits/select.h: Likewise.
48639 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48641         * po/ja.po: Update from translation team.
48643 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48645         [BZ #11155]
48646         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48647         implementation just like for lxstat, fxstatat, et al.
48649 2010-12-27  Jim Meyering  <meyering@redhat.com>
48651         [BZ #12348]
48652         * posix/regexec.c (build_trtable): Return failure indication upon
48653         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48655 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48657         [BZ #12201]
48658         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48659         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48660         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48661         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48663         [BZ #12207]
48664         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48666         [BZ #12204]
48667         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48668         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48670 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48672         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48673         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48674         script has SORT_BY_INIT_PRIORITY.
48675         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48676         NO_CTORS_DTORS_SECTIONS is defined.
48677         * elf/soinit.c: Likewise.
48678         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48679         NO_CTORS_DTORS_SECTIONS is defined.
48680         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48681         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48682         * sysdeps/sh/init-first.c: Likewise.
48683         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48685 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48687         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48688         always use the slow path.
48690 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48692         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48693         similar rule which adds the sysdep directories to the header search in
48694         order to pick up the correct platform stackinfo.h.
48695         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48696         perform test if it is, otherwise return successfully without testing.
48697         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48698         DEFAULT_STACK_PERMS define in stackinfo.h.
48699         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48700         defined in stackinfo.h.
48701         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48702         DEFAULT_STACK_PERMS defined in stackinfo.h.
48703         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48704         * sysdeps/ia64/stackinfo.h: Likewise.
48705         * sysdeps/s390/stackinfo.h: Likewise.
48706         * sysdeps/sh/stackinfo.h: Likewise.
48707         * sysdeps/sparc/stackinfo.h: Likewise.
48708         * sysdeps/x86_64/stackinfo.h: Likewise.
48709         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48710         PF_X for powerpc64.  Retain PF_X for powerpc32.
48712 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48714         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48715         accurately.
48716         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48717         GETDENTS_64BIT_ALIGNED.
48719 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48721         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48723 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48725         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48726         _GNU_SOURCE.
48728         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48729         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48730         Remove __restrict.
48731         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48732         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48734 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48736         [BZ #11655]
48737         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48738         are initialized.
48740 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48742         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48744 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48746         * po/it.po: Update from translation team.
48748 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48750         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48751         unused codes.
48753 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48755         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48757 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48759         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48760         specially.
48761         (gaih_getanswer_slice): Likewise.
48763 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48765         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48767 2010-05-31  Petr Baudis  <pasky@suse.cz>
48769         [BZ #11149]
48770         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48771         silently even in the chroot mode.
48773 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48775         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48776         last patch a bit.  Pretty printing
48778 2010-05-31  Petr Baudis <pasky@suse.cz>
48780         [BZ #10085]
48781         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48782         initialization of skip_initgroups_dyn.
48784 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48786         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48787         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48789 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48791         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48793 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48795         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48796         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48797         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48798         ($(objpfx)tst-fnmatch-mem): New rule.
48799         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48800         * posix/tst-fnmatch.c (main): Call mtrace.
48802 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48805         Support Intel processor model 6 and model 0x2c.
48807 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48809         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48810           signed comparison.
48812 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48814         [BZ #12205]
48815         * string/test-strncasecmp.c (check_result): New function.
48816         (do_one_test): Use it.
48817         (check1): New function.
48818         (test_main): Use it.
48819         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48820         Support strcasecmp and strncasecmp.
48822 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48824         [BZ #12194]
48825         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48826         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48828 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48830         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48831         IFUNC support.
48832         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48833         memset-x86-64.
48834         * sysdeps/x86_64/multiarch/bzero.S: New file.
48835         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48836         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48837         * sysdeps/x86_64/multiarch/memset.S: New file.
48838         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48840         Set bit_Prefer_SSE_for_memop for Intel processors.
48841         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48842         Define.
48843         (index_Prefer_SSE_for_memop): Define.
48844         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48846 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48848         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48849         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48851 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48853         [BZ #12191]
48854         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48855         (__x86_64_raw_data_cache_size_half): Likewise.
48856         (__x86_64_raw_shared_cache_size): Likewise.
48857         (__x86_64_raw_shared_cache_size_half): Likewise.
48859         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48860         (__x86_64_raw_data_cache_size_half): Likewise.
48861         (__x86_64_raw_shared_cache_size): Likewise.
48862         (__x86_64_raw_shared_cache_size_half): Likewise.
48863         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48864         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48865         and __x86_64_raw_shared_cache_size_half.  Round
48866         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48867         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48868         to multiple of 256 bytes.
48870 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48872         [BZ #12167]
48873         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48874         of inacessible symlinks.  Verify result of symlink before returning it.
48875         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48876         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48878 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48880         * math/math.h (isinf): Fix typo in comment.
48882 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48884         * po/da.po: Update from translation team.
48886 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48888         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48889         is added to the list.
48891 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48892             Ulrich Drepper  <drepper@gmail.com>
48894         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48895         the global list here.  Move code to...
48896         (_dl_add_to_namespace_list): ...here.  New function.
48897         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48898         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48899         * elf/dl-load.c (lose): Don't remove the element from the list.
48900         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48901         (_dl_map_object): Likewise.
48903 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48905         [BZ #12159]
48906         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48907         into all bytes of SSE register.
48908         Patch by Richard Li <richardpku@gmail.com>.
48910 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48912         [BZ #12140]
48913         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48914         perturbing.
48916 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48918         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48919         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48920         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48921         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48923         submachine.
48924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48926 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48928         * include/dlfcn.h (__RTLD_SECURE): Define.
48929         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48930         mode & __RTLD_SECURE instead.
48931         (open_path): Rename preloaded parameter to secure.
48932         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48933         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48934         * elf/dl-deps.c (openaux): Likewise.
48935         * elf/rtld.c (struct map_args): Remove is_preloaded.
48936         (map_doit): Don't use it.
48937         (dl_main): Likewise.
48938         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48939         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48941 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48943         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48944         (sysd-rules-targets): Remove duplicates.
48945         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48946         rtld-%.$o dependency.
48948 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48950         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48951         _dl_map_object do it.
48953 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48955         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48956         fast fma builtins, define the macros in the C99 standard.
48957         (FP_FAST_FMAF): Likewise.
48958         (FP_FAST_FMAL): Likewise.
48959         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48961         * bits/mathdef.h: Update copyright year.
48962         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48964 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48966         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48967         builtins, define the macros in the C99 standard.
48968         (FP_FAST_FMAF): Likewise.
48969         (FP_FAST_FMAL): Likewise.
48970         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48971         multiply/add.
48972         (FP_FAST_FMAF): Likewise.
48974 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48976         [BZ #3268]
48977         * math/libm-test.inc (fma_test): Some new testcases.
48978         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48979         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48980         y and infinite z.  Do multiplication by C already in long double.
48981         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48983         y and infinite z.  Do bitwise or of inexact bit into u.d.
48984         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48985         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48986         * sysdeps/i386/fpu/s_fma.S: Removed.
48987         * sysdeps/i386/fpu/s_fmal.S: Removed.
48989 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48991         [BZ #3268]
48992         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48993         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48994         computation is not scheduled after fetestexcept.  Fix value
48995         of minimum denormal long double.
48997 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48999         [BZ #3268]
49000         * math/libm-test.inc (fma_test): Add some more tests.
49001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49002         correctly.
49004 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49006         * scripts/data/localplt-s390-linux-gnu.data: New file.
49007         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49009 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49011         [BZ #3268]
49012         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49013         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49014         instead of dbl-64.
49015         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49016         inlines.
49017         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49019         if one of x and y is very large and the other is subnormal.
49020         * sysdeps/s390/fpu/s_fmaf.c: New file.
49021         * sysdeps/s390/fpu/s_fma.c: New file.
49022         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49023         * sysdeps/powerpc/fpu/s_fma.S: New file.
49024         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49025         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49026         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49028 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49030         [BZ #3268]
49031         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49032         fma tests.
49033         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49034         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49035         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49036         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49037         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49038         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49039         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49041 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49043         [BZ #12078]
49044         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49045         * posix/bug-regex31.input: Add test case.
49047 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49049         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49050         * posix/bug-regex31.input: New file.
49052         [BZ #12078]
49053         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49054         (parse_sub_exp): Fix last change, use postorder.
49056         * posix/bug-regex31.c: New file.
49057         * posix/Makefile: Add rules to build and run bug-regex31.
49059         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49061         [BZ #12078]
49062         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49064         [BZ #12108]
49065         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49066         to have entries in sys_siglist.
49068         [BZ #12093]
49069         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49070         be NULL.
49072 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49074         [BZ #3268]
49075         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49076         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49077         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49078         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49079         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49080         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49081         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49082         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49083         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49084         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49085         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49086         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49087         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49088         * math/ftestexcept.c (fetestexcept): Likewise.
49089         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49090         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49091         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49092         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49093         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49094         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49095         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49097 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49099         [BZ #12107]
49100         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49101         newline.
49103 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49105         * string/bug-strstr1.c: New file.
49106         * string/Makefile: Add rules to build and run bug-strstr1.
49108 2010-10-05  Eric Blake  <eblake@redhat.com>
49110         [BZ #12092]
49111         * string/str-two-way.h (two_way_long_needle): Always clear memory
49112         when skipping input due to the shift table.
49114 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49116         [BZ #12005]
49117         * malloc/mcheck.c: Handle large requests.
49119         [BZ #12077]
49120         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49121         for strncmp and strncasecmp.
49122         * string/stratcliff.c: Add tests for strcmp and strncmp.
49123         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49125 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49127         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49128         __set_fpscr.
49130 2010-09-30  Andreas Jaeger  <aj@suse.de>
49132         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49133         (CGROUP_SUPER_MAGIC): Define.
49134         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49135         Handle btrfs and cgroup file systems.
49136         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49137         Likewise.
49139 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49141         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49142         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49144 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49146         [BZ #12067]
49147         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49148         trying to locate the ELF header.
49150 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49152         [BZ #11611]
49153         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49154         Mask out sign-bit copies when constructing f_fsid.
49156 2010-09-24  Petr Baudis <pasky@suse.cz>
49158         * debug/stack_chk_fail_local.c: Add missing licence exception.
49159         * debug/warning-nop.c: Likewise.
49161 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49163         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49164         implementing getdents64 using getdents syscall, set d_type if
49165         __ASSUME_GETDENTS32_D_TYPE.
49167 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49169         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49170         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49172 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49174         [BZ #12037]
49175         * posix/unistd.h: Undo change of feature selection for ftruncate from
49176         2010-01-11.
49178 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49180         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49181         detection.
49183 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49185         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49186         fanotify_mark.
49187         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49189 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49191         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49192         variables after CHECK_SP call.
49193         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49195 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49196             Ulrich Drepper  <drepper@redhat.com>
49198         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49199         re-relocationg ld.so.
49200         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49201         _dl_init_paths call.
49202         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49203         here anymore.
49205 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49207         * resolv/res_init.c (__res_vinit): Count the default server we added.
49209 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49210             Ulrich Drepper  <drepper@redhat.com>
49212         [BZ #11968]
49213         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49214         (____longjmp_chk): Use %ebx for saving value across system call.
49215         Add unwind info.
49217 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49219         * manual/Makefile: Don't mix pattern rules with normal rules.
49221 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49223         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49224         operation.
49225         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49226         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49227         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49228         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49229         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49230         Likewise.
49232 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49234         [BZ #11979]
49235         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49236         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49238 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49240         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49241         * sysdeps/x86_64/addmul_1.S: Likewise.
49242         * sysdeps/x86_64/lshift.S: Likewise.
49243         * sysdeps/x86_64/mul_1.S: Likewise.
49244         * sysdeps/x86_64/rshift.S: Likewise.
49245         * sysdeps/x86_64/sub_n.S: Likewise.
49246         * sysdeps/x86_64/submul_1.S: Likewise.
49248 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49250         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49251         Define __sched_param instead of SCHED_* and sched_param when
49252         <bits/sched.h> is included with __need_schedparam defined.
49253         * bits/sched.h [__need_schedparam]
49254         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49255         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49256         (__defined_schedparam): Define to 1.
49257         (__sched_param): New structure, identical to sched_param.
49258         (__need_schedparam): Undefine.
49260 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49262         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49263         (epoll_create1): Declare.
49265         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49267 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49269         [BZ #7066]
49270         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49271         shifting retval into place.
49273 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49275         * nis/rpcsvc/nis.h: Update copyright notice.
49276         * nis/rpcsvc/nis.x: Likewise.
49277         * nis/rpcsvc/nis_callback.h: Likewise.
49278         * nis/rpcsvc/nis_callback.x: Likewise.
49279         * nis/rpcsvc/nis_object.x: Likewise.
49280         * nis/rpcsvc/nis_tags.h: Likewise.
49281         * nis/rpcsvc/yp.h: Likewise.
49282         * nis/rpcsvc/yp.x: Likewise.
49283         * nis/rpcsvc/ypupd.h: Likewise.
49284         * nis/yp_xdr.c: Likewise.
49285         * nis/ypupdate_xdr.c: Likewise.
49287         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49288         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49289         (pmap_getport): Use __libc_rpc_getport.
49290         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49291         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49292         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49294 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49297         fanotify_mark.
49299 2010-08-27  Roland McGrath  <roland@redhat.com>
49301         * sysdeps/i386/i686/multiarch/Makefile
49302         (CFLAGS-varshift.c): New variable.
49304 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49306         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49307         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49309         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49311         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49313 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49315         * sysdeps/x86_64/strlen.S: Unroll the loop.
49316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49317         strlen-sse2 strlen-sse2-bsf.
49318         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49319         __strlen_no_bsf if bit_Slow_BSF is set.
49320         (__strlen_sse42): Removed.
49321         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49322         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49324 2010-08-25  Roland McGrath  <roland@redhat.com>
49326         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49327         * sysdeps/x86_64/multiarch/varshift.c: New file.
49328         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49329         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49330         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49331         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49333 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49336         strlen-sse2 strlen-sse2-bsf.
49337         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49338         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49339         (__strlen_sse2): Removed.
49340         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49341         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49343         bit_Slow_BSF for Atom.
49344         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49345         (index_Slow_BSF): Define.
49346         (HAS_SLOW_BSF): Define.
49348 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49350         [BZ #10851]
49351         * resolv/res_init.c (__res_vinit): When no server address at all
49352         is given default to loopback.
49354 2010-08-24  Roland McGrath  <roland@redhat.com>
49356         * configure.in: Remove config-name.h generation.
49357         * configure: Regenerated.
49358         * config-name.in: File removed.
49359         * scripts/config-uname.sh: New file.
49360         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49361         ($(objdir)config-name.h): New target.
49363         * sunrpc/rpc_parse.h: Avoid nested comment.
49365 2010-08-24  Richard Henderson  <rth@redhat.com>
49366             Ulrich Drepper  <drepper@redhat.com>
49367             H.J. Lu  <hongjiu.lu@intel.com>
49369         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49370         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49371         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49372         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49373         _mm_alignr_epi8 with _mm_loadu_si128.
49374         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49375         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49376         (__m128i_shift_right): Removed.
49377         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49378         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49379         * sysdeps/x86_64/multiarch/varshift.h: New file.
49380         * sysdeps/x86_64/multiarch/varshift.S: New file.
49382 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49384         * configure.in: Move assembler checks to before sysdep dir checking.
49386 2010-08-20  Petr Baudis  <pasky@suse.cz>
49388         * LICENSES: Sync the sunrpc license.
49390 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49392         * sunrpc/auth_des.c: Update copyright notice once again.
49393         * sunrpc/auth_none.c: Likewise.
49394         * sunrpc/auth_unix.c: Likewise.
49395         * sunrpc/authdes_prot.c: Likewise.
49396         * sunrpc/authuxprot.c: Likewise.
49397         * sunrpc/bindrsvprt.c: Likewise.
49398         * sunrpc/clnt_gen.c: Likewise.
49399         * sunrpc/clnt_perr.c: Likewise.
49400         * sunrpc/clnt_raw.c: Likewise.
49401         * sunrpc/clnt_simp.c: Likewise.
49402         * sunrpc/clnt_tcp.c: Likewise.
49403         * sunrpc/clnt_udp.c: Likewise.
49404         * sunrpc/clnt_unix.c: Likewise.
49405         * sunrpc/des_crypt.c: Likewise.
49406         * sunrpc/des_soft.c: Likewise.
49407         * sunrpc/get_myaddr.c: Likewise.
49408         * sunrpc/getrpcport.c: Likewise.
49409         * sunrpc/key_call.c: Likewise.
49410         * sunrpc/key_prot.c: Likewise.
49411         * sunrpc/openchild.c: Likewise.
49412         * sunrpc/pm_getmaps.c: Likewise.
49413         * sunrpc/pm_getport.c: Likewise.
49414         * sunrpc/pmap_clnt.c: Likewise.
49415         * sunrpc/pmap_prot.c: Likewise.
49416         * sunrpc/pmap_prot2.c: Likewise.
49417         * sunrpc/pmap_rmt.c: Likewise.
49418         * sunrpc/rpc/auth.h: Likewise.
49419         * sunrpc/rpc/auth_unix.h: Likewise.
49420         * sunrpc/rpc/clnt.h: Likewise.
49421         * sunrpc/rpc/des_crypt.h: Likewise.
49422         * sunrpc/rpc/key_prot.h: Likewise.
49423         * sunrpc/rpc/netdb.h: Likewise.
49424         * sunrpc/rpc/pmap_clnt.h: Likewise.
49425         * sunrpc/rpc/pmap_prot.h: Likewise.
49426         * sunrpc/rpc/pmap_rmt.h: Likewise.
49427         * sunrpc/rpc/rpc.h: Likewise.
49428         * sunrpc/rpc/rpc_des.h: Likewise.
49429         * sunrpc/rpc/rpc_msg.h: Likewise.
49430         * sunrpc/rpc/svc.h: Likewise.
49431         * sunrpc/rpc/svc_auth.h: Likewise.
49432         * sunrpc/rpc/types.h: Likewise.
49433         * sunrpc/rpc/xdr.h: Likewise.
49434         * sunrpc/rpc_clntout.c: Likewise.
49435         * sunrpc/rpc_cmsg.c: Likewise.
49436         * sunrpc/rpc_common.c: Likewise.
49437         * sunrpc/rpc_cout.c: Likewise.
49438         * sunrpc/rpc_dtable.c: Likewise.
49439         * sunrpc/rpc_hout.c: Likewise.
49440         * sunrpc/rpc_main.c: Likewise.
49441         * sunrpc/rpc_parse.c: Likewise.
49442         * sunrpc/rpc_parse.h: Likewise.
49443         * sunrpc/rpc_prot.c: Likewise.
49444         * sunrpc/rpc_sample.c: Likewise.
49445         * sunrpc/rpc_scan.c: Likewise.
49446         * sunrpc/rpc_scan.h: Likewise.
49447         * sunrpc/rpc_svcout.c: Likewise.
49448         * sunrpc/rpc_tblout.c: Likewise.
49449         * sunrpc/rpc_util.c: Likewise.
49450         * sunrpc/rpc_util.h: Likewise.
49451         * sunrpc/rpcinfo.c: Likewise.
49452         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49453         * sunrpc/rpcsvc/key_prot.x: Likewise.
49454         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49455         * sunrpc/rpcsvc/mount.x: Likewise.
49456         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49457         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49458         * sunrpc/rpcsvc/rex.x: Likewise.
49459         * sunrpc/rpcsvc/rstat.x: Likewise.
49460         * sunrpc/rpcsvc/rusers.x: Likewise.
49461         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49462         * sunrpc/rpcsvc/spray.x: Likewise.
49463         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49464         * sunrpc/rtime.c: Likewise.
49465         * sunrpc/svc.c: Likewise.
49466         * sunrpc/svc_auth.c: Likewise.
49467         * sunrpc/svc_authux.c: Likewise.
49468         * sunrpc/svc_raw.c: Likewise.
49469         * sunrpc/svc_run.c: Likewise.
49470         * sunrpc/svc_simple.c: Likewise.
49471         * sunrpc/svc_tcp.c: Likewise.
49472         * sunrpc/svc_udp.c: Likewise.
49473         * sunrpc/svc_unix.c: Likewise.
49474         * sunrpc/svcauth_des.c: Likewise.
49475         * sunrpc/xcrypt.c: Likewise.
49476         * sunrpc/xdr.c: Likewise.
49477         * sunrpc/xdr_array.c: Likewise.
49478         * sunrpc/xdr_float.c: Likewise.
49479         * sunrpc/xdr_mem.c: Likewise.
49480         * sunrpc/xdr_rec.c: Likewise.
49481         * sunrpc/xdr_ref.c: Likewise.
49482         * sunrpc/xdr_sizeof.c: Likewise.
49483         * sunrpc/xdr_stdio.c: Likewise.
49485         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49486         handling.
49488 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49490         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49492 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49494         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49495         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49496         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49497         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49498         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49499         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49500         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49501         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49502         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49503         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49504         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49505         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49506         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49507         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49509 2010-07-26  Anton Blanchard  <anton@samba.org>
49511         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49512         * malloc/arena.c (heap_trim): Likewise.
49514 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49516         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49517         here.  Not...
49518         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49519         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49521 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49523         * sysdeps/i386/elf/Makefile: New file.
49525 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49527         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49528         from fanotify_init.
49529         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49530         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49532 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49534         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49535         of strncasecmp_l.
49536         * sysdeps/multiarch/strcmp.S: Likewise.
49538 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49540         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49541         strncase_l-nonascii.
49542         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49543         Add strncase_l-ssse3.
49544         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49545         * sysdeps/x86_64/strcmp.S: Likewise.
49546         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49547         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49548         * sysdeps/x86_64/strncase.S: New file.
49549         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49550         * sysdeps/x86_64/strncase_l.S: New file.
49551         * string/Makefile (strop-tests): Add strncasecmp.
49552         * string/test-strncasecmp.c: New file.
49554         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49555         warning.
49557         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49558         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49560 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49562         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49564 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49566         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49567         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49568         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49570 2010-05-01  Alan Modra  <amodra@gmail.com>
49572         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49573         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49574         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49575         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49576         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49577         tidying.  Don't tail-call __sigjmp_save for static lib.
49578         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49579         save location.
49580         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49581         (CALL_MCOUNT): Add eh info, and nop after bl.
49582         (TAIL_CALL_SYSCALL_ERROR): New macro.
49583         (PSEUDO_RET): Use it.
49584         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49585         Correct save location of integer regs and cr.
49586         (_dl_profile_resolve): Correct cr save location.  Delete nops
49587         after bl when SHARED.  Reduce cfi size a little by better
49588         placement of cfi directives.
49589         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49590         make a stack frame.  Instead use parm save area as a temp.
49591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49592         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49594         Don't make a stack frame for parent, use parm save area.
49595         Increase child stack frame to 112 bytes.  Don't save unused reg,
49596         and adjust reg usage.  Set up cfi on error recovery and
49597         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49599         (__makecontext): Add dummy nop after jump to exit.
49600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49601         Use correct parm save area and cr save, reduce stack frame.
49602         Correct cfi for possible PSEUDO_RET frame setup.
49603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49604         Branch to local label emitted by PSEUDO_RET rather than
49605         __syscall_error.
49607 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49609         [BZ #11904]
49610         * locale/programs/locale.c (print_assignment): New function.
49611         (show_locale_vars): Use it.
49613 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49615         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49616         field.
49617         (struct statfs64): Likewise.
49618         (_STATFS_F_FLAGS): Define.
49619         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49620         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49621         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49622         (ST_VALID): Define locally.
49623         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49624         __statvfs_getflags, use the provided value.
49625         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49626         __ASSUME_STATFS_F_FLAGS.
49628         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49630         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49631         Add sys/fanotify.h.
49632         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49633         fanotify_mask for GLIBC_2.13.
49634         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49635         fanotify_init and fanotify_mark.
49636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49637         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49639         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49640         Add prlimit.
49641         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49642         prlimit64 for GLIBC_2.13.
49643         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49644         prlimit64.
49645         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49646         syscall.
49647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49648         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49649         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49650         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49651         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49652         add prlimit alias.
49653         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49655         [BZ #11903]
49656         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49657         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49659         * nss/Makefile: Add rules to build and run tst-nss-test1.
49660         * shlib-versions: Add entry for libnss_test1.
49661         * nss/nss_test1.c: New file.
49662         * nss/tst-nss-test1.c: New file.
49664         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49665         (__nss_configure_lookup): Set appropriate entry in
49666         __nss_configure_lookup to true.
49667         * nss/nsswitch.h: Define enum with indeces of databases in
49668         databases and __nss_database_custom arrays.  Declare
49669         __nss_database_custom.
49670         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49671         to avoid using nscd when custom rules are installed.
49672         * nss/getXXbyYY_r.c: Likewise.
49673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49675         * nss/nss_files/files-parse.c: Whitespace fixes.
49677 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49679         [BZ #11883]
49680         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49681         * posix/fnmatch_loop.c: Likewise.
49683 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49685         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49686         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49687         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49688         * Versions.def [GLIBC_2.13]: Add.
49690 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49692         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49693         Also fail if tpwd after pwuid call is NULL.
49695 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49697         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49698         when converting to ms.
49700 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49702         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49703         EOPNOTSUPP errors with ENOTTY.
49704         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49705         EOPNOTSUPP errors with ENOTTY.
49707 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49709         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49710         Add strcasecmp_l-ssse3.
49711         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49712         strcasecmp.
49713         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49714         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49715         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49717 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49719         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49721         * string/Makefile (strop-tests): Add strcasecmp.
49722         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49723         strcasecmp_l-nonascii.
49724         (gen-as-const-headers): Add locale-defines.sym.
49725         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49726         * sysdeps/x86_64/strcasecmp.S: New file.
49727         * sysdeps/x86_64/strcasecmp_l.S: New file.
49728         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49729         * sysdeps/x86_64/locale-defines.sym: New file.
49730         * string/test-strcasecmp.c: New file.
49732         * string/test-strcasestr.c: Test both ends of the range of characters.
49733         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49735 2010-07-29  Roland McGrath  <roland@redhat.com>
49737         [BZ #11856]
49738         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49740 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49742         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49743         for ld.so.
49745 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49747         * manual/memory.texi (Malloc Tunable Parameters): Document
49748         M_PERTURB.
49750 2010-07-26  Roland McGrath  <roland@redhat.com>
49752         [BZ #11840]
49753         * configure.in (-fgnu89-inline check): Set and substitute
49754         gnu89_inline, not libc_cv_gnu89_inline.
49755         * configure: Regenerated.
49756         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49758 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49760         * string/test-strnlen.c: New file.
49761         * string/Makefile (strop-tests): Add strnlen.
49762         * string/tester.c (test_strnlen): Add a few more test cases.
49763         * string/tst-strlen.c: Better error reporting.
49765         * sysdeps/x86_64/strnlen.S: New file.
49767 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49769         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49770         lower-latency instructions.
49772 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49774         * string/test-strcasestr.c: New file.
49775         * string/test-strstr.c: New file.
49776         * string/Makefile (strop-tests): Add strstr and strcasestr.
49777         * string/str-two-way.h: Don't undefine MAX.
49778         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49780 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49782         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49783         strcasestr-nonascii.
49784         (CFLAGS-strcasestr-nonascii.c): Define.
49785         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49786         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49787         Remove unused attribute.
49789 2010-07-20  Roland McGrath  <roland@redhat.com>
49791         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49792         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49793         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49794         like LD_HWCAP_MASK can disable hwcaps.
49796 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49798         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49800 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49802         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49803         call in strcasestr.
49804         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49805         __strcasestr_sse42_nonascii.
49806         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49807         strcasestr-nonascii.c.
49808         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49810 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49812         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49813         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49814         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49815         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49817 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49819         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49820         fcntl.
49822 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49824         [BZ #11577]
49825         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49826         dl_signal_cerror.
49828 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49830         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49831         _PC_PIPE_BUF using F_GETPIPE_SZ.
49833 2010-07-05  Roland McGrath  <roland@redhat.com>
49835         * manual/arith.texi (Rounding Functions): Fix rint description
49836         implicit in round description.
49838 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49840         * elf/Makefile: Fix linking for a few tests to make recent linker
49841         happy.
49843 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49845         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49846         $(common-objpfx)libc_nonshared.a.
49848 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49850         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49851         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49852         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49853         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49854         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49855         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49856         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49857         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49872         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49873         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49874         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49875         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49876         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49877         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49878         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49879         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49880         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49881         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49882         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49883         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49899 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49901         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49902         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49903         * string/memmove.c (memmove): Renamed to ...
49904         (MEMMOVE): ...this.  Default to memmove.
49905         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49906         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49907         (END_CHK): Define.
49908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49909         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49910         mempcpy-ssse3-back memmove-ssse3-back.
49911         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49912         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49913         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49914         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49915         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49916         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49917         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49918         * sysdeps/x86_64/multiarch/memmove.c: New file.
49919         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49920         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49921         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49922         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49923         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49924         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49925         Define.
49926         (index_Fast_Copy_Backward): Define.
49927         (HAS_ARCH_FEATURE): Define.
49928         (HAS_FAST_REP_STRING): Define.
49929         (HAS_FAST_COPY_BACKWARD): Define.
49931 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49933         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49934         Restore proper fallback handling.
49936 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49938         [BZ #11701]
49939         * posix/group_member.c (__group_member): Correct checking loop.
49941         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49942         OOM in getpwuid_r correctly.  Return error number when the caller
49943         should return, otherwise -1.
49944         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49945         call returning > 0 value.
49946         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49948 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49950         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49951         libc_nonshared.a from targets in modules-names.
49953 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49955         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49956         requires it.
49958 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49960         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49961         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49962         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49963         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49965 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49967         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49969 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49971         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49972         and F_GETPIPE_SZ.
49973         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49974         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49975         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49976         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49977         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49978         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49980 2010-06-14  Roland McGrath  <roland@redhat.com>
49982         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49984 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49986         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49987         __REDIRECT followed by __THROW.
49988         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49989         * posix/getopt.h (getopt): Likewise.
49991 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49993         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49994         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49995         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49996         in AT_FLAGS.
49997         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49998         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50000 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50002         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50004 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50006         [BZ #11640]
50007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50008         Properly check family and model.
50010 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50012         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50014 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50016         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50018 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50020         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50021         symbol reference.
50023 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50025         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50026         symbol reference.
50028 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50030         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50031         and internal_recvmmsg.
50032         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50033         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50034         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50035         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50037         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50038         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50039         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50041 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50043         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50045 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50047         POWER7 optimizations.
50048         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50049         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50051 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50053         * version.h: Update for 2.13 development version.
50055 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50057         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50058         exceptions.  Return 0.
50060 2010-05-07  Roland McGrath  <roland@redhat.com>
50062         * elf/ldconfig.c (main): Add a const.
50064 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50066         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50067         (args_options): Add no-idn option.
50068         (ahosts_keys_int): Add idn_flags to ai_flags.
50069         (parse_option): Handle 'i' option to clear idn_flags.
50071         * malloc/malloc.c (_int_free): Possible race in the most recently
50072         added check.  Only act on the data if no current modification
50073         happened.
50075 See ChangeLog.17 for earlier changes.