Update version.h and include/features.h for 2.23 release
[glibc.git] / ChangeLog
blob2e4afb705ba4222489a7f7a349100fa8616ff553
1 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * version.h (RELEASE): Set to "stable".
4         (VERSION): Set to 2.23.
5         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7         * NEWS: Updated fixed bugs.
9 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
10             Wilco Dijkstra  <wdijkstr@arm.com>
12         [BZ #19462]
13         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
14         (_STRING_INLINE_unaligned): This.
15         * include/string.h: Include <string_private.h>.
16         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17         _STRING_INLINE_unaligned.
18         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
19         (_STRING_INLINE_unaligned): New.
20         * sysdeps/aarch64/string_private.h: New file.
21         * sysdeps/generic/string_private.h: Likewise.
22         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
23         * sysdeps/s390/string_private.h: Likewise.
24         * sysdeps/x86/string_private.h: Likewise.
25         * sysdeps/m68k/m680x0/m68020/bits/string.h
26         (_STRING_ARCH_unaligned): Renamed to ...
27         (_STRING_INLINE_unaligned): This.
28         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
29         to ...
30         (_STRING_INLINE_unaligned): This.
31         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
32         to ...
33         (_STRING_INLINE_unaligned): This.
34         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
35         to ...
36         (_STRING_INLINE_unaligned): This.
38 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
39             H.J. Lu  <hongjiu.lu@intel.com>
41         [BZ #19590]
42         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
43         relocation.
45 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
47         [BZ #18665]
48         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
49         *herrno_p.
50         (gaih_getanswer): Document functional behviour. Return tryagain
51         if any result is tryagain.
52         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
53         when freed.
54         * resolv/res_send.c: Add copyright text.
55         (__libc_res_nsend): Document that MAXPACKET is expected.
56         (send_vc): Document. Remove buffer reuse.
57         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
58         size of the buffer. Add Dprint for truncated UDP buffer.
60 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
62         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
63         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
64         * INSTALL: Regenerate.
66 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
67             Jonathan Wakely  <jwakely@redhat.com>
68             Carlos O'Donell  <carlos@redhat.com>
70         [BZ 19439]
71         * math/Makefile (tests): Add test-math-isinff.
72         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
73         * math/bits/mathcalls.h [__USE_MISC]: Use
74         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
75         functions not in C++11 and which don't conflict e.g. isinff,
76         isinfl etc.
77         * math/test-math-isinff.cc: New file.
79 2016-02-12  Florian Weimer  <fweimer@redhat.com>
81         * misc/bug18240.c (do_test): Set RLIMIT_AS.
83 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
85         [BZ #19529]
86         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
88 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
90         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
92 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
94         [BZ #19550]
95         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
96         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
97         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
98         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
99         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
100         New syscall entry.
101         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
102         New syscall entry.
103         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
104         syscall entry.
106 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
108         [BZ #18240]
109         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
110         unsigned int wraparound.
112 2016-01-27  Florian Weimer  <fweimer@redhat.com>
114         [BZ #18240]
115         * misc/bug18240.c: New test.
116         * misc/Makefile (tests): Add it.
118 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
119             Joseph Myers  <joseph@codesourcery.com>
121         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
122         load in branch delay slot when less than a word of input left.
124 2016-01-27  Andreas Schwab  <schwab@suse.de>
126         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
127         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
128         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
129         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
131 2016-01-26  David S. Miller  <davem@davemloft.net>
133         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
135 2016-01-25  David S. Miller  <davem@davemloft.net>
137         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
138         __sqrtl_finite.
139         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
140         instead using versioned_symbol.
141         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
142         of entries.
144         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
145         __sqrtl_finite to GLIBC_2.23
147 2016-01-25  Ricchard Henderson  <rth@redhat.com>
149         * sysdeps/alpha/fpu/libm-test-ulps: Update.
151 2016-01-25  Andreas Schwab  <schwab@suse.de>
153         [BZ #17514]
154         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
155         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
156         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
157         * nptl/tst-mutex-errorcheck.c: New file.
159 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
161         [BZ #18560]
162         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
163         (IPCOP_semop): Likewise.
164         (IPCOP_semget): Likewise.
165         (IPCOP_semctl): Likewise.
166         (IPCOP_msgsnd): Likewise.
167         (IPCOP_msgrcv): Likewise.
168         (IPCOP_msgget): Likewise.
169         (IPCOP_msgctl): Likewise.
170         (IPCOP_shmat): Likewise.
171         (IPCOP_shmdt): Likewise.
172         (IPCOP_shmget): Likewise.
173         (IPCOP_shmctl): Likewise.
175 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
177         * string/tst-endian.c: Include <libc-internal.h>.
178         (do_test): Ignore tautological-compare warnings around
179         "htobeXX (beXXtoh (i)) != i" and
180         "htoleXX (leXXtoh (i)) != i" if-statements.
182 2016-01-24  David S. Miller  <davem@davemloft.net>
184         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
185         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
186         alias.
187         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
188         __sqrtl_finite.
190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
192 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
194         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
195         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
196         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
198 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
200         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
201         (thread_func): Use new function to simplify barrier check.
202         (do_test): Use new function to simplify checking barrier exit
203         code, and actually join the child thread.
205 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
207         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
208         semicolon.
209         (__libc_tend): Likewise.
210         (__libc_tabort): Likewise.
212 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
214         * sysdeps/nios2/libm-test-ulps: Update.
215         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
216         (__gtsf2): Likewise.
217         (__unorddf2): Likewise.
218         (__unordsf2): Likewise.
219         (__ledf2): Likewise.
221 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
223         * nis/nis_table.c (__follow_path): Disable diagnostic for
224         uninitialized variable that is a false positive for gcc 4.7.
225         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
227 2016-01-20  Roland McGrath  <roland@hack.frob.com>
229         * sysdeps/nacl/lowlevellock-futex.h
230         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
231         Always evaluate PRIVATE argument.
233 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
235         [BZ #19490]
236         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
237         (pthread_cond_broadcast): Use ENTRY/END
238         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
239         (pthread_cond_signal): Likewise
240         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
241         Likewise
242         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
243         Likewise
244         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
245         Likewise
247 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
249         * sysdeps/ieee754/dbl-64/s_finite.c
250         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
251         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
252         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
253         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
254         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
257         (__gtsf2): Add as optional for libc.so.
258         (__unordsf2): Likewise.
259         (__signbit): Remove for libc.so.
260         (__signbitl): Likewise.
262 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
264         * iconvdata/bug-iconv11.c (test_ibm93x):
265         Use %zu printf format specifier for size_t argument.
267 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
269         * math/gen-libm-test.pl (parse_ulps): Do not reduce
270         already-recorded ulps.
271         * sysdeps/arm/libm-test-ulps: Regenerated.
272         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
273         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
274         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
276 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
277             Paul Pluzhnikov  <ppluzhnikov@google.com>
279         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
280         assembler not supporting AVX-512.
282 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
284         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
286 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
288         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
289         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
291         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
293         * sysdeps/arm/libm-test-ulps: Regenerated.
295 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
297         [BZ #19451]
298         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
300 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
302         [BZ #19486]
303         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
304         * sysdeps/generic/fix-fp-int-convert-overflow.h
305         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
306         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
307         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
308         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
309         Likewise.
310         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
311         Avoid conversions to long int where inexact exceptions
312         could be raised.
313         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
314         Likewise.
315         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
316         Avoid conversions to long long int where inexact exceptions
317         could be raised.
318         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
319         Likewise.
321 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
323         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
324         * configure: Regenerated.
326 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
328         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
330 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
332         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
333         outside of comment.
335 2016-01-15  Torvald Riegel  <triegel@redhat.com>
337         * nptl/tst-barrier1.c: Add description on first line.
338         * nptl/tst-barrier2.c: Likewise.
339         * nptl/tst-barrier3.c: Likewise.
340         * nptl/tst-barrier4.c: Likewise.
341         * nptl/tst-barrier5.c: Likewise.
343 2016-01-15  Torvald Riegel  <triegel@redhat.com>
345         [BZ #18868]
346         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
348 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
351         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
352         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
353         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
354         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
355         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
356         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
357         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
358         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
359         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
360         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
362 2016-01-15  Torvald Riegel  <triegel@redhat.com>
364         [BZ #13065]
365         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
366         new implementation.
367         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
368         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
369         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
370         (BARRIER_IN_THRESHOLD): New macro.
371         * nptl/pthread_barrierattr_setpshared.c
372         (pthread_barrierattr_setpshared): Clean up.
373         * nptl/tst-barrier4.c: Correct comment.
374         * nptl/tst-barrier5.c: New file.
375         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
376         (gen-as-const-headers): Remove lowlevelbarrier.sym.
377         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
378         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
379         * nptl/lowlevelbarrier.sym: Remove.
380         * nptl/DESIGN-barrier.txt: Remove.
381         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
382         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
383         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
384         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
385         error.
386         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
387         implementation.
389 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
391         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
392         (do_child): Mask SIGRTMIN while thr is running.
394 2016-01-15  Martin Sebor  <msebor@redhat.com>
396         [BZ #19432]
397         * iconvdata/Makefile: Add bug-iconv11.
398         * iconvdata/bug-iconv11.c: New test.
399         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
400         * iconvdata/ibm933.c: Same.
401         * iconvdata/ibm935.c: Same.
402         * iconvdata/ibm937.c: Same.
403         * iconvdata/ibm939.c: Same.
405 2016-01-15  Martin Sebor  <msebor@redhat.com>
407         [BZ #19443]
408         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
409         [DEBUG] (_ufc_set_bits): Declare used.
410         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
411         [DEBUG] (print_all): Declare used.
412         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
413         operands of the ternary ?: expression to target type.
414         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
415         calling the undeclared abort.
416         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
418 2016-01-15  Martin Sebor  <msebor@redhat.com>
420         [BZ #18755]
421         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
422         warnings.
423         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
424         (__gai_create_helper_thread): Same.
425         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
426         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
427         to suppress -Wmaybe-uninitialized warnings.
429 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
431         [BZ #19465]
432         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
433         inside if.
434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
435         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
438 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
440         [BZ #19466]
441         * time/tst-mktime2.c (time_t_max): Removed.
442         (time_t_min): Likewise.
443         (TYPE_SIGNED): New.
444         (TYPE_MINIMUM): Likewise.
445         (TYPE_MAXIMUM): Likewise.
446         (TIME_T_MIN): Likewise.
447         (TIME_T_MAX): Likewise.
448         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
449         and TIME_T_MIN.
450         (do_test): Likewise.
452 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
454         [BZ #19467]
455         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
456         index_Fast_Unaligned_Load flag for Excavator family CPUs.
458 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
460         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
462 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
464         * benchtests/Makefile (PYTHON): Define.
465         (bench-func): Use $(PYTHON) to run python scripts.
466         ($(objpfx)bench-%.c): Likewise.
468 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
470         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
471         leading slash when `file_name' is "/".
473 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
475         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
476         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
477         Likewise.
478         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
479         Likewise.
480         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
481         Likewise.
482         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
483         enum constant and macro.
484         (PTRACE_SETSIGMASK): Likewise.
485         (PTRACE_SECCOMP_GET_FILTER): Likewise.
486         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
487         (PTRACE_GETSIGMASK): Likewise.
488         (PTRACE_SETSIGMASK): Likewise.
489         (PTRACE_SECCOMP_GET_FILTER): Likewise.
490         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
491         Likewise.
492         (PTRACE_SETSIGMASK): Likewise.
493         (PTRACE_SECCOMP_GET_FILTER): Likewise.
494         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
495         (PTRACE_GETSIGMASK): Likewise.
496         (PTRACE_SETSIGMASK): Likewise.
497         (PTRACE_SECCOMP_GET_FILTER): Likewise.
498         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
499         Likewise.
500         (PTRACE_SETSIGMASK): Likewise.
501         (PTRACE_SECCOMP_GET_FILTER): Likewise.
502         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
503         Likewise.
504         (PTRACE_SETSIGMASK): Likewise.
505         (PTRACE_SECCOMP_GET_FILTER): Likewise.
506         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
507         Likewise.
508         (PTRACE_SETSIGMASK): Likewise.
509         (PTRACE_SECCOMP_GET_FILTER): Likewise.
511 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
512             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
514         [BZ #19439]
515         * math/bits/mathcalls.h
516         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
517         prototype.
518         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
520 2016-01-11  Andreas Schwab  <schwab@suse.de>
522         [BZ #19253]
523         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
524         cache when TZDEFRULES was used.
525         * time/tst-tzname.c: New file.
526         * time/Makefile (test): Add tst-tzname.
527         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
528         * timezone/Makefile (test-zones): Add $(posixrules-file).
529         ($(testdata)/$(posixrules-file)): New rule.
531 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
533         Fix doc quoting problems with Texinfo 5
534         Without this change, in the info file output, Texinfo 5 quotes code
535         in text with undirected single quotes 'like this' and generates
536         code examples that with many PDF readers cannot be cut out of PDFs
537         and pasted into code.
538         * manual/libc.texinfo: Configure the libc manual like the GNU
539         Emacs manual, by using @documentencoding and setting
540         txicodequoteundirected and txicodequotebacktick.  This way,
541         Texinfo 5 quotes code in text with directed single quotes ‘like
542         this’ and produces examples that can be cut out of PDFs.  This
543         change causes Texinfo 5 to generate info files that contain UTF-8
544         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
545         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
547 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
549         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
550         __libc_tabort, __libc_tend): New wrappers that enforce compiler
551         barriers to their respective compiler built-ins.
552         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
553         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
554         * sysdeps/powerpc/sysdep.h: Likewise.
555         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
556         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
557         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
559 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
561         * scripts/config.guess: Revert previous shebang change.
562         * scripts/config.sub: Likewise.
563         * scripts/mkinstalldirs: Likewise.
565 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
567         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
568         PPC_FEATURE2_HAS_IEEE128.
569         * sysdeps/powerpc/dl-procinfo.c:
570         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
572 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
574         [BZ #19415]
575         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
576         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
577         (_dl_lookup_address): Rewrite using function resolver trampoline.
578         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
579         two bits in address.
581 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
583         * longlong.h: Change !__SHMEDIA__ to
584         (!defined (__SHMEDIA__) || !__SHMEDIA__).
585         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
587 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
588             Joseph Myers  <joseph@codesourcery.com>
589             Mark Shinwell  <shinwell@codesourcery.com>
590             Andrew Stubbs  <ams@codesourcery.com>
591             Rich Felker <dalias@libc.org>
593         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
595 2016-01-07  Richard Henderson  <rth@redhat.com>
597         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
599 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
601         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
602         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
603         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
604         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
605         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
607 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
608             Joseph Myers  <joseph@codesourcery.com>
610         * timezone/private.h: Update from tzcode 2015g.
611         * timezone/tzfile.h: Likewise.
612         * timezone/tzselect.ksh: Likewise.
613         * timezone/zdump.c: Likewise.
614         * timezone/zic.c: Likewise.
615         * timezone/ialloc.c: Remove file.
616         * timezone/scheck.c: Likewise.
617         * timezone/Makefile (extra-objs): Remove variable.
618         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
619         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
620         -Wno-maybe-uninitialized.
621         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
622         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
623         (CFLAGS-ialloc.c): Remove variable.
624         (CFLAGS-scheck.c): Likewise.
625         * timezone/README: Update list of files from tzcode.
627 2016-01-07  Khem Raj  <raj.khem@gmail.com>
629         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
630         instead of __fxprintf when _LIBC is undefined.
632 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
634         * catgets/test-gencat.sh: Remove space after shebang.
635         * conform/GlibcConform.pm: Likewise.
636         * conform/check-header-lists.sh: Likewise.
637         * conform/conformtest.pl: Likewise.
638         * conform/linknamespace.pl: Likewise.
639         * conform/list-header-symbols.pl: Likewise.
640         * debug/catchsegv.sh: Likewise.
641         * elf/genrtldtbl.awk: Likewise.
642         * elf/tst-pathopt.sh: Likewise.
643         * elf/tst-rtld-load-self.sh: Likewise.
644         * grp/tst_fgetgrent.sh: Likewise.
645         * iconvdata/gen-8bit-gap-1.sh: Likewise.
646         * iconvdata/gen-8bit-gap.sh: Likewise.
647         * iconvdata/gen-8bit.sh: Likewise.
648         * iconvdata/run-iconv-test.sh: Likewise.
649         * intl/tst-gettext.sh: Likewise.
650         * intl/tst-gettext2.sh: Likewise.
651         * intl/tst-gettext4.sh: Likewise.
652         * intl/tst-gettext6.sh: Likewise.
653         * intl/tst-translit.sh: Likewise.
654         * io/ftwtest-sh: Likewise.
655         * libio/test-freopen.sh: Likewise.
656         * locale/gen-translit.pl: Likewise.
657         * malloc/tst-mtrace.sh: Likewise.
658         * manual/check-safety.sh: Likewise.
659         * manual/libc-texinfo.sh: Likewise.
660         * manual/tsort.awk: Likewise.
661         * manual/xtract-typefun.awk: Likewise.
662         * nptl/tst-cancel-wrappers.sh: Likewise.
663         * nptl/tst-tls6.sh: Likewise.
664         * posix/globtest.sh: Likewise.
665         * posix/tst-getconf.sh: Likewise.
666         * posix/wordexp-tst.sh: Likewise.
667         * scripts/check-c++-types.sh: Likewise.
668         * scripts/check-local-headers.sh: Likewise.
669         * scripts/config.guess: Likewise.
670         * scripts/config.sub: Likewise.
671         * scripts/cpp: Likewise.
672         * scripts/cross-test-ssh.sh: Likewise.
673         * scripts/documented.sh: Likewise.
674         * scripts/evaluate-test.sh: Likewise.
675         * scripts/gen-libc-abis: Likewise.
676         * scripts/gen-sorted.awk: Likewise.
677         * scripts/list-fixed-bugs.py: Likewise.
678         * scripts/merge-test-results.sh: Likewise.
679         * scripts/mkinstalldirs: Likewise.
680         * scripts/rellns-sh: Likewise.
681         * scripts/test-installation.pl: Likewise.
682         * scripts/update-copyrights: Likewise.
683         * stdio-common/tst-printf.sh: Likewise.
684         * stdio-common/tst-unbputc.sh: Likewise.
685         * stdlib/tst-fmtmsg.sh: Likewise.
686         * stdlib/tst-setcontext3.sh: Likewise.
687         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
688         * sysdeps/unix/make-syscalls.sh: Likewise.
690 2016-01-06  John David Anglin  <dave.anglin@bell.net>
692         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
693         asm stw with atomic_exchange_rel.  Add explanatory comment.
694         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
695         Likewise.
697 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
699         [BZ #19122]
700         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
701         * sysdeps/generic/dl-unistd.h: New file.
702         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
704 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
706          [BZ #19122]
707          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
708          * sysdeps/generic/dl-mman.h: New file.
709          * sysdeps/mach/hurd/dl-mman.h: Likewise.
711 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
713         * manual/texinfo.tex: Update to version 2016-01-04.21 with
714         trailing whitespace removed.
715         * scripts/config.guess: Update to version 2016-01-01.
716         * scripts/config.sub: Update to version 2016-01-01.
717         * scripts/move-if-change: Update from gnulib.
719 2016-01-04  Anton Blanchard  <anton@samba.org>
721         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
722         for array indices.
723         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
725 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
727         * NEWS: Update copyright dates.
728         * catgets/gencat.c (print_version): Likewise.
729         * csu/version.c (banner): Likewise.
730         * debug/catchsegv.sh: Likewise.
731         * debug/pcprofiledump.c (print_version): Likewise.
732         * debug/xtrace.sh (do_version): Likewise.
733         * elf/ldconfig.c (print_version): Likewise.
734         * elf/ldd.bash.in: Likewise.
735         * elf/pldd.c (print_version): Likewise.
736         * elf/sotruss.sh: Likewise.
737         * elf/sprof.c (print_version): Likewise.
738         * iconv/iconv_prog.c (print_version): Likewise.
739         * iconv/iconvconfig.c (print_version): Likewise.
740         * locale/programs/locale.c (print_version): Likewise.
741         * locale/programs/localedef.c (print_version): Likewise.
742         * login/programs/pt_chown.c (print_version): Likewise.
743         * malloc/memusage.sh (do_version): Likewise.
744         * malloc/memusagestat.c (print_version): Likewise.
745         * malloc/mtrace.pl: Likewise.
746         * manual/libc.texinfo: Likewise.
747         * nptl/version.c (banner): Likewise.
748         * nscd/nscd.c (print_version): Likewise.
749         * nss/getent.c (print_version): Likewise.
750         * nss/makedb.c (print_version): Likewise.
751         * posix/getconf.c (main): Likewise.
752         * scripts/test-installation.pl: Likewise.
753         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
755         * All files with FSF copyright notices: Update copyright dates
756         using scripts/update-copyrights.
757         * intl/plural.c: Regenerated.
758         * locale/programs/charmap-kw.h: Likewise.
759         * locale/programs/locfile-kw.h: Likewise.
761 2016-01-02  Helge Deller  <deller@gmx.de>
763         [BZ #19285]
764         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
765         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
766         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
767         (MADV_xxK_PAGES): Remove.
769 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
771         [BZ #15421]
772         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
773         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
774         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
775         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
777 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
779         [BZ #19408]
780         * sysdeps/unix/sysv/linux/personality.c: New file.
781         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
782         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
783         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
784         (sysdep_routines): Add personality.
785         (tests): Add tst-personality.
786         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
787         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
788         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
789         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
790         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
791         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
792         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
793         Likewise.
794         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
795         Likewise.
796         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
797         Likewise.
798         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
799         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
800         Likewise.
802 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
804         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
805         (PATH_ARM_SYSTYPE): Remove.
806         (PATH_CPUINFO): Likewise.
807         (IO_BASE_FOOTBRIDGE): Likewise.
808         (IO_SHIFT_FOOTBRIDGE): Likewise.
809         (struct platform): Likewise.
810         (init_iosys): Remove compatibility code for 2.4 kernels.
811         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
813 2015-12-29  Florian Weimer  <fweimer@redhat.com>
815         * malloc/tst-malloc-thread-fail.c: New file.
816         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
817         (tst-malloc-thread-fail): Link against libpthread.
819 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
821         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
822         (get_parser): New function.
823         (main): New function.
825 2015-12-29  Rob Wu  <rob@robwu.nl>
827         [BZ #19369]
828         * resolv/res_init.c (__res_vinit): Reset defdname before use.
830 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
832         [BZ #19270]
833         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
835 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
837         [BZ #15421]
838         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
840 2015-12-23  Torvald Riegel  <triegel@redhat.com>
842         [BZ #13690]
843         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
844         after releasing it.
845         (__lll_robust_unlock): Likewise.
846         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
847         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
848         (lll_robust_unlock): Likewise.
849         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
850         Prevent warnings in callers.
852 2015-12-23  Florian Weimer  <fweimer@redhat.com>
854         * malloc/arena.c (list_lock): Update comment.
856 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
858         * sysdeps/powerpc/hwcapinfo.c: Export symbol
859         __parse_hwcap_and_convert_at_platform to libc.a.
861 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
863         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
864         platform and feature support for POWER9.
865         * sysdeps/powerpc/dl-procinfo.h: Likewise.
866         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
867         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
868         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
869         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
870         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
871         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
872         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
874 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
876         Harmonize generic stdio-lock support with nptl
878         This fixes build when _IO_funlockfile is a macro, fixes build where
879         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
880         stack unwind.
882         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
883         _IO_release_lock ): Use cleanup attribute on new
884         _IO_acquire_lock_file variable instead of assuming that
885         _IO_release_lock will be called.
886         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
887         _IO_acquire_lock_needs_exceptions_enabled.
888         (_IO_acquire_lock_clear_flags2): New macro.
890 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
892         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
894 2015-12-21  Florian Weimer  <fweimer@redhat.com>
896         [BZ #19182]
897         * malloc/arena.c (list_lock): Document lock ordering requirements.
898         (free_list_lock): New lock.
899         (ptmalloc_lock_all): Comment on free_list_lock.
900         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
901         (detach_arena): Update comment.  free_list_lock is now needed.
902         (_int_new_arena): Use free_list_lock around detach_arena call.
903         Acquire arena lock after list_lock.  Add comment, including FIXME
904         about incorrect synchronization.
905         (get_free_list): Switch to free_list_lock.
906         (reused_arena): Acquire free_list_lock around detach_arena call
907         and attached threads counter update.  Add two FIXMEs about
908         incorrect synchronization.
909         (arena_thread_freeres): Switch to free_list_lock.
910         * malloc/malloc.c (struct malloc_state): Update comments to
911         mention free_list_lock.
913 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
915         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
916         Remove functions.
917         (sloww, sloww1): Accept argument to offset quadrant.
918         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
919         quadrant.
920         (__sin, __cos): Consolidate common code into new functions.
921         (reduce_sincos_1, do_sincos_1): New functions.
922         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
924         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
925         code to new functions.
926         (reduce_sincos_2, do_sincos_2): New functions.
927         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
929         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
930         common code for sincos.
931         (__cos) [!IN_SINCOS]: Likewise.
932         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
933         New function.
934         (__sincos): Use it.
936 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
938         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
939         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
940         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
942 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
944         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
947         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
948         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
949         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
950         index_Prefer_No_VZEROUPPER): New feature.
951         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
952         Prefer_No_VZEROUPPER for Knights Landing.
954 015-12-18  Torvald Riegel  <triegel@redhat.com>
956         * math/atest-exp2.c (mp_exp_m1): Remove.
958 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
960         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
961         syscalls.
962         (__SYSCALL0): New macro.
963         (__SYSCALL1): Likewise.
964         (__SYSCALL2): Likewise.
965         (__SYSCALL3): Likewise.
966         (__SYSCALL4): Likewise.
967         (__SYSCALL5): Likewise.
968         (__SYSCALL6): Likewise.
969         (__SYSCALL_CONCAT_X): Likewise.
970         (__SYSCALL_CONCAT): Likewise.
971         (__SYSCALL_DIST): Likewise.
972         (__SYSCALL_CALL): Likewise.
974 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
976         [BZ #19363]
977         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
979 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
981         [BZ #19375]
982         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
983         negative subnormals.
985 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
988         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
989         (INTERNAL_SYSCALL_NCS): Use it.
990         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
992 2015-12-16  Florian Weimer  <fweimer@redhat.com>
994         [BZ #19243]
995         * malloc/arena.c (get_free_list): Remove assert and adjust
996         reference count handling.  Add comment about reused_arena
997         interaction.
998         (reused_arena): Add comments abount get_free_list interaction.
999         * malloc/tst-malloc-thread-exit.c: New file.
1000         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1001         (tst-malloc-thread-exit): Link against libpthread.
1003 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1005         [BZ #19367]
1006         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1007         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1008         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1009         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1010         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1012 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1014         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1015         Silvermont optimizations for Knights Landing.
1017 2015-12-15  Andreas Schwab  <schwab@suse.de>
1019         [BZ #17197]
1020         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1021         immediately after emitting SI.
1022         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1023         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1024         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1025         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1026         * iconvdata/bug-iconv10.c: New file.
1027         * iconvdata/Makefile (tests): Add bug-iconv10.
1028         ($(objpfx)bug-iconv10.out): New rule.
1030 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1032         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1033         aliasing violation.
1035 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1037         [BZ #18472]
1038         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1039         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1040         conditionals for them.
1041         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1042         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1044         sys/kdaemon.h.
1045         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1046         compat-only syscall, obsoleted in glibc 2.23.
1047         (create_module): Likewise.
1048         (get_kernel_syms): Likewise.
1049         (query_module): Likewise.
1050         (uselib): Likewise.
1051         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1053 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1055         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1056         <linux/version.h>.
1057         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1058         conditional code.
1059         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1060         and ioshift_name initialization.
1062 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1064         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1065         Fix indentation.
1067 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1069         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1071 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1073         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1075 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1076             Jakub Wilk  <jwilk@debian.org>
1078         [BZ #19347]
1079         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1080         to change the group of the device to the tty group.
1082 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1084         Split large string section; add truncation advice
1085         * manual/examples/strncat.c: Remove.
1086         This example was misleading, as the code would have undefined
1087         behavior if "hello" was longer than SIZE.  Anyway, the manual
1088         shouldn't encourage strncpy+strncat for this sort of thing.
1089         * manual/string.texi (Copying Strings and Arrays): Split into
1090         three sections Copying Strings and Arrays, Concatenating Strings,
1091         and Truncating Strings, as this section was way too long.  All
1092         cross-referenced changed.  Add advice about string-truncation
1093         functions.  Remove misleading strncat example.
1095 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1097         * manual/nss.texi (NSS Modules Interface): Document
1098         NSS_STATUS_NOTFOUND and SUCCESS.
1100 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1102         [BZ 18568]
1103         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1104         201505L, for Unicode 8.
1106 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1108         * locale/C-translit.h: Regenerate.
1110 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1112         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1113         and U+0153.
1115 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1117         [BZ #19351]
1118         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1119         expanding log(1+z), compare z rather than its square with epsilon
1120         to determine when to avoid evaluating the expansion.
1122         [BZ #19350]
1123         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1124         Increase overflow threshold.
1126         [BZ #19349]
1127         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1128         when small.
1130         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1131         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1132         New macro.
1133         [__LINUX_KERNEL_VERSION >= 0x040300]
1134         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1136         Likewise.
1137         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1138         Likewise.
1139         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1140         Likewise.
1141         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1142         Likewise.
1143         [__LINUX_KERNEL_VERSION >= 0x040300]
1144         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1145         [__LINUX_KERNEL_VERSION >= 0x040300]
1146         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1147         [__LINUX_KERNEL_VERSION >= 0x040300]
1148         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1149         [__LINUX_KERNEL_VERSION >= 0x040300]
1150         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1151         [__LINUX_KERNEL_VERSION >= 0x040300]
1152         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1153         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1154         Likewise.
1155         [__LINUX_KERNEL_VERSION >= 0x040300]
1156         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1157         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1158         Likewise.
1159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1160         Likewise.
1161         [__LINUX_KERNEL_VERSION >= 0x040300]
1162         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1163         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1164         Likewise.
1165         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1166         Likewise.
1167         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1168         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1169         Likewise.
1170         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1171         Likewise.
1172         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1173         Likewise.
1174         [__LINUX_KERNEL_VERSION >= 0x040300]
1175         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1177         Likewise.
1178         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1179         Likewise.
1180         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1181         Likewise.
1182         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1183         Likewise.
1184         [__LINUX_KERNEL_VERSION >= 0x040300]
1185         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1186         [__LINUX_KERNEL_VERSION >= 0x040300]
1187         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1188         [__LINUX_KERNEL_VERSION >= 0x040300]
1189         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1190         [__LINUX_KERNEL_VERSION >= 0x040300]
1191         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1192         [__LINUX_KERNEL_VERSION >= 0x040300]
1193         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1194         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1195         Likewise.
1196         [__LINUX_KERNEL_VERSION >= 0x040300]
1197         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1198         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1199         Likewise.
1200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1201         Likewise.
1202         [__LINUX_KERNEL_VERSION >= 0x040300]
1203         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1204         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1205         Likewise.
1206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1207         Likewise.
1208         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1209         (__ASSUME_SOCKET_SYSCALL): Likewise.
1210         (__ASSUME_BIND_SYSCALL): Likewise.
1211         (__ASSUME_CONNECT_SYSCALL): Likewise.
1212         (__ASSUME_LISTEN_SYSCALL): Likewise.
1213         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1214         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1215         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1216         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1217         (__ASSUME_SEND_SYSCALL): Likewise.
1218         (__ASSUME_SENDTO_SYSCALL): Likewise.
1219         (__ASSUME_RECV_SYSCALL): Likewise.
1220         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1221         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1222         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1223         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1224         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1225         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1226         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1227         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1228         Likewise.
1229         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1230         Likewise.
1231         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1232         Likewise.
1233         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1234         Likewise.
1235         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1236         Likewise.
1237         [__LINUX_KERNEL_VERSION >= 0x020625]
1238         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1239         [__LINUX_KERNEL_VERSION >= 0x020625]
1240         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1241         [__LINUX_KERNEL_VERSION >= 0x020625]
1242         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1243         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1244         Likewise.
1245         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1246         Likewise.
1247         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1248         Likewise.
1249         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1250         Likewise.
1251         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1252         Likewise.
1253         [__LINUX_KERNEL_VERSION >= 0x020625]
1254         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1255         [__LINUX_KERNEL_VERSION >= 0x020625]
1256         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1257         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1258         Likewise.
1259         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1260         Likewise.
1262 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1264         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1265         record the current if the current ABI and CPU support the FP64
1266         extension.
1267         (has-modd-spreg): Define to record the current if the current ABI and
1268         CPU support 32-bit floating point values in odd FPU registers.
1269         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1270         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1271         $(has-modd-spreg) equals yes.
1272         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1273         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1274         $(has-modd-spreg) equal yes.
1276 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1278         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1279         basename.
1281 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1283         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1284         (bench-string): ... here.
1285         (bench): Add bench-string.
1286         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1287         to *-benchset to reflect what they are.
1288         (benchset): Adjust.
1290         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1291         cos-inputs.
1293 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1295         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1296         __attribute__ ((__simd__)) for vector math function declarations.
1298 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1300         Fix typo in strncat, wcsncat manual entries
1301         * manual/string.texi (Copying and Concatenation): Fix typos in
1302         sample implementations of strncat and wcsncat, by having them use
1303         the old value of the destination length, not the new one.
1305 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1307         [BZ #16961]
1308         [BZ #16962]
1309         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1310         string on the stack for strtod.
1311         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1312         a string on the stack for strtof.
1313         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1314         constructing a string on the stack for strtold.
1315         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1316         __strtold_nan to GLIBC_PRIVATE.
1317         * math/test-nan-overflow.c: New file.
1318         * math/test-nan-payload.c: Likewise.
1319         * math/Makefile (tests): Add test-nan-overflow and
1320         test-nan-payload.
1322 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1324         Consistency about byte vs character in string.texi
1325         * manual/string.texi (String and Array Utilities):
1326         Distinguish more carefully among bytes, multibyte characters,
1327         and wide characters.  Use "byte" when talking about C 'char',
1328         to distinguish it more clearly from multibyte characters.
1329         Say "wide character" or "multibyte character" instead of
1330         "character", when a wide or multibyte character is intended.
1331         Similarly for "multibyte string" versus "string".
1332         Define these terms more carefully.
1334 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1336         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1337         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1338         Likewise.
1339         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1340         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1341         * sysdeps/sh/math_private.h: New file.
1342         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1343         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1344         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1345         long double function name.
1346         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1347         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1348         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1349         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1350         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1352         Remove __finitel, __isinfl, and __isnanl.
1353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1357         Remove __finitel.
1358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1359         Likewise.
1360         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1362 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1364         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1365         installed libmvec_nonshared.a.
1367 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1369         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1370         (sysdep_routines): Likewise.
1371         (sysdep-rtld-routines): Likewise.
1372         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1373         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1374         * sysdeps/powerpc/Versions: Added new
1375         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1376         * sysdeps/powerpc/hwcapinfo.c: New file.
1377         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1378         and parse hwcap, hwcap2 and platform number information.
1379         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1380         to store HWCAP+HWCAP2 and platform number.
1381         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1382         for HWCAP+HWCAP2 and platform number in the TCB.
1383         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1384         the HWCAP, HWCAP2 and platform number in the TCB.
1385         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1386         (TLS_INIT_TP): Included calls to add the hwcap and
1387         at_platform values in the TCB in TP initialization.
1388         (TLS_DEFINE_INIT_TP): Likewise.
1389         (THREAD_GET_HWCAP): New macro.
1390         (THREAD_SET_HWCAP): Likewise.
1391         (THREAD_GET_AT_PLATFORM): Likewise.
1392         (THREAD_SET_AT_PLATFORM): Likewise.
1393         * sysdeps/powerpc/powerpc32/dl-machine.h:
1394         (dl_platform_init): New function that calls
1395         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1396         powerpc32.
1397         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1398         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1399         this functionality, static linking case.
1400         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1401         linking case.
1402         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1403         __parse_hwcap_and_convert_at_platform for the static linking case.
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1405         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1406         ABI list for GLIBC 2.23.
1407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1408         Likewise.
1409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1410         Likewise.
1412 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1414         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1415         * configure: Regenerate.
1416         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1417         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1419 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1421         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1422         * iconvdata/ibm933.c: Likewise.
1423         * iconvdata/ibm935.c: Likewise.
1424         * iconvdata/ibm937.c: Likewise.
1425         * iconvdata/ibm939.c: Likewise.
1427 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1429         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1430         pthread_join.
1431         * nptl/tst-cancel21.c (tf): Likewise.
1433 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1435         [BZ #19313]
1436         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1437         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1438         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1439         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1440         Likewise.
1441         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1442         Likewise.
1443         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1444         Likewise.
1445         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1446         Likewise.
1447         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1448         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1449         unsigned long int with __CPU_MASK_TYPE.
1451 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1453         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1455 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1457         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1458         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1459         t512.x.
1460         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1462 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1464         [BZ #19214]
1465         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1466         argument to return extended model.  Update family and model
1467         with extended family and model when family == 0x0f.
1468         (init_cpu_features): Updated.
1470 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1472         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1473         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1475         * sysdeps/mach/hurd/mmap64.c: New file.
1477 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1479         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1480         rights for its main user thread in NEWTASK.
1482 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1484         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1485         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1487 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1489         [BZ #14259]
1490         * Makeconfig: Rename localedir to complocaledir.
1491         Rename inst_localedir to inst_complocaledir.
1492         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1493         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1494         * configure.ac: Use libc_cv_complocaledir.
1495         * configure: Regenerate.
1496         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1497         -DCOMPLOCALEDIR.
1498         * locale/findlocale.c: Use COMPLOCALEDIR.
1499         * locale/loadarchive.c: Likewise.
1500         * locale/programs/locale.c: Likewise.
1501         * locale/programs/localedef.c: Likewise.
1502         * locale/programs/locarchive.c: Likewise.
1503         * localedata/Makefile: Use inst_complocaledir.
1504         * sysdeps/gnu/configure: Regenerate.
1505         * sysdeps/hppa/configure: Regenerate.
1506         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1507         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1509         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1510         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1511         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1512         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1514 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1516         [BZ #19058]
1517         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1518         AS_NEEDED.
1519         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1520         workaround.
1521         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1522         libmvec-static-only-routines): Added new file.
1523         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1525 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1527         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1528         of interrupted RPC instead of restoring it.
1530         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1531         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1532         libc_hidden_def.
1533         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1534         into initialized data instead of common. Define rtld_hidden_data_def.
1535         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1536         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1537         libc_hidden_def.
1538         (if_freenameindex): Add libc_hidden_weak.
1539         (if_nameindex): Add libc_hidden_weak.
1540         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1541         __open64.
1542         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1543         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1544         * sysdeps/mach/nanosleep.c: Include <time.h>
1545         (__nanosleep): Rename to __libc_nanosleep.
1546         (__nanosleep): Add weak_alias.
1547         (nanosleep): Update alias.
1549 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1551         * stdlib/strtod_nan.c: New file.
1552         * stdlib/strtod_nan_double.h: Likewise.
1553         * stdlib/strtod_nan_float.h: Likewise.
1554         * stdlib/strtod_nan_main.c: Likewise.
1555         * stdlib/strtod_nan_narrow.h: Likewise.
1556         * stdlib/strtod_nan_wide.h: Likewise.
1557         * stdlib/strtof_nan.c: Likewise.
1558         * stdlib/strtold_nan.c: Likewise.
1559         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1560         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1561         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1562         * wcsmbs/wcstod_nan.c: Likewise.
1563         * wcsmbs/wcstof_nan.c: Likewise.
1564         * wcsmbs/wcstold_nan.c: Likewise.
1565         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1566         strtold_nan.
1567         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1568         wcstof_nan.
1569         * include/stdlib.h (__strtof_nan): Declare and use
1570         libc_hidden_proto.
1571         (__strtod_nan): Likewise.
1572         (__strtold_nan): Likewise.
1573         (__wcstof_nan): Likewise.
1574         (__wcstod_nan): Likewise.
1575         (__wcstold_nan): Likewise.
1576         * include/wchar.h (____wcstoull_l_internal): Declare.
1577         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1578         (____strtoull_l_internal): Remove declaration.
1579         (STRTOF_NAN): Define macro.
1580         (SET_MANTISSA): Remove macro.
1581         (STRTOULL): Likewise.
1582         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1583         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1584         (STRTOF_NAN): Define macro.
1585         (SET_MANTISSA): Remove macro.
1586         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1587         (SET_MANTISSA): Remove macro.
1588         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1589         macro.
1590         (SET_MANTISSA): Remove macro.
1591         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1592         macro.
1593         (SET_MANTISSA): Remove macro.
1594         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1595         (SET_MANTISSA): Remove macro.
1596         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1597         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1598         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1600         [BZ #19266]
1601         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1602         upper case and lower case letters inside NAN(), not using TOLOWER.
1603         * stdlib/tst-strtod-nan-locale-main.c: New file.
1604         * stdlib/tst-strtod-nan-locale.c: Likewise.
1605         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1606         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1607         Depend on $(gen-locales).
1608         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1609         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1610         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1611         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1612         Depend on $(gen-locales).
1613         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1615 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1617         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1619         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1621         __finitel, __isinfl, and __isnanl.
1622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1623         Likewise.
1624         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1626         __finitel.
1627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1628         Likewise.
1629         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1631 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1633         * malloc/memusage.c (me): Remove redundant getenv call.
1635 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1637         [BZ #19143]
1638         [BZ #19164]
1639         * nptl/check-cpuset.h: Remove.
1640         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1641         Remove CPU set size check.
1642         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1643         Likewise.
1644         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1645         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1646         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1647         (__pthread_setaffinity_new): Remove CPU set size check.
1648         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1649         (__kernel_cpumask_size): Remove.
1650         (__sched_setaffinity_new): Remove CPU set size check.
1651         * manual/threads.texi (Default Thread Attributes): Remove stale
1652         reference to check_cpuset_attr, determine_cpumask_size in comment.
1653         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1654         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1655         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1656         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1657         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1658         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1659         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1660         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1661         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1662         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1663         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1664         skeleton test file.
1665         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1666         tst-affinity-pid.
1668 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1670         * scripts/update-abilist.sh: New file.
1671         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1672         * Makerules (update-all-abi-%, update-all-abi)
1673         (subdir_update-all-abi): New targets.
1674         * elf/Makefile (update-all-abi): New target.
1676 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1678         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1679         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1680         (__libc_lock_define_initialized): Use it.
1681         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1682         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1683         * malloc/malloc.c (main_arena): Likewise.
1684         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1685         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1687 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1689         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1690         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1691         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1692         (PTRACE_O_MASK): Update value.
1693         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1694         New value in enum __ptrace_setoptions.
1695         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1696         (PTRACE_O_MASK): Update value.
1697         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1698         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1699         (PTRACE_O_MASK): Update value.
1700         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1701         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1702         (PTRACE_O_MASK): Update value.
1703         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1704         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1705         (PTRACE_O_MASK): Update value.
1706         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1707         New value in enum __ptrace_setoptions.
1708         (PTRACE_O_MASK): Update value.
1709         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1710         New value in enum __ptrace_setoptions.
1711         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1712         (PTRACE_O_MASK): Update value.
1714         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1715         New macro.
1716         (PACKET_AUXDATA): Likewise.
1717         (PACKET_ORIGDEV): Likewise.
1718         (PACKET_VERSION): Likewise.
1719         (PACKET_HDRLEN): Likewise.
1720         (PACKET_RESERVE): Likewise.
1721         (PACKET_TX_RING): Likewise.
1722         (PACKET_LOSS): Likewise.
1723         (PACKET_VNET_HDR): Likewise.
1724         (PACKET_TX_TIMESTAMP): Likewise.
1725         (PACKET_TIMESTAMP): Likewise.
1726         (PACKET_FANOUT): Likewise.
1727         (PACKET_TX_HAS_OFF): Likewise.
1728         (PACKET_QDISC_BYPASS): Likewise.
1729         (PACKET_ROLLOVER_STATS): Likewise.
1730         (PACKET_FANOUT_DATA): Likewise.
1731         (PACKET_MR_UNICAST): Likewise.
1733         [BZ #19242]
1734         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1735         (TOUPPER): Likewise.
1736         * stdlib/tst-strtol-locale-main.c: New file.
1737         * stdlib/tst-strtol-locale.c: Likewise.
1738         * stdlib/Makefile (tests): Add tst-strtol-locale.
1739         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1740         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1741         Depend on $(gen-locales).
1742         * wcsmbs/tst-wcstol-locale.c: New file.
1743         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1744         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1745         tr_TR.ISO-8859-9.
1746         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1747         Depend on $(gen-locales).
1749 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1751         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1752         __glibc_likely instead of __builtin_expect.  After falling back to
1753         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1754         system interface to register the code pages as occupied.
1756 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1758         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1759         [!ARM_MATH_PRIVATE_H].
1760         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1761         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1762         [!HPPA_MATH_PRIVATE_H].
1763         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1764         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1765         to [!I386_MATH_PRIVATE_H].
1766         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1767         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1768         Change guard to [!M68K_MATH_PRIVATE_H].
1769         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1770         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1771         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1772         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1773         macro.
1774         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1775         [!MIPS_MATH_PRIVATE_H].
1776         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1777         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1778         [!NIO2_MATH_PRIVATE_H].
1779         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1780         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1781         [!TILE_MATH_PRIVATE_H].
1782         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1784         [BZ #15421]
1785         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1786         initialize with 0 and define as weak alias of __signgam.
1787         * include/math.h [!_ISOMAC] (__signgam): Declare.
1788         * math/Makefile (libm-calls): Add w_lgamma_compat.
1789         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1790         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1791         test-signgam-ullong-init.
1792         (tests-static): Add test-signgam-uchar-static,
1793         test-signgam-uchar-init-static, test-signgam-uint-static,
1794         test-signgam-uint-init-static, test-signgam-ullong-static and
1795         test-signgam-ullong-init-static.
1796         (CFLAGS-test-signgam-uchar.c): New variable.
1797         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1798         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1799         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1800         (CFLAGS-test-signgam-uint.c): Likewise.
1801         (CFLAGS-test-signgam-uint-init.c): Likewise.
1802         (CFLAGS-test-signgam-uint-static.c): Likewise.
1803         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1804         (CFLAGS-test-signgam-ullong.c): Likewise.
1805         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1806         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1807         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1808         * math/Versions (libm): Add GLIBC_2.23.
1809         * math/lgamma-compat.h: New file.
1810         * math/test-signgam-main.c: Likewise.
1811         * math/test-signgam-uchar-init-static.c: Likewise.
1812         * math/test-signgam-uchar-init.c: Likewise.
1813         * math/test-signgam-uchar-static.c: Likewise.
1814         * math/test-signgam-uchar.c: Likewise.
1815         * math/test-signgam-uint-init-static.c: Likewise.
1816         * math/test-signgam-uint-init.c: Likewise.
1817         * math/test-signgam-uint-static.c: Likewise.
1818         * math/test-signgam-uint.c: Likewise.
1819         * math/test-signgam-ullong-init-static.c: Likewise.
1820         * math/test-signgam-ullong-init.c: Likewise.
1821         * math/test-signgam-ullong-static.c: Likewise.
1822         * math/test-signgam-ullong.c: Likewise.
1823         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1824         wrapper of w_lgamma_main.c.
1825         * math/w_lgamma_compat.c: New file.
1826         * math/w_lgamma_compatf.c: Likewise.
1827         * math/w_lgamma_compatl.c: Likewise.
1828         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1829         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1830         defining compatibility symbols.
1831         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1832         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1833         wrapper of w_lgammaf_main.c.
1834         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1835         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1836         defining compatibility symbols.
1837         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1838         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1839         wrapper of w_lgammal_main.c.
1840         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1841         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1842         defining compatibility symbols.
1843         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1844         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1845         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1846         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1847         <lgamma-compat.h>.
1848         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1849         (__ieee754_gamma): Define as alias.
1850         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1851         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1852         <lgamma-compat.h>.
1853         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1854         (__ieee754_gammaf): Define as alias.
1855         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1856         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1857         <lgamma-compat.h>.
1858         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1859         (__ieee754_gammal): Define as alias.
1860         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1861         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1862         <math/w_lgamma_compat.c>.
1863         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1864         Define as alias of __lgamma_compat and use in defining lgammal.
1865         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1866         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1867         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1868         (USE_AS_COMPAT): New macro.
1869         (LGAMMA_OLD_VER): Undefine and redefine.
1870         (lgammal): Do not define here.
1871         (gammal): Only define here if [GAMMA_ALIAS].
1872         * conform/linknamespace.pl (@whitelist): Remove signgam.
1873         * sysdeps/nacl/libm.abilist: Update.
1874         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1875         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1876         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1877         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1882         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1883         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1884         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1885         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1887         Likewise.
1888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1889         Likewise.
1890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1891         Likewise.
1892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1893         Likewise.
1894         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1895         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1896         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1897         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1898         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1900         Likewise.
1901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1902         Likewise.
1903         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1904         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1905         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1907 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1909         [BZ #16364]
1910         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1911         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1913 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1915         * sysdeps/s390/fpu/bits/mathinline.h:
1916         Use __asm__ [__volatile__] instead of asm [volatile].
1917         * sysdeps/s390/abort-instr.h: Likewise.
1918         * sysdeps/s390/atomic-machine.h: Likewise.
1919         * sysdeps/s390/bits/string.h: Likewise.
1920         * sysdeps/s390/dl-tls.h: Likewise.
1921         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1922         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1923         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1924         * sysdeps/s390/fpu/fesetround.c: Likewise.
1925         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1926         * sysdeps/s390/fpu/s_fma.c: Likewise.
1927         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1928         * sysdeps/s390/memusage.h: Likewise.
1929         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1930         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1931         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1932         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1933         * sysdeps/s390/nptl/tls.h: Likewise.
1934         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1935         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1936         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1937         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1938         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1939         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1940         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1941         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1942         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1943         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1944         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1945         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1946         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1947         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1948         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1949         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1950         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1951         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1952         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1953         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1954         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1956         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1958 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1959             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1961         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1962         Add lwarx hint, and use macro for acquire instruction.
1963         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1964         Likewise.
1965         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1966         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1967         update to use new atomic macros.
1969 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1971         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1972         (__lll_trylock_elision): Fix setting of adapt_count.
1973         * sysdeps/unix/sysv/linux/powerpc/htm.h
1974         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1975         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1976         (_ABORT_SYSCALL): Renumber, and clarify definition.
1977         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1979 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1981         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1982         after system headers to prevent MIN/MAX redefinition.  Define
1983         HAVE_ALLOCA to preserve builtin alloca usage.
1985 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1987         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1988         static and don't set or restore rounding.
1989         (__cos)[IN_SINCOS]: Likewise.
1990         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1991         (__sincos): Set and restore rounding mode.  Remove check for infinite
1992         or NaN input.
1994         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1996         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1997         as used.
1999 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2001         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2003 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2005         * config.make.in (have-glob-dat-reloc): New.
2006         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2007         target supports GLOB_DAT relocaton. AC_SUBST.
2008         * configure: Regenerated.
2009         * elf/Makefile (tests): Add tst-prelink.
2010         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2011         (tst-prelink-ENV): New.
2012         ($(objpfx)tst-prelink-conflict.out): Likewise.
2013         ($(objpfx)tst-prelink-cmp.out): Likewise.
2014         * sysdeps/x86/tst-prelink.c: Moved to ...
2015         * elf/tst-prelink.c: Here.
2016         * sysdeps/x86/tst-prelink.exp: Moved to ...
2017         * elf/tst-prelink.exp: Here.
2018         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2019         (tst-prelink-ENV): Removed.
2020         ($(objpfx)tst-prelink-conflict.out): Likewise.
2021         ($(objpfx)tst-prelink-cmp.out): Likewise.
2022         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2024 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2026         [BZ #14551]
2027         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2028         (__mpn_construct_long_double): If high part overflows to infinity,
2029         set errno and recompute overflowed result of the correct sign.
2030         * sysdeps/ieee754/ldbl-128ibm/Makefile
2031         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2032         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2033         $(libm).
2034         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2036 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2038         [BZ #15479]
2039         [BZ #19238]
2040         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2041         floating-point state after first operation on input.  Restore full
2042         state rather than just rounding mode.
2043         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2044         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2045         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2047         [BZ #19235]
2048         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2049         add 0.5 to integer arguments.
2050         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2051         Likewise.
2052         (.LC2): New object.
2054 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2056         * scripts/pylintrc (reports): Set to no.
2058 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2060         * elf/dl-load.c (open_verify): Take new argument FD.
2061         Skip __open call if passed FD is not -1.
2062         (_dl_map_object, open_path): Update callers.
2063         * elf/dl-sysdep-open.h: New file.
2064         * elf/dl-load.c: Include it.
2065         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2066         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2067         * sysdeps/nacl/dl-sysdep-open.h: New file.
2068         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2069         from libc to rtld.
2071 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2073         [BZ #19228]
2074         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2075         and restore full floating-point state.
2076         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2077         Likewise.
2078         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2079         Likewise.
2080         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2081         Likewise.
2082         * math/test-nearbyint-except-2.c: New file.
2083         * math/Makefile (tests): Add test-nearbyint-except-2.
2085 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2087         [BZ #19178]
2088         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2089         (tst-prelink-ENV): New.
2090         ($(objpfx)tst-prelink-conflict.out): Likewise.
2091         ($(objpfx)tst-prelink-cmp.out): Likewise.
2092         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2093         * sysdeps/x86/tst-prelink.c: New file.
2094         * sysdeps/x86/tst-prelink.exp: Likewise.
2096 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2098         * math/auto-libm-test-in: Add another test of pow.
2099         * math/auto-libm-test-out: Regenerated.
2100         * math/libm-test.inc (pow_test_data): Add another test.
2102 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2104         [BZ #19219]
2105         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2106         weak_alias to nearbyintl.
2108 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2110         * sysdeps/aarch64/bits/string.h: New file.
2111         (_STRING_ARCH_unaligned): Define.
2113 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2115         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2116         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2117         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2118         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2121 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2123         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2124         for original name of the DSO.  Add it to the name list of the DSO
2125         if it is actually given.
2126         (_dl_map_object): Keep track of whether an audit module rewrote
2127         the file name.  If yes, pass the original name to
2128         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2129         debugging is enabled, log the change of the file name.
2130         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2131         _dl_map_object_from_fd.
2132         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2133         * elf/tst-audit11.c: New file
2134         * elf/tst-auditmod11.c: New file.
2135         * elf/tst-audit11mod1.c: New file.
2136         * elf/tst-audit11mod2.c: New file.
2137         * elf/tst-audit11mod2.map: New file.
2138         * elf/tst-audit12.c: New file
2139         * elf/tst-auditmod12.c: New file.
2140         * elf/tst-audit12mod1.c: New file.
2141         * elf/tst-audit12mod2.c: New file.
2142         * elf/tst-audit12mod2.map: New file.
2143         * elf/tst-audit12mod3.c: New file.
2145 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2147         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2148         Don't create weak aliases,
2149         because versioned symbols are created later.
2150         * sysdeps/s390/s390-32/setjmp.S
2151         (setjmp, _setjmp): Remove weak and rename to an unique name
2152         in SHARED case due to existing versioned symbols.
2153         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2154         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2155         (getcontext): Create weak alias only in non SHARED case.
2156         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2158 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2160         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2161         (__ASSUME_*_SYSCALL) Define new macros.
2162         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2163         Remove socketcall syscalls.
2164         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2165         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2166         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2167         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2168         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2169         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2171 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2173         [BZ #12926]
2174         Terminate process on invalid netlink response.
2175         * sysdeps/unix/sysv/linux/netlinkaccess.h
2176         (__netlink_assert_response): Declare.
2177         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2178         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2179         (sysdep_routines): Add netlink_assert_response.
2180         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2181         __netlink_assert_response.
2182         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2183         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2184         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2185         __netlink_assert_response.
2187 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2189         [BZ #19178]
2190         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2191         (RTYPE_CLASS_PLT): Likewise.
2192         (RTYPE_CLASS_COPY): Likewise.
2193         (RTYPE_CLASS_TLS): Likewise.
2194         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2195         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2196         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2197         DL_DEBUG_PRELINK.
2199 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2201         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2202         calls with argument -0.5.
2203         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2205         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2206         (libc_cv_z_nodlopen): Likewise.
2207         (libc_cv_z_initfirst): Likewise.
2208         * configure: Regenerated.
2210 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2212         Simplify abilist format to be line-based.
2213         * scripts/abilist.awk: Collect descriptors in the descs variable.
2214         (emit): Write descs variable and sort it
2215         externally, with sort.
2216         * sysdeps/**/*.abilist: Convert to new format.
2218 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2220         [BZ #11460]
2221         * io/Makefile (routines): Add fts64.
2222         (tests): Add tst-fts and tst-fts-lfs.
2223         (CFLAGS-fts64.c): New.
2224         * io/Versions (GLIBC_2.23): New.
2225         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2226         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2227         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2228         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2229         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2230         (FTSENT64): Likewise.
2231         (fts64_children): Likewise.
2232         (fts64_close): Likewise.
2233         (fts64_open): Likewise.
2234         (fts64_read): Likewise.
2235         (fts64_set): Likewise.
2236         * io/fts64.c: New file.
2237         * io/tst-fts.c: New test.
2238         * io/tst-fts-lfs.c: Likewise.
2239         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2240         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2241         fts64_set.
2242         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2243         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2244         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2245         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2246         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2247         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2248         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2249         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2250         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2251         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2252         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2253         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2254         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2256         Likewise.
2257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2258         Likewise.
2259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2261         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2262         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2263         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2264         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2265         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2268         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2269         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2271         * sysdeps/wordsize-64/fts.c: New file.
2272         * sysdeps/wordsize-64/fts64.c: Likewise.
2273         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2274         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2275         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2276         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2278 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2280         * math/libm-test.inc (NON_FINITE): New macro.
2281         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2282         * math/gen-libm-test.pl (show_exceptions): Add argument
2283         $non_finite.
2284         (parse_args): Update call to show_exceptions.
2285         * math/test-math-finite.h: New file.
2286         * math/test-math-no-finite.h: Likewise.
2287         * math/test-double-finite.c: Likewise.
2288         * math/test-float-finite.c: Likewise.
2289         * math/test-ldouble-finite.c: Likewise.
2290         * math/test-double.c: Include "test-math-no-finite.h".
2291         * math/test-float.c: Include "test-math-no-finite.h".
2292         * math/test-ldouble.c: Include "test-math-no-finite.h".
2293         * math/test-math-inline.h (TEST_FINITE): New macro.
2294         * math/test-math-vector.h (TEST_FINITE): Likewise.
2295         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2296         (libm-tests): Add test-float-finite and test-double-finite.
2297         ($(objpfx)test-float-finite.o): New dependency on
2298         $(objpfx)libm-test.stmp.
2299         ($(objpfx)test-double-finite.o): Likewise.
2300         ($(objpfx)test-ldouble-finite.o): Likewise.
2301         (libm-test-no-inline-cflags): New variable.
2302         (libm-test-finite-cflags): Likewise.
2303         (CFLAGS-test-float-finite.c): Likewise.
2304         (CFLAGS-test-double-finite.c): Likewise.
2305         (CFLAGS-test-ldouble-finite.c): Likewise.
2306         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2307         (CFLAGS-test-double.c): Likewise.
2308         (CFLAGS-test-ldouble.c): Likewise.
2310 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2312         * io/fcntl.c (__fcntl): Add ... to prototype.
2313         * misc/ioctl.c (__ioctl): Likewise.
2314         * misc/syscall.c (syscall): Likewise.
2316 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2318         * scripts/list-fixed-bugs.py: New file.
2320         [BZ #19213]
2321         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2322         returned for argument 1.
2323         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2324         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2325         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2326         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2327         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2328         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2330         [BZ #19211]
2331         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2332         __USE_XOPEN], not if [!__USE_ISOC99].
2333         (lgammaf): Likewise.
2334         (lgammal): Likewise.
2335         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2336         (gammaf): Likewise.
2337         (gammal): Likewise.
2338         * math/test-signgam-finite-c11.c: New file.
2339         * math/test-signgam-finite-c99.c: Likewise.
2340         * math/test-signgam-finite.c: Likewise.
2341         * math/Makefile (tests): Add test-signgam-finite,
2342         test-signgam-finite-c99 and test-signgam-finite-c11.
2343         (CFLAGS-test-signgam-finite.c): New variable.
2344         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2345         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2347         [BZ #19212]
2348         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2349         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2350         500].
2351         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2352         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2353         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2354         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2355         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2356         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2357         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2358         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2359         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2360         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2362         [BZ #19209]
2363         * math/bits/math-finite.h (ldexp): Remove declaration.
2364         (ldexpf): Likewise.
2365         (ldexpl): Likewise.
2367         [BZ #19205]
2368         * math/bits/math-finite.h (acosf): Condition declaration on
2369         [__USE_ISOC99].
2370         (acosl): Likewise.
2371         (acoshf): Likewise.
2372         (acoshl): Likewise.
2373         (asinf): Likewise.
2374         (asinl): Likewise.
2375         (atan2f): Likewise.
2376         (atan2l): Likewise.
2377         (atanhf): Likewise.
2378         (atanhl): Likewise.
2379         (coshf): Likewise.
2380         (coshl): Likewise.
2381         (expf): Likewise.
2382         (expl): Likewise.
2383         (fmodf): Likewise.
2384         (fmodl): Likewise.
2385         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2386         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2387         (j0l): Likewise.
2388         (y0f): Likewise.
2389         (y0l): Likewise.
2390         (j1f): Likewise.
2391         (j1l): Likewise.
2392         (y1f): Likewise.
2393         (y1l): Likewise.
2394         (jnf): Likewise.
2395         (jnl): Likewise.
2396         (ynf): Likewise.
2397         (ynl): Likewise.
2398         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2399         (lgammal_r): Likewise.
2400         (__lgamma_r_finite): New declaration.
2401         (__lgammaf_r_finite): Likewise.
2402         (__lgammal_r_finite): Likewise.
2403         (lgamma): Use __lgamma_r_finite.
2404         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2405         __lgammaf_r_finite.
2406         (lgammal): Condition definition on [__USE_ISOC99].  Use
2407         __lgammal_r_finite.
2408         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2409         __lgamma_r_finite.
2410         (gammaf): Condition definition on [__USE_ISOC99].  Use
2411         __lgammaf_r_finite.
2412         (gammal): Condition definition on [__USE_ISOC99].  Use
2413         __lgammal_r_finite.
2414         (logf): Condition declaration on [__USE_ISOC99].
2415         (logl): Likewise.
2416         (log10f): Likewise.
2417         (log10l): Likewise.
2418         (ldexpf): Likewise.
2419         (ldexpl): Likewise.
2420         (powf): Likewise.
2421         (powl): Likewise.
2422         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2423         __USE_ISOC99].
2424         (remainderf): Condition declaration on [__USE_ISOC99].
2425         (remainderl): Likewise.
2426         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2427         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2428         (scalbl): Likewise.
2429         (sinhf): Condition declaration on [__USE_ISOC99].
2430         (sinhl): Likewise.
2431         (sqrtf): Likewise.
2432         (sqrtl): Likewise.
2434 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2436         * sysdeps/arm/atomic-machine.h
2437         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2438         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2439         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2440         Remove conditional code.
2441         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2442         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2443         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2444         Change conditional to [__ASSEMBLER__].
2445         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2446         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2447         [!__ASSEMBLER__].
2448         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2449         code.
2450         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2451         conditional macro definitions.
2452         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2453         (__arch_compare_and_exchange_val_16_acq): Likewise.
2454         (__arch_compare_and_exchange_val_32_acq): Likewise.
2455         (atomic_exchange_and_add): Likewise.
2456         (atomic_add): Likewise.
2457         (atomic_add_negative): Likewise.
2458         (atomic_add_zero): Likewise.
2459         (atomic_bit_set): Likewise.
2460         (atomic_bit_test_set): Likewise.
2461         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2462         code unconditional.
2463         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2465         * math/test-math-errno.h: New file.
2466         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2467         empty.
2468         (TEST_ERRNO): New macro.
2469         (TEST_EXCEPTIONS): Likewise.
2470         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2471         (TEST_EXCEPTIONS): Likewise.
2472         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2473         * math/test-double.c: Include "test-math-errno.h".
2474         * math/test-float.c: Likewise.
2475         * math/test-ldouble.c: Likewise.
2476         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2477         code unconditional.
2478         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2479         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2480         unconditional.
2481         (test_errno): Only run code if TEST_ERRNO.
2482         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2484 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2486         * nptl/tst-once5.cc: Remove attribution.
2488 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2490         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2491         sqrt, tan, tanh, y0, y1 and yn.
2492         * math/auto-libm-test-out: Regenerated.
2493         * math/libm-test.inc (scalb_test_data): Add more tests.
2494         (scalbn_test_data): Likewise.
2495         (scalbln_test_data): Likewise.
2496         (signbit_test_data): Likewise.
2497         (sin_test_data): Likewise.
2498         (sincos_test_data): Likewise.
2499         (sinh_test_data): Likewise.
2500         (sqrt_test_data): Likewise.
2501         (tan_test_data): Likewise.
2502         (tanh_test_data): Likewise.
2503         (tgamma_test_data): Likewise.
2504         (y0_test_data): Likewise.
2505         (y1_test_data): Likewise.
2506         (yn_test_data): Likewise.
2507         (significand_test_data): Likewise.
2508         * sysdeps/i386/fpu/libm-test-ulps: Update.
2510 2015-11-03  David Kastrup  <dak@gnu.org>
2512         [BZ #18604]
2513         * assert/assert.h (assert): Don't macro-expand failed assertion
2514         expression in error message.
2515         * malloc/malloc.c (assert): Likewise.
2517 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2519         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2520         test.
2521         * configure: Regenerated.
2523 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2525         * math/libm-test.inc (modf_test_data): Add more tests.
2526         (nearbyint_test_data): Likewise.
2527         (nextafter_test_data): Likewise.
2528         (nexttoward_test_data): Likewise.
2529         (pow_test_data): Likewise.
2530         (remainder_test_data): Likewise.
2531         (remquo_test_data): Likewise.
2532         (rint_test_data): Likewise.
2534         [BZ #19201]
2535         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2536         Check for zero remainder in case of large exponents and ensure
2537         correct sign of result in that case.
2538         * math/libm-test.inc (remainder_test_data): Add more tests.
2540         [BZ #6799]
2541         * math/s_nextafter.c: Include <errno.h>.
2542         (__nextafter): Set errno on overflow and underflow.
2543         * math/s_nexttowardf.c: Include <errno.h>.
2544         (__nexttowardf): Set errno on overflow and underflow.
2545         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2546         (__nextafterl): Set errno on overflow and underflow.
2547         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2548         (__nexttoward): Set errno on overflow and underflow.
2549         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2550         (__nexttowardf): Set errno on overflow and underflow.
2551         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2552         (__nextafterf): Set errno on overflow and underflow.
2553         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2554         (__nextafterl): Set errno on overflow and underflow.
2555         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2556         (__nexttoward): Set errno on overflow and underflow.
2557         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2558         (__nexttowardf): Set errno on overflow and underflow.
2559         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2560         (__nextafterl): Set errno on overflow and underflow.
2561         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2562         (__nexttoward): Set errno on overflow and underflow.
2563         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2564         (__nexttowardf): Set errno on overflow and underflow.
2565         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2566         (__nexttoward): Set errno on overflow and underflow.
2567         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2568         (__nexttowardf): Set errno on overflow and underflow.
2569         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2570         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2571         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2572         (__nextafterl): Set errno on overflow and underflow.
2573         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2574         setting to be missing on overflow.  Add more tests.
2575         (nexttoward_test_data): Likewise.
2577         * configure.ac (libc_cv_initfini_array): Remove configure test.
2578         * configure: Regenerated.
2580 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2582         [BZ #19189]
2583         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2584         non-finite argument handle arguments with negative sign.
2586         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2587         result from infinite argument.
2588         (j1_test_data): Likewise.
2589         (jn_test_data): Likewise.
2590         (y0_test_data): Likewise.
2591         (y1_test_data): Likewise.
2592         (yn_test_data): Likewise.
2594         [BZ #16171]
2595         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2596         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2597         * math/w_remainderf.c (dremf): Define as weak alias of
2598         __remainderf.
2599         * math/w_remainderl.c (dreml): Define as weak alias of
2600         __remainderl.
2601         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2602         __remainder.
2603         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2604         __remainderf.
2605         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2606         __remainderl.
2607         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2608         weak alias of remainderl.
2609         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2610         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2611         alias of __remainder.
2612         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2613         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2614         strong alias of __remainderl.
2615         (dreml): Use long_double_symbol.
2616         * math/Makefile (libm-calls): Remove w_drem.
2617         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2618         (CFLAGS-nldbl-drem.c): Remove variable.
2619         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2620         * math/w_drem.c: Remove file.
2621         * math/w_dremf.c: Likewise.
2622         * math/w_dreml.c: Likewise.
2623         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2624         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2625         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2627         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2628         * sysdeps/i386/configure: Regenerated.
2629         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2630         * sysdeps/x86_64/configure: Regenerated.
2632         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2633         test.
2634         (libc_cv_visibility_attribute): Likewise.
2635         (libc_cv_protected_data): Test unconditionally.
2636         (libc_cv_broken_visibility_attribute): Remove configure test.
2637         (libc_cv_have_sdata_section): Test unconditionally.
2638         * configure: Regenerated.
2640         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2641         * include/scratch_buffer.h: Include <stddef.h> instead of
2642         <libc-internal.h>.
2643         (struct scratch_buffer): Use max_align_t instead of
2644         libc_max_align_t.
2646 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2648         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2649         instead of extend_alloca.  Change control flow to avoid a goto.
2650         Remove assert which is trivially always true.
2652 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2654         [BZ #16068]
2655         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2656         (FE_ALL_EXCEPT_X86): New macro.
2657         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2658         FE_ALL_EXCEPT.  Ensure precision control is included in
2659         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2660         handle "denormal operand exception" and clear FZ and DAZ bits.
2661         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2662         (FE_ALL_EXCEPT_X86): New macro.
2663         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2664         FE_ALL_EXCEPT.  Ensure precision control is included in
2665         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2666         handle "denormal operand exception" and clear FZ and DAZ bits.
2667         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2668         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2669         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2670         test-fenv-x87 and test-fenv-sse-2.
2671         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2673         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2674         * math/test-double.h (BUILD_COMPLEX): New macro.
2675         * math/test-float.h (BUILD_COMPLEX): Likewise.
2676         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2678         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2679         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2680         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2682         instead of DBL_DENORM_MIN in comment.
2683         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2684         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2685         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2686         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2687         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2688         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2690 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2692         [BZ# 19048]
2693         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2694         attached_threads member.
2695         (main_arena): Initialize attached_threads.
2696         * malloc/arena.c (list_lock): Update comment.
2697         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2698         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2699         (deattach_arena): New function.
2700         (_int_new_arena): Initialize arena reference count and deattach
2701         replaced arena.
2702         (get_free_list, reused_arena): Update reference count and deattach
2703         replaced arena.
2704         (arena_thread_freeres): Update arena reference count and only put
2705         unreferenced arenas on the free list.
2707 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2709         [BZ #19181]
2710         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2711         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2712         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2713         * math/test-fenv-clear-main.c: New file.
2714         * math/test-fenv-clear.c: Likewise.
2715         * math/Makefile (tests): Add test-fenv-clear.
2716         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2717         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2718         test-fenv-clear-sse.
2719         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2721         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2722         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2723         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2725 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2727         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2728         static libc.
2730 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2732         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2733         test.
2734         * sysdeps/i386/configure: Regenerated.
2735         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2736         test.
2737         * sysdeps/x86_64/configure: Regenerated.
2738         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2740         memset-avx2 unconditionally instead of conditionally on
2741         [$(config-cflags-avx2) = yes].
2742         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2743         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2744         unconditional.
2745         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2746         * sysdeps/x86_64/multiarch/memset_chk.S
2747         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2748         to [IS_IN (libc) && SHARED].
2750 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2752         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2753         configure test.
2754         * sysdeps/arm/configure: Regenerated.
2755         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2756         Define variable if not already defined.
2758         [BZ #17404]
2759         * sysdeps/mips/atomic-machine.h
2760         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2761         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2762         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2764         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2765         unconditional.
2766         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2767         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2768         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2769         unconditional.
2770         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2771         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2772         unconditional.
2773         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2774         * stdlib/setenv.c
2775         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2776         code unconditional.
2777         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2778         Remove conditional code.
2779         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2780         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2781         unconditional.
2782         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2783         code.
2784         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2785         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2786         unconditional.
2787         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2788         code.
2789         * sysdeps/ieee754/ldbl-128/k_tanl.c
2790         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2791         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2792         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2793         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2794         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2795         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2796         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2797         unconditional.
2798         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2799         code.
2800         * sysdeps/ieee754/ldbl-96/k_tanl.c
2801         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2802         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2804         * nptl/tst-initializers1-c11.c: New file.
2805         * nptl/tst-initializers1-gnu11.c: Likewise.
2806         * nptl/Makefile (tests): Add these new tests.
2807         (CFLAGS-tst-initializers1-c11.c): New variable.
2808         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2810         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2811         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2812         instead of -std=gnu99.
2813         * configure.ac (systemtap): Test with -std=gnu11 instead of
2814         -std=gnu99.
2815         * configure: Regenerated.
2816         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2817         in compilation command in comment.
2819         * sysdeps/nptl/configure.ac: Remove file.
2820         * sysdeps/nptl/configure: Remove generated file.
2821         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2822         * configure: Regenerated.
2823         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2824         * config.make.in (have-forced-unwind): Remove variable.
2825         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2826         unconditional.
2827         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2828         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2829         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2830         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2831         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2832         unconditional.
2834 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2836         [BZ #19174]
2837         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2838         .skip_lock_out_of_tbegin_retries.
2839         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2840         (__lll_lock_elision): Likewise, and respect a value of
2841         try_tbegin <= 0.
2843 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2845         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2846         statement.
2848 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2850         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2851         variable.
2852         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2853         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2855         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2856         of -std=c1x -D_ISOC11_SOURCE.
2858         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2859         * configure: Regenerated.
2860         * manual/install.texi (Tools for Compilation): Document
2861         requirement for GCC 4.7 or later.
2862         * INSTALL: Regenerated.
2864 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2866         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2867         on CNT to a conditional jump to 'puntdata'.
2869 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2871         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2872         (libc_cv_gcc_tls_model_attr): Likewise.
2873         * configure: Regenerated.
2875         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2876         * configure: Regenerated.
2877         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2879 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2881         * configure.ac (old_glibc_headers): Remove configure test.
2882         * configure: Regenerated.
2883         * config.make.in (old-glibc-headers): Remove variable.
2884         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2885         (install): Remove dependency on remove-old-headers.
2886         (headers2_0): Remove variable.
2887         (remove-old-headers): Remove rule.
2889         * configure.ac (libc_cv_dot_text): Remove configure test.
2890         (libc_cv_asm_set_directive): Use .text instead of
2891         ${libc_cv_dot_text} in configure test.
2892         * configure: Regenerated.
2894 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2896         [BZ #19168]
2897         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2899 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2901         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2902         not support static linking.
2903         * configure: Regenerate.
2905 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2907         * math/libm-test.inc (check_float_internal): Do not special-case
2908         errors up to 0.5 ulp.
2910         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2911         log2.
2912         * math/auto-libm-test-out: Regenerated.
2913         * math/libm-test.inc (MAX_EXP): New macro.
2914         (ilogb_test_data): Add more tests.
2915         (isfinite_test_data): Likewise.
2916         (isgreater_test_data): Likewise.
2917         (isgreaterequal_test_data): Likewise.
2918         (isinf_test_data): Likewise.
2919         (isless_test_data): Likewise.
2920         (islessequal_test_data): Likewise.
2921         (islessgreater_test_data): Likewise.
2922         (isnan_test_data): Likewise.
2923         (isnormal_test_data): Likewise.
2924         (issignaling_test_data): Likewise.
2925         (isunordered_test_data): Likewise.
2926         (j0_test_data): Likewise.
2927         (j1_test_data): Likewise.
2928         (jn_test_data): Likewise.
2929         (lgamma_test_data): Likewise.
2930         (log_test_data): Likewise.
2931         (log10_test_data): Likewise.
2932         (log1p_test_data): Likewise.
2933         (log2_test_data): Likewise.
2934         (logb_test_data): Likewise.
2935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2937         [BZ #18611]
2938         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2939         avoid excess range and precision on underflow.
2940         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2941         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2942         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2943         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2944         underflow.
2945         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2946         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2947         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2948         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2949         * math/auto-libm-test-in: Do not allow missing errno setting for
2950         tests of j1 and jn.
2951         * math/auto-libm-test-out: Regenerated.
2953 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2955         [BZ #15491]
2956         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2957         floating-point environment instead of clearing all exceptions.
2958         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2959         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2960         merging in "invalid" exceptions from frndint.
2961         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2962         * math/test-nearbyint-except.c: New file.
2963         * math/Makefile (tests): Add test-nearbyint-except.
2965 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2967         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2969         * sysdeps/tile/libm-test-ulps: Regenerated.
2971 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2974         (__NR_sync_file_range2): Assume it is always defined.
2975         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2976         (__NR_sync_file_range): Assume it is always defined.
2978 2015-10-22  Andreas Schwab  <schwab@suse.de>
2980         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2981         INTERNAL_SYSCALL_ERRNO.
2982         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2983         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2984         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2985         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2986         Likewise.
2987         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2989 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2991         * io/tst-fcntl.c (fd): New static variable.
2992         (do_prepare): Open temporary file here....
2993         (do_test): ...not here.
2995         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2997 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2999         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3000         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3001         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3002         Moved before "#ifdef __ASSEMBLER__".
3004 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3006         [BZ #19156]
3007         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3008         arguments very close to 0.
3010 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3012         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3013         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3015 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3017         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3018         New.  Defined for GCC 5 and above when not compiling for
3019         profiling.
3020         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3022         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3023         Renamed to ...
3024         (CFLAGS-epoll_pwait.o): This.
3025         (CFLAGS-mmap.c): Renamed to ...
3026         (CFLAGS-mmap.o): This.
3027         (CFLAGS-mmap64.c): Renamed to ...
3028         (CFLAGS-mmap64.o): This.
3029         (CFLAGS-epoll_pwait.os): New.
3030         (CFLAGS-mmap.os): Likewise.
3031         (CFLAGS-mmap64.os): Likewise.
3032         (CFLAGS-semtimedop.os): Likewise.
3033         (CFLAGS-semtimedop.c): Renamed to ...
3034         (CFLAGS-semtimedop.o): This.
3036 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3038         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3039         warning message.
3041 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3043         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3044         * Makefile ($(objpfx)c++-types-check.out): Filter out
3045         $(+gccwarn-c) instead of -Wstrict-prototypes.
3047         * io/fts.c (fts_open): Convert to prototype-style function
3048         definition.
3049         * malloc/mcheck.c (mcheck): Likewise.
3050         (mcheck_pedantic): Likewise.
3051         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3052         internal_function.
3053         (re_search_internal): Likewise.
3054         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3055         prototype-style function definition.
3056         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3057         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3058         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3059         (xdr_utmpptr): Likewise.
3060         (xdr_utmparr): Likewise.
3061         (xdr_utmpidle): Likewise.
3062         (xdr_utmpidleptr): Likewise.
3063         (xdr_utmpidlearr): Likewise.
3065         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3066         log, log10 and log2.
3067         * math/auto-libm-test-out: Regenerated.
3068         * math/libm-test.inc (fmod_test_data): Add more tests.
3069         (fpclassify_test_data): Likewise.
3070         (frexp_test_data): Likewise.
3071         (hypot_test_data): Likewise.
3072         (ilogb_test_data): Likewise.
3074 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3076         * debug/fortify_fail.c (__fortify_fail): Convert to
3077         prototype-style function definition.  Use internal_function.
3078         * libio/genops.c (save_for_backup): Convert to prototype-style
3079         function definition.
3080         * libio/wgenops.c (save_for_wbackup): Likewise.
3081         * login/grantpt.c (grantpt): Likewise.
3082         * login/ptsname.c (ptsname): Likewise.
3083         (__ptsname_r): Likewise.
3084         * login/unlockpt.c (unlockpt): Likewise.
3085         * mach/msgserver.c (__mach_msg_server): Likewise.
3086         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3087         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3088         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3089         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3090         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3091         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3092         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3093         Likewise.
3094         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3095         internal_function.
3096         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3097         prototype-style function definition.
3098         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3099         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3100         (__pthread_create_2_0): Likewise.
3101         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3102         * nptl/register-atfork.c (__register_atfork): Likewise.
3103         * posix/glob.c (glob): Likewise.
3104         * posix/regcomp.c (re_comp): Likewise.
3105         * posix/regexec.c (re_exec): Likewise.
3106         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3107         [!__STDC__]: Remove conditional code.
3108         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3109         [!__STDC__]: Remove conditional code.
3110         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3111         [!__STDC__]: Remove conditional code.
3112         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3113         [!__STDC__]: Remove conditional code.
3114         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3115         [!__STDC__]: Remove conditional code.
3116         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3117         [!__STDC__]: Remove conditional code.
3118         * stdlib/mul.c [__STDC__]: Make code unconditional.
3119         [!__STDC__]: Remove conditional code.
3120         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3121         [!__STDC__]: Remove conditional code.
3122         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3123         [!__STDC__]: Remove conditional code.
3124         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3125         function definition.
3126         (STRTOF): Likewise.
3127         * stdlib/strtod_l.c (__STRTOF): Likewise.
3128         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3129         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3130         (__strtol_l): Likewise.
3131         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3132         [!__STDC__]: Remove conditional code.
3133         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3134         definition.
3135         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3136         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3137         type.
3138         (__strcasecmp): Convert to prototype-style function definition.
3139         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3140         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3141         type.
3142         (__strncasecmp): Convert to prototype-style function definition.
3143         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3144         * sunrpc/xdr.c (xdr_union): Likewise.
3145         * sunrpc/xdr_array.c (xdr_array): Likewise.
3146         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3147         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3148         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3149         Likewise.
3150         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3151         Likewise.
3152         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3153         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3154         Likewise.
3155         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3156         (LOCALE_PARAM_PROTO): Likewise.
3157         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3158         argument type.
3159         (ut_argument_spec): Remove macro.
3160         (ut_argument_spec_iso): Rename to ut_argument_spec.
3161         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3162         prototype-style function definition.
3163         (memcpy_uppcase): Likewise.
3164         (__strftime_internal): Likewise.
3165         (my_strftime): Likewise.
3166         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3167         (LOCALE_PARAM_DECL): Likewise.
3168         [_LIBC] (LOCALE_PARAM): Include argument type.
3169         (__strptime_internal): Convert to prototype-style function
3170         definition.
3171         (strptime): Likewise.
3172         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3173         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3174         type.
3175         (__wcscasecmp): Convert to prototype-style function definition.
3176         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3177         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3178         type.
3179         (__wcsncasecmp): Convert to prototype-style function definition.
3181         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3182         function definition.
3183         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3184         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3185         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3186         * elf/dl-minimal.c (_itoa): Likewise.
3187         * hurd/hurdmalloc.c (malloc): Likewise.
3188         (free): Likewise.
3189         (realloc): Likewise.
3190         * inet/inet6_option.c (inet6_option_space): Likewise.
3191         (inet6_option_init): Likewise.
3192         (inet6_option_append): Likewise.
3193         (inet6_option_alloc): Likewise.
3194         (inet6_option_next): Likewise.
3195         (inet6_option_find): Likewise.
3196         * io/ftw.c (FTW_NAME): Likewise.
3197         (NFTW_NAME): Likewise.
3198         (NFTW_NEW_NAME): Likewise.
3199         (NFTW_OLD_NAME): Likewise.
3200         * libio/iofwide.c (_IO_fwide): Likewise.
3201         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3202         (_IO_str_init_static): Likewise.
3203         (_IO_str_init_readonly): Likewise.
3204         (_IO_str_overflow): Likewise.
3205         (_IO_str_underflow): Likewise.
3206         (_IO_str_count): Likewise.
3207         (_IO_str_seekoff): Likewise.
3208         (_IO_str_pbackfail): Likewise.
3209         (_IO_str_finish): Likewise.
3210         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3211         (_IO_wstr_overflow): Likewise.
3212         (_IO_wstr_underflow): Likewise.
3213         (_IO_wstr_count): Likewise.
3214         (_IO_wstr_seekoff): Likewise.
3215         (_IO_wstr_pbackfail): Likewise.
3216         (_IO_wstr_finish): Likewise.
3217         * locale/programs/localedef.c (normalize_codeset): Likewise.
3218         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3219         (add_locales_to_archive): Likewise.
3220         (delete_locales_from_archive): Likewise.
3221         * malloc/malloc.c (__libc_mallinfo): Likewise.
3222         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3223         * misc/tsearch.c (__tfind): Likewise.
3224         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3225         * nptl/pthread_attr_getdetachstate.c
3226         (__pthread_attr_getdetachstate): Likewise.
3227         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3228         Likewise.
3229         * nptl/pthread_attr_getinheritsched.c
3230         (__pthread_attr_getinheritsched): Likewise.
3231         * nptl/pthread_attr_getschedparam.c
3232         (__pthread_attr_getschedparam): Likewise.
3233         * nptl/pthread_attr_getschedpolicy.c
3234         (__pthread_attr_getschedpolicy): Likewise.
3235         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3236         Likewise.
3237         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3238         Likewise.
3239         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3240         Likewise.
3241         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3242         Likewise.
3243         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3244         (__pthread_attr_init_2_0): Likewise.
3245         * nptl/pthread_attr_setdetachstate.c
3246         (__pthread_attr_setdetachstate): Likewise.
3247         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3248         Likewise.
3249         * nptl/pthread_attr_setinheritsched.c
3250         (__pthread_attr_setinheritsched): Likewise.
3251         * nptl/pthread_attr_setschedparam.c
3252         (__pthread_attr_setschedparam): Likewise.
3253         * nptl/pthread_attr_setschedpolicy.c
3254         (__pthread_attr_setschedpolicy): Likewise.
3255         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3256         Likewise.
3257         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3258         Likewise.
3259         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3260         Likewise.
3261         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3262         Likewise.
3263         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3264         Likewise.
3265         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3266         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3267         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3268         use internal_function.
3269         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3270         prototype-style function definition.
3271         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3272         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3273         internal_function.
3274         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3275         Convert to prototype-style function definition.
3276         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3277         Likewise.
3278         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3279         Likewise.
3280         (__pthread_mutex_unlock): Likewise.
3281         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3282         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3283         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3284         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3285         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3286         * nss/makedb.c (process_input): Likewise.
3287         * posix/fnmatch.c (__strchrnul): Likewise.
3288         (__wcschrnul): Likewise.
3289         (fnmatch): Likewise.
3290         * posix/fnmatch_loop.c (FCT): Likewise.
3291         * posix/glob.c (globfree): Likewise.
3292         (__glob_pattern_type): Likewise.
3293         (__glob_pattern_p): Likewise.
3294         * posix/regcomp.c (re_compile_pattern): Likewise.
3295         (re_set_syntax): Likewise.
3296         (re_compile_fastmap): Likewise.
3297         (regcomp): Likewise.
3298         (regerror): Likewise.
3299         (regfree): Likewise.
3300         * posix/regexec.c (regexec): Likewise.
3301         (re_match): Likewise.
3302         (re_search): Likewise.
3303         (re_match_2): Likewise.
3304         (re_search_2): Likewise.
3305         (re_search_stub): Likewise.  Use internal_function
3306         (re_copy_regs): Likewise.
3307         (re_set_registers): Convert to prototype-style function
3308         definition.
3309         (prune_impossible_nodes): Likewise.  Use internal_function.
3310         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3311         prototype-style function definition.
3312         (inet_net_pton_ipv4): Likewise.
3313         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3314         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3315         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3316         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3317         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3318         Make variadic.
3319         * time/strptime_l.c (localtime_r): Convert to prototype-style
3320         function definition.
3321         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3322         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3323         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3324         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3326         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3327         definition.
3328         (_ufc_doit_r): Likewise.
3329         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3330         (_ufc_output_conversion_r): Likewise.
3331         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3332         * inet/rcmd.c (rcmd_af): Likewise.
3333         (rcmd): Likewise.
3334         (ruserok_af): Likewise.
3335         (ruserok): Likewise.
3336         (ruserok2_sa): Likewise.
3337         (ruserok_sa): Likewise.
3338         (iruserok_af): Likewise.
3339         (iruserok): Likewise.
3340         (__ivaliduser): Likewise.
3341         (__validuser2_sa): Likewise.
3342         * inet/rexec.c (rexec_af): Likewise.
3343         (rexec): Likewise.
3344         * inet/ruserpass.c (ruserpass): Likewise.
3345         * locale/programs/xmalloc.c (xcalloc): Likewise.
3346         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3347         * math/w_drem.c (__drem): Likewise.
3348         * math/w_dremf.c (__dremf): Likewise.
3349         * math/w_dreml.c (__dreml): Likewise.
3350         * misc/daemon.c (daemon): Likewise.
3351         * resolv/res_debug.c (p_fqnname): Likewise.
3352         * stdlib/div.c (div): Likewise.
3353         * string/memcmp.c (memcmp_bytes): Likewise.
3354         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3355         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3357         * crypt/cert.c (main): Convert to prototype-style function
3358         definition.
3359         * io/pipe.c (__pipe): Likewise.
3360         * io/pipe2.c (__pipe2): Likewise.
3361         * misc/futimesat.c (futimesat): Likewise.
3362         * misc/utimes.c (__utimes): Likewise.
3363         * posix/execve.c (__execve): Likewise.
3364         * posix/execvp.c (execvp): Likewise.
3365         * posix/execvpe.c (__execvpe): Likewise.
3366         * posix/fexecve.c (fexecve): Likewise.
3367         * socket/socketpair.c (socketpair): Likewise.
3368         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3369         * stdlib/erand48.c (erand48): Likewise.
3370         * stdlib/erand48_r.c (__erand48_r): Likewise.
3371         * stdlib/jrand48.c (jrand48): Likewise.
3372         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3373         * stdlib/lcong48.c (lcong48): Likewise.
3374         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3375         * stdlib/nrand48.c (nrand48): Likewise.
3376         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3377         * stdlib/seed48.c (seed48): Likewise.
3378         * stdlib/seed48_r.c (__seed48_r): Likewise.
3379         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3380         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3381         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3383 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3385         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3386         * configure: Regenerated.
3387         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3388         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3389         unconditional.
3390         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3391         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3392         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3393         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3394         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3395         unconditional.
3396         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3398         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3399         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3401         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3402         function definition.
3403         * crypt/crypt_util.c (__encrypt_r): Likewise.
3404         * libio/genops.c (_IO_no_init): Likewise.
3405         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3406         (_IO_old_fopencookie): Likewise.
3407         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3408         * libio/iogetline.c (_IO_getline): Likewise.
3409         (_IO_getline_info): Likewise.
3410         * libio/iogetwline.c (_IO_getwline): Likewise.
3411         (_IO_getwline_info): Likewise.
3412         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3413         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3414         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3415         (find_entry): Likewise.
3416         (iterate_table): Likewise.
3417         (lookup): Likewise.
3418         * login/forkpty.c (forkpty): Likewise.
3419         * misc/hsearch_r.c (__hsearch_r): Likewise.
3420         * misc/select.c (__select): Likewise.
3421         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3422         Likewise.
3423         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3424         Likewise.
3425         * nptl/old_pthread_cond_timedwait.c
3426         (__pthread_cond_timedwait_2_0): Likewise.
3427         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3428         * nptl/pthread_barrierattr_getpshared.c
3429         (pthread_barrierattr_getpshared): Likewise.
3430         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3431         Likewise.
3432         * nptl/pthread_mutex_setprioceiling.c
3433         (pthread_mutex_setprioceiling): Likewise.
3434         * nptl/pthread_mutexattr_getprioceiling.c
3435         (pthread_mutexattr_getprioceiling): Likewise.
3436         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3437         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3438         Likewise.
3439         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3440         Likewise.
3441         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3442         Likewise.
3443         * socket/recvfrom.c (__recvfrom): Likewise.
3444         * socket/sendto.c (__sendto): Likewise.
3445         * socket/setsockopt.c (__setsockopt): Likewise.
3446         * stdio-common/_itoa.c (_itoa): Likewise.
3447         * stdio-common/_itowa.c (_itowa): Likewise.
3448         * stdio-common/reg-printf.c (__register_printf_specifier):
3449         Likewise.
3450         (__register_printf_function): Likewise.
3451         * stdio-common/tempname.c (__path_search): Likewise.
3452         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3453         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3454         * stdlib/random_r.c (__initstate_r): Likewise.
3455         * stdlib/setenv.c (__add_to_environ): Likewise.
3456         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3457         * streams/getpmsg.c (getpmsg): Likewise.
3458         * streams/putmsg.c (putmsg): Likewise.
3459         * streams/putpmsg.c (putpmsg): Likewise.
3460         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3461         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3462         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3463         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3464         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3465         * sunrpc/svc_udp.c (cache_get): Likewise.
3466         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3467         * sysdeps/mach/hurd/getcwd.c
3468         (__canonicalize_directory_name_internal): Likewise.
3469         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3470         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3471         * sysdeps/mach/hurd/select.c (__select): Likewise.
3472         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3473         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3474         * sysdeps/sparc/nptl/pthread_barrier_init.c
3475         (__pthread_barrier_init): Likewise.
3476         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3477         (__pthread_cond_timedwait): Likewise.
3478         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3479         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3480         Likewise.
3481         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3482         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3483         Likewise.
3484         * sysvipc/semtimedop.c (semtimedop): Likewise.
3485         * time/setitimer.c (__setitimer): Likewise.
3486         * time/strftime_l.c (emacs_strftime): Likewise.
3488 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3490         * config.make.in (have-ssp): Delete.
3491         (stack-protector): New variable.
3492         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3493         cache test for -fstack-protector-strong.  Export stack_protector to
3494         the best ssp flag.
3495         * configure: Regenerated.
3496         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3497         * nscd/Makefile (CFLAGS-nscd): Likewise.
3498         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3500 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3502         [BZ #19122]
3503         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3504         attribute_hidden.
3506 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3508         [BZ #18743]
3509         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3510         code to...
3511         (ELIDE_LOCK): ...here.
3512         (__get_new_count): New function with part of the code from
3513         __elide_lock that updates the value of adapt_count after a
3514         transaction abort.
3515         (__elided_trylock): Moved this code to...
3516         (ELIDE_TRYLOCK): ...here.
3518 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3520         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3521         * configure: Regenerate.
3522         * INSTALL: Regenerate.
3523         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3524         and tweak grammar.
3526 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3528         * login/programs/pt_chown.c: Include signal.h
3529         (main): Clear any signal mask from the parent process.
3531 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3533         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3534         * configure: Regenerated.
3535         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3536         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3537         $(gnu89-inline-CFLAGS).
3539         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3540         test.
3541         (libc_cv_asm_weakext_directive): Likewise.
3542         * configure: Regenerated.
3543         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3544         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3545         * include/libc-symbols.h
3546         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3547         #error.
3548         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3549         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3551         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3552         prototype-style function definition.
3553         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3554         * sysdeps/i386/ffs.c (__ffs): Likewise.
3555         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3556         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3557         Likewise.
3558         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3559         Likewise.
3560         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3561         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3562         Likewise.
3563         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3564         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3565         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3566         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3567         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3568         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3569         * sysdeps/mach/hurd/access.c (__access): Likewise.
3570         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3571         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3572         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3573         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3574         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3575         (cthread_getspecific): Likewise.
3576         (cthread_setspecific): Likewise.
3577         (__libc_getspecific): Likewise.
3578         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3579         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3580         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3581         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3582         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3583         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3584         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3585         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3586         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3587         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3588         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3589         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3590         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3591         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3592         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3593         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3594         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3595         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3596         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3597         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3598         * sysdeps/mach/hurd/link.c (__link): Likewise.
3599         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3600         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3601         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3602         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3603         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3604         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3605         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3606         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3607         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3608         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3609         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3610         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3611         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3612         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3613         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3614         * sysdeps/mach/hurd/send.c (__send): Likewise.
3615         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3616         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3617         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3618         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3619         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3620         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3621         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3622         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3623         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3624         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3625         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3626         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3627         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3628         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3629         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3630         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3631         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3632         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3633         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3634         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3635         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3636         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3637         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3638         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3639         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3640         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3641         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3642         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3643         * sysdeps/posix/alarm.c (alarm): Likewise.
3644         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3645         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3646         * sysdeps/posix/dup.c (__dup): Likewise.
3647         * sysdeps/posix/dup2.c (__dup2): Likewise.
3648         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3649         (main): Likewise.
3650         * sysdeps/posix/flock.c (__flock): Likewise.
3651         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3652         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3653         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3654         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3655         * sysdeps/posix/isatty.c (__isatty): Likewise.
3656         * sysdeps/posix/killpg.c (killpg): Likewise.
3657         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3658         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3659         * sysdeps/posix/raise.c (raise): Likewise.
3660         * sysdeps/posix/remove.c (remove): Likewise.
3661         * sysdeps/posix/rename.c (rename): Likewise.
3662         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3663         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3664         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3665         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3666         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3667         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3668         * sysdeps/posix/sigset.c (sigset): Likewise.
3669         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3670         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3671         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3672         * sysdeps/posix/time.c (time): Likewise.
3673         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3674         (ttyname): Likewise.
3675         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3676         * sysdeps/posix/utime.c (utime): Likewise.
3677         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3678         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3679         Likewise.
3680         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3681         (pthread_spin_trylock): Likewise.
3682         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3683         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3684         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3685         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3686         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3687         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3688         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3689         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3690         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3691         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3692         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3693         * sysdeps/s390/ffs.c (__ffs): Likewise.
3694         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3695         Likewise.
3696         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3697         Likewise.
3698         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3699         Likewise.
3700         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3701         (pthread_barrier_destroy): Likewise.
3702         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3703         (__pthread_barrier_wait): Likewise.
3704         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3705         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3706         (__pthread_barrier_wait): Likewise.
3707         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3708         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3709         (memcmp_not_common_alignment): Likewise.
3710         (MEMCMP): Likewise.
3711         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3712         (_wordcopy_fwd_dest_aligned): Likewise.
3713         (_wordcopy_bwd_aligned): Likewise.
3714         (_wordcopy_bwd_dest_aligned): Likewise.
3715         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3716         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3717         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3718         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3719         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3720         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3721         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3722         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3723         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3724         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3725         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3726         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3727         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3728         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3729         * sysdeps/unix/stime.c (stime): Likewise.
3730         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3731         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3732         Likewise.  Use internal_function.
3733         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3734         Convert to prototype-style function definition.
3735         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3736         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3737         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3738         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3739         Likewise.  Use internal_function.
3740         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3741         prototype-style function definition
3742         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3743         Likewise.
3744         (__getlogin_r): Likewise.
3745         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3746         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3747         (__pthread_cond_broadcast): Likewise.
3748         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3749         (__pthread_cond_destroy): Likewise.
3750         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3751         (__pthread_cond_init): Likewise.
3752         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3753         (__pthread_cond_signal): Likewise.
3754         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3755         (__pthread_cond_wait): Likewise.
3756         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3757         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3758         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3759         Likewise.
3760         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3761         Likewise.
3762         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3763         Likewise.
3764         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3765         Likewise.
3766         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3768         (__ftruncate64): Likewise.
3769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3770         (truncate64): Likewise.
3771         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3772         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3773         (pthread_getcpuclockid): Likewise.
3774         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3775         Likewise.
3776         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3777         Likewise.
3778         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3779         Likewise.
3780         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3781         Likewise.
3782         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3783         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3784         (__libc_sigaction): Likewise.
3785         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3786         Likewise.
3787         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3788         (__sigprocmask): Likewise.
3789         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3790         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3791         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3792         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3793         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3794         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3795         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3796         Likewise.
3797         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3798         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3799         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3800         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3801         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3804         (__sigprocmask): Likewise.
3805         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3806         (cfgetispeed): Likewise.
3807         (cfsetospeed): Likewise.
3808         (cfsetispeed): Likewise.
3809         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3810         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3811         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3812         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3813         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3814         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3815         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3816         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3817         Likewise.
3818         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3819         Likewise.
3820         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3821         Likewise.
3822         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3823         Likewise.
3824         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3826 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3828         sunrpc: Rewrite with explicit TLS access using __thread.
3829         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3830         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3831         directly.
3832         (__rpc_thread_variables): Access thread_rpc_vars directly.
3833         Eliminate redundant assignment of the tvp variable.
3835 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3837         malloc: Rewrite with explicit TLS access using __thread.
3838         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3839         (tsd_setspecific, tsd_getspecific): Remove.
3840         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3841         (tsd_setspecific, tsd_getspecific): Likewise.
3842         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3843         (tsd_setspecific, tsd_getspecific): Likewise.
3844         * malloc/arena.c (thread_arena): New TLS variable.
3845         (arena_key): Remove variable.
3846         (arena_get): Use thread_arena.
3847         (arena_lookup): Remove macro.
3848         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3849         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3850         (_int_new_arena, get_free_list, reused_arena)
3851         (arena_thread_freeres): Use thread_arena.
3852         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3853         tsd_getspecific, tsd_setspecific from safety annotations.
3854         (Allocating Cleared Space): Remove arena_lookup from safety
3855         annotations.
3857 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3859         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3860         struct scratch_buffer instead of extend_alloca.
3862 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3864         * sysdeps/unix/sysv/linux/kernel-features.h
3865         (__ASSUME_SOCK_CLOEXEC): Remove.
3866         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3867         (__have_paccept): Remove unused macro.
3868         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3869         * misc/syslog.c (openlog_internal): Remove fallback code for
3870         !__ASSUME_SOCK_CLOEXEC.
3871         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3872         missing SOCK_CLOEXEC.
3873         * nscd/connections.c (have_sock_cloexec): Remove definition.
3874         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3875         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3876         !__ASSUME_SOCK_CLOEXEC.
3877         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3878         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3879         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3880         definition.
3881         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3882         code for !__ASSUME_SOCK_CLOEXEC.
3884 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3886         [BZ #18982]
3887         * manual/stdio.texi (Variable Arguments Output): Add portability
3888         note, explaining that vfprintf clobbers the va_list pointer.
3890 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3892         * math/libm-test.inc (fabs_test_data): Add more tests.
3893         (fdim_test_data): Likewise.
3894         (fma_test_data): Likewise.
3895         (fmax_test_data): Likewise.
3896         (fmin_test_data): Likewise.
3897         (fmod_test_data): Likewise.
3899 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3901         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3902         data.
3904 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3906         * math/libm-test.inc (ceil_test_data): Add more tests and more
3907         expectations for "inexact".
3908         (floor_test_data): Add more tests.
3909         (round_test_data): Likewise.
3910         (trunc_test_data): Likewise.
3912         * crypt/cert.c (good_bye): Convert to prototype-style function
3913         definition.
3914         (get8): Likewise.
3915         (put8): Likewise.
3916         * crypt/crypt-entry.c (crypt): Likewise.
3917         (__fcrypt): Likewise.
3918         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3919         (_ufc_set_bits): Likewise.
3920         (_ufc_clearmem): Likewise.
3921         (__init_des_r): Likewise.
3922         (shuffle_sb): Likewise.
3923         (shuffle_sb): Likewise.
3924         (_ufc_setup_salt_r): Likewise.
3925         (_ufc_mk_keytab_r): Likewise.
3926         (_ufc_dofinalperm_r): Likewise.
3927         (encrypt): Likewise.
3928         (__setkey_r): Likewise.
3929         (setkey): Likewise.
3930         * crypt/md5.c (md5_init_ctx): Likewise.
3931         (md5_read_ctx): Likewise.
3932         (md5_finish_ctx): Likewise.
3933         (md5_stream): Likewise.
3934         (md5_buffer): Likewise.
3935         (md5_process_bytes): Likewise.
3936         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3937         (__sha256_finish_ctx): Likewise.
3938         (__sha256_process_bytes): Likewise.
3939         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3940         (__sha512_finish_ctx): Likewise.
3941         (__sha512_process_bytes): Likewise.
3942         * ctype/isctype.c (__isctype): Likewise.
3943         * debug/backtrace.c (__backtrace): Likewise.
3944         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3945         * debug/fgets_chk.c (__fgets_chk): Likewise.
3946         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3947         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3948         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3949         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3950         * debug/memset_chk.c (__memset_chk): Likewise.
3951         * debug/strcat_chk.c (__strcat_chk): Likewise.
3952         * debug/strncat_chk.c (__strncat_chk): Likewise.
3953         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3954         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3955         * dirent/dirfd.c (dirfd): Likewise.
3956         * dirent/getdents.c (__getdirentries): Likewise.
3957         * dirent/getdents64.c (getdirentries64): Likewise.
3958         * dirent/rewinddir.c (__rewinddir): Likewise.
3959         * dirent/seekdir.c (seekdir): Likewise.
3960         * dirent/telldir.c (telldir): Likewise.
3961         * elf/sln.c (makesymlinks): Likewise.
3962         (makesymlink): Likewise.
3963         * gmon/gmon.c (__moncontrol): Likewise.
3964         (__monstartup): Likewise.
3965         (write_hist): Likewise.
3966         (write_call_graph): Likewise.
3967         (write_bb_counts): Likewise.
3968         * grp/setgroups.c (setgroups): Likewise.
3969         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3970         * inet/inet_net.c (inet_network): Likewise.
3971         * inet/inet_netof.c (inet_netof): Likewise.
3972         * inet/rcmd.c (rresvport_af): Likewise.
3973         (rresvport): Likewise.
3974         * io/access.c (__access): Likewise.
3975         * io/chdir.c (__chdir): Likewise.
3976         * io/chmod.c (__chmod): Likewise.
3977         * io/chown.c (__chown): Likewise.
3978         * io/close.c (__close): Likewise.
3979         * io/creat.c (creat): Likewise.
3980         * io/creat64.c (creat64): Likewise.
3981         * io/dup.c (__dup): Likewise.
3982         * io/dup2.c (__dup2): Likewise.
3983         * io/dup3.c (__dup3): Likewise.
3984         * io/euidaccess.c (__euidaccess): Likewise.
3985         * io/faccessat.c (faccessat): Likewise.
3986         * io/fchmod.c (__fchmod): Likewise.
3987         * io/fchmodat.c (fchmodat): Likewise.
3988         * io/fchown.c (__fchown): Likewise.
3989         * io/fchownat.c (fchownat): Likewise.
3990         * io/fcntl.c (__fcntl): Likewise.
3991         * io/flock.c (__flock): Likewise.
3992         * io/fts.c (fts_load): Likewise.
3993         (fts_close): Likewise.
3994         (fts_read): Likewise.
3995         (fts_set): Likewise.
3996         (fts_children): Likewise.
3997         (fts_build): Likewise.
3998         (fts_stat): Likewise.
3999         (fts_sort): Likewise.
4000         (fts_alloc): Likewise.
4001         (fts_lfree): Likewise.
4002         (fts_palloc): Likewise.
4003         (fts_padjust): Likewise.
4004         (fts_maxarglen): Likewise.
4005         (fts_safe_changedir): Likewise.
4006         * io/getwd.c (getwd): Likewise.
4007         * io/isatty.c (__isatty): Likewise.
4008         * io/lchown.c (__lchown): Likewise.
4009         * io/link.c (__link): Likewise.
4010         * io/linkat.c (linkat): Likewise.
4011         * io/lseek.c (__libc_lseek): Likewise.
4012         * io/mkdir.c (__mkdir): Likewise.
4013         * io/mkdirat.c (mkdirat): Likewise.
4014         * io/mkfifo.c (mkfifo): Likewise.
4015         * io/mkfifoat.c (mkfifoat): Likewise.
4016         * io/open.c (__libc_open): Likewise.
4017         * io/open64.c (__libc_open64): Likewise.
4018         * io/readlink.c (__readlink): Likewise.
4019         * io/readlinkat.c (readlinkat): Likewise.
4020         * io/rmdir.c (__rmdir): Likewise.
4021         * io/symlink.c (__symlink): Likewise.
4022         * io/symlinkat.c (symlinkat): Likewise.
4023         * io/ttyname.c (ttyname): Likewise.
4024         * io/ttyname_r.c (__ttyname_r): Likewise.
4025         * io/umask.c (__umask): Likewise.
4026         * io/unlink.c (__unlink): Likewise.
4027         * io/unlinkat.c (unlinkat): Likewise.
4028         * io/utime.c (utime): Likewise.
4029         * libio/clearerr.c (clearerr): Likewise.
4030         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4031         * libio/feof.c (_IO_feof): Likewise.
4032         * libio/feof_u.c (feof_unlocked): Likewise.
4033         * libio/ferror.c (_IO_ferror): Likewise.
4034         * libio/ferror_u.c (ferror_unlocked): Likewise.
4035         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4036         * libio/fileno.c (__fileno): Likewise.
4037         * libio/fputc.c (fputc): Likewise.
4038         * libio/fputc_u.c (fputc_unlocked): Likewise.
4039         * libio/fputwc.c (fputwc): Likewise.
4040         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4041         * libio/freopen.c (freopen): Likewise.
4042         * libio/freopen64.c (freopen64): Likewise.
4043         * libio/fseek.c (fseek): Likewise.
4044         * libio/fseeko.c (fseeko): Likewise.
4045         * libio/fseeko64.c (fseeko64): Likewise.
4046         * libio/ftello.c (__ftello): Likewise.
4047         * libio/ftello64.c (ftello64): Likewise.
4048         * libio/fwide.c (fwide): Likewise.
4049         * libio/genops.c (_IO_un_link): Likewise.
4050         (_IO_link_in): Likewise.
4051         (_IO_least_marker): Likewise.
4052         (_IO_switch_to_main_get_area): Likewise.
4053         (_IO_switch_to_backup_area): Likewise.
4054         (_IO_switch_to_get_mode): Likewise.
4055         (_IO_free_backup_area): Likewise.
4056         (_IO_switch_to_put_mode): Likewise.
4057         (__overflow): Likewise.
4058         (__underflow): Likewise.
4059         (__uflow): Likewise.
4060         (_IO_setb): Likewise.
4061         (_IO_doallocbuf): Likewise.
4062         (_IO_default_underflow): Likewise.
4063         (_IO_default_uflow): Likewise.
4064         (_IO_default_xsputn): Likewise.
4065         (_IO_sgetn): Likewise.
4066         (_IO_default_xsgetn): Likewise.
4067         (_IO_sync): Likewise.
4068         (_IO_default_setbuf): Likewise.
4069         (_IO_default_seekpos): Likewise.
4070         (_IO_default_doallocate): Likewise.
4071         (_IO_init): Likewise.
4072         (_IO_old_init): Likewise.
4073         (_IO_default_sync): Likewise.
4074         (_IO_default_finish): Likewise.
4075         (_IO_default_seekoff): Likewise.
4076         (_IO_sputbackc): Likewise.
4077         (_IO_sungetc): Likewise.
4078         (_IO_set_column): Likewise.
4079         (_IO_set_column): Likewise.
4080         (_IO_adjust_column): Likewise.
4081         (_IO_get_column): Likewise.
4082         (_IO_init_marker): Likewise.
4083         (_IO_remove_marker): Likewise.
4084         (_IO_marker_difference): Likewise.
4085         (_IO_marker_delta): Likewise.
4086         (_IO_seekmark): Likewise.
4087         (_IO_unsave_markers): Likewise.
4088         (_IO_nobackup_pbackfail): Likewise.
4089         (_IO_default_pbackfail): Likewise.
4090         (_IO_default_seek): Likewise.
4091         (_IO_default_stat): Likewise.
4092         (_IO_default_read): Likewise.
4093         (_IO_default_write): Likewise.
4094         (_IO_default_showmanyc): Likewise.
4095         (_IO_default_imbue): Likewise.
4096         (_IO_iter_next): Likewise.
4097         (_IO_iter_file): Likewise.
4098         * libio/getc.c (_IO_getc): Likewise.
4099         * libio/getwc.c (_IO_getwc): Likewise.
4100         * libio/iofclose.c (_IO_new_fclose): Likewise.
4101         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4102         * libio/iofflush.c (_IO_fflush): Likewise.
4103         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4104         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4105         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4106         * libio/iofgets.c (_IO_fgets): Likewise.
4107         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4108         * libio/iofgetws.c (fgetws): Likewise.
4109         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4110         * libio/iofopen64.c (_IO_fopen64): Likewise.
4111         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4112         (_IO_cookie_write): Likewise.
4113         (_IO_cookie_seek): Likewise.
4114         (_IO_cookie_close): Likewise.
4115         (_IO_cookie_seekoff): Likewise.
4116         (_IO_old_cookie_seek): Likewise.
4117         * libio/iofputs.c (_IO_fputs): Likewise.
4118         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4119         * libio/iofputws.c (fputws): Likewise.
4120         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4121         * libio/iofread.c (_IO_fread): Likewise.
4122         * libio/iofread_u.c (__fread_unlocked): Likewise.
4123         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4124         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4125         * libio/ioftell.c (_IO_ftell): Likewise.
4126         * libio/iofwrite.c (_IO_fwrite): Likewise.
4127         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4128         * libio/iogets.c (_IO_gets): Likewise.
4129         * libio/iopadn.c (_IO_padn): Likewise.
4130         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4131         (_IO_new_popen): Likewise.
4132         (_IO_new_proc_close): Likewise.
4133         * libio/ioputs.c (_IO_puts): Likewise.
4134         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4135         (_IO_seekoff): Likewise.
4136         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4137         (_IO_seekpos): Likewise.
4138         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4139         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4140         * libio/ioungetc.c (_IO_ungetc): Likewise.
4141         * libio/ioungetwc.c (ungetwc): Likewise.
4142         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4143         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4144         * libio/iowpadn.c (_IO_wpadn): Likewise.
4145         * libio/libc_fatal.c (__libc_fatal): Likewise.
4146         * libio/memstream.c (__open_memstream): Likewise.
4147         (_IO_mem_sync): Likewise.
4148         (_IO_mem_finish): Likewise.
4149         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4150         (_IO_old_file_close_it): Likewise.
4151         (_IO_old_file_finish): Likewise.
4152         (_IO_old_file_fopen): Likewise.
4153         (_IO_old_file_attach): Likewise.
4154         (_IO_old_file_setbuf): Likewise.
4155         (_IO_old_do_write): Likewise.
4156         (old_do_write): Likewise.
4157         (_IO_old_file_underflow): Likewise.
4158         (_IO_old_file_overflow): Likewise.
4159         (_IO_old_file_sync): Likewise.
4160         (_IO_old_file_seekoff): Likewise.
4161         (_IO_old_file_write): Likewise.
4162         (_IO_old_file_xsputn): Likewise.
4163         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4164         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4165         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4166         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4167         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4168         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4169         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4170         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4171         (_IO_old_popen): Likewise.
4172         (_IO_old_proc_close): Likewise.
4173         * libio/oldpclose.c (__old_pclose): Likewise.
4174         * libio/pclose.c (__new_pclose): Likewise.
4175         * libio/peekc.c (_IO_peekc_locked): Likewise.
4176         * libio/putc.c (_IO_putc): Likewise.
4177         * libio/putc_u.c (putc_unlocked): Likewise.
4178         * libio/putchar.c (putchar): Likewise.
4179         * libio/putchar_u.c (putchar_unlocked): Likewise.
4180         * libio/putwc.c (putwc): Likewise.
4181         * libio/putwc_u.c (putwc_unlocked): Likewise.
4182         * libio/putwchar.c (putwchar): Likewise.
4183         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4184         * libio/rewind.c (rewind): Likewise.
4185         * libio/setbuf.c (setbuf): Likewise.
4186         * libio/setlinebuf.c (setlinebuf): Likewise.
4187         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4188         * libio/vscanf.c (_IO_vscanf): Likewise.
4189         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4190         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4191         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4192         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4193         (_IO_switch_to_main_wget_area): Likewise.
4194         (_IO_switch_to_wbackup_area): Likewise.
4195         (_IO_wsetb): Likewise.
4196         (_IO_wdefault_pbackfail): Likewise.
4197         (_IO_wdefault_finish): Likewise.
4198         (_IO_wdefault_uflow): Likewise.
4199         (__woverflow): Likewise.
4200         (__wuflow): Likewise.
4201         (__wunderflow): Likewise.
4202         (_IO_wdefault_xsputn): Likewise.
4203         (_IO_wdefault_xsgetn): Likewise.
4204         (_IO_wdoallocbuf): Likewise.
4205         (_IO_wdefault_doallocate): Likewise.
4206         (_IO_switch_to_wget_mode): Likewise.
4207         (_IO_free_wbackup_area): Likewise.
4208         (_IO_switch_to_wput_mode): Likewise.
4209         (_IO_sputbackwc): Likewise.
4210         (_IO_sungetwc): Likewise.
4211         (_IO_adjust_wcolumn): Likewise.
4212         (_IO_init_wmarker): Likewise.
4213         (_IO_wmarker_delta): Likewise.
4214         (_IO_seekwmark): Likewise.
4215         (_IO_unsave_wmarkers): Likewise.
4216         * libio/wmemstream.c (open_wmemstream): Likewise.
4217         (_IO_wmem_sync): Likewise.
4218         (_IO_wmem_finish): Likewise.
4219         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4220         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4221         * locale/programs/simple-hash.c (init_hash): Likewise.
4222         (delete_hash): Likewise.
4223         (insert_entry): Likewise.
4224         (set_entry): Likewise.
4225         (next_prime): Likewise.
4226         (is_prime): Likewise.
4227         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4228         (xmalloc): Likewise.
4229         (xrealloc): Likewise.
4230         * locale/programs/xstrdup.c (xstrdup): Likewise.
4231         * localedata/collate-test.c (xstrcoll): Likewise.
4232         * localedata/xfrm-test.c (xstrcmp): Likewise.
4233         * login/getlogin_r.c (__getlogin_r): Likewise.
4234         * login/getpt.c (__posix_openpt): Likewise.
4235         * login/login_tty.c (login_tty): Likewise.
4236         * login/setlogin.c (setlogin): Likewise.
4237         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4238         (mach_msg_destroy_port): Likewise.
4239         (mach_msg_destroy_memory): Likewise.
4240         * malloc/mcheck.c (flood): Likewise.
4241         * misc/acct.c (acct): Likewise.
4242         * misc/brk.c (__brk): Likewise.
4243         * misc/chflags.c (chflags): Likewise.
4244         * misc/chroot.c (chroot): Likewise.
4245         * misc/fchflags.c (fchflags): Likewise.
4246         * misc/fstab.c (getfsspec): Likewise.
4247         (getfsfile): Likewise.
4248         * misc/fsync.c (fsync): Likewise.
4249         * misc/ftruncate.c (__ftruncate): Likewise.
4250         * misc/ftruncate64.c (__ftruncate64): Likewise.
4251         * misc/getdomain.c (getdomainname): Likewise.
4252         (getdomainname): Likewise.
4253         * misc/gethostname.c (__gethostname): Likewise.
4254         * misc/getpass.c (getpass): Likewise.
4255         * misc/getttyent.c (skip): Likewise.
4256         (value): Likewise.
4257         * misc/gtty.c (gtty): Likewise.
4258         * misc/hsearch.c (hsearch): Likewise.
4259         (hcreate): Likewise.
4260         * misc/hsearch_r.c (__hcreate_r): Likewise.
4261         (__hdestroy_r): Likewise.
4262         * misc/ioctl.c (__ioctl): Likewise.
4263         * misc/mkdtemp.c (mkdtemp): Likewise.
4264         * misc/mkostemp.c (mkostemp): Likewise.
4265         * misc/mkostemp64.c (mkostemp64): Likewise.
4266         * misc/mkostemps.c (mkostemps): Likewise.
4267         * misc/mkostemps64.c (mkostemps64): Likewise.
4268         * misc/mkstemp.c (mkstemp): Likewise.
4269         * misc/mkstemp64.c (mkstemp64): Likewise.
4270         * misc/mkstemps.c (mkstemps): Likewise.
4271         * misc/mkstemps64.c (mkstemps64): Likewise.
4272         * misc/mktemp.c (__mktemp): Likewise.
4273         * misc/preadv.c (preadv): Likewise.
4274         * misc/preadv64.c (preadv64): Likewise.
4275         * misc/pwritev.c (pwritev): Likewise.
4276         * misc/pwritev64.c (pwritev64): Likewise.
4277         * misc/readv.c (__readv): Likewise.
4278         * misc/revoke.c (revoke): Likewise.
4279         * misc/setdomain.c (setdomainname): Likewise.
4280         * misc/setegid.c (setegid): Likewise.
4281         * misc/seteuid.c (seteuid): Likewise.
4282         * misc/sethostid.c (sethostid): Likewise.
4283         * misc/sethostname.c (sethostname): Likewise.
4284         * misc/setregid.c (__setregid): Likewise.
4285         * misc/setreuid.c (__setreuid): Likewise.
4286         * misc/sstk.c (sstk): Likewise.
4287         * misc/stty.c (stty): Likewise.
4288         * misc/syscall.c (syscall): Likewise.
4289         * misc/syslog.c (setlogmask): Likewise.
4290         * misc/truncate.c (__truncate): Likewise.
4291         * misc/truncate64.c (truncate64): Likewise.
4292         * misc/ualarm.c (ualarm): Likewise.
4293         * misc/usleep.c (usleep): Likewise.
4294         * misc/ustat.c (ustat): Likewise.
4295         * misc/writev.c (__writev): Likewise.
4296         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4297         * nptl/old_pthread_cond_broadcast.c
4298         (__pthread_cond_broadcast_2_0): Likewise.
4299         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4300         Likewise.
4301         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4302         Likewise.
4303         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4304         Likewise.
4305         * nptl/pt-raise.c (raise): Likewise.
4306         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4307         Likewise.
4308         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4309         * nptl/pthread_barrierattr_destroy.c
4310         (pthread_barrierattr_destroy): Likewise.
4311         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4312         Likewise.
4313         * nptl/pthread_barrierattr_setpshared.c
4314         (pthread_barrierattr_setpshared): Likewise.
4315         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4316         Likewise.
4317         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4318         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4319         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4320         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4321         Likewise.
4322         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4323         Likewise.
4324         * nptl/pthread_condattr_getpshared.c
4325         (pthread_condattr_getpshared): Likewise.
4326         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4327         Likewise.
4328         * nptl/pthread_condattr_setpshared.c
4329         (pthread_condattr_setpshared): Likewise.
4330         * nptl/pthread_detach.c (pthread_detach): Likewise.
4331         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4332         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4333         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4334         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4335         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4336         Likewise.
4337         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4338         Likewise.
4339         * nptl/pthread_mutex_getprioceiling.c
4340         (pthread_mutex_getprioceiling): Likewise.
4341         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4342         Likewise.
4343         * nptl/pthread_mutexattr_getprotocol.c
4344         (pthread_mutexattr_getprotocol): Likewise.
4345         * nptl/pthread_mutexattr_getpshared.c
4346         (pthread_mutexattr_getpshared): Likewise.
4347         * nptl/pthread_mutexattr_getrobust.c
4348         (pthread_mutexattr_getrobust): Likewise.
4349         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4350         Likewise.
4351         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4352         Likewise.
4353         * nptl/pthread_mutexattr_setprioceiling.c
4354         (pthread_mutexattr_setprioceiling): Likewise.
4355         * nptl/pthread_mutexattr_setprotocol.c
4356         (pthread_mutexattr_setprotocol): Likewise.
4357         * nptl/pthread_mutexattr_setpshared.c
4358         (pthread_mutexattr_setpshared): Likewise.
4359         * nptl/pthread_mutexattr_setrobust.c
4360         (pthread_mutexattr_setrobust): Likewise.
4361         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4362         Likewise.
4363         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4364         Likewise.
4365         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4366         Likewise.
4367         * nptl/pthread_rwlockattr_getkind_np.c
4368         (pthread_rwlockattr_getkind_np): Likewise.
4369         * nptl/pthread_rwlockattr_getpshared.c
4370         (pthread_rwlockattr_getpshared): Likewise.
4371         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4372         Likewise.
4373         * nptl/pthread_rwlockattr_setkind_np.c
4374         (pthread_rwlockattr_setkind_np): Likewise.
4375         * nptl/pthread_rwlockattr_setpshared.c
4376         (pthread_rwlockattr_setpshared): Likewise.
4377         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4378         Likewise.
4379         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4380         Likewise.
4381         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4382         Likewise.
4383         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4384         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4385         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4386         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4387         * nptl/sem_close.c (sem_close): Likewise.
4388         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4389         * nptl/sem_init.c (__old_sem_init): Likewise.
4390         * nptl/sigaction.c (__sigaction): Likewise.
4391         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4392         * posix/_exit.c (_exit): Likewise.
4393         * posix/alarm.c (alarm): Likewise.
4394         * posix/confstr.c (confstr): Likewise.
4395         * posix/fpathconf.c (__fpathconf): Likewise.
4396         * posix/getgroups.c (__getgroups): Likewise.
4397         * posix/getpgid.c (__getpgid): Likewise.
4398         * posix/group_member.c (__group_member): Likewise.
4399         * posix/pathconf.c (__pathconf): Likewise.
4400         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4401         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4402         * posix/setgid.c (__setgid): Likewise.
4403         * posix/setpgid.c (__setpgid): Likewise.
4404         * posix/setuid.c (__setuid): Likewise.
4405         * posix/sleep.c (__sleep): Likewise.
4406         * posix/sysconf.c (__sysconf): Likewise.
4407         * posix/times.c (__times): Likewise.
4408         * posix/uname.c (__uname): Likewise.
4409         * posix/waitid.c (__waitid): Likewise.
4410         * pwd/getpw.c (__getpw): Likewise.
4411         * resolv/base64.c (b64_pton): Likewise.
4412         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4413         * resolv/gethnamaddr.c (Dprintf): Likewise.
4414         (gethostbyname): Likewise.
4415         (gethostbyname2): Likewise.
4416         (gethostbyaddr): Likewise.
4417         (_sethtent): Likewise.
4418         (_gethtbyname): Likewise.
4419         (_gethtbyname2): Likewise.
4420         (_gethtbyaddr): Likewise.
4421         (map_v4v6_address): Likewise.
4422         (map_v4v6_hostent): Likewise.
4423         (addrsort): Likewise.
4424         (ht_sethostent): Likewise.
4425         (ht_gethostbyname): Likewise.
4426         (ht_gethostbyaddr): Likewise.
4427         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4428         (inet_net_ntop_ipv4): Likewise.
4429         * resolv/inet_neta.c (inet_neta): Likewise.
4430         * resolv/inet_ntop.c (inet_ntop): Likewise.
4431         (inet_ntop4): Likewise.
4432         (inet_ntop6): Likewise.
4433         * resolv/inet_pton.c (__inet_pton): Likewise.
4434         (inet_pton4): Likewise.
4435         (inet_pton6): Likewise.
4436         * resolv/res_debug.c (loc_aton): Likewise.
4437         (loc_ntoa): Likewise.
4438         * resource/getpriority.c (__getpriority): Likewise.
4439         * resource/getrusage.c (__getrusage): Likewise.
4440         * resource/nice.c (nice): Likewise.
4441         * resource/setpriority.c (__setpriority): Likewise.
4442         * resource/setrlimit64.c (setrlimit64): Likewise.
4443         * resource/vlimit.c (vlimit): Likewise.
4444         * resource/vtimes.c (vtimes): Likewise.
4445         * rt/aio_error.c (aio_error): Likewise.
4446         * rt/aio_return.c (aio_return): Likewise.
4447         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4448         * signal/kill.c (__kill): Likewise.
4449         * signal/killpg.c (killpg): Likewise.
4450         * signal/raise.c (raise): Likewise.
4451         * signal/sigaction.c (__sigaction): Likewise.
4452         * signal/sigaddset.c (sigaddset): Likewise.
4453         * signal/sigaltstack.c (sigaltstack): Likewise.
4454         * signal/sigandset.c (sigandset): Likewise.
4455         * signal/sigblock.c (__sigblock): Likewise.
4456         * signal/sigdelset.c (sigdelset): Likewise.
4457         * signal/sigempty.c (sigemptyset): Likewise.
4458         * signal/sigfillset.c (sigfillset): Likewise.
4459         * signal/sighold.c (sighold): Likewise.
4460         * signal/sigignore.c (sigignore): Likewise.
4461         * signal/sigintr.c (siginterrupt): Likewise.
4462         * signal/sigisempty.c (sigisemptyset): Likewise.
4463         * signal/sigismem.c (sigismember): Likewise.
4464         * signal/signal.c (signal): Likewise.
4465         * signal/sigorset.c (sigorset): Likewise.
4466         * signal/sigpause.c (__sigpause): Likewise.
4467         * signal/sigpending.c (sigpending): Likewise.
4468         * signal/sigprocmask.c (__sigprocmask): Likewise.
4469         * signal/sigrelse.c (sigrelse): Likewise.
4470         * signal/sigreturn.c (__sigreturn): Likewise.
4471         * signal/sigset.c (sigset): Likewise.
4472         * signal/sigsetmask.c (__sigsetmask): Likewise.
4473         * signal/sigstack.c (sigstack): Likewise.
4474         * signal/sigsuspend.c (__sigsuspend): Likewise.
4475         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4476         * signal/sysv_signal.c (__sysv_signal): Likewise.
4477         * socket/accept.c (accept): Likewise.
4478         * socket/accept4.c (__libc_accept4): Likewise.
4479         * socket/bind.c (__bind): Likewise.
4480         * socket/connect.c (__connect): Likewise.
4481         * socket/getpeername.c (getpeername): Likewise.
4482         * socket/getsockname.c (__getsockname): Likewise.
4483         * socket/getsockopt.c (getsockopt): Likewise.
4484         * socket/listen.c (__listen): Likewise.
4485         * socket/recv.c (__recv): Likewise.
4486         * socket/recvmsg.c (__recvmsg): Likewise.
4487         * socket/send.c (__send): Likewise.
4488         * socket/sendmsg.c (__sendmsg): Likewise.
4489         * socket/shutdown.c (shutdown): Likewise.
4490         * socket/sockatmark.c (sockatmark): Likewise.
4491         * socket/socket.c (__socket): Likewise.
4492         * stdio-common/ctermid.c (ctermid): Likewise.
4493         * stdio-common/cuserid.c (cuserid): Likewise.
4494         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4495         * stdio-common/remove.c (remove): Likewise.
4496         * stdio-common/rename.c (rename): Likewise.
4497         * stdio-common/renameat.c (renameat): Likewise.
4498         * stdio-common/tempname.c (__gen_tempname): Likewise.
4499         * stdio-common/xbug.c (InitBuffer): Likewise.
4500         (AppendToBuffer): Likewise.
4501         (ReadFile): Likewise.
4502         * stdlib/a64l.c (a64l): Likewise.
4503         * stdlib/drand48_r.c (drand48_r): Likewise.
4504         * stdlib/getcontext.c (getcontext): Likewise.
4505         * stdlib/getenv.c (getenv): Likewise.
4506         * stdlib/l64a.c (l64a): Likewise.
4507         * stdlib/llabs.c (llabs): Likewise.
4508         * stdlib/lldiv.c (lldiv): Likewise.
4509         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4510         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4511         * stdlib/putenv.c (putenv): Likewise.
4512         * stdlib/random.c (__srandom): Likewise.
4513         (__initstate): Likewise.
4514         (__setstate): Likewise.
4515         * stdlib/random_r.c (__srandom_r): Likewise.
4516         (__setstate_r): Likewise.
4517         (__random_r): Likewise.
4518         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4519         * stdlib/setcontext.c (setcontext): Likewise.
4520         * stdlib/setenv.c (setenv): Likewise.
4521         (unsetenv): Likewise.
4522         * stdlib/srand48.c (srand48): Likewise.
4523         * stdlib/srand48_r.c (__srand48_r): Likewise.
4524         * stdlib/swapcontext.c (swapcontext): Likewise.
4525         * stdlib/system.c (__libc_system): Likewise.
4526         * stdlib/tst-strtod.c (expand): Likewise.
4527         * stdlib/tst-strtol.c (expand): Likewise.
4528         * stdlib/tst-strtoll.c (expand): Likewise.
4529         * streams/fattach.c (fattach): Likewise.
4530         * streams/fdetach.c (fdetach): Likewise.
4531         * streams/getmsg.c (getmsg): Likewise.
4532         * streams/isastream.c (isastream): Likewise.
4533         * string/ffs.c (__ffs): Likewise.
4534         * string/ffsll.c (ffsll): Likewise.
4535         * string/memcmp.c (memcmp_common_alignment): Likewise.
4536         (memcmp_not_common_alignment): Likewise.
4537         (MEMCMP): Likewise.
4538         * string/memcpy.c (memcpy): Likewise.
4539         * string/memmove.c (MEMMOVE): Likewise.
4540         * string/memset.c (memset): Likewise.
4541         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4542         * string/strchrnul.c (STRCHRNUL): Likewise.
4543         * string/strerror.c (strerror): Likewise.
4544         * string/strndup.c (__strndup): Likewise.
4545         * string/strverscmp.c (__strverscmp): Likewise.
4546         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4547         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4548         (clnttcp_freeres): Likewise.
4549         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4550         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4551         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4552         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4553         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4554         (xdr_callhdr): Likewise.
4555         * sunrpc/rpcinfo.c (udpping): Likewise.
4556         (tcpping): Likewise.
4557         (pstatus): Likewise.
4558         (pmapdump): Likewise.
4559         (brdcst): Likewise.
4560         (deletereg): Likewise.
4561         (getprognum): Likewise.
4562         (getvers): Likewise.
4563         (get_inet_address): Likewise.
4564         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4565         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4566         (svcudp_stat): Likewise.
4567         (svcudp_recv): Likewise.
4568         (svcudp_reply): Likewise.
4569         (svcudp_getargs): Likewise.
4570         (svcudp_freeargs): Likewise.
4571         (svcudp_destroy): Likewise.
4572         * sunrpc/xdr.c (xdr_bytes): Likewise.
4573         (xdr_netobj): Likewise.
4574         (xdr_string): Likewise.
4575         (xdr_wrapstring): Likewise.
4576         * sunrpc/xdr_float.c (xdr_float): Likewise.
4577         (xdr_double): Likewise.
4578         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4579         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4580         * sysvipc/ftok.c (ftok): Likewise.
4581         * sysvipc/msgctl.c (msgctl): Likewise.
4582         * sysvipc/msgget.c (msgget): Likewise.
4583         * sysvipc/msgrcv.c (msgrcv): Likewise.
4584         * sysvipc/msgsnd.c (msgsnd): Likewise.
4585         * sysvipc/semget.c (semget): Likewise.
4586         * sysvipc/semop.c (semop): Likewise.
4587         * sysvipc/shmat.c (shmat): Likewise.
4588         * sysvipc/shmctl.c (shmctl): Likewise.
4589         * sysvipc/shmdt.c (shmdt): Likewise.
4590         * sysvipc/shmget.c (shmget): Likewise.
4591         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4592         * termios/speed.c (cfgetospeed): Likewise.
4593         (cfgetispeed): Likewise.
4594         (cfsetospeed): Likewise.
4595         (cfsetispeed): Likewise.
4596         * termios/tcflow.c (tcflow): Likewise.
4597         * termios/tcflush.c (tcflush): Likewise.
4598         * termios/tcgetattr.c (__tcgetattr): Likewise.
4599         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4600         * termios/tcgetsid.c (tcgetsid): Likewise.
4601         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4602         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4603         * time/adjtime.c (__adjtime): Likewise.
4604         * time/dysize.c (dysize): Likewise.
4605         * time/ftime.c (ftime): Likewise.
4606         * time/getitimer.c (__getitimer): Likewise.
4607         * time/gettimeofday.c (__gettimeofday): Likewise.
4608         * time/gmtime.c (__gmtime_r): Likewise.
4609         (gmtime): Likewise.
4610         * time/localtime.c (__localtime_r): Likewise.
4611         (localtime): Likewise.
4612         * time/offtime.c (__offtime): Likewise.
4613         * time/settimeofday.c (__settimeofday): Likewise.
4614         * time/stime.c (stime): Likewise.
4615         * time/strftime_l.c (tm_diff): Likewise.
4616         (iso_week_days): Likewise.
4617         * time/strptime.c (strptime): Likewise.
4618         * time/time.c (time): Likewise.
4619         * time/timespec_get.c (timespec_get): Likewise.
4620         * time/tzset.c (tzset_internal): Likewise.
4621         (compute_change): Likewise.
4622         (__tz_compute): Likewise.
4623         * wcsmbs/btowc.c (__btowc): Likewise.
4624         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4625         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4626         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4627         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4628         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4629         * wcsmbs/wcscat.c (__wcscat): Likewise.
4630         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4631         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4632         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4633         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4634         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4635         * wcsmbs/wcslen.c (__wcslen): Likewise.
4636         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4637         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4638         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4639         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4640         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4641         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4642         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4643         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4644         * wcsmbs/wcstok.c (wcstok): Likewise.
4645         * wcsmbs/wctob.c (wctob): Likewise.
4646         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4647         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4648         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4649         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4650         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4651         * wcsmbs/wmemset.c (__wmemset): Likewise.
4652         * wctype/wcfuncs.c (__towlower): Likewise.
4653         (__towupper): Likewise.
4655         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4656         (lll_unlock_elision): Add adapt_count parameter.
4658 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4660         * sysdeps/nptl/configure.ac: Do not give errors based on the
4661         results of top-level configure tests.
4662         * sysdeps/nptl/configure: Regenerated.
4664         * configure.ac (libc_cv_Bgroup): Remove configure test.
4665         * configure: Regenerated.
4666         * config.make.in (have-Bgroup): Remove variable.
4668         * configure.ac (sizeof_long_double): Remove configure test.
4669         * configure: Regenerated.
4670         * config.make.in (sizeof-long-double): Remove variable.
4672         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4673         * configure: Regenerated.
4674         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4675         variable.
4676         (exceptions): Likewise.
4677         * sysdeps/arm/configure: Regenerated.
4678         * config.make.in (exceptions): Remove variable.
4679         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4680         $(exceptions).
4681         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4682         (CFLAGS-vdprintf_chk.c): Likewise.
4683         (CFLAGS-printf_chk.c): Likewise.
4684         (CFLAGS-fprintf_chk.c): Likewise.
4685         (CFLAGS-vprintf_chk.c): Likewise.
4686         (CFLAGS-vfprintf_chk.c): Likewise.
4687         (CFLAGS-gets_chk.c): Likewise.
4688         (CFLAGS-fgets_chk.c): Likewise.
4689         (CFLAGS-fgets_u_chk.c): Likewise.
4690         (CFLAGS-fread_chk.c): Likewise.
4691         (CFLAGS-fread_u_chk.c): Likewise.
4692         (CFLAGS-wprintf_chk.c): Likewise.
4693         (CFLAGS-fwprintf_chk.c): Likewise.
4694         (CFLAGS-vwprintf_chk.c): Likewise.
4695         (CFLAGS-vfwprintf_chk.c): Likewise.
4696         (CFLAGS-fgetws_chk.c): Likewise.
4697         (CFLAGS-fgetws_u_chk.c): Likewise.
4698         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4699         (CFLAGS-fputc.c): Likewise.
4700         (CFLAGS-fputwc.c): Likewise.
4701         (CFLAGS-freopen64.c): Likewise.
4702         (CFLAGS-freopen.c): Likewise.
4703         (CFLAGS-fseek.c): Likewise.
4704         (CFLAGS-fseeko64.c): Likewise.
4705         (CFLAGS-fseeko.c): Likewise.
4706         (CFLAGS-ftello64.c): Likewise.
4707         (CFLAGS-ftello.c): Likewise.
4708         (CFLAGS-fwide.c): Likewise.
4709         (CFLAGS-genops.c): Likewise.
4710         (CFLAGS-getc.c): Likewise.
4711         (CFLAGS-getchar.c): Likewise.
4712         (CFLAGS-getwc.c): Likewise.
4713         (CFLAGS-getwchar.c): Likewise.
4714         (CFLAGS-iofclose.c): Likewise.
4715         (CFLAGS-iofflush.c): Likewise.
4716         (CFLAGS-iofgetpos64.c): Likewise.
4717         (CFLAGS-iofgetpos.c): Likewise.
4718         (CFLAGS-iofgets.c): Likewise.
4719         (CFLAGS-iofgetws.c): Likewise.
4720         (CFLAGS-iofputs.c): Likewise.
4721         (CFLAGS-iofputws.c): Likewise.
4722         (CFLAGS-iofread.c): Likewise.
4723         (CFLAGS-iofsetpos64.c): Likewise.
4724         (CFLAGS-iofsetpos.c): Likewise.
4725         (CFLAGS-ioftell.c): Likewise.
4726         (CFLAGS-iofwrite.c): Likewise.
4727         (CFLAGS-iogetdelim.c): Likewise.
4728         (CFLAGS-iogetline.c): Likewise.
4729         (CFLAGS-iogets.c): Likewise.
4730         (CFLAGS-iogetwline.c): Likewise.
4731         (CFLAGS-ioputs.c): Likewise.
4732         (CFLAGS-ioseekoff.c): Likewise.
4733         (CFLAGS-ioseekpos.c): Likewise.
4734         (CFLAGS-iosetbuffer.c): Likewise.
4735         (CFLAGS-iosetvbuf.c): Likewise.
4736         (CFLAGS-ioungetc.c): Likewise.
4737         (CFLAGS-ioungetwc.c): Likewise.
4738         (CFLAGS-oldfileops.c): Likewise.
4739         (CFLAGS-oldiofclose.c): Likewise.
4740         (CFLAGS-oldiofgetpos64.c): Likewise.
4741         (CFLAGS-oldiofgetpos.c): Likewise.
4742         (CFLAGS-oldiofsetpos64.c): Likewise.
4743         (CFLAGS-oldiofsetpos.c): Likewise.
4744         (CFLAGS-peekc.c): Likewise.
4745         (CFLAGS-putc.c): Likewise.
4746         (CFLAGS-putchar.c): Likewise.
4747         (CFLAGS-putwc.c): Likewise.
4748         (CFLAGS-putwchar.c): Likewise.
4749         (CFLAGS-rewind.c): Likewise.
4750         (CFLAGS-wfileops.c): Likewise.
4751         (CFLAGS-wgenops.c): Likewise.
4752         (CFLAGS-oldiofopen.c): Likewise.
4753         (CFLAGS-iofopen.c): Likewise.
4754         (CFLAGS-iofopen64.c): Likewise.
4755         (CFLAGS-oldtmpfile.c): Likewise.
4756         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4757         (CFLAGS-fprintf.c): Likewise.
4758         (CFLAGS-printf.c): Likewise.
4759         (CFLAGS-vfwprintf.c): Likewise.
4760         (CFLAGS-vfscanf.c): Likewise.
4761         (CFLAGS-vfwscanf.c): Likewise.
4762         (CFLAGS-fscanf.c): Likewise.
4763         (CFLAGS-scanf.c): Likewise.
4764         (CFLAGS-isoc99_vfscanf.c): Likewise.
4765         (CFLAGS-isoc99_vscanf.c): Likewise.
4766         (CFLAGS-isoc99_fscanf.c): Likewise.
4767         (CFLAGS-isoc99_scanf.c): Likewise.
4768         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4769         (CFLAGS-isoc99_fwscanf.c): Likewise.
4770         (CFLAGS-isoc99_vwscanf.c): Likewise.
4771         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4773         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4774         after mkstemp64.
4775         * login/tst-utmp.c (do_prepare): Likewise.
4776         * rt/tst-aio.c (do_prepare): Likewise.
4777         * rt/tst-aio64.c (do_prepare): Likewise.
4779 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4781         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4782         (__lll_lock_elision): Remove adapt_count decrement...
4783         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4784         (__lll_trylock_elision): Likewise.
4785         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4786         (__lll_unlock_elision): ... to here. And utilize
4787         new adapt_count parameter.
4788         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4789         (__lll_unlock_elision): Update to include adapt_count
4790         parameter.
4791         (lll_unlock_elision): Pass pointer to adapt_count
4792         variable.
4794 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4796         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4797         Add elision adapt_count parameter to list of arguments.
4798         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4799         (lll_unlock_elision): Update with new parameter list
4800         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4801         (lll_unlock_elision): Likewise
4802         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4803         (lll_unlock_elision): Likewise
4805 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4807         [BZ #19122]
4808         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4809         attribute_hidden.
4811         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4812         attribute_hidden.
4813         [IS_IN (rtld)] (__strdup): Likewise.
4814         [IS_IN (rtld)] (__strerror_r): Likewise.
4815         [IS_IN (rtld)] (__strsep_g): Likewise.
4816         [IS_IN (rtld)] (memchr): Likewise.
4817         [IS_IN (rtld)] (memcmp): Likewise.
4818         [IS_IN (rtld)] (memcpy): Likewise.
4819         [IS_IN (rtld)] (memmove): Likewise.
4820         [IS_IN (rtld)] (memset): Likewise.
4821         [IS_IN (rtld)] (rawmemchr): Likewise.
4822         [IS_IN (rtld)] (stpcpy): Likewise.
4823         [IS_IN (rtld)] (strchr): Likewise.
4824         [IS_IN (rtld)] (strcmp): Likewise.
4825         [IS_IN (rtld)] (strlen): Likewise.
4826         [IS_IN (rtld)] (strnlen): Likewise.
4827         [IS_IN (rtld)] (strsep): Likewise.
4829         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4830         attribute_hidden.
4831         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4833         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4834         attribute_hidden.
4835         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4837         * include/setjmp.h (__longjmp): Add attribute_hidden.
4838         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4840         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4841         Add attribute_hidden.
4843         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4844         [IS_IN (rtld)] (__open): Likewise.
4845         [IS_IN (rtld)] (__fcntl): Likewise.
4847         * include/dirent.h (__opendirat): Add attribute_hidden.
4848         (__getdents): Likewise.
4849         (__getdents64): Likewise.
4850         (__alloc_dir): Likewise.
4851         [IS_IN (rtld)] (__closedir): Likewise.
4852         [IS_IN (rtld)] (__fdopendir): Likewise.
4853         [IS_IN (rtld)] (__readdir): Likewise.
4854         [IS_IN (rtld)] (__readdir64): Likewise.
4855         [IS_IN (rtld)] (__rewinddir): Likewise.
4857         * include/dlfcn.h (_dl_catch_error): Moved to ...
4858         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4859         attribute_hidden.
4861         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4862         (_itoa_word): Likewise.
4864         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4865         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4866         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4867         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4868         (_dl_higher_prime_number): Likewise.
4869         (_dl_debug_printf_c): Likewise.
4870         (_dl_signal_cerror): Likewise.
4871         (_dl_receive_error): Likewise.
4872         (_dl_reloc_bad_type): Likewise.
4873         (_dl_resolve_conflicts): Likewise.
4874         (_dl_check_all_versions): Likewise.
4875         (_dl_check_map_versions): Likewise.
4876         (_dl_sort_fini): Likewise.
4877         (_dl_debug_initialize): Likewise.
4878         (_dl_init_paths): Likewise.
4879         (_dl_show_auxv): Likewise.
4880         (_dl_next_ld_env_entry): Likewise.
4881         (_dl_important_hwcaps): Likewise.
4882         (_dl_load_cache_lookup): Likewise.
4883         (_dl_update_slotinfo): Likewise.
4884         (_dl_show_scope): Likewise.
4886         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4887         attribute_hidden.
4888         (_wordcopy_fwd_dest_aligned): Likewise.
4889         (_wordcopy_bwd_aligned): Likewise.
4890         (_wordcopy_bwd_dest_aligned): Likewise.
4892         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4893         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4894         Likewise.
4895         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4896         Likewise.
4897         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4899 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4901         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4902         GCC 5 requirement.
4904 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4906         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4907         test.
4908         * sysdeps/i386/configure: Regenerated.
4909         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4910         code unconditional.
4912         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4913         test.
4914         (libc_cv_asm_popsection_directive): Likewise.
4915         * configure: Regenerated.
4916         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4917         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4918         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4919         (__make_section_unallocated): Make definition unconditional.
4920         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4921         Remove conditional definition.
4922         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4923         (__make_section_unallocated): Likewise.
4925         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4926         * configure: Regenerated.
4927         * config.make.in (static-libgcc): Remove variable.
4928         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4929         $(static-libgcc).
4930         (build-module-helper): Likewise.
4932         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4933         * configure: Regenerated.
4935 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4937         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4938         (struct char_buffer): New type.
4939         (char_buffer_start, char_buffer_size, char_buffer_error)
4940         (char_buffer_rewind, char_buffer_add): New functions.
4941         (ADDW): Remove macro, replaced by the char_buffer_add function.
4942         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4943         of extend_alloca.  Make control flow more explicit.
4945 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4947         [BZ #19137]
4948         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4949         Add -fomit-frame-pointer.
4950         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4952 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4954         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4955         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4956         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4957         only if !__GNUC_PREREQ (5,0).
4958         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4959         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4960         (INTERNAL_SYSCALL_NCS): Likewise.
4961         (LOADREGS_0): New macro for GCC 5.
4962         (ASMARGS_0): Likewise.
4963         (LOADREGS_1): Likewise.
4964         (ASMARGS_1): Likewise.
4965         (LOADREGS_2): Likewise.
4966         (ASMARGS_2): Likewise.
4967         (LOADREGS_3): Likewise.
4968         (ASMARGS_3): Likewise.
4969         (LOADREGS_4): Likewise.
4970         (ASMARGS_4): Likewise.
4971         (LOADREGS_5): Likewise.
4972         (ASMARGS_5): Likewise.
4973         (LOADREGS_6): Likewise.
4974         (ASMARGS_6): Likewise.
4976 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4978         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4979         -fomit-frame-pointer.
4980         (CFLAGS-mmap64.c): Likewise.
4981         (CFLAGS-semtimedop.c): Likewise.
4982         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4983         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4984         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4985         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4987 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4989         [BZ #18928]
4990         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4991         _dl_pointer_guard member.
4992         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4993         initializer.
4994         (security_init): Always set up pointer guard.
4995         (process_envvars): Do not process LD_POINTER_GUARD.
4997 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4999         [BZ #19134]
5000         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5001         (.LC2): Likewise.
5002         (.LC3): Likewise.
5003         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5005 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5007         [BZ #19129]
5008         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5009         r0 and r1.
5011 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5013         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5015 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5017         * include/stap-probe.h: Fix macro definition formatting.
5019 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5021         [BZ #19074]
5022         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5023         load and store num_ifs.
5025 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5027         [BZ #18822]
5028         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5029         (__sched_getaffinity_new): Add libc_hidden_proto and
5030         libc_hidden_def.
5032 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5034         [BZ #19007]
5035         * scripts/localplt.awk: Also allow GOT references.
5036         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5037         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5038         with "+ REL R_386_GLOB_DAT".
5039         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5040         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5042 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5044         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5045         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5046         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5047         Likewise.
5048         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5049         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5050         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5051         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5052         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5053         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5054         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5055         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5056         Likewise.
5057         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5059 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5061         [BZ #19125]
5062         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5063         <math_private.h> and <stdint.h>.
5064         (__llround): Avoid conversions to and from long long int, and
5065         subtractions, where those might raise spurious exceptions.
5066         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5067         <math_private.h> and <stdint.h>.
5068         (__llroundf): Avoid conversions to and from long long int, and
5069         subtractions, where those might raise spurious exceptions.
5071 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5073         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5074         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5075         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5076         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5077         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5078         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5079         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5080         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5081         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5082         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5083         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5084         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5085         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5086         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5087         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5088         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5089         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5090         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5091         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5092         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5093         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5094         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5095         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5096         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5097         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5098         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5099         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5100         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5101         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5102         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5103         (__xstat64_conv): Likewise.
5104         (__xstat32_conv): Likewise.
5106 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5108         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5109         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5110         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5111         <sysdeps/unix/sysv/linux/sysdep.h>.
5112         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5113         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5114         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5115         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5116         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5117         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5118         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5119         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5120         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5123         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5125         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5126         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5128         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5129         (sysdep-dl-routines): Add sysdep.
5130         [$(subdir) == nptl] (libpthread-routines): Likewise.
5131         [$(subdir) == rt] (librt-routines): Likewise.
5132         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5133         PIC when branching to SYSCALL_ERROR_LABEL.
5134         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5135         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5136         <sysdeps/unix/sysv/linux/sysdep.h>.
5137         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5138         (SYSCALL_ERROR_ERRNO): Removed.
5139         (SYSCALL_ERROR_HANDLER): Changed to empty.
5140         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5141         (__syscall_error): New prototype.
5142         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5143         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5145 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5147         [BZ #19124]
5148         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5149         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5150         _dl_runtime_resolve_avx.
5151         (_dl_runtime_profile_avx512): Make it a hidden alias of
5152         _dl_runtime_profile_avx.
5154 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5156         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5157         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5158         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5159         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5161         [BZ #16422]
5162         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5163         New configure test.
5164         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5165         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5166         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5167         <math_private.h> and <stdint.h>.
5168         (__llrint): Avoid conversions to long long int where those might
5169         raise spurious exceptions.
5170         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5171         <math_private.h> and <stdint.h>.
5172         (__llrintf): Avoid conversions to long long int where those might
5173         raise spurious exceptions.
5175 2015-10-12  Andreas Schwab  <schwab@suse.de>
5177         [BZ #18969]
5178         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5179         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5180         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5181         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5182         $(gen-locales).
5183         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5184         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5185         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5186         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5187         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5188         $(gen-locales).
5189         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5190         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5191         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5192         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5193         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5194         ($(objpfx)tst-ftell-active-handler.out)
5195         ($(objpfx)tst-ftell-append.out)
5196         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5197         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5198         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5199         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5200         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5201         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5202         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5203         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5204         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5205         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5206         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5207         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5208         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5209         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5210         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5211         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5212         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5213         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5214         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5215         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5216         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5217         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5218         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5219         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5220         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5221         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5222         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5223         $(gen-locales).
5224         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5225         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5226         $(gen-locales).
5227         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5228         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5229         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5230         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5231         $(gen-locales).
5232         * libio/tst_wprintf2.c (main): Use explicit locale.
5233         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5235 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5237         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5238         __msg_sig_post.
5239         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5241 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5243         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5244         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5246         * sysdeps/arm/libm-test-ulps: Regenerated.
5248         [BZ #15470]
5249         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5251         [BZ #16399]
5252         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5253         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5254         and <fix-fp-int-convert-overflow.h>.
5255         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5256         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5257         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5258         and <fix-fp-int-convert-overflow.h>.
5259         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5260         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5261         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5262         <fix-fp-int-convert-overflow.h>.
5263         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5264         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5265         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5266         <fix-fp-int-convert-overflow.h>.
5267         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5268         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5269         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5270         and <fix-fp-int-convert-overflow.h>.
5271         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5272         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5273         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5274         <limits.h> and <fix-fp-int-convert-overflow.h>.
5275         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5276         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5277         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5278         and <fix-fp-int-convert-overflow.h>.
5279         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5280         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5281         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5282         and <fix-fp-int-convert-overflow.h>.
5283         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5284         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5285         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5287 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5289         [BZ #18589]
5290         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5291         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5292         $(gen-locales).
5294 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5295             Phil Blundell <pb@pbcl.net>
5297         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5298         * nptl/tst-cancel26.c: New file.
5299         * nptl/tst-cancel27.c: Likewise.
5301 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5303         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5304         __ILP32__ isn't defined.
5305         (lrint): Likewise.
5306         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5307         (lrintf): Likewise.
5308         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5309         (lrintl): Likewise.
5310         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5311         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5312         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5314 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5316         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5317         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5319         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5320         file.
5321         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5322         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5324 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5326         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5327         configure test.
5328         * sysdeps/i386/configure: Regenerated.
5329         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5330         configure test.
5331         * sysdeps/x86_64/configure: Regenerated.
5332         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5333         Make code unconditional.
5335         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5336         test.
5337         * sysdeps/i386/configure: Regenerated.
5338         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5339         test.
5340         * sysdeps/x86_64/configure: Regenerated.
5341         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5342         Make code unconditional.
5343         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5344         Likewise.
5345         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5346         Likewise.
5347         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5348         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5349         code unconditional.
5350         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5351         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5352         code unconditional.
5353         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5354         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5355         code unconditional.
5356         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5357         code unconditional.
5358         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5359         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5360         code unconditional.
5361         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5362         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5363         code unconditional.
5364         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5365         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5366         code unconditional.
5367         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5368         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5369         code unconditional.
5370         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5371         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5373         [BZ #19095]
5374         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5375         mantissa to long int before shifting left.
5377 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5379         [BZ #19094]
5380         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5381         <limits.h>.
5382         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5383         when result overflows but exception would not result from cast.
5384         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5385         <limits.h>.
5386         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5387         when result overflows but exception would not result from cast.
5388         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5389         <limits.h>.
5390         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5391         when result overflows but exception would not result from cast.
5392         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5393         <limits.h>.
5394         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5395         when result overflows but exception would not result from cast.
5396         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5397         <limits.h>.
5398         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5399         when result overflows but exception would not result from cast.
5400         * math/libm-test.inc (lrint_test_data): Add more tests.
5401         (llrint_test_data): Likewise.
5403 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5405         [BZ #18872]
5406         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5407         Move out from under [$(run-built-tests) = yes] conditional.
5408         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5409         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5411 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5413         [BZ #18589]
5414         * string/Makefile (tests): Add bug-strcoll2.
5415         (LOCALES): Add cs_CZ.UTF-8.
5416         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5418         [BZ #18589]
5419         * string/bug-strcoll2.c: New file.
5420         * locale/categories.def: Revert commit
5421         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5422         * locale/langinfo.h: Likewise.
5423         * locale/localeinfo.h: Likewise.
5424         * locale/C-collate.c: Likewise.
5425         * locale/programs/ld-collate.c (collate_output): Likewise.
5426         * string/strcoll_l.c (STRDIFF): Likewise.
5427         (STRCOLL): Likewise.
5428         * wcsmbs/wcscoll_l.c: Likewise.
5430 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5432         * math/libm-test.inc (lround_test_data): Do not expect the absence
5433         of "inexact" for some tests with non-integer arguments.
5434         (llround_test_data): Likewise.
5436         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5437         test.
5438         (libc_cv_cc_sse2avx): Likewise.
5439         * sysdeps/i386/configure: Regenerated.
5440         * sysdeps/i386/i686/multiarch/Makefile
5441         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5442         [$(subdir) = math].
5443         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5444         code unconditional.
5445         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5446         Likewise.
5447         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5448         Likewise.
5449         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5450         Likewise.
5451         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5452         test.
5453         (libc_cv_cc_sse2avx): Likewise.
5454         * sysdeps/x86_64/configure: Regenerated.
5455         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5456         unconditional.
5457         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5458         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5459         unconditional.
5460         (_dl_runtime_profile)
5461         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5462         conditional code.
5463         * sysdeps/x86_64/fpu/multiarch/Makefile
5464         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5465         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5466         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5467         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5468         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5469         * sysdeps/x86_64/fpu/multiarch/e_log.c
5470         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5471         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5472         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5473         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5474         Likewise.
5475         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5476         Likewise.
5477         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5478         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5479         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5480         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5481         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5482         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5483         (HAVE_SSE2AVX_SUPPORT): Likewise.
5485 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5487         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5488         instead of #pragma optimize.
5490 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5492         [BZ #17195]
5493         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5494         as is similarly done in systrim and _int_free already.
5496 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5498         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5500 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5502         [BZ #19088]
5503         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5504         <limits.h>.
5505         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5506         overflows but exception would not result from cast.
5507         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5508         and <limits.h>.
5509         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5510         overflows but exception would not result from cast.
5511         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5512         <limits.h>.
5513         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5514         overflows but exception would not result from cast.
5515         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5516         <limits.h>.
5517         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5518         overflows but exception would not result from cast.
5519         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5520         <limits.h>.
5521         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5522         overflows but exception would not result from cast.
5523         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5524         <limits.h>.
5525         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5526         overflows but exception would not result from cast.
5527         * math/libm-test.inc (lround_test_data): Add more tests.
5528         (llround_test_data): Likewise.
5530 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5532         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5533         (CFLAGS-ialloc.c): Ditto.
5534         (CFLAGS-scheck.c): Ditto.
5536 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5538         [BZ #19086]
5539         * manual/filesys.texi (Storage Allocation): Fix argument order for
5540         posix_fallocate64.
5542 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5544         [BZ #19085]
5545         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5546         exponent below 48 inside case for non-overflowing exponent.
5547         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5549 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5551         * iconvdata/cp737.h (from_idx): Add const.
5552         * iconvdata/cp775.h (from_idx): Likewise.
5554 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5556         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5557         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5558         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5560         [BZ #19079]
5561         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5562         file, conditioned on [!_LP64].
5563         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5564         [!_LP64] (__lround): Do not define as function or alias.
5565         [!_LP64] (lround): Likewise.
5566         [!_LP64] (__lroundl): Likewise.
5567         [!_LP64] (lroundl): Likewise.
5568         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5569         macro.
5570         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5571         Likewise.
5573 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5575         * math/libm-test.inc (lrint_test_data): Add more tests.
5576         (llrint_test_data): Likewise.
5577         (lround_test_data): Likewise.
5578         (llround_test_data): Likewise.
5580         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5581         (llrint_test_data): Add tests used for lrint.
5583         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5584         test.
5585         * sysdeps/i386/configure: Regenerated.
5586         * sysdeps/i386/i686/multiarch/Makefile
5587         [$(config-cflags-sse4) = yes]: Make code unconditional.
5588         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5589         Likewise.
5590         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5591         Likewise.
5592         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5593         test.
5594         * sysdeps/x86_64/configure: Regenerated.
5595         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5596         Make code unconditional.
5597         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5598         Likewise.
5599         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5600         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5602         * scripts/rpm2dynsym.sh: Remove file.
5604 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5606         * configure.ac (libc_cv_cxx_thread_local): Define.
5607         * configure: Regenerate.
5608         * config.make.in (have-cxx-thread_local): Define.
5609         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5610         (LDLIBS-tst-thread_local1): Define.
5611         (tests): Add tst-thread_local1.
5612         [have-cxx-thread_local != yes] (tests-unsupported): Add
5613         tst-thread_local1.
5614         * nptl/tst-thread_local1.cc: New file.
5616 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5618         [BZ #19078]
5619         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5620         (u_thres): Likewise.
5621         (__expl): Determine whether to call __kernel_standard_l based on
5622         value of result, not argument.
5624         * math/libm-test.inc (scalb_test_data): Add more expectations for
5625         the "inexact" exception.
5627         [BZ #19077]
5628         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5629         0.0L for argument 1.0L.
5631         [BZ #19076]
5632         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5633         constant 0.0L when computing infinite result.
5635 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5637         [BZ #10432]
5638         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5639         malloc_usable_size.
5641 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5643         [BZ #19018]
5644         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5645         Mangle function pointer before storing it.
5646         (__call_tls_dtors): Demangle function pointer before calling it.
5648 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5650         [BZ #19012]
5651         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5652         Clean up on failure.
5654 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5656         [BZ #19071]
5657         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5658         long int variable to store possibly incremented high part of
5659         mantissa.
5660         * math/libm-test.inc (lround_test_data): Add tests used for
5661         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5662         for tests requiring 64-bit long.  Do not condition tests on
5663         [TEST_FLOAT] unnecessarily.
5664         (llround_test_data): Add tests used for lround.  Add another
5665         expectation for the "inexact" exception.  Do not condition tests
5666         on [TEST_FLOAT] unnecessarily.
5668         [BZ #887]
5669         [BZ #19049]
5670         [BZ #19050]
5671         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5672         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5673         <fix-int-fp-convert-zero.h>.
5674         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5675         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5676         <fix-int-fp-convert-zero.h>.
5677         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5678         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5679         <fix-int-fp-convert-zero.h>.
5680         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5681         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5682         <fix-int-fp-convert-zero.h>.
5683         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5684         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5685         <fix-int-fp-convert-zero.h>.
5686         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5687         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5688         <fix-int-fp-convert-zero.h>.
5689         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5690         * sysdeps/ieee754/flt-32/s_erff.c: Include
5691         <fix-int-fp-convert-zero.h>.
5692         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5693         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5694         <fix-int-fp-convert-zero.h>.
5695         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5696         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5697         <fix-int-fp-convert-zero.h>.
5698         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5699         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5700         <fix-int-fp-convert-zero.h>.
5701         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5702         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5703         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5704         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5705         file.
5706         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5708 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5710         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5712 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5714         [BZ #19059]
5715         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5716         overflowing computation.
5717         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5718         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5719         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5720         Likewise.
5721         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5722         Likewise.
5723         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5724         Likewise.
5725         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5726         Likewise.
5727         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5728         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5729         Likewise.
5730         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5731         Likewise.
5732         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5734         * nss/rewrite_field.c (__nss_rewrite_field): Use
5735         internal_function.
5736         * nss/valid_field.c (__nss_valid_field): Likewise.
5737         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5739 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5741         [BZ #18724]
5742         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5743         (__nss_invalid_field_characters, __nss_valid_field)
5744         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5745         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5746         tst-field.c: New file.
5747         * nss/Makefile (routines): Add valid_field, rewrite_field.
5748         (tests-static): Define unconditionally.
5749         (tests): Include tests-static.
5750         [build-static-nss] (tests-static): Use append.
5751         [build-static-nss] (tests): Remove modification.
5752         * nss/getent.c (print_group): Call putgrent.  Report error.
5753         (print_gshadow): Call putsgent.  Report error.
5754         (print_passwd): Call putpwent.  Report error.
5755         (print_shadow): Call putspent.  Report error.
5756         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5757         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5758         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5759         name, password, directory, shell fields for valid syntax.  Rewrite
5760         GECOS field to match syntax.
5761         * pwd/Makefile (tests): Add tst-putpwent.
5762         * pwd/tst-putpwent.c: New file.
5763         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5764         Check grName, grpasswd, gr_mem fields for valid syntax.
5765         Change loop variable i to size_t.
5766         * grp/Makefile (tests): Add tst-putgrent.
5767         * grp/tst-putgrent.c: New file.
5768         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5769         valid syntax.
5770         * shadow/Makefile (tests): Add tst-putspent.
5771         * shadow/tst-putspent.c: New file.
5772         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5773         sg_mem fields for valid syntax.
5774         * gshadow/Makefile (tests): Add tst-putsgent.
5775         * gshadow/tst-putsgent.c: New file.
5777 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5779         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5780         assembly instructions.
5782 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5784         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5785         prefix from operands.
5787 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5789         [BZ #16347]
5790         [BZ #19046]
5791         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5792         <libc-internal.h>.
5793         (MAXLGM): Do not use diagnostic control macros.
5794         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5795         threshold for ldbl-128ibm.
5796         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5797         instead of multiplying by log then subtracting.
5798         * math/auto-libm-test-in: Add more tests of lgamma.
5799         * math/auto-libm-test-out: Regenerated.
5801         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5802         (TYPE_HEX_DIG): Likewise.
5803         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5804         precisions when printing floating-point numbers.
5805         (check_float_internal): Likewise.
5807 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5809         [BZ #16620]
5810         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5811         of log (10) rounded downward to 48 bits.
5812         (log10_low): Use corresponding low part of log (10).
5814         [BZ #19032]
5815         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5816         compute result as (x - x) / (x - x) not as 0 / 0.
5817         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5818         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5820         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5821         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5822         and expm1.
5823         * math/auto-libm-test-out: Regenerated.
5824         * math/libm-test.inc (acos_test_data): Add more tests.
5825         (asin_test_data): Likewise.
5826         (asinh_test_data): Likewise.
5827         (atan_test_data): Likewise.
5828         (atanh_test_data): Likewise.
5829         (atan2_test_data): Likewise.
5830         (cbrt_test_data): Likewise.
5831         (ceil_test_data): Likewise.
5832         (copysign_test_data): Likewise.
5833         (cos_test_data): Likewise.
5834         (cosh_test_data): Likewise.
5835         (erf_test_data): Likewise.
5836         (erfc_test_data): Likewise.
5837         (exp_test_data): Likewise.
5838         (exp10_test_data): Likewise.
5839         (exp2_test_data): Likewise.
5840         (expm1_test_data): Likewise.
5841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5843 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5845         [BZ #19006]
5846         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5847         to ...
5848         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5849         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5850         to ...
5851         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5852         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5853         to ...
5854         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5855         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5856         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5857         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5858         to ...
5859         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5860         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5861         Moved to ...
5862         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5863         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5864         Moved to ...
5865         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5866         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5867         to ...
5868         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5869         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5870         Moved to ...
5871         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5872         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5873         to ...
5874         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5875         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5876         Removed.
5877         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5878         Likewise.
5879         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5880         Likewise.
5881         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5882         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5883         Likewise.
5884         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5885         Likewise.
5886         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5887         Likewise.
5888         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5889         Likewise.
5890         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5891         Likewise.
5892         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5893         Likewise.
5894         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5895         Likewise.
5896         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5897         Likewise.
5898         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5899         Likewise.
5900         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5901         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5902         Likewise.
5903         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5904         Likewise.
5905         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5906         Likewise.
5907         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5908         Likewise.
5909         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5910         Likewise.
5911         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5912         Replace ../i486/pthread_cond_timedwait.S with
5913         ../pthread_cond_timedwait.S.
5915 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5917         * math/libm-test.inc (acos_test_data): Refine expectations for
5918         errno and "inexact" exceptions.
5919         (acosh_test_data): Likewise.
5920         (asin_test_data): Likewise.
5921         (asinh_test_data): Likewise.
5922         (atan_test_data): Likewise.
5923         (atanh_test_data): Likewise.
5924         (atan2_test_data): Likewise.
5925         (cbrt_test_data): Likewise.
5926         (ceil_test_data): Likewise.
5927         (copysign_test_data): Likewise.
5928         (cosh_test_data): Likewise.
5929         (erf_test_data): Likewise.
5930         (erfc_test_data): Likewise.
5931         (exp_test_data): Likewise.
5932         (exp10_test_data): Likewise.
5933         (exp2_test_data): Likewise.
5934         (expm1_test_data): Likewise.
5935         (fabs_test_data): Likewise.
5936         (floor_test_data): Likewise.
5937         (fma_test_data): Likewise.
5938         (fmax_test_data): Likewise.
5939         (fmin_test_data): Likewise.
5940         (fmod_test_data): Likewise.
5941         (fpclassify_test_data): Likewise.
5942         (frexp_test_data): Likewise.
5943         (hypot_test_data): Likewise.
5944         (ilogb_test_data): Likewise.
5945         (isgreater_test_data): Likewise.
5946         (isgreaterequal_test_data): Likewise.
5947         (isinf_test_data): Likewise.
5948         (isless_test_data): Likewise.
5949         (islessequal_test_data): Likewise.
5950         (islessgreater_test_data): Likewise.
5951         (isnan_test_data): Likewise.
5952         (isnormal_test_data): Likewise.
5953         (issignaling_test_data): Likewise.
5954         (isunordered_test_data): Likewise.
5955         (j0_test_data): Likewise.
5956         (j1_test_data): Likewise.
5957         (jn_test_data): Likewise.
5958         (lgamma_test_data): Likewise.
5959         (lrint_test_data): Likewise.
5960         (llrint_test_data): Likewise.
5961         (log_test_data): Likewise.
5962         (log10_test_data): Likewise.
5963         (log1p_test_data): Likewise.
5964         (log2_test_data): Likewise.
5965         (logb_test_data): Likewise.
5966         (lround_test_data): Likewise.
5967         (llround_test_data): Likewise.
5968         (modf_test_data): Likewise.
5969         (nearbyint_test_data): Likewise.
5970         (nextafter_test_data): Likewise.
5971         (nexttoward_test_data): Likewise.
5972         (pow_test_data): Likewise.
5973         (remainder_test_data): Likewise.
5974         (remquo_test_data): Likewise.
5975         (rint_test_data): Likewise.
5976         (round_test_data): Likewise.
5977         (signbit_test_data): Likewise.
5978         (sinh_test_data): Likewise.
5979         (sqrt_test_data): Likewise.
5980         (tanh_test_data): Likewise.
5981         (tgamma_test_data): Likewise.
5982         (trunc_test_data): Likewise.
5983         (y0_test_data): Likewise.
5984         (y1_test_data): Likewise.
5985         (yn_test_data): Likewise.
5986         (significand_test_data): Likewise.
5988 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5990         * manual/filesys.texi (Storage Allocation): Document that
5991         posix_fallocate emulation fails when fd is open with O_WRONLY.
5993 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5995         [BZ #19016]
5996         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5997         allow more cases with X^2 + Y^2 >= 0.5.
5998         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5999         normal element in sum instead of special-casing based on values of
6000         arguments.
6001         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6002         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6003         -1 as normal element in sum instead of special-casing based on
6004         values of arguments.
6005         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6006         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6007         (__x2y2m1): Update comment.
6008         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6009         as normal element in sum instead of special-casing based on values
6010         of arguments.
6011         * math/s_clog.c (__clog): Handle more cases using log1p without
6012         hypot.
6013         * math/s_clog10.c (__clog10): Likewise.
6014         * math/s_clog10f.c (__clog10f): Likewise.
6015         * math/s_clog10l.c (__clog10l): Likewise.
6016         * math/s_clogf.c (__clogf): Likewise.
6017         * math/s_clogl.c (__clogl): Likewise.
6018         * math/auto-libm-test-in: Add more tests of clog and clog10.
6019         * math/auto-libm-test-out: Regenerated.
6020         * sysdeps/i386/fpu/libm-test-ulps: Update.
6021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6023 2015-09-28  Martin Sebor  <msebor@redhat.com>
6025         [BZ #18969]
6026         * string/Makefile (LOCALES): Define.
6027         (gen-locales.mk): Include.
6028         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6029         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6030         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6031         on setlocale failure.
6033 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6035         [BZ #18985]
6036         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6037         (__strftime_internal): Likewise.
6038         * time/tst-strftime.c (do_bz18985): New test.
6039         (do_test): Call it.
6041 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6043         [BZ #18956]
6044         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6045         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6046         extracting high part.
6047         * math/auto-libm-test-in: Add another test of pow.
6048         * math/auto-libm-test-out: Regenerated.
6049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6051 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6053         [BZ #18825]
6054         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6055         New macro.
6056         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6057         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6058         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6059         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6060         DBL_NARROW_EVAL, reloading the PIC register as needed.
6061         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6062         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6063         FLT_NARROW_EVAL.  Use separate return path for case when first
6064         argument is NaN.
6065         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6066         DEFINE_LDBL_MIN.
6067         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6068         PIC register.
6069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6070         math_check_force_underflow_nonneg.
6071         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6072         underflow for subnormal result.
6073         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6074         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6075         math_check_force_underflow_nonneg.
6076         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6077         math_check_force_underflow.
6078         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6079         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6080         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6081         DEFINE_LDBL_MIN.
6082         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6083         * math/auto-libm-test-in: Add more tests of pow.
6084         * math/auto-libm-test-out: Regenerated.
6086 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6088         * nss/bug17079.c (init_test_items): Add diagnostic for
6089         inconsistent entries.
6090         (test_buffer_size): Skip inconsistent entries.
6092 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6094         [BZ #13304]
6095         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6096         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6097         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6099         [BZ #13304]
6100         * sysdeps/microblaze/s_fma.c: New file.
6101         * sysdeps/microblaze/s_fmaf.c: Likewise.
6102         * sysdeps/microblaze/sfp-machine.h: Likewise.
6104 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6106         [BZ #17250]
6107         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6108         member.
6110 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6112         [BZ #18803]
6113         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6114         (MO): New macro.
6115         (__ieee754_hypot) [PIC]: Load PIC register.
6116         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6117         DBL_NARROW_EVAL.
6118         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6119         math_check_force_underflow_nonneg in case where result might be
6120         tiny.
6121         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6122         Likewise.
6123         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6124         Likewise.
6125         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6126         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6127         * math/auto-libm-test-in: Add more tests of hypot.
6128         * math/auto-libm-test-out: Regenerated.
6130 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6132         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6134 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6136         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6137         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6138         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6139         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6140         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6141         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6142         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6144         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6145         LOAD_PIC_REG.
6147         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6148         (FLT_CHECK_FORCE_UFLOW): Likewise.
6149         (DBL_CHECK_FORCE_UFLOW): Likewise.
6150         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6151         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6152         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6153         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6154         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6155         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6156         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6157         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6158         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6159         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6160         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6161         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6162         (flt_min): Replace with use of DEFINE_FLT_MIN.
6163         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6164         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6165         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6166         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6167         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6168         (flt_min): Replace with use of DEFINE_FLT_MIN.
6169         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6170         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6171         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6172         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6173         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6174         (flt_min): Replace with use of DEFINE_FLT_MIN.
6175         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6176         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6177         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6178         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6179         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6180         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6181         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6182         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6183         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6184         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6185         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6186         (flt_min): Replace with use of DEFINE_FLT_MIN.
6187         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6188         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6189         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6190         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6191         main computation.
6192         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6193         (flt_min): Replace with use of DEFINE_FLT_MIN.
6194         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6195         main computation.
6196         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6197         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6198         (MO): New macro.
6199         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6200         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6201         (flt_min): Replace with use of DEFINE_FLT_MIN.
6202         (MO): New macro.
6203         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6204         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6205         (__log1pl): Use MO.
6207         [BZ #19003]
6208         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6209         $(config-cflags-nofma).
6211 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6213         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6215 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6217         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6218         (TWO127): Likewise.
6220         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6221         (min_of_type): Likewise.
6222         (math_check_force_underflow): Likewise.
6223         (math_check_force_underflow_nonneg): Likewise.
6224         (math_check_force_underflow_complex): Likewise.
6225         * math/e_exp2l.c (__ieee754_exp2l): Use
6226         math_check_force_underflow_nonneg.
6227         * math/k_casinh.c (__kernel_casinh): Likewise.
6228         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6229         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6230         * math/s_catan.c (__catan): Use
6231         math_check_force_underflow_complex.
6232         * math/s_catanf.c (__catanf): Likewise.
6233         * math/s_catanh.c (__catanh): Likewise.
6234         * math/s_catanhf.c (__catanhf): Likewise.
6235         * math/s_catanhl.c (__catanhl): Likewise.
6236         * math/s_catanl.c (__catanl): Likewise.
6237         * math/s_ccosh.c (__ccosh): Likewise.
6238         * math/s_ccoshf.c (__ccoshf): Likewise.
6239         * math/s_ccoshl.c (__ccoshl): Likewise.
6240         * math/s_cexp.c (__cexp): Likewise.
6241         * math/s_cexpf.c (__cexpf): Likewise.
6242         * math/s_cexpl.c (__cexpl): Likewise.
6243         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6244         * math/s_clog10.c (__clog10): Likewise.
6245         * math/s_clog10f.c (__clog10f): Likewise.
6246         * math/s_clog10l.c (__clog10l): Likewise.
6247         * math/s_clogf.c (__clogf): Likewise.
6248         * math/s_clogl.c (__clogl): Likewise.
6249         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6250         * math/s_csinf.c (__csinf): Likewise.
6251         * math/s_csinh.c (__csinh): Likewise.
6252         * math/s_csinhf.c (__csinhf): Likewise.
6253         * math/s_csinhl.c (__csinhl): Likewise.
6254         * math/s_csinl.c (__csinl): Likewise.
6255         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6256         * math/s_csqrtf.c (__csqrtf): Likewise.
6257         * math/s_csqrtl.c (__csqrtl): Likewise.
6258         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6259         * math/s_ctanf.c (__ctanf): Likewise.
6260         * math/s_ctanh.c (__ctanh): Likewise.
6261         * math/s_ctanhf.c (__ctanhf): Likewise.
6262         * math/s_ctanhl.c (__ctanhl): Likewise.
6263         * math/s_ctanl.c (__ctanl): Likewise.
6264         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6265         instead of volatile.
6266         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6267         math_check_force_underflow.
6268         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6269         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6270         volatile when forcing underflow.
6271         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6272         math_check_force_underflow_nonneg.
6273         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6274         Likewise.
6275         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6276         math_check_force_underflow.
6277         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6278         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6279         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6280         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6281         math_check_force_underflow_nonneg.
6282         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6283         math_check_force_underflow.
6284         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6285         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6286         instead of volatile.
6287         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6288         math_check_force_underflow.
6289         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6290         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6291         math_check_force_underflow_nonneg.
6292         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6293         math_check_force_underflow.
6294         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6295         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6296         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6297         math_check_force_underflow_nonneg.
6298         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6299         Likewise.
6300         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6301         math_check_force_underflow.
6302         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6303         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6304         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6305         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6306         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6307         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6308         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6309         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6310         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6311         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6312         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6313         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6314         Likewise.
6315         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6316         math_check_force_underflow_nonneg.
6317         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6318         Likewise.
6319         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6320         math_check_force_underflow.
6321         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6322         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6323         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6324         Likewise.
6325         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6326         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6327         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6328         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6329         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6330         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6332         instead of volatile.
6333         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6334         math_check_force_underflow.
6335         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6336         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6337         math_check_force_underflow.
6338         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6339         Likewise.
6340         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6341         Use math_check_force_underflow_nonneg.
6342         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6343         math_check_force_underflow.
6344         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6345         Likewise.
6346         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6347         Likewise.
6348         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6349         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6350         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6351         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6352         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6353         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6354         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6355         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6356         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6357         math_check_force_underflow_nonneg.
6358         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6359         math_check_force_underflow.
6360         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6361         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6362         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6363         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6364         math_check_force_underflow_nonneg.
6365         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6366         math_check_force_underflow.
6367         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6368         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6369         instead of volatile.
6370         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6371         math_check_force_underflow.
6373         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6374         * stdlib/strtod_l.c: Include <math_private.h>.
6375         (overflow_value): Use math_narrow_eval.
6376         (underflow_value): Likewise.
6377         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6378         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6379         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6380         (__ieee754_gamma_r): Likewise.
6381         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6382         Likewise.
6383         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6384         Likewise.
6385         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6386         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6387         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6388         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6389         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6390         (__ieee754_gammaf_r): Likewise.
6391         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6392         Likewise.
6393         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6394         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6395         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6396         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6397         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6398         volatile.
6399         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6400         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6401         math_narrow_eval.
6402         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6403         Likewise.
6404         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6405         Likewise.
6406         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6407         Likewise.
6408         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6409         volatile.
6410         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6411         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6412         math_narrow_eval.
6413         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6414         Likewise.
6415         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6416         Likewise.
6418 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6420         * nptl/Versions: Remove ignored symbols.
6422 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6424         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6425         * nss/Makefile (tests): Update.
6427 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6429         * nss/bug18287.c: New file.
6430         * nss/Makefile (tests): Add bug18287.
6432 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6434         * mach/Versions (__mach_host_self_): Add symbol.
6436 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6438         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6439         vm_page_size.
6441 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6443         Really fix sysdeps/i386/fpu/s_scalbn.S build
6445         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6446         (libc: GLIBC_2_22): Remove unused version set.
6448 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6450         * config.make.in (enable-timezone-tools): New variable.
6451         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6452         (enable_timezone_tools): Export to generated files.
6453         * configure: Regenerate.
6454         * INSTALL: Regenerate.
6455         * manual/install.texi (--disable-timezone-tools): Document new flag.
6456         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6457         ifeq ($(enable-timezone-tools),yes) check.
6459 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6461         * timezone/Makefile: Revert previous change.
6463         [BZ #18980]
6464         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6465         (DEFINE_DBL_MIN): Likewise.
6466         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6467         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6468         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6469         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6470         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6471         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6472         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6473         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6474         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6475         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6476         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6477         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6478         (flt_min): Replace with use of DEFINE_FLT_MIN.
6479         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6480         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6481         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6482         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6483         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6484         (flt_min): Replace with use of DEFINE_FLT_MIN.
6485         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6486         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6487         (flt_min): Replace with use of DEFINE_FLT_MIN.
6488         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6489         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6490         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6491         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6492         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6493         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6494         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6495         (__ieee754_pow): Use DBL_NARROW_EVAL.
6496         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6497         (__ieee754_powf): Use FLT_NARROW_EVAL.
6498         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6499         (__ieee754_expf_sse2): Convert double-precision result to single
6500         precision.
6501         * sysdeps/i386/fpu/libm-test-ulps: Update.
6503 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6505         * timezone/Makefile: Ignore unused variable errors due to private.h
6506         (time_t_min) and (time_t_max).
6507         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6508         Likewise.
6510 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6512         [BZ #18981]
6513         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6514         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6515         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6516         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6517         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6518         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6519         (__scalbn): Use DBL_NARROW_EVAL.
6520         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6521         (__scalbnf): Use FLT_NARROW_EVAL.
6523 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6525         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6526         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6527         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6528         * stdio-common/printf_fp.c (___printf_fp):
6529         Use signbit to get the sign. Use isinf macro to allow inlining.
6530         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6531         * stdio-common/printf_size.c (__printf_size): Likewise.
6533 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6535         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6537 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6539         [BZ #18980]
6540         * sysdeps/generic/math_private.h: Include <float.h>.
6541         (math_narrow_eval): New macro.
6542         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6543         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6544         math_narrow_eval on overflowing return value.
6545         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6546         Likewise.
6547         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6548         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6549         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6550         Likewise.
6551         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6553 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6555         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6556         * math/Makefile: Remove isinf_ns.c.
6557         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6558         * math/multc3.c (__multc3): Likewise.
6559         * math/s_casin.c (__casin): Likewise.
6560         * math/s_casinf.c (__casinf): Likewise.
6561         * math/s_casinl.c (__casinl): Likewise.
6562         * math/s_cproj.c (__cproj): Likewise.
6563         * math/s_cprojf.c (__cprojf): Likewise.
6564         * math/s_cprojl.c (__cprofl): Likewise.
6565         * math/s_ctan.c (__ctan): Likewise.
6566         * math/s_ctanf.c (__ctanf): Likewise.
6567         * math/s_ctanh.c (__ctanh): Likewise.
6568         * math/s_ctanhf.c (__ctanhf): Likewise.
6569         * math/s_ctanhl.c (__ctanhl): Likewise.
6570         * math/s_ctanl.c (__ctanl): Likewise.
6571         * math/w_fmod.c (__fmod): Likewise.
6572         * math/w_fmodf.c (__fmodf): Likewise.
6573         * math/w_fmodl.c (_fmodl): Likewise.
6574         * math/w_remainder.c (__remainder): Likewise.
6575         * math/w_remainderf.c (__remainderf): Likewise.
6576         * math/w_remainderl.c (__remainderl): Likewise.
6577         * math/w_scalb.c (__scalb): Likewise.
6578         * math/w_scalbf.c (__scalbf): Likewise.
6579         * math/w_scalbl.c (__scalbl): Likewise.
6580         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6581         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6582         with isinf.
6583         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6584         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6585         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6586         __isinf_nsf with isinf.
6587         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6588         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6589         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6590         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6591         with isinf.
6592         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6593         __isinf_nsl with isinf.
6594         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6595         with isinf.
6596         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6597         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6598         __isinf_nsl with isinf.
6599         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6600         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6601         with isinf.
6603 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6605         * resolv/base64.c (rcsid): Remove unused static.
6606         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6607         static.  (tqpi1): Likewise.
6608         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6609         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6610         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6611         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6612         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6613         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6614         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6615         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6616         Likewise.
6618 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6620         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6621         <nptl/pthreadP.h>.
6622         (_longjmp_unwind): Use __libc_ptf_call.
6623         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6625 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6627         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6628         * sysdeps/arm/__longjmp.S: Likewise
6630 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6632         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6633         Use __builtin_signbit.
6634         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6635         Use __builtin_signbitf.
6636         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6637         Use __builtin_signbitl.
6638         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6639         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6641 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6643         [BZ #15367]
6644         [BZ #17441]
6646         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6647         * math/math.h (fpclassify): Use __builtin_fpclassify when
6648         available.  (signbit): Use __builtin_signbit(f/l).
6649         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6650         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6651         (isinf): Use __builtin_isinf_sign.
6653 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6655         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6656         * benchtests/bench-math-inlines.c: New benchmark.
6657         * benchtests/bench-util.h: New file.
6658         * benchtests/bench-util.c: New file.
6659         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6661 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6663         * elf/tst-dlmopen1.c: Define TEST_SO.
6664         (do_test): Use TEST_SO.
6666         * elf/dl-load.c: Include libc-internal.h.
6667         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6669 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6671         [BZ #17887]
6672         * time/strptime_l.c (__strptime_internal): Make %z accept
6673         [+-]HH:MM time zones.
6675 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6677         [BZ #17886]
6678         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6679         valid time zone.
6681 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6683         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6684         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6685         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6686         (__ASSUME_FDATASYNC): Delete.
6688 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6690         * conform/linknamespace.pl: Require weak undefined symbols to be
6691         in the standard namespace.
6692         (%strong_syms): Rename to %seen_syms.
6693         (%strong_seen): Rename to %seen_where.
6695 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6697         [BZ #18970]
6698         * misc/error.c (error): Replace pthread_setcancelstate with
6699         __pthread_setcancelstate.
6700         (error_at_line): Likewise.
6701         * posix/wordexp.c (parse_comm): Likewise.
6702         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6703         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6704         (__pthread_setcancelstate): This.
6705         (pthread_setcancelstate): Add an alias.
6706         * nptl/nptl-init.c (pthread_functions): Replace
6707         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6708         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6709         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6710         hidden_proto.
6711         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6712         it with hidden_def.
6713         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6714         (pthread_setcancelstate): Renamed to ...
6715         (__pthread_setcancelstate): This.
6716         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6717         __libc_ptf_call with __pthread_setcancelstate.
6719 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6720             Andreas Schwab  <schwab@suse.de>
6722         [BZ #17118]
6723         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6724         result when imaginary part of argument is infinite using sine and
6725         cosine.
6726         * math/s_ctanf.c (__ctanf): Likewise.
6727         * math/s_ctanl.c (__ctanl): Likewise.
6728         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6729         of result when real part of argument is infinite using sine and
6730         cosine.
6731         * math/s_ctanhf.c (__ctanhf): Likewise.
6732         * math/s_ctanhl.c (__ctanhl): Likewise.
6733         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6734         (ctanh_test_data): Add more tests of ctanh.
6736 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6738         [BZ #15384]
6739         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6740         bit-mask as in subtraction.
6741         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6742         Likewise.
6743         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6744         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6745         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6747         [BZ #18951]
6748         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6749         underflow exception for small results.
6750         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6751         Likewise.
6752         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6753         Likewise.
6754         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6755         Likewise.
6756         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6757         Likewise.
6758         * math/auto-libm-test-in: Add more tests of tgamma.
6759         * math/auto-libm-test-out: Regenerated.
6761 2015-09-17  Andreas Schwab  <schwab@suse.de>
6763         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6765 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6767         [BZ #18977]
6768         * math/bits/mathcalls.h
6769         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6770         not declare.
6771         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6772         Likewise.
6773         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6774         Likewise.
6775         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6776         Likewise.
6777         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6778         Likewise.
6779         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6780         Likewise.
6781         * conform/data/math.h-data
6782         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6783         function.
6784         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6785         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6786         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6787         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6788         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6789         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6790         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6791         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6792         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6793         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6794         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6796         [BZ #6803]
6797         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6798         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6799         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6800         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6801         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6802         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6803         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6804         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6805         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6807         Likewise.
6808         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6809         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6810         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6811         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6812         long_double_symbol calls.
6813         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6814         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6815         strong alias of __ldexpl.
6816         (scalbnl): Define using long_double_symbol.
6817         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6818         Remove alias.
6819         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6820         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6821         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6822         (scalbln_test_data): Add more errno expectations.
6824 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6826         Cache the host port like we cache the task port.  This way we do not
6827         need to call the kernel just to get the port.  Furthermore, we no
6828         longer increase the reference count on every invocation of
6829         `mach_host_self'.
6831         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6832         Protect declarations against the macro expansion.
6833         * mach/mach_init.c (__mach_host_self_): New variable.
6834         (mach_init): Initialize `__mach_host_self_'.
6835         * mach/mach_init.h (__mach_host_self_): New declaration.
6836         (__mach_host_self, mach_host_self): New macros.
6837         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6838         Release reference.
6840 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6842         [BZ #4404]
6843         * po/de.po: Update from Translation Project.
6845         [BZ #16415]
6846         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6847         (__expm1l): Remove code to handle positive infinity and overflow.
6848         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6849         variable.
6850         (__expm1l): Remove code to handle positive infinity and overflow.
6852 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6853             Paul Pluzhnikov  <ppluzhnikov@google.com>
6855         [BZ #18872]
6856         * stdio-common/Makefile (tst-printf-bz18872): New test.
6857         (tst-printf-bz18872-mem.out): Likewise.
6858         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6859         * stdio-common/vfprintf.c: Fix memory leaks.
6861 2015-09-16  Andreas Schwab  <schwab@suse.de>
6863         [BZ #17244]
6864         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6865         Remove extra va_start/va_end calls.
6867         [BZ #17243]
6868         * posix/execl.c (execl): Add missing va_end.
6869         * posix/execle.c (execle): Likewise.
6870         * posix/execlp.c (execlp): Likewise.
6872 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6874         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6875         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6877 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6879         [BZ #18967]
6880         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6881         undefine around includes of <bits/mathcalls.h>.
6882         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6883         not declare function.
6884         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6885         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6886         (scalb): Likewise.
6887         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6888         not define macro.
6889         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6890         variable.
6891         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6892         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6893         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6895         [BZ #18857]
6896         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6897         return non-finite argument without doing ordered comparisons on
6898         it.
6900         [BZ #16296]
6901         * math/fenv.h (fegetround): Use __attribute_pure__.
6902         * include/fenv.h (__fegetround): Likewise.
6904         [BZ #18595]
6905         * math/s_ctan.c (__ctan): Force underflow exception for results
6906         whose real or imaginary part has small absolute value.
6907         * math/s_ctanf.c (__ctanf): Likewise.
6908         * math/s_ctanh.c (__ctanh): Likewise.
6909         * math/s_ctanhf.c (__ctanhf): Likewise.
6910         * math/s_ctanhl.c (__ctanhl): Likewise.
6911         * math/s_ctanl.c (__ctanl): Likewise.
6912         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6913         and ctanh.  Add more tests of ctan and ctanh.
6915         [BZ #15918]
6916         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6917         handling of cases where one argument is an infinity.
6919         [BZ #18875]
6920         [BZ #18966]
6921         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6922         (MO): New macro.
6923         (__ieee754_exp10): For small results, force underflow exception
6924         and remove excess range and precision from return value.
6925         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6926         (MO): New macro.
6927         (__ieee754_exp10f): For small results, force underflow exception
6928         and remove excess range and precision from return value.
6929         * math/auto-libm-test-in: Add more tests of exp10.
6930         * math/auto-libm-test-out: Regenerated.
6932 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6934         [BZ #18875]
6935         [BZ #18961]
6936         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6937         (MO): New macro.
6938         (__ieee754_exp): For small results, force underflow exception and
6939         remove excess range and precision from return value.
6940         (__exp_finite): Likewise.
6941         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6942         (MO): New macro.
6943         (__ieee754_expf): For small results, force underflow exception and
6944         remove excess range and precision from return value.
6945         (__expf_finite): Likewise.
6946         * math/auto-libm-test-in: Add more tests of exp.
6947         * math/auto-libm-test-out: Regenerated.
6949         [BZ #16521]
6950         [BZ #18875]
6951         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6952         small results.
6953         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6954         (MO): New macro.
6955         (__ieee754_exp2): For small results, force underflow exception and
6956         remove excess range and precision from return value.
6957         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6958         (MO): New macro.
6959         (__ieee754_exp2f): For small results, force underflow exception
6960         and remove excess range and precision from return value.
6961         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6962         (MO): New macro.
6963         (__ieee754_exp2l): Force underflow exception for small results.
6964         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6965         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6966         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6967         (MO): New macro.
6968         (__ieee754_exp2l): Force underflow exception for small results.
6969         * math/auto-libm-test-in: Add more tests or exp2.
6970         * math/auto-libm-test-out: Regenerated.
6972 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6974         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6976         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6977         /dev/null.
6979 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6981         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6982         io fs process)): Drop spurious backslash.
6984 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6986         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6987         Use sysinfo system call instead of parsing /proc/meminfo.
6988         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6989         Likewise.
6991 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6993         [BZ #16985]
6994         * programs/localedef.c (main): Display argv[remaining] when
6995         output_path is NULL.
6997 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6999         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7000         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7001         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7002         tanh.
7003         * math/auto-libm-test-out: Regenerated.
7004         * sysdeps/i386/fpu/libm-test-ulps: Update.
7005         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7006         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7009 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7011         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7012         Use 'override' keyword to freeze the value here, preventing
7013         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7015 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7017         [BZ #14912]
7018         * sysdeps/aarch64/bits/atomic.h: Move to ...
7019         * sysdeps/aarch64/atomic-machine.h: ...here.
7020         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7021         _AARCH64_ATOMIC_MACHINE_H.
7022         * sysdeps/alpha/bits/atomic.h: Move to ...
7023         * sysdeps/alpha/atomic-machine.h: ...here.
7024         * sysdeps/arm/bits/atomic.h: Move to ...
7025         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7026         * bits/atomic.h: Move to ...
7027         * sysdeps/generic/atomic-machine.h: ...here.
7028         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7029         * sysdeps/i386/bits/atomic.h: Move to ...
7030         * sysdeps/i386/atomic-machine.h: ...here.
7031         * sysdeps/ia64/bits/atomic.h: Move to ...
7032         * sysdeps/ia64/atomic-machine.h: ...here.
7033         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7034         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7035         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7036         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7037         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7038         * sysdeps/microblaze/bits/atomic.h: Move to ...
7039         * sysdeps/microblaze/atomic-machine.h: ...here.
7040         * sysdeps/mips/bits/atomic.h: Move to ...
7041         * sysdeps/mips/atomic-machine.h: ...here.
7042         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7043         * sysdeps/powerpc/bits/atomic.h: Move to ...
7044         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7045         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7046         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7047         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7048         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7049         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7050         <atomic-machine.h> instead of <bits/atomic.h>.
7051         * sysdeps/s390/bits/atomic.h: Move to ...
7052         * sysdeps/s390/atomic-machine.h: ...here.
7053         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7054         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7055         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7056         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7057         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7058         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7059         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7060         * sysdeps/tile/bits/atomic.h: Move to ...
7061         * sysdeps/tile/atomic-machine.h: ...here.
7062         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7063         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7064         <sysdeps/tile/atomic-machine.h> instead of
7065         <sysdeps/tile/bits/atomic.h>.
7066         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7067         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7068         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7069         <sysdeps/tile/atomic-machine.h> instead of
7070         <sysdeps/tile/bits/atomic.h>.
7071         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7072         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7073         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7074         <sysdeps/arm/atomic-machine.h> instead of
7075         <sysdeps/arm/bits/atomic.h>.
7076         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7077         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7078         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7079         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7080         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7081         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7082         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7083         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7084         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7085         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7086         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7087         * sysdeps/x86_64/bits/atomic.h: Move to ...
7088         * sysdeps/x86_64/atomic-machine.h: ...here.
7089         * include/atomic.h: Include <atomic-machine.h> instead of
7090         <bits/atomic.h>.
7092         * sysdeps/mips/mips32/libm-test-ulps: Update.
7093         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7095         [BZ #18952]
7096         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7097         not convert non-integer negative arguments to int to determine the
7098         value of signgam.
7099         * math/auto-libm-test-in: Add more tests of lgamma.
7100         * math/auto-libm-test-out: Regenerated.
7102         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7103         cosh, csqrt, erfc, expm1 and lgamma.
7104         * math/auto-libm-test-out: Regenerated.
7105         * sysdeps/i386/fpu/libm-test-ulps: Update.
7106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7108 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7110         [BZ #2542]
7111         [BZ #2543]
7112         [BZ #2558]
7113         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7114         __lgamma_neg for arguments from -28.0 to -2.0.
7115         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7116         __lgamma_negf for arguments from -15.0 to -2.0.
7117         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7118         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7119         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7120         Call __lgamma_negl for arguments from -33.0 to -2.0.
7121         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7122         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7123         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7124         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7125         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7126         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7127         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7128         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7129         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7130         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7131         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7132         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7133         (__lgamma_neg): Likewise.
7134         (__lgamma_negl): Likewise.
7135         (__lgamma_product): Likewise.
7136         (__lgamma_productl): Likewise.
7137         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7138         * math/auto-libm-test-in: Add more tests of lgamma.
7139         * math/auto-libm-test-out: Regenerated.
7140         * sysdeps/i386/fpu/libm-test-ulps: Update.
7141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7143 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7145         [BZ #18675]
7146         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7148 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7150         [BZ #14912]
7151         * bits/libc-lock.h: Move to ...
7152         * sysdeps/generic/libc-lock.h: ...here.
7153         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7154         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7155         * sysdeps/mach/hurd/libc-lock.h: ...here.
7156         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7157         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7158         * sysdeps/mach/bits/libc-lock.h: Move to ...
7159         * sysdeps/mach/libc-lock.h: ...here.
7160         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7161         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7162         * sysdeps/nptl/libc-lock.h: ...here.
7163         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7164         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7165         * sysdeps/nptl/libc-lockP.h: ...here.
7166         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7167         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7168         <bits/libc-lock.h>.
7169         * dirent/scandir-tail.c: Likewise.
7170         * dlfcn/dlerror.c: Likewise.
7171         * elf/dl-close.c: Likewise.
7172         * elf/dl-iteratephdr.c: Likewise.
7173         * elf/dl-lookup.c: Likewise.
7174         * elf/dl-open.c: Likewise.
7175         * elf/dl-support.c: Likewise.
7176         * elf/dl-writev.h: Likewise.
7177         * elf/rtld.c: Likewise.
7178         * grp/fgetgrent.c: Likewise.
7179         * gshadow/fgetsgent.c: Likewise.
7180         * gshadow/sgetsgent.c: Likewise.
7181         * iconv/gconv_conf.c: Likewise.
7182         * iconv/gconv_db.c: Likewise.
7183         * iconv/gconv_dl.c: Likewise.
7184         * iconv/gconv_int.h: Likewise.
7185         * iconv/gconv_trans.c: Likewise.
7186         * include/link.h: Likewise.
7187         * inet/getnameinfo.c: Likewise.
7188         * inet/getnetgrent.c: Likewise.
7189         * inet/getnetgrent_r.c: Likewise.
7190         * intl/bindtextdom.c: Likewise.
7191         * intl/dcigettext.c: Likewise.
7192         * intl/finddomain.c: Likewise.
7193         * intl/gettextP.h: Likewise.
7194         * intl/loadmsgcat.c: Likewise.
7195         * intl/localealias.c: Likewise.
7196         * intl/textdomain.c: Likewise.
7197         * libidn/idn-stub.c: Likewise.
7198         * libio/libioP.h: Likewise.
7199         * locale/duplocale.c: Likewise.
7200         * locale/freelocale.c: Likewise.
7201         * locale/newlocale.c: Likewise.
7202         * locale/setlocale.c: Likewise.
7203         * login/getutent_r.c: Likewise.
7204         * login/getutid_r.c: Likewise.
7205         * login/getutline_r.c: Likewise.
7206         * login/utmp-private.h: Likewise.
7207         * login/utmpname.c: Likewise.
7208         * malloc/mtrace.c: Likewise.
7209         * misc/efgcvt.c: Likewise.
7210         * misc/error.c: Likewise.
7211         * misc/fstab.c: Likewise.
7212         * misc/getpass.c: Likewise.
7213         * misc/mntent.c: Likewise.
7214         * misc/syslog.c: Likewise.
7215         * nis/nis_call.c: Likewise.
7216         * nis/nis_callback.c: Likewise.
7217         * nis/nss-default.c: Likewise.
7218         * nis/nss_compat/compat-grp.c: Likewise.
7219         * nis/nss_compat/compat-initgroups.c: Likewise.
7220         * nis/nss_compat/compat-pwd.c: Likewise.
7221         * nis/nss_compat/compat-spwd.c: Likewise.
7222         * nis/nss_nis/nis-alias.c: Likewise.
7223         * nis/nss_nis/nis-ethers.c: Likewise.
7224         * nis/nss_nis/nis-grp.c: Likewise.
7225         * nis/nss_nis/nis-hosts.c: Likewise.
7226         * nis/nss_nis/nis-network.c: Likewise.
7227         * nis/nss_nis/nis-proto.c: Likewise.
7228         * nis/nss_nis/nis-pwd.c: Likewise.
7229         * nis/nss_nis/nis-rpc.c: Likewise.
7230         * nis/nss_nis/nis-service.c: Likewise.
7231         * nis/nss_nis/nis-spwd.c: Likewise.
7232         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7233         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7234         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7235         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7236         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7237         * nis/nss_nisplus/nisplus-network.c: Likewise.
7238         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7239         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7240         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7241         * nis/nss_nisplus/nisplus-service.c: Likewise.
7242         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7243         * nis/ypclnt.c: Likewise.
7244         * nptl/libc_pthread_init.c: Likewise.
7245         * nss/getXXbyYY.c: Likewise.
7246         * nss/getXXent.c: Likewise.
7247         * nss/getXXent_r.c: Likewise.
7248         * nss/nss_db/db-XXX.c: Likewise.
7249         * nss/nss_db/db-netgrp.c: Likewise.
7250         * nss/nss_db/nss_db.h: Likewise.
7251         * nss/nss_files/files-XXX.c: Likewise.
7252         * nss/nss_files/files-alias.c: Likewise.
7253         * nss/nsswitch.c: Likewise.
7254         * posix/regex_internal.h: Likewise.
7255         * posix/wordexp.c: Likewise.
7256         * pwd/fgetpwent.c: Likewise.
7257         * resolv/res_hconf.c: Likewise.
7258         * resolv/res_libc.c: Likewise.
7259         * shadow/fgetspent.c: Likewise.
7260         * shadow/lckpwdf.c: Likewise.
7261         * shadow/sgetspent.c: Likewise.
7262         * socket/opensock.c: Likewise.
7263         * stdio-common/reg-modifier.c: Likewise.
7264         * stdio-common/reg-printf.c: Likewise.
7265         * stdio-common/reg-type.c: Likewise.
7266         * stdio-common/vfprintf.c: Likewise.
7267         * stdio-common/vfscanf.c: Likewise.
7268         * stdlib/abort.c: Likewise.
7269         * stdlib/cxa_atexit.c: Likewise.
7270         * stdlib/fmtmsg.c: Likewise.
7271         * stdlib/random.c: Likewise.
7272         * stdlib/setenv.c: Likewise.
7273         * string/strsignal.c: Likewise.
7274         * sunrpc/auth_none.c: Likewise.
7275         * sunrpc/bindrsvprt.c: Likewise.
7276         * sunrpc/create_xid.c: Likewise.
7277         * sunrpc/key_call.c: Likewise.
7278         * sunrpc/rpc_thread.c: Likewise.
7279         * sysdeps/arm/backtrace.c: Likewise.
7280         * sysdeps/generic/ldsodefs.h: Likewise.
7281         * sysdeps/generic/stdio-lock.h: Likewise.
7282         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7283         * sysdeps/i386/backtrace.c: Likewise.
7284         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7285         * sysdeps/m68k/backtrace.c: Likewise.
7286         * sysdeps/mach/hurd/cthreads.c: Likewise.
7287         * sysdeps/mach/hurd/dirstream.h: Likewise.
7288         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7289         * sysdeps/nptl/malloc-machine.h: Likewise.
7290         * sysdeps/nptl/stdio-lock.h: Likewise.
7291         * sysdeps/posix/dirstream.h: Likewise.
7292         * sysdeps/posix/getaddrinfo.c: Likewise.
7293         * sysdeps/posix/system.c: Likewise.
7294         * sysdeps/pthread/aio_suspend.c: Likewise.
7295         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7296         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7297         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7298         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7299         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7300         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7301         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7302         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7303         * sysdeps/unix/sysv/linux/system.c: Likewise.
7304         * sysdeps/x86_64/backtrace.c: Likewise.
7305         * time/alt_digit.c: Likewise.
7306         * time/era.c: Likewise.
7307         * time/tzset.c: Likewise.
7308         * wcsmbs/wcsmbsload.c: Likewise.
7309         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7310         instead of <bits/libc-lock.h> in comment.
7312 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7314         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7315         Only use .set mips2 if the current ISA is below mips2.
7316         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7317         Likewise.
7318         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7319         mips32r2 if the current ISA is below mips32r2.
7320         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7321         (TLS_IE): Updated to use the TLD_RDHWR macro.
7322         (TLS_LE): Likewise.
7323         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7324         __ASSEMBLER__ condition.
7326 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7328         Fix parallel build of before-compile targets.
7330         * sysdeps/mach/Makefile ($(patsubst
7331         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7332         mach-before-compile target.
7333         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7334         io fs process)): Move rule to dedicated hurd-before-compile target.
7336 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7338         Fix rules generating headers in hurd/ and mach/ when initial make call
7339         has subdir= explicitly set.
7341         * sysdeps/mach/Makefile ($(patsubst
7342         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7343         calling $(MAKE).
7344         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7345         io fs process)): Force subdir to hurd when calling $(MAKE).
7346         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7347         subdir to mach when calling $(MAKE).
7349 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7351         Check sysheaders when looking for Mach and Hurd headers
7353         * sysdeps/mach/configure.ac: Add sysheaders check.
7354         * sysdeps/mach/configure: Regenerate.
7355         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7356         * sysdeps/mach/hurd/configure: Regenerate.
7358 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7360         [BZ #18921]
7361         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7362         Fix inverted sense of test of 'o_directory_works' value.
7363         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7364         Bernhard Voelker <mail@bernhard-voelker.de>.
7366 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7368         [BZ #14912]
7369         * bits/linkmap.h: Move to ...
7370         * sysdeps/generic/linkmap.h: ...here.
7371         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7372         * sysdeps/aarch64/linkmap.h: ...here.
7373         * sysdeps/arm/bits/linkmap.h: Move to ...
7374         * sysdeps/arm/linkmap.h: ...here.
7375         * sysdeps/hppa/bits/linkmap.h: Move to ...
7376         * sysdeps/hppa/linkmap.h: ...here.
7377         * sysdeps/ia64/bits/linkmap.h: Move to ...
7378         * sysdeps/ia64/linkmap.h: ...here.
7379         * sysdeps/mips/bits/linkmap.h: Move to ...
7380         * sysdeps/mips/linkmap.h: ...here.
7381         * sysdeps/s390/bits/linkmap.h: Move to ...
7382         * sysdeps/s390/linkmap.h: ...here.
7383         * sysdeps/sh/bits/linkmap.h: Move to ...
7384         * sysdeps/sh/linkmap.h: ...here.
7385         * sysdeps/x86/bits/linkmap.h: Move to ...
7386         * sysdeps/x86/linkmap.h: ...here.
7387         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7389 2015-09-04  Andreas Schwab  <schwab@suse.de>
7391         [BZ #18635]
7392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7393         (__makecontext): Terminate FDE before return label.
7394         (__novec_makecontext): Likewise.
7396 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7398         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7399         first member of struct sv in syscall macro.
7401 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7403         [BZ #14912]
7404         * bits/stdio-lock.h: Move to ...
7405         * sysdeps/generic/stdio-lock.h: ...here.
7406         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7407         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7408         * sysdeps/nptl/stdio-lock.h: ...here.
7409         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7410         * include/libio.h: Include <stdio-lock.h> instead of
7411         <bits/stdio-lock.h>.
7412         * sysdeps/nptl/fork.c: Likewise.
7413         * sysdeps/pthread/flockfile.c: Likewise.
7414         * sysdeps/pthread/ftrylockfile.c: Likewise.
7415         * sysdeps/pthread/funlockfile.c: Likewise.
7417         [BZ #14912]
7418         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7419         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7420         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7421         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7422         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7423         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7424         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7426 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7428         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7429         (test-xfail-tst-protected1b): New variable.
7431 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7433         [BZ #14912]
7434         * bits/libc-tsd.h: Move to ...
7435         * sysdeps/generic/libc-tsd.h: ...here.
7436         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7437         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7438         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7439         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7440         * include/ctype.h: Include <libc-tsd.h> instead of
7441         <bits/libc-tsd.h>.
7442         * include/rpc/rpc.h: Likewise.
7443         * locale/localeinfo.h: Likewise.
7444         * sunrpc/rpc_thread.c: Likewise.
7445         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7446         * sysdeps/nptl/malloc-machine.h: Likewise.
7448         * Makefile (headers): Remove bits/libc-lock.h.
7449         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7451         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7452         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7453         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7454         <bits/stdio-lock.h>.
7455         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7456         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7458 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7460         [BZ #18757]
7461         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7462         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7463         BZ #18757.
7465 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7467         * malloc/mtrace.pl: Filter out NULL entries.
7469 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7471         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7472         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7473         macro.
7475         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7476         (TCP_CC_INFO): Likewise.
7477         (TCP_SAVE_SYN): Likewise.
7478         (TCP_SAVED_SYN): Likewise.
7480 2015-08-31  Brett Neumeier <brett@neumeier.us>
7482         [BZ #18870]
7483         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7485 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7487         [BZ #18873]
7488         Fix broken overflow check in posix_fallocate
7489         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7490         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7491         Fix parenthesization typo.
7493 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7495         [BZ #18887]
7496         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7497         tst-mntent-blank-passno.
7498         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7499         * misc/tst-mntent-blank-corrupt.c: New test.
7500         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7501         * misc/tst-mntent.c (do_test): ... here.
7503 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7505         [BZ #4404]
7506         * po/de.po: Fix SIGALRM typo.
7508 2015-08-28  James Perkins  <james@loowit.net>
7510         * time/tst-strptime2.c (tests): Replace short list of test
7511         strings for strptime %z specifier with code which exhaustively
7512         tests every combination of sign and 0 to 5 digits. Tests for
7513         rejection of invalid strings.
7515 2015-08-28  James Perkins  <james@loowit.net>
7517         [BZ #16141]
7518         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7519         calculation, removing incorrect decimal time rounding, so that
7520         all minute values result in a valid seconds value.
7521         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7522         offset range limits to UTC-99:59 through UTC+99:59 to parse
7523         current and historical use cases.
7524         * time/tst-strptime2.c (tests): Modify and add tests for the
7525         strptime %z input field descriptor, specifically conversion of
7526         minutes to seconds and validating an offset range of -9959 to
7527         +9959.
7529 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7530             Dmitry V. Levin  <ldv@altlinux.org>
7532         [BZ #18877]
7533         * posix/Makefile (tests): Add tst-mmap-offset.
7534         * posix/tst-mmap.c: New file.
7535         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7536         offset calculation for negative values.
7538 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7540         * sysdeps/i386/init-arch.h: New file.
7541         * sysdeps/i386/i586/init-arch.h: Likewise.
7542         * sysdeps/i386/i686/init-arch.h: Likewise.
7543         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7544         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7545         * sysdeps/x86/cpu-features.h (bit_I586): New.
7546         (bit_I686): Likewise.
7547         (bit_CX8): Likewise.
7548         (bit_CMOV): Likewise.
7549         (index_CX8): Likewise.
7550         (index_CMOV): Likewise.
7551         (index_I586): Likewise.
7552         (index_I686): Likewise.
7553         (reg_CX8): Likewise.
7554         (reg_CMOV): Likewise.
7555         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7556         available at compile-time.
7557         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7558         available at compile-time.
7559         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7560         (USE_I686): Likewise.
7562 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7564         * sysdeps/i386/bcopy.S: New file.
7565         * sysdeps/i386/bzero.S: Likewise.
7566         * sysdeps/i386/memcpy.S: Likewise.
7567         * sysdeps/i386/memmove.S: Likewise.
7568         * sysdeps/i386/mempcpy.S: Likewise.
7569         * sysdeps/i386/memset.S: Likewise.
7570         * sysdeps/i386/bzero.c: Removed.
7571         * sysdeps/i386/memset.c: Likewise.
7572         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7573         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7574         * sysdeps/i386/i586/memset_chk.S: Likewise.
7575         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7576         * sysdeps/i386/memcpy_chk.S: Here.
7577         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7578         * sysdeps/i386/memmove_chk.S: Here.
7579         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7580         * sysdeps/i386/mempcpy_chk.S: Likewise.
7581         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7582         * sysdeps/i386/memset_chk.S: Likewise.
7584 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7586         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7587         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7588         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7589         * soft-fp/fmadf4.c: Ditto.
7590         * soft-fp/fmatf4.c: Ditto.
7592 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7594         * sysdeps/i386/i586/Implies: Removed.
7595         * sysdeps/i386/i686/Implies: Likewise.
7597 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7599         * sysdeps/i386/i486/strlen.S: Moved to ...
7600         * sysdeps/i386/strlen.S: Here.
7602 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7604         * sysdeps/i386/i486/strcat.S: Moved to ...
7605         * sysdeps/i386/strcat.S: Here.
7607 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7609         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7610         * sysdeps/i386/pthread_spin_trylock.S: Here.
7611         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7612         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7614 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7616         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7617         * sysdeps/i386/string-inlines.c: Here.
7619 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7621         * sysdeps/i386/i486/htonl.S: Moved ...
7622         * sysdeps/i386/htonl.S: here.
7624 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7626         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7627         * sysdeps/i386/bits/atomic.h: Here.
7629 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7631         * sysdeps/i386/i486/Versions: Removed.
7633 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7635         [BZ #2898]
7636         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7637         Based on patch by Aurelien Jarno.
7639 2015-08-26  Stan Shebs  <stanshebs@google.com>
7641         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7642         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7644 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7646         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7647         * sysdeps/powerpc/dl-procinfo.c:
7648         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7649         feature so it shows when LD_SHOW_AUXV=1.
7651 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7653         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7654         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7655         definition.  ISA 2.07B no longer requires full sync.
7657 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7659         [BZ #18863]
7660         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7661         (si_call_addr): Define.
7662         (si_syscall): Define.
7663         (si_arch): Define.
7665 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7667         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7668         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7669         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7670         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7671         (__memset_zero_constant_len_parameter): New.
7672         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7673         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7674         (__memset_zero_constant_len_parameter): Don't define if
7675         __memset_chk or USE_AS_BZERO are defined.
7677         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7678         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7679         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7681         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7682         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7683         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7684         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7685         comments.
7686         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7687         -mno-mmx for $(all-rtld-routines).
7688         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7689         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7690         i386.
7692 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7694         * sysdeps/generic/unwind.h
7695         (_Unwind_Word): Use __mode__(__unwind_word__)
7696         instead of __mode__(__word__).
7697         (_Unwind_Sword): Likewise.
7699         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7700         (MAX_NEEDED_INPUT): New define.
7701         (MAX_NEEDED_OUTPUT): New define.
7703         * NEWS: New item for IBM z13 string optimizations.
7705         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7706         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7707         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7708         * sysdeps/s390/multiarch/Makefile
7709         (sysdep_routines): Add memrchr functions.
7710         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7711         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7713         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7714         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7715         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7716         * sysdeps/s390/multiarch/Makefile
7717         (sysdep_routines): Add wmemcmp functions.
7718         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7719         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7720         * benchtests/bench-wmemcmp.c: New File.
7721         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7723         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7724         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7725         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7726         * sysdeps/s390/multiarch/Makefile
7727         (sysdep_routines): Add wmemset functions.
7728         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7729         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7730         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7731         * string/test-memset.c: Add wmemset support.
7732         * wcsmbs/test-wmemset.c: New File.
7733         * wcsmbs/Makefile (strop-tests): Add wmemset.
7734         * benchtests/bench-memset.c: Add wmemset support.
7735         * benchtests/bench-wmemset.c: New File.
7736         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7738         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7739         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7740         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7741         * sysdeps/s390/multiarch/Makefile
7742         (sysdep_routines): Add memccpy functions.
7743         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7744         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7745         * string/memccpy.c: Use MEMCCPY if defined.
7747         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7748         * sysdeps/s390/multiarch/memchr.c: Likewise.
7749         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7750         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7751         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7752         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7753         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7754         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7755         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7756         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7757         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7758         and rawmemchr functions.
7759         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7760         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7761         and wmemchr.
7762         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7763         * string/test-memchr.c: Add wmemchr support.
7764         * wcsmbs/test-wmemchr.c: New File.
7765         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7766         * benchtests/bench-memchr.c: Add wmemchr support.
7767         * benchtests/bench-wmemchr.c: New File.
7768         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7770         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7771         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7772         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7773         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7774         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7775         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7776         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7777         wcscspn functions.
7778         * sysdeps/s390/multiarch/ifunc-impl-list.c
7779         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7780         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7781         * string/test-strcspn.c: Add wcscspn support.
7782         * wcsmbs/test-wcscspn.c: New File.
7783         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7784         * benchtests/bench-strcspn.c: Add wcscspn support.
7785         * benchtests/bench-wcscspn.c: New File.
7786         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7788         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7789         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7790         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7791         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7792         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7793         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7794         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7795         wcspbrk functions.
7796         * sysdeps/s390/multiarch/ifunc-impl-list.c
7797         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7798         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7799         * string/test-strpbrk.c: Add wcspbrk support.
7800         * wcsmbs/test-wcspbrk.c: New File.
7801         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7802         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7803         * benchtests/bench-wcspbrk.c: New File.
7804         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7806         * sysdeps/s390/multiarch/strspn-c.c: New File.
7807         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7808         * sysdeps/s390/multiarch/strspn.c: Likewise.
7809         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7810         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7811         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7812         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7813         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7814         wcsspn functions.
7815         * sysdeps/s390/multiarch/ifunc-impl-list.c
7816         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7817         * string/test-strspn.c: Add wcsspn support.
7818         * wcsmbs/test-wcsspn.c: New File.
7819         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7820         * benchtests/bench-strspn.c: Add wcsspn support.
7821         * benchtests/bench-wcsspn.c: New File.
7822         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7824         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7825         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7826         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7827         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7828         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7829         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7830         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7831         wcsrchr functions.
7832         * sysdeps/s390/multiarch/ifunc-impl-list.c
7833         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7834         * benchtests/bench-wcsrchr.c: New File.
7835         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7837         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7838         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7839         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7840         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7841         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7842         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7843         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7844         wcschrnul functions.
7845         * sysdeps/s390/multiarch/ifunc-impl-list.c
7846         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7847         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7848         * string/test-strchr.c: Add wcschrnul support.
7849         * wcsmbs/test-wcschrnul.c: New File.
7850         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7851         * benchtests/bench-strchr.c: Add wcschrnul support.
7852         * benchtests/bench-wcschrnul.c: New File.
7853         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7855         * sysdeps/s390/multiarch/strchr-c.c: New File.
7856         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7857         * sysdeps/s390/multiarch/strchr.c: Likewise.
7858         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7859         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7860         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7861         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7862         wcschr functions.
7863         * sysdeps/s390/multiarch/ifunc-impl-list.c
7864         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7865         * string/strchr.c (STRCHR): Define and use macro.
7866         * benchtests/bench-wcschr.c: New File.
7867         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7869         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7870         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7871         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7872         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7873         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7874         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7875         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7876         wcsncmp functions.
7877         * sysdeps/s390/multiarch/ifunc-impl-list.c
7878         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7879         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7880         * benchtests/bench-strncmp.c: Add wcsncmp support.
7881         * benchtests/bench-wcsncmp.c: New File.
7882         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7884         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7885         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7886         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7887         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7888         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7889         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7890         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7891         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7892         wcscmp functions.
7893         * sysdeps/s390/multiarch/ifunc-impl-list.c
7894         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7895         * string/strcmp.c (STRCMP): Define and use macro.
7896         * benchtests/bench-wcscmp.c: New File.
7897         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7898         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7899         instead of _HAVE_STRING_ARCH_memchr.
7901         * sysdeps/s390/multiarch/strncat-c.c: New File.
7902         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7903         * sysdeps/s390/multiarch/strncat.c: Likewise.
7904         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7905         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7906         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7907         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7908         wcsncat functions.
7909         * sysdeps/s390/multiarch/ifunc-impl-list.c
7910         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7911         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7912         * string/test-strncat.c: Add wcsncat support.
7913         * wcsmbs/test-wcsncat.c: New File.
7914         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7915         * benchtests/bench-strncat.c: Add wcsncat support.
7916         * benchtests/bench-wcsncat.c: New File.
7917         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7919         * sysdeps/s390/multiarch/strcat-c.c: New File.
7920         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7921         * sysdeps/s390/multiarch/strcat.c: Likewise.
7922         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7923         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7924         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7925         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7926         wcscat functions.
7927         * sysdeps/s390/multiarch/ifunc-impl-list.c
7928         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7929         * string/strcat.c (STRCAT): Define and use macro.
7930         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7931         * string/test-strcat.c: Add wcscat support.
7932         * wcsmbs/test-wcscat.c: New File.
7933         * wcsmbs/Makefile (strop-tests): Add wcscat.
7934         * benchtests/bench-strcat.c: Add wcscat support.
7935         * benchtests/bench-wcscat.c: New File.
7936         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7938         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7939         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7940         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7941         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7942         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7943         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7944         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7945         wcpncpy functions.
7946         * sysdeps/s390/multiarch/ifunc-impl-list.c
7947         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7948         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7949         * string/test-stpncpy.c: Add wcpncpy support.
7950         * wcsmbs/test-wcpncpy.c: New File.
7951         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7952         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7953         * benchtests/bench-wcpncpy.c: New File.
7954         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7956         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7957         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7958         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7959         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7960         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7961         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7962         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7963         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7964         wcsncpy functions.
7965         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7966         * sysdeps/s390/multiarch/ifunc-impl-list.c
7967         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7968         * string/test-strncpy.c: Add wcsncpy support.
7969         * wcsmbs/test-wcsncpy.c: New File.
7970         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7971         * benchtests/bench-strncpy.c: Add wcsncpy support.
7972         * benchtests/bench-wcsncpy.c: New File.
7973         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7975         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7976         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7977         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7978         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7979         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7980         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7981         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7982         wcpcpy functions.
7983         * string/stpcpy.c: Use STPCPY if defined.
7984         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7985         * sysdeps/s390/multiarch/ifunc-impl-list.c
7986         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7987         * string/test-stpcpy.c: Add wcpcpy support.
7988         * wcsmbs/test-wcpcpy.c: New File.
7989         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7990         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7991         * benchtests/bench-wcpcpy.c: New File.
7992         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7994         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7995         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7996         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7997         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7998         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7999         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8000         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8001         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8002         wcscpy functions.
8003         * sysdeps/s390/multiarch/ifunc-impl-list.c
8004         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8005         * benchtests/bench-wcscpy.c: New File.
8006         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8008         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8009         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8010         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8011         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8012         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8013         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8014         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8015         wcsnlen functions.
8016         * sysdeps/s390/multiarch/ifunc-impl-list.c
8017         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8018         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8019         * string/test-strnlen.c: Add wcsnlen support.
8020         * wcsmbs/test-wcsnlen.c: New File.
8021         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8022         * benchtests/bench-strnlen.c: Add wcsnlen support.
8023         * benchtests/bench-wcsnlen.c: New File.
8024         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8026         * sysdeps/s390/multiarch/Makefile: New File.
8027         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8028         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8029         * sysdeps/s390/multiarch/strlen.c: Likewise.
8030         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8031         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8032         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8033         * string/strlen.c (STRLEN): Define and use macro.
8034         * sysdeps/s390/multiarch/ifunc-impl-list.c
8035         (IFUNC_VX_IMPL): New macro function.
8036         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8037         * benchtests/Makefile (wcsmbs-bench): New variable.
8038         (string-bench-all): Added wcsmbs-bench.
8039         * benchtests/bench-wcslen.c: New File.
8041         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8042         s390_vx_libc_ifunc2): New macro function.
8044         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8045         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8046         assembler support.
8047         * sysdeps/s390/configure: Regenerated.
8049         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8050         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8052         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8053         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8054         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8056         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8057         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8058         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8059         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8060         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8061         (memcmp, bcmp): Use __memcmp_default as alias source.
8062         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8063         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8064         Rename to __memcmp_default.
8065         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8066         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8067         (memcpy): Use __memcpy_default as alias source.
8068         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8069         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8070         Rename to __memcpy_default.
8071         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8072         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8073         (memset): Use __memset_default as alias source.
8074         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8075         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8076         Rename to __memset_default.
8077         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8078         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8079         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8080         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8081         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8082         (memcmp, bcmp): Use __memcmp_default as alias source.
8083         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8084         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8085         Rename to __memcmp_default.
8086         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8087         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8088         (memcpy): Use __memcpy_default as alias source.
8089         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8090         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8091         Rename to __memcpy_default.
8092         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8093         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8094         (memset): Use __memset_default as alias source.
8095         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8096         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8097         Rename to __memset_default.
8098         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8099         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8101         [BZ #18610]
8102         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8103         __ieee_instruction_pointer to __unused.
8104         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8105         __ieee_instruction_pointer.
8106         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8107         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8108         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8109         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8110         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8111         Mark dxc-field as reserved.
8113 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8115         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8116         if the weak reference is not null.
8118 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8120         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8122         [BZ #11214]
8123         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8125 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8127         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8128         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8129         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8130         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8131         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8132         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8133         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8134         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8135         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8136         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8137         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8138         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8139         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8140         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8141         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8142         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8143         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8144         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8146 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8148         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8149         register other than r0 for tabort, it has special meaning.
8150         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
8151         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8152         transaction before starting syscall.
8154 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8156         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8158 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8160         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8162         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8163         * sysdeps/x86_64/rtld-memset.S: Likewise.
8164         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8165         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8166         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8167         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8169         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8171 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8173         * debug/strcpy_chk.c: Improve performance.
8174         * debug/stpcpy_chk.c: Likewise.
8175         * sysdeps/x86_64/strcpy_chk.S: Remove.
8176         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8178         [BZ #18240]
8179         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8181 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8183         [BZ #15128]
8184         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8185         ifuncmain8.
8186         (modules-names): Add ifuncmod8.
8187         ($(objpfx)ifuncmain8): New rule.
8188         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8189         <cpuid.h>.
8190         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8191         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8192         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8193         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8194         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8195         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8196         * sysdeps/x86_64/ifuncmain8.c: New file.
8197         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8198         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8199         Removed.
8200         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8201         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8202         Change rtld_savespace_sse to __glibc_unused2.
8203         (RTLD_CHECK_FOREIGN_CALL): Removed.
8204         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8205         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8206         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8208 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8210         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8212 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8214         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8215         Unconditionally set __fpcr to avoid uninialized warning.
8216         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8218 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8220         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8221         is corrupt.
8223         * malloc/arena.c (arena_get2): Drop unused argument.
8224         (arena_lock): Adjust.
8225         (arena_get_retry): Likewise.
8227 2015-08-24  Andreas Schwab  <schwab@suse.de>
8229         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8230         Don't define.
8231         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8232         (__ASSUME_IPC64): Don't undef.
8233         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8234         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8235         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8236         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8237         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8238         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8239         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8240         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8241         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8242         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8243         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8244         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8245         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8246         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8247         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8248         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8249         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8250         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8251         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8252         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8253         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8255 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8257         * manual/Makefile (install): Only build manual when perl is available.
8259 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8261         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8262         '#undef memcpy' by '#undef memchr'.
8264 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8266         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8267         memchr not point to the internal __GI_memchr implementation.
8269 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8271         * timezone/Makefile (CFLAGS-zdump.c): Remove
8272         -Wno-strict-prototypes.
8273         (CFLAGS-zic.c): Likewise.
8274         (CFLAGS-ialloc.c): Likewise.
8275         (CFLAGS-scheck.c): Likewise.
8277         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8278         -Wno-error=undef.
8280 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8282         * i386/i686/multiarch/strcasestr-c.c: Removed.
8283         * x86_64/multiarch/strcasestr.c: Likewise.
8284         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8285         Remove strcasestr.
8287 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8289         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8291         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8292         variables for high and low parts before possibly modifying them.
8294 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8296         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8297         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8298         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8299         of "multiarch/init-arch.h".
8300         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8301         * sysdeps/x86/init-arch.h: This.
8303 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8305         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8306         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8308 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8310         [BZ #17787]
8311         * manual/macros.texi: Add twoexp macro.
8312         * manual/filesys.texi: Fix exponents.
8313         * manual/llio.texi: Likewise.
8314         * manual/stdio.texi: Likewise.
8316 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8318         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8319         incorrect use.
8321 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8323         [BZ #18370]
8324         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8325         whose real or imaginary part has small absolute value.
8326         * math/s_csqrtf.c (__csqrtf): Likewise.
8327         * math/s_csqrtl.c (__csqrtl): Likewise.
8328         * math/auto-libm-test-in: Add more tests of csqrt.
8329         * math/auto-libm-test-out: Regenerated.
8330         * sysdeps/i386/fpu/libm-test-ulps: Update.
8332 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8334         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8335         __ppc_set_ppr_very_low): New functions.
8336         * manual/platform.texi: Add documentation about
8337         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8339 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8341         * string/stpncpy.c (stpncpy): Improve performance using
8342         __strnlen/memcpy/memset.
8344 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8346         [BZ #18796]
8347         * scripts/test-installation.pl: Don't add -lmvec to build options if
8348         libmvec wasn't built.
8350 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8352         [BZ #14341]
8353         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8354         case when there is a gap between DT_REL and DT_JMPREL sections.
8355         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8356         (LDFLAGS-tst-split-dynreloc): New.
8357         (tst-split-dynreloc-ENV): Likewise.
8358         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8359         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8361 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8363         [BZ #18822]
8364         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8365         attribute_hidden.
8366         (__xstat64_conv): Likewise.
8367         (__xstat32_conv): Likewise.
8369 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8371         [BZ #18822]
8372         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8373         Don't load %ebx when calling __setcontext.  Call __setcontext
8374         with HIDDEN_JUMPTARGET.
8375         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8376         libc_hidden_def.
8378 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8380         * sysdeps/i386/i686/Makefile
8381         [$(subdir) == string] (sysdep_routines): Moved to ...
8382         * sysdeps/i386/Makefile: Here.
8383         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8384         * sysdeps/i386/cacheinfo.c: Here.
8385         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8386         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8387         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8388         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8390 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8392         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8393         __i586__ is defined.
8394         (HAS_I686): Defined to 1 if __i686__ is defined.
8396 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8398         * elf/Makefile [$(have-z-execstack) = yes]
8399         (CPPFLAGS-tst-execstack.c): New variable.
8401         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8402         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8403         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8404         UTMPX || _HAVE_UT_TV].
8405         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8406         UTMPX || _HAVE_UT_TV - 0].
8408 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8410         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8411         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8412         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8414 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8416         * sysdeps/powerpc/dl-procinfo.c:
8417         (_dl_powerpc_cap_flags): Added missing strings for some
8418         hwcap features.
8419         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8421 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8423         Port the 0x7efe...feff pattern to GCC 6.
8424         See Steve Ellcey's bug report in:
8425         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8426         * string/memrchr.c (MEMRCHR):
8427         * string/rawmemchr.c (RAWMEMCHR):
8428         * string/strchr.c (strchr):
8429         * string/strchrnul.c (STRCHRNUL):
8430         Rewrite code to avoid issues with signed shift overflow.
8432 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8434         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8435         whether cpuid is available only if HAS_CPUID is 0.
8436         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8437         (HAS_I586): Likewise.
8438         (HAS_I686): Likewise.
8440 2015-08-18  Zack Weinberg  <zackw@panix.com>
8442         * misc/Versions (libc): Add GLIBC_2.23.
8444 2015-08-18  Alan Modra  <amodra@gmail.com>
8446         [BZ #18421]
8447         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8448         .Lp__global.
8449         (_start): Load %dp via .Lp__global.
8450         [!SHARED]: Use .section .rodata.
8452 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8454         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8455         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8457 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8459         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8460         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8462 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8464         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8465         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8467 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8469         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8470         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8472 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8474         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8475         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8477 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8479         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8480         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8482 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8484         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8486 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8488         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8489         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8490         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8491         (__ASSUME_LWS_CAS): Delete.
8493 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8495         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8496         * sysdeps/hppa/configure: Regenerated.
8497         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8498         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8499         * sysdeps/hppa/nptl/tls.h: Likewise.
8501 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8503         [BZ #18823]
8504         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8505         for scaling up small arguments.
8506         * math/s_csqrtf.c (__csqrtf): Likewise.
8507         * math/s_csqrtl.c (__csqrtl): Likewise.
8508         * math/auto-libm-test-in: Add more tests of csqrt.
8509         * math/auto-libm-test-out: Regenerated.
8511 2015-08-17  Andreas Schwab  <schwab@suse.de>
8513         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8514         version set GLIBC_2.19.
8516 2015-08-16  Zack Weinberg  <zackw@panix.com>
8518         [BZ #18681]
8519         * misc/regexp.h: This interface is no longer supported.
8520         Remove all contents, leaving only an #error directive.
8521         * misc/regexp.c (loc1, loc2, locs, step, advance):
8522         Demote to compatibility symbols.
8524 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8526         [BZ #18084]
8527         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8528         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8529         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8530         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8531         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8532         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8533         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8534         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8535         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8537 2015-08-15  Zack Weinberg  <zackw@panix.com>
8539         [BZ #18795]
8540         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8541         buffer length is known to be too large, not if it's known to be
8542         small enough.
8543         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8544         overflow at runtime, involving a length parameter, twice: once
8545         with a compile-time constant length parameter, once without.
8547 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8549         [BZ #18824]
8550         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8551         scaling x * y up instead of down.
8552         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8553         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8554         * math/auto-libm-test-in: Add more tests of fma.
8555         * math/auto-libm-test-out: Regenerated.
8557 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8559         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8561 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8563         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8564         unnecessary movq.
8565         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8566         Likewise.
8568 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8570         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8571         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8572         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8573         and tgamma.
8574         * math/auto-libm-test-out: Regenerated.
8575         * sysdeps/i386/fpu/libm-test-ulps: Update.
8576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8578         [BZ #16520]
8579         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8580         (__tanh): Force underflow exception for arguments with small
8581         absolute value.
8582         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8583         (__tanhf): Force underflow exception for arguments with small
8584         absolute value.
8585         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8586         (__tanhl): Force underflow exception for arguments with small
8587         absolute value.
8588         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8589         (__tanhl): Force underflow exception for arguments with small
8590         absolute value.
8591         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8592         (__tanhl): Force underflow exception for arguments with small
8593         absolute value.
8594         * math/auto-libm-test-in: Add more tests of tanh.
8595         * math/auto-libm-test-out: Regenerated.
8596         * sysdeps/i386/fpu/libm-test-ulps: Update.
8598 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8600         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8601         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8603 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8605         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8606         <cpuid.h>.
8608 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8610         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8611         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8613 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8615         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8616         Remove $(objpfx)init-arch.o.
8617         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8618         init-arch.
8619         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8620         (INIT_ARCH_EXT): Defined as empty.
8621         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8622         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8623         __init_cpu_features call.  Replace HAS_XXX with
8624         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8625         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8626         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8627         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8628         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8629         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8630         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8631         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8632         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8633         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8634         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8635         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8636         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8637         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8638         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8640         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8641         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8642         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8643         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8644         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8645         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8646         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8647         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8648         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8649         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8650         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8651         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8652         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8653         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8654         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8655         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8656         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8657         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8658         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8659         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8661 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8663         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8664         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8665         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8666         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8667         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8668         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8669         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8670         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8671         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8672         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8673         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8674         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8675         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8676         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8677         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8678         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8679         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8680         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8681         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8682         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8683         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8684         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8685         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8686         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8687         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8688         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8689         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8690         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8691         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8692         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8693         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8694         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8695         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8696         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8697         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8698         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8699         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8700         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8701         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8702         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8703         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8704         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8705         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8707 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8709         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8710         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8711         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8712         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8713         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8714         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8715         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8716         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8717         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8718         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8719         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8720         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8721         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8722         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8723         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8724         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8725         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8726         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8727         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8728         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8729         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8730         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8731         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8732         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8733         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8734         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8735         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8736         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8737         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8738         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8739         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8740         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8741         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8742         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8743         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8744         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8745         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8746         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8747         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8748         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8749         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8750         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8751         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8753 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8755         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8756         (dl_platform_init): Call init_cpu_features.
8757         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8758         * sysdeps/i386/i686/cacheinfo.c
8759         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8760         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8761         * sysdeps/i386/i686/multiarch/Versions: Removed.
8762         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8763         Removed.
8764         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8765         * sysdeps/unix/sysv/linux/x86/Makefile
8766         (libpthread-sysdep_routines): Remove init-arch.
8767         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8768         <sysdeps/x86_64/dl-procinfo.c> instead of
8769         sysdeps/generic/dl-procinfo.c>.
8770         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8771         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8772         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8773         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8774         [$(subdir) == elf] (tests-static): Add
8775         tst-get-cpu-features-static.
8776         * sysdeps/x86/Versions: New file.
8777         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8778         * sysdeps/x86/cpu-features.c: Likewise.
8779         * sysdeps/x86/cpu-features.h: Likewise.
8780         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8781         * sysdeps/x86/libc-start.c: Likewise.
8782         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8783         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8784         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8785         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8786         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8787         Assume USE_MULTIARCH is defined and don't check it.
8788         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8789         (is_amd): Likewise.
8790         (max_cpuid): Likewise.
8791         (intel_check_word): Likewise.
8792         (__cache_sysconf): Don't call __init_cpu_features.
8793         (__x86_preferred_memory_instruction): Removed.
8794         (init_cacheinfo): Don't call __init_cpu_features. Replace
8795         __cpu_features with GLRO(dl_x86_cpu_features).
8796         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8797         (dl_platform_init): Call init_cpu_features.
8798         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8799         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8800         * sysdeps/x86_64/multiarch/Versions: Removed.
8801         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8802         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8803         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8804         Removed.
8805         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8807 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8809         [BZ #18820]
8810         * libio/Makefile (test-fmemopen-mem): New test.
8811         * libio/test-fmemopen.c (do_bz18820): New test.
8812         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8813         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8815 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8817         [BZ #16734]
8818         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8819         (FREE_BUF): Delete.
8820         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8821         * libio/genops.c (_IO_setb): Use malloc and free directly.
8822         (_IO_default_doallocate, _IO_default_finish): Likewise.
8823         ( _IO_unbuffer_all): Likewise.
8824         ( libc_freeres_fn): Likewise.
8825         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8826         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8827         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8828         (_IO_wdefault_doallocate): Likewise.
8830 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8832         [BZ #18086]
8833         * sysdeps/posix/nice.c (nice): Restore old errno.
8834         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8836 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8838         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8840 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8842         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8843         __bcopy and add a weak_alias to bcopy.
8844         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8845         for static build.
8847         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8848         cleanup macro usage.
8849         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8850         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8851         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8852         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8853         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8854         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8855         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8856         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8857         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8858         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8859         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8860         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8862         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8863         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8864         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8865         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8866         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8867         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8869         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8870         libc_hidden_def.
8871         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8873         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8874         (sysdep_routines): Add strstr-ppc64.
8875         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8877 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8879         [BZ #18778]
8880         * elf/Makefile (tests): Add Add tst-nodelete2.
8881         (modules-names): Add tst-nodelete2mod.
8882         (tst-nodelete2mod.so-no-z-defs): New.
8883         ($(objpfx)tst-nodelete2): Likewise.
8884         ($(objpfx)tst-nodelete2.out): Likewise.
8885         (LDFLAGS-tst-nodelete2): Likewise.
8886         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8887         out of loop through all loaded libraries.
8888         * elf/tst-nodelete2.c: New file.
8889         * elf/tst-nodelete2mod.c: Likewise.
8890         * elf/tst-znodelete-zlib.cc: Delete.
8892 2015-08-11  Andreas Schwab  <schwab@suse.de>
8894         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8895         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8896         (__openat64_nocancel): Likewise.
8898 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8900         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8901         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8902         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8903         * math/auto-libm-test-out: Regenerated.
8904         * sysdeps/i386/fpu/libm-test-ulps: Update.
8905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8907 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8909         [BZ #18790]
8910         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8911         threshold for returning +/- 1.
8912         * math/auto-libm-test-in: Add more tests of tanh.
8913         * math/auto-libm-test-out: Regenerated.
8914         * sysdeps/i386/fpu/libm-test-ulps: Update.
8916 2015-08-10  Andreas Schwab  <schwab@suse.de>
8918         [BZ #18781]
8919         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8920         MORE_OFLAGS to oflag.
8921         * io/test-lfs.c (do_test): Test openat64.
8923 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8925         [BZ #18789]
8926         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8927         smaller threshold for returning the argument.
8928         * math/auto-libm-test-in: Add more tests of sinh.
8929         * math/auto-libm-test-out: Regenerated.
8930         * sysdeps/i386/fpu/libm-test-ulps: Update.
8932 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8934         [BZ #18674]
8935         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8936         break.
8938 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8940         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8941         (generated): Don't add $(addprefix z.,$(tzfiles)).
8943 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8945         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8946         * scripts/sysd-rules.awk: Likewise.
8948 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8950         * iconvdata/tst-tables.sh: Change echo -n to printf.
8951         * nss/db-Makefile: Likewise.
8952         * posix/tst-getconf.sh: Likewise.
8953         * stdio-common/tst-unbputc.sh: Likewise.
8955 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8957         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8958         MADV_*_PAGES defines behind this feature check.
8960 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8962         [BZ #18480]
8963         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8964         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8965         Define.
8966         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8967         LOAD_REGS_5, LOAD_REGS_6): Update.
8968         (INTERNAL_SYSCALL): Update using new LOAD defines.
8969         (INTERNAL_SYSCALL_NCS): Likewise.
8970         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8972 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8974         [BZ #16734]
8975         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8977 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8979         [BZ #17905]
8980         * catgets/Makefile (tst-catgets-mem): New test.
8981         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8982         * catgets/open_catalog.c (__open_catalog): Likewise.
8983         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8985 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8987         [BZ #18787]
8988         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8989         clobber registers.
8990         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8991         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8992         Cast return to __typeof (oldval).
8994 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8996         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8997         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8998         and delete sys/syscall.h include.
9000 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9002         [BZ #16517]
9003         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9004         (tan): Force underflow exception for arguments with small absolute
9005         value.
9006         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9007         (__kernel_tanf): Force underflow exception for arguments with
9008         small absolute value.
9009         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9010         (__kernel_tanl): Force underflow exception for arguments with
9011         small absolute value.
9012         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9013         (__kernel_tanl): Force underflow exception for arguments with
9014         small absolute value.
9015         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9016         (__kernel_tanl): Force underflow exception for arguments with
9017         small absolute value.
9018         * math/auto-libm-test-in: Add more tests of tan.
9019         * math/auto-libm-test-out: Regenerated.
9021 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9023         Fix sysdeps/i386/fpu/s_scalbn.S build
9025         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9027 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9029         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9031 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9033         Fix gcrt0.o compilation
9035         When static-start-installed-name is different from
9036         start-installed-name, we must not use the shared objects.
9038         * csu/Makefile
9039         (extra-objs): Add gmon-start.o when building shared library and
9040         $(static-start-installed-name) is different from
9041         $(start-installed-name).
9042         $(objpfx)g$(static-start-installed-name): When building shared
9043         library and $(static-start-installed-name) is different from
9044         $(static-start-installed-name), revert to non-shared rule,
9045         i.e. using $(objpfx)% and gmon-start.o.
9047 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9049         [BZ #16519]
9050         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9051         (__ieee754_sinh): Force underflow exception for arguments with
9052         small absolute value.
9053         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9054         (__ieee754_sinhf): Force underflow exception for arguments with
9055         small absolute value.
9056         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9057         (__ieee754_sinhl): Force underflow exception for arguments with
9058         small absolute value.
9059         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9060         (__ieee754_sinhl): Force underflow exception for arguments with
9061         small absolute value.
9062         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9063         (__ieee754_sinhl): Force underflow exception for arguments with
9064         small absolute value.
9065         * math/auto-libm-test-in: Add more tests of sinh.
9066         * math/auto-libm-test-out: Regenerated.
9067         * sysdeps/i386/fpu/libm-test-ulps: Update.
9069 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9071         * libio/oldfileops.c: Include unistd.h.
9073 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9075         * stdlib/isomac.c: Include ctype.h.
9077 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9079         * dirent/tst-seekdir.c (main): Converted to ...
9080         (do_test): ... this.
9081         (TEST_FUNCTION): New macro.
9082         Include test-skeleton.c.
9083         * elf/tst-dlmodcount.c (main): Converted to ...
9084         (do_test): ... this.
9085         (TEST_FUNCTION): New macro.
9086         Include test-skeleton.c.
9087         * elf/tst-order-main.c (main): Converted to ...
9088         (do_test): ... this.
9089         (TEST_FUNCTION): New macro.
9090         Include test-skeleton.c.
9091         * elf/tst-pie2.c (main): Converted to ...
9092         (do_test): ... this.
9093         (TEST_FUNCTION): New macro.
9094         Include test-skeleton.c.
9095         * inet/tst-ether_aton.c (main): Converted to ...
9096         (do_test): ... this.
9097         (TEST_FUNCTION): New macro.
9098         Include test-skeleton.c.
9099         * misc/tst-mntent.c (main): Converted to ...
9100         (do_test): ... this.
9101         (TEST_FUNCTION): New macro.
9102         Include test-skeleton.c.
9103         * misc/tst-tsearch.c (main): Converted to ...
9104         (do_test): ... this.
9105         (TEST_FUNCTION): New macro.
9106         Include test-skeleton.c.
9107         * posix/tst-regexloc.c (main): Converted to ...
9108         (do_test): ... this.
9109         (TEST_FUNCTION): New macro.
9110         Include test-skeleton.c.
9111         * resolv/tst-aton.c (main): Converted to ...
9112         (do_test): ... this.
9113         (TEST_FUNCTION): New macro.
9114         Include test-skeleton.c.
9115         * stdio-common/test-fwrite.c (main): Converted to ...
9116         (do_test): ... this.
9117         (TEST_FUNCTION): New macro.
9118         Include test-skeleton.c.
9119         * stdio-common/tst-ferror.c (main): Converted to ...
9120         (do_test): ... this.
9121         (TEST_FUNCTION): New macro.
9122         Include test-skeleton.c.
9123         * stdio-common/tst-printf.c (main): Converted to ...
9124         (do_test): ... this.
9125         (TEST_FUNCTION): New macro.
9126         Include test-skeleton.c.
9127         * stdio-common/tst-printfsz.c (main): Converted to ...
9128         (do_test): ... this.
9129         (TEST_FUNCTION): New macro.
9130         Include test-skeleton.c.
9131         * stdlib/tst-strtod.c (main): Converted to ...
9132         (do_test): ... this.
9133         (TEST_FUNCTION): New macro.
9134         Include test-skeleton.c.
9135         * string/tst-strlen.c (main): Converted to ...
9136         (do_test): ... this.
9137         (TEST_FUNCTION): New macro.
9138         Include test-skeleton.c.
9139         * string/tst-svc.c (main): Converted to ...
9140         (do_test): ... this.
9141         (TEST_FUNCTION): New macro.
9142         Include test-skeleton.c.
9143         * time/tst-strptime.c (main): Converted to ...
9144         (do_test): ... this.
9145         (TEST_FUNCTION): New macro.
9146         Include test-skeleton.c.
9147         * timezone/tst-timezone.c (main): Converted to ...
9148         (do_test): ... this.
9149         (TEST_FUNCTION): New macro.
9150         Include test-skeleton.c.
9152 2015-08-05  Zack Weinberg  <zackw@panix.com>
9154         * misc/regexp.h: Update comments.
9156 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9158         [BZ #18635]
9159         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9160         before return label.
9162 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9164         [BZ #18661]
9165         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9166         when calling __errno_location.
9167         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9168         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9170 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9172         [BZ #18661]
9173         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9174         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9175         __gettimeofday.
9177 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9179         [BZ #18661]
9180         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9181         (__start_context): Don't use pop to restore %rdi so that stack
9182         is aligned to 16 bytes when calling __setcontext.
9184 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9186         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9187         only for libc.
9188         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9190 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9192         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9193         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9194         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9196 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9198         * string/memccpy.c (memccpy):
9199         Improve performance by using memchr/memcpy/__mempcpy.
9201 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9203         * string/strncpy.c (strncpy):
9204         Improve performance by using __strnlen/memcpy.
9206 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9208         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9209         Optimize to avoid an unnecessary FPCR read.
9211 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9213         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9214         Optimize to reduce FPCR/FPSR accesses.
9216 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9218         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9219         dead->data[category] != NULL.
9221 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9223         [BZ #18647]
9224         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9225         and |x| close to 1, use absolute value of x when computing log.
9226         * math/auto-libm-test-in: Add more tests of pow.
9227         * math/auto-libm-test-out: Regenerated.
9229 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9231         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9232         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9233         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9235 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9237         [BZ #18525]
9238         * locales/km_KH: Remove timezone definition.
9239         * locales/lo_LA: Likewise.
9240         * locales/my_MM: Likewise.
9241         * locales/nan_TW@latin: Likewise.
9242         * locales/th_TH: Likewise.
9243         * locales/uk_UA: Likewise.
9245 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9247         [BZ #18265]
9248         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9249         (wcsncat): Likewise.
9250         (wcscmp): Likewise.
9251         (wcsncmp): Likewise.
9253 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9255         * test-skeleton.c (usage): New function.
9256         (main): Call usage when opt is '?'.
9258 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9260         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9261         before first use.
9263 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9265         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9266         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9267         in there too.
9269 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9271         * version.h (RELEASE): Set to "development".
9272         (VERSION): Set to "2.22.90"
9274         * version.h (RELEASE): Set to "stable".
9275         (VERSION): Set to "2.22"
9276         * include/features.h (__GLIBC_MINOR__): Set to 22.
9278 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9280         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9281         Restructure macro to avoid "value computed is not used" warning.
9282         (atomic_compare_and_exchange_val_acq): Likewise.
9284 2015-08-04  Andreas Schwab  <schwab@suse.de>
9286         [BZ #18635]
9287         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9288         ret.
9289         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9291 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9293         * po/pl.po: Updated translation.
9294         * po/uk.po: Likewise.
9295         * po/fi.po: Likewise.
9296         * po/ko.po: Likewise.
9297         * po/ru.po: Likewise.
9298         * po/vi.po: Likewise.
9300 2015-07-31  Zack Weinberg  <zackw@panix.com>
9302         [BZ #18681]
9303         * regexp.h: Add unconditional #warning stating that this header
9304         will be removed soon.  Revise banner comment to match.
9305         (compile): Consistently use ERROR instead of RETURN to report
9306         errors (partial fix for bz#18681).
9307         * regexp.c: Don't include regexp.h. Remove some unnecessary
9308         declarations.
9310 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9312         * po/libc.pot: Regenerated.
9314 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9316         [BZ #18740]
9317         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9318         float-vlen4-arch-ext-cflags): Removed.
9319         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9320         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9322 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9324         [BZ #14113]
9325         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9326         aligned to __aligned__.
9327         (pthread_cond_t, pthread_rwlock_t): Likewise.
9329 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9331         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9333 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9335         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9336         (struct sigaction): Change sa_flags from a long to an int, and add
9337         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9339 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9341         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9342         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9343         sysdeps/generic/sysdep.h include.
9344         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9345         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9346         sysdeps/hppa/sysdep.h.
9347         (ENTRY, PSEUDO): Undefine before defining.
9349 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9351         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9352         from scratch to use INTERNAL_SYSCALL.
9354 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9356         [BZ #18078]
9357         * scripts/check-localplt.awk: Support alternate relocations.
9358         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9359         sections.
9360         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9361         malloc entries with + REL R_386_GLOB_DAT.
9362         * sysdeps/x86_64/localplt.data: New file.
9364 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9366         [BZ #18731]
9367         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9368         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9369         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9371 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9373         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9375 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9377         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9378         directly in terms of __sync_fetch_and_add and delete (int) cast.
9380 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9382         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9383         the -D_ASM_IA64_CURRENT_H flag.
9385 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9387         [BZ #18641]
9388         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9390 2015-07-27  Andreas Schwab  <schwab@suse.de>
9392         * conform/conformtest.pl (checknamespace): Filter out string
9393         literals while tokenizing.
9395 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9397         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9398         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9399         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9401 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9403         * nptl/tst-join7mod.c: Add #include <string.h>.
9405 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9407         * sysdeps/nios2/libm-test-ulps: Update.
9409 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9411         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9412         Fix order of arguments to the rt_sigprocmask syscall.
9413         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9414         Likewise.
9416 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9418         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9420 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9422         [BZ #18457]
9423         * nptl/Makefile (tests): New test case tst-join7.
9424         (modules-names): New test case module tst-join7mod.
9425         * nptl/tst-join7.c: New file.
9426         * nptl/tst-join7mod.c: New file.
9427         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9428         all translation units in libc.so, libpthread.so and rtld.
9430 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9434 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9436         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9437         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9438         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9439         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9440         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9442         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9443         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9444         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9445         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9446         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9447         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9448         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9449         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9450         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9451         implementation.
9453 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9455         [BZ #17711]
9456         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9457         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9458         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9459         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9460         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9461         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9463 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9465         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9466         instead of just saying load lock in the comments.
9468 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9470         * sysdeps/unix/Subdirs: Moved ...
9471         * sysdeps/posix/Subdirs: ... here.
9472         * login/pty.h (struct termios, struct winsize): Add forward decls.
9473         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9474         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9475         * sysdeps/arm/nacl/libc.abilist: Updated.
9476         * sysdeps/nacl/libutil.abilist: New file.
9478         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9479         (SIGWINCH): New macro.
9481         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9482         * sysdeps/arm/nacl/libc.abilist: Add it.
9484 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9486         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9488 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9490         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9491         Swap __glibc_reserved0 and sa_flags order.
9493 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9495         [BZ #18657]
9496         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9497         are pending TLS destructor calls.
9498         * include/link.h (struct link_map): Add concurrency note for
9499         L_TLS_DTOR_COUNT.
9500         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9501         Don't touch the link map flag.  Atomically increment
9502         l_tls_dtor_count.
9503         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9504         Avoid taking the load lock and don't touch the link map flag.
9505         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9506         * stdlib/Makefile (tests): Use it.
9507         * stdlib/tst-tls-atexit.c (do_test): dlopen
9508         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9509         to allow tst-tls-atexit-nodelete test case to use it.
9511 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9513         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9514         to bits/types.h.
9515         (msgqnum_t): New typedef.
9516         (msglen_t): Likewise.
9517         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9518         and msg_qbytes type to msglen_t.
9520 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9522         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9523         pad0 to __glibc_reserved0.
9524         (struct stat64): Likewise.
9526 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9528         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9529         Change sa_flags from a long to an int and add __glibc_reserved0 before
9530         it for padding.
9532 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9534         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9535         anonymous by deleting "siginfo" name.
9537 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9539         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9540         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9541         rather than __nacl_irt_filename.
9542         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9544         * NEWS: New item for arm-nacl port.
9545         * sysdeps/arm/nacl/libc.abilist: New file.
9546         * sysdeps/nacl/ld.abilist: New file.
9547         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9548         * sysdeps/nacl/libanl.abilist: New file.
9549         * sysdeps/nacl/libcrypt.abilist: New file.
9550         * sysdeps/nacl/libdl.abilist: New file.
9551         * sysdeps/nacl/libm.abilist: New file.
9552         * sysdeps/nacl/libpthread.abilist: New file.
9553         * sysdeps/nacl/libresolv.abilist: New file.
9554         * sysdeps/nacl/librt.abilist: New file.
9556 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9558         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9559         __startcontext to initialize the new context.
9560         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9561         up CFI directive to forbid further backtracing.
9563 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9565         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9566         reference.
9567         * charmaps/ANSI_X3.4-1968: Likewise.
9568         * charmaps/BS_4730: Likewise.
9569         * charmaps/BS_VIEWDATA: Likewise.
9570         * charmaps/CP1250: Likewise.
9571         * charmaps/CP1251: Likewise.
9572         * charmaps/CP1252: Likewise.
9573         * charmaps/CP1253: Likewise.
9574         * charmaps/CP1254: Likewise.
9575         * charmaps/CP1255: Likewise.
9576         * charmaps/CP1256: Likewise.
9577         * charmaps/CSN_369103: Likewise.
9578         * charmaps/EBCDIC-DK-NO: Likewise.
9579         * charmaps/GB_1988-80: Likewise.
9580         * charmaps/GREEK-CCITT: Likewise.
9581         * charmaps/GREEK7: Likewise.
9582         * charmaps/INIS-8: Likewise.
9583         * charmaps/ISIRI-3342: Likewise.
9584         * charmaps/ISO_2033-1983: Likewise.
9585         * charmaps/ISO_5427-EXT: Likewise.
9586         * locales/POSIX: Likewise.
9587         * locales/ar_SA: Likewise.
9588         * locales/be_BY: Likewise.
9589         * locales/be_BY@latin: Likewise.
9590         * locales/ca_ES: Likewise.
9591         * locales/cs_CZ: Likewise.
9592         * locales/da_DK: Likewise.
9593         * locales/de_BE: Likewise.
9594         * locales/de_CH: Likewise.
9595         * locales/de_LU: Likewise.
9596         * locales/en_AU: Likewise.
9597         * locales/en_BW: Likewise.
9598         * locales/en_CA: Likewise.
9599         * locales/en_DK: Likewise.
9600         * locales/en_GB: Likewise.
9601         * locales/en_IE: Likewise.
9602         * locales/en_NZ: Likewise.
9603         * locales/en_ZA: Likewise.
9604         * locales/en_ZW: Likewise.
9605         * locales/es_AR: Likewise.
9606         * locales/es_BO: Likewise.
9607         * locales/es_CL: Likewise.
9608         * locales/es_CO: Likewise.
9609         * locales/es_DO: Likewise.
9610         * locales/es_EC: Likewise.
9611         * locales/es_ES: Likewise.
9612         * locales/es_HN: Likewise.
9613         * locales/es_MX: Likewise.
9614         * locales/es_PA: Likewise.
9615         * locales/es_PE: Likewise.
9616         * locales/es_PY: Likewise.
9617         * locales/es_SV: Likewise.
9618         * locales/es_US: Likewise.
9619         * locales/es_UY: Likewise.
9620         * locales/es_VE: Likewise.
9621         * locales/et_EE: Likewise.
9622         * locales/fa_IR: Likewise.
9623         * locales/fo_FO: Likewise.
9624         * locales/fr_CA: Likewise.
9625         * locales/fr_CH: Likewise.
9626         * locales/gv_GB: Likewise.
9627         * locales/he_IL: Likewise.
9628         * locales/hr_HR: Likewise.
9629         * locales/id_ID: Likewise.
9630         * locales/is_IS: Likewise.
9631         * locales/it_CH: Likewise.
9632         * locales/iw_IL: Likewise.
9633         * locales/kl_GL: Likewise.
9634         * locales/ko_KR: Likewise.
9635         * locales/kw_GB: Likewise.
9636         * locales/lg_UG: Likewise.
9637         * locales/lt_LT: Likewise.
9638         * locales/lv_LV: Likewise.
9639         * locales/mi_NZ: Likewise.
9640         * locales/nhn_MX: Likewise.
9641         * locales/nl_BE: Likewise.
9642         * locales/pl_PL: Likewise.
9643         * locales/sk_SK: Likewise.
9644         * locales/sl_SI: Likewise.
9645         * locales/sv_FI: Likewise.
9646         * locales/tl_PH: Likewise.
9647         * locales/tr_TR: Likewise.
9648         * locales/vi_VN: Likewise.
9650 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9652         [BZ #17475]
9653         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9654         of tu_IN and bh_IN.
9656 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9658         [BZ #18694]
9659         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9660         bits/wordsize.h.
9661         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9663 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9665         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9666         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9667         (spawn_thread): New function.
9668         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9669         (do_test): ... here.  Use IS_LOADED to test for its
9670         availability.
9672 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9674         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9676 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9678         [BZ #18696]
9679         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9680         si_addr_bnd.
9681         (si_lower): New.
9682         (si_upper): Likewise.
9684 2015-07-16  David S. Miller  <davem@davemloft.net>
9686         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9688 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9690         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9691         buffer.
9692         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9693         fail output information.
9695 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9698         and strstr-ppc64..
9699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9700         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9701         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9702         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9703         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9705 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9707         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9708         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9709         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9710         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9712 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9714         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9715         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9716         rtld_hidden_proto.
9717         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9719 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9721         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9722         the test can fail.
9724         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9726         [BZ #18676]
9727         * elf/tst-nodelete-opened.c: New test case.
9728         * elf/tst-nodelete-opened-lib.c: New test case module.
9729         * elf/Makefile (tests, modules-names): Use them.
9730         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9731         early.
9733 2015-07-15  David S. Miller  <davem@davemloft.net>
9735         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9736         futex-intenal.h
9737         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9738         * sysdeps/sparc/sparc64/Makefile: Likewise.
9739         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9740         Remove space from macro define.
9741         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9743 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9745         [BZ #17475]
9746         * locale/iso-639.def: Update Bhili and Tulu language codes as
9747         per iso639-3.
9749 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9751         * elf/tst-leaks1.c (main): Converted to ...
9752         (do_test): ... this.
9753         (TEST_FUNCTION): New macro.
9754         Include test-skeleton.c.
9755         * localedata/tst-langinfo.c (main): Converted to ...
9756         (do_test): ... this.
9757         (TEST_FUNCTION): New macro.
9758         Include test-skeleton.c.
9759         * math/test-fpucw.c (main): Converted to ...
9760         (do_test): ... this.
9761         (TEST_FUNCTION): New macro.
9762         Include test-skeleton.c.
9763         * math/test-tgmath.c (main): Converted to ...
9764         (do_test): ... this.
9765         (TEST_FUNCTION): New macro.
9766         Include test-skeleton.c.
9767         * math/test-tgmath2.c (main): Converted to ...
9768         (do_test): ... this.
9769         (TEST_FUNCTION): New macro.
9770         Include test-skeleton.c.
9771         * setjmp/tst-setjmp.c (main): Converted to ...
9772         (do_test): ... this.
9773         (TEST_FUNCTION): New macro.
9774         Include test-skeleton.c.
9775         * stdio-common/tst-sscanf.c (main): Converted to ...
9776         (do_test): ... this.
9777         (TEST_FUNCTION): New macro.
9778         Include test-skeleton.c.
9779         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9780         (do_test): ... this.
9781         (TEST_FUNCTION): New macro.
9782         Include test-skeleton.c.
9784         * elf/tst-audit9.c (main): Converted to ...
9785         (do_test): ... this.
9786         (TEST_FUNCTION): New macro.
9787         Include test-skeleton.c.
9789 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9791         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9793 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9795         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9796         New variable.
9798 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9800         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9802 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9804         * sysdeps/generic/dl-fileid.h: New file.
9805         * sysdeps/posix/dl-fileid.h: New file.
9806         * sysdeps/nacl/dl-fileid.h: New file.
9807         * include/link.h: Include <dl-fileid.h>.
9808         (struct link_map): Replace l_dev and l_ino with l_file_id.
9809         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9810         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9811         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9813 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9815         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9817 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9819         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9820         Add iff $CXX is set.
9821         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9822         Likewise.
9823         (tst-nodelete-zmodiff): Likewise.
9824         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9826 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9828         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9830 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9832         * sysdeps/aarch64/fpu/math_private.h
9833         (define math_opt_barrier): Add AArch64 version.
9834         (math_force_eval): Likewise.
9836 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9838         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9840 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9842         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9843         %ld with %jd and cast to intmax_t.
9844         (do_test_length_zero): Likewise.
9846 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9848         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9850 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9852         * sysdeps/tile/libm-test-ulps: Regenerated.
9854         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9855         Comment out the whole function, not just its body.
9857 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9859         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9860         locks.
9862         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9864 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9866         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9867         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9869 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9871         * sysdeps/nptl/futex-internal.h: New file.
9872         * sysdeps/nacl/futex-internal.h: New file.
9873         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9874         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9875         error checking.
9876         (setxid_unmark_thread): Likewise.
9877         (__nptl_setxid): Likewise.
9878         (__wait_lookup_done): Likewise.
9879         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9880         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9881         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9882         * nptl/pthread_once.c (clear_once_control): Likewise.
9883         (__pthread_once_slow): Likewise.
9884         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9885         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9886         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9887         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9888         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9889         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9890         Likewise.
9891         (__pthread_rwlock_rdlock): Likewise.
9892         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9893         Likewise.
9894         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9895         Likewise.
9896         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9897         Likewise.
9898         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9899         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9900         Likewise.
9901         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9902         __ASSUME_PRIVATE_FUTEX check.
9903         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9904         Check that shared futexes are supported.
9905         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9906         wrappers with error checking.
9907         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9908         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9909         * nptl/pthread_barrierattr_setpshared.c
9910         (pthread_barrierattr_setpshared): Check that shared futexes are
9911         supported.
9912         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9913         Likewise.
9914         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9915         Likewise.
9916         * nptl/sem_init.c (futex_private_if_supported): Remove.
9917         (__new_sem_init): Adapt and check that shared futexes are supported.
9918         * nptl/sem_open.c (sem_open): Likewise.
9919         * nptl/sem_post.c (futex_wake): Remove.
9920         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9921         (do_futex_wait): Use futex wrappers with error checking.
9922         * nptl/sem_wait.c: Include lowlevellock.h.
9923         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9924         Use futex_supports_pshared.
9925         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9926         Use futex wrappers with error checking.
9927         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9928         Likewise.
9929         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9930         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9931         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9932         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9933         (futex_wake): Likewise.
9934         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9935         (do_futex_wait): Use futex wrappers with error checking.
9936         (__new_sem_wait_slow): Update EINTR handling.
9937         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9939 2015-07-09  Martin Sebor  <msebor@redhat.com>
9941         [BZ #18435]
9942         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9943         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9944         * nptl/Makefile (test-xfail-tst-once5): Define.
9946 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9948         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9949         * elf/dl-minimal.c: For readability, reorder some definitions and
9950         introduce more page breaks.  Include <stdio.h>.
9951         (__libc_fatal): New function.
9953         * include/unistd.h: Add rtld_hidden_proto for _exit.
9954         * posix/_exit.c: Add rtld_hidden_def.
9955         * sysdeps/mach/hurd/_exit.c: Likewise.
9956         * sysdeps/nacl/_exit.c: Likewise.
9957         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9958         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9960 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9962         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9963         bndmov encoding with zero displacement.
9965 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9966             H.J. Lu  <hongjiu.lu@intel.com>
9968         [BZ #18134]
9969         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9970         * sysdeps/i386/configure: Regenerated.
9971         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9972         (_dl_runtime_profile): Save and restore Intel MPX return bound
9973         registers when calling _dl_call_pltexit.  Add
9974         PRESERVE_BND_REGS_PREFIX before return.
9975         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9976         (LRV_BND1_OFFSET): Likewise.
9977         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9978         lrv_bnd1.
9979         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9980         typo in bndmov encoding.
9981         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9982         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9983         branch instructions to preserve bounds.
9985 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9988         [GLIBC_2.22]: Add fmemopen.
9990 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9992         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9993         returns an error, also try to use host port from __mach_host_self for
9994         the __vm_wire call.
9995         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9997 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9999         [BZ #18400]
10000         [BZ #18648]
10001         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10002         Fix pr_uid and pr_gid members.
10003         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10004         definition to elf_greg_t.
10006 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10008         [BZ #18383]
10009         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10010         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10011         * sysdeps/arm/configure: Regenerated.
10012         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10013         (test-xfail-tst-tlsalign-static): Variable removed.
10015         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10016         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10017         rather than explicit 'ln -s'.
10019         * resolv/rpc/netdb.h: New file.
10020         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10022 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10024         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10025         length buffers.
10026         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10027         test-skeleton.c.
10029         [BZ #6544]
10030         [BZ #11216]
10031         [BZ #12836]
10032         [BZ #13151]
10033         [BZ #13152]
10034         [BZ #14292]
10035         * include/stdio.h (fmemopen): Remove hidden prototype.
10036         (__fmemopen): Add new hidden prototype.
10037         * libio/Makefile: Add oldfmemopen object.
10038         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10039         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10040         compliance.
10041         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10042         symbol compatibility.
10043         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10044         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10045         fmemopen.
10046         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10047         on append and read mode.
10048         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10049         fmemopen.
10050         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10051         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10052         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10053         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10054         Likewise.
10055         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10056         [GLIBC_2.22]: Likewise.
10057         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10058         Likewise.
10059         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10060         Likewise.
10061         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10062         [GLIBC_2.22]: Likewise.
10063         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10064         [GLIBC_2.22]: Likewise.
10065         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10066         [GLIBC_2.22]: Likewise.
10067         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10068         [GLIBC_2.22]: Likewise.
10069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10070         [GLIBC_2.22]: Likewise.
10071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10072         [GLIBC_2.22]: Likewise.
10073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10074         [GLIBC_2.22]: Likewise.
10075         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10076         Likewise.
10077         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10078         Likewise.
10079         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10080         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10081         [GLIBC_2.22]: Likewise.
10082         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10083         [GLIBC_2.22]: Likewise.
10084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10085         [GLIBC_2.22]: Likewise.
10086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10087         [GLIBC_2.22]: Likewise.
10088         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10089         Likewise.
10090         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10091         Likewise.
10092         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10093         Likewise.
10094         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10095         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10097 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10099         [BZ #18643]
10100         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10101         IPV6_PATHMTU, and IPV6_DONTFRAG.
10103 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10105         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10106         and _IO_UNBUFFERED.
10107         * libio/oldfileops.c: Likewise.
10108         * libio/wfileops.c: Likewise.
10110 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10112         * nscd/selinux.c: Delete selinux/flask.h include.
10114 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10116         [BZ #18641]
10117         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10118         (putpwent): Likewise.
10119         (getpwnam): Likewise.
10120         (getpwent_r): Likewise.
10121         (getpwuid_r): Likewise.
10122         (getpwnam_r): Likewise.
10123         (fgetpwent_r): Likewise.
10125 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10127         [BZ #18557]
10128         * inet/rcmd.c (__validuser2_sa): Check user first to
10129         short-circuit host check.
10131 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10132             Mikhail Ilin  <m.ilin@samsung.com>
10134         [BZ #17833]
10135         * elf/Makefile (tests): Add tst-nodelete.
10136         (modules-names): Add tst-nodelete-uniquemod.
10137         (tst-nodelete-uniquemod.so-no-z-defs): New.
10138         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10139         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10140         ($(objpfx)tst-nodelete): Likewise.
10141         ($(objpfx)tst-nodelete.out): Likewise.
10142         (LDFLAGS-tst-nodelete): Likewise.
10143         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10144         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10145         implement forced object deletion.
10146         (_dl_close): Pass false to _dl_close_worker.
10147         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10148         * elf/tst-nodelete.cc: New file.
10149         * elf/tst-nodeletelib.cc: Likewise.
10150         * elf/tst-znodeletelib.cc: Likewise.
10151         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10153 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10155         [BZ #18508]
10156         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10157         Depend on $(libdl).
10158         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10159         is not called infinitely times.
10160         (backtrace_helper): New function.
10161         (trace_arg): New struct.
10162         (st1): Enlarge stack size.
10163         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10164         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10165         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10166         Likewise.
10168 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10170         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10172 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10174         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10175         Include sys/types.h instead of bits/types.h.
10176         Remove inclusion of bits/wordsize.h.
10178 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10180         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10181         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10182         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10183         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10184         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10185         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10187 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10189         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10190         link-defines.sym.
10191         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10192         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10193         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10194         and LR_SIZE.
10195         * sysdeps/i386/link-defines.sym: New file.
10197 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10199         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10200         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10201         ($(objpfx)tst-audit3): New rule.
10202         ($(objpfx)tst-audit3.out): Likewise.
10203         * sysdeps/i386/tst-audit3.c: New file.
10204         * sysdeps/i386/tst-audit3.h: Likewise.
10205         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10206         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10208 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10210         [BZ #18633]
10211         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10212         pointer in C code.
10213         (__strcat_c): Likewise.
10214         (__strcat_g): Likewise.
10216 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10218         [BZ #18592]
10219         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10221 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10223         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10224         New function.  (__ieee754_sqrtf): New function.
10225         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10226         New function.
10227         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10228         New function.
10230 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10232         * sysdeps/ieee754/support.c: Remove unused file.
10234 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10236         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10237         registers instead of d ones so the layout is kernel abi compatible.
10238         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10239         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10240         Likewise.
10242 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10244         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10246 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10248         [BZ #18619]
10249         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10250         and return argument in case of subnormal argument.
10252 2015-07-01  Martin Sebor  <msebor@redhat.com>
10254         [BZ #18435]
10255         * nptl/Makefile: Add tst-once5.cc.
10256         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10257         Remove macro redefinitions.
10258         * nptl/tst-once5.cc: New test.
10260 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10262         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10264         * sysdeps/arm/libm-test-ulps: Regenerated.
10266         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10267         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10269 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10271         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10272         lll_lock_wait_private and lll_futex_wake probes.
10274         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10276         Likewise.
10277         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10278         atomic_spin_nop.
10279         * sysdeps/x86_64/bits/atomic.h: Likewise.
10280         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10281         to atomic_spin_nop and move ...
10282         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10283         ... here and ...
10284         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10285         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10286         atomic_spin_nop instead of BUSY_WAIT_NOP.
10287         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10288         Likewise.
10289         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10290         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10291         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10292         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10293         instead of atomic_delay.
10295 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10297         [BZ #18613]
10298         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10299         X_ADJ not X when adjusting exponent.
10300         (__ieee754_gamma_r): Do intermediate computations in
10301         round-to-nearest then adjust overflowing and underflowing results
10302         as needed.
10303         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10304         of X_ADJ not X when adjusting exponent.
10305         (__ieee754_gammaf_r): Do intermediate computations in
10306         round-to-nearest then adjust overflowing and underflowing results
10307         as needed.
10308         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10309         log of X_ADJ not X when adjusting exponent.
10310         (__ieee754_gammal_r): Do intermediate computations in
10311         round-to-nearest then adjust overflowing and underflowing results
10312         as needed.  Use 1.0L not 1.0f as numerator of division.
10313         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10314         log of X_ADJ not X when adjusting exponent.
10315         (__ieee754_gammal_r): Do intermediate computations in
10316         round-to-nearest then adjust overflowing and underflowing results
10317         as needed.  Use 1.0L not 1.0f as numerator of division.
10318         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10319         of X_ADJ not X when adjusting exponent.
10320         (__ieee754_gammal_r): Do intermediate computations in
10321         round-to-nearest then adjust overflowing and underflowing results
10322         as needed.  Use 1.0L not 1.0f as numerator of division.
10323         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10324         to auto-libm-test-in.
10325         (tgamma_test): Use ALL_RM_TEST.
10326         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10327         tests of tgamma with spurious-overflow.
10328         * math/auto-libm-test-out: Regenerated.
10329         * math/gen-libm-have-vector-test.sh: Do not check for START.
10330         * sysdeps/i386/fpu/libm-test-ulps: Update.
10331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10333         [BZ #18612]
10334         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10335         arguments, just return 0.5 times the argument, with underflow
10336         forced as needed.
10337         * math/auto-libm-test-in: Add more tests of j1.
10338         * math/auto-libm-test-out: Regenerated.
10340         [BZ #16559]
10341         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10342         (__ieee754_j1): Force underflow exception for small results.
10343         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10344         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10345         (__ieee754_j1f): Force underflow exception for small results.
10346         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10347         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10348         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10349         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10350         (__ieee754_j1l): Force underflow exception for small results.
10351         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10352         * math/auto-libm-test-in: Add more tests of j1 and jn.
10353         * math/auto-libm-test-out: Regenerated.
10355         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10356         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10357         (PF_MPLS): Likewise.
10358         (AF_IB): Likewise.
10359         (AF_MPLS): Likewise.
10360         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10361         value and macro.
10362         (MS_RMT_MASK): Include MS_LAZYTIME.
10364 2015-06-26  Mel Gorman  <mgorman@suse.de>
10366         [BZ #18502]
10367         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10368         already minimal.
10370 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10372         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10373         (DT_MIPS_NUM): Update.
10374         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10375         DT_MIPS_RLD_MAP_REL.
10377 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10379         [BZ #16559]
10380         [BZ #18602]
10381         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10382         round-to-nearest internally then recompute results that
10383         underflowed to zero in the original rounding mode.
10384         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10385         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10386         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10387         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
10388         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10389         * sysdeps/i386/fpu/libm-test-ulps: Update.
10390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10392 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10394         * NEWS: Fixed description of link with vector math library.
10396 2015-06-25  Andreas Schwab  <schwab@suse.de>
10398         [BZ #18549]
10399         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10400         * libio/test-fmemopen.c (do_test): Add test for it.
10402 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10404         [BZ #17841]
10405         * Makeconfig (no-pie-ldflag): New.
10406         (+link): Set to $(+link-pie) if default to PIE.
10407         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10408         * config.make.in (build-pie-default): New.
10409         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10410         is default.  AC_SUBST.
10411         * configure: Regenerated.
10412         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10414 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10416         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10417         to 'unsigned int'.
10419         * resolv/gai_misc.h (struct waitlist): Change type of field
10420         counterp to 'volatile unsigned int *'.
10421         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10422         FUTEXADDR and OLDVAL.
10423         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10424         Give local variable TOTAL type 'volatile unsigned int'.
10425         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10426         * resolv/gai_suspend.c (gai_suspend):
10427         Give local variable CNTR type 'unsigned int'.
10429         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10430         counterp to 'volatile unsigned int *'.
10431         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10432         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10433         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10434         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10435         Give local variable TOTAL type 'volatile unsigned int'.
10436         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10438 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10440         [BZ #18383]
10441         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10442         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10443         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10444         comment for i386/x86-64.
10445         (test-xfail-tst-tlsalign-extern-static): Removed.
10447 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10449         * math/test-double.h: New file.
10450         * math/test-float.h: Likewise.
10451         * math/test-ldouble.h: Likewise.
10452         * math/test-math-inline.h: Likewise.
10453         * math/test-math-no-inline.h: Likewise.
10454         * math/test-math-scalar.h: Likewise.
10455         * math/test-math-vector.h: Likewise.
10456         * math/test-vec-loop.h: Remove file.  Contents moved into
10457         test-math-vector.h.
10458         * math/libm-test.inc (MATHCONST): Do not document macro.
10459         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10460         and test-math-scalar.h.
10461         (FUNC): Remove macro.
10462         (FUNC_TEST): Likewise.
10463         (FLOAT): Likewise.
10464         (MATHCONST): Likewise.
10465         (PRINTF_EXPR): Likewise.
10466         (PRINTF_XEXPR): Likewise.
10467         (PRINTF_NEXPR): Likewise.
10468         (TEST_DOUBLE): Likewise.
10469         (TEST_MATHVEC): Likewise.
10470         (__NO_MATH_INLINES): Likewise.
10471         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10472         and test-math-scalar.h.
10473         (FUNC): Remove macro.
10474         (FUNC_TEST): Likewise.
10475         (FLOAT): Likewise.
10476         (MATHCONST): Likewise.
10477         (PRINTF_EXPR): Likewise.
10478         (PRINTF_XEXPR): Likewise.
10479         (PRINTF_NEXPR): Likewise.
10480         (TEST_FLOAT): Likewise.
10481         (TEST_MATHVEC): Likewise.
10482         (__NO_MATH_INLINES): Likewise.
10483         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10484         and test-math-scalar.h.
10485         (FUNC): Remove macro.
10486         (FUNC_TEST): Likewise.
10487         (FLOAT): Likewise.
10488         (MATHCONST): Likewise.
10489         (PRINTF_EXPR): Likewise.
10490         (PRINTF_XEXPR): Likewise.
10491         (PRINTF_NEXPR): Likewise.
10492         (TEST_DOUBLE): Likewise.
10493         (TEST_MATHVEC): Likewise.
10494         (TEST_INLINE): Likewise.
10495         (__NO_MATH_INLINES): Likewise.
10496         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10497         test-math-scalar.h.
10498         (FUNC): Remove macro.
10499         (FUNC_TEST): Likewise.
10500         (FLOAT): Likewise.
10501         (MATHCONST): Likewise.
10502         (PRINTF_EXPR): Likewise.
10503         (PRINTF_XEXPR): Likewise.
10504         (PRINTF_NEXPR): Likewise.
10505         (TEST_FLOAT): Likewise.
10506         (TEST_MATHVEC): Likewise.
10507         (TEST_INLINE): Likewise.
10508         (__NO_MATH_INLINES): Likewise.
10509         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10510         and test-math-scalar.h.
10511         (FUNC): Remove macro.
10512         (FUNC_TEST): Likewise.
10513         (FLOAT): Likewise.
10514         (MATHCONST): Likewise.
10515         (PRINTF_EXPR): Likewise.
10516         (PRINTF_XEXPR): Likewise.
10517         (PRINTF_NEXPR): Likewise.
10518         (TEST_LDOUBLE): Likewise.
10519         (TEST_MATHVEC): Likewise.
10520         (TEST_INLINE): Likewise.
10521         (__NO_MATH_INLINES): Likewise.
10522         * math/test-ldouble.c: Include test-ldouble.h,
10523         test-math-no-inline.h and test-math-scalar.h.
10524         (FUNC): Remove macro.
10525         (FUNC_TEST): Likewise.
10526         (FLOAT): Likewise.
10527         (MATHCONST): Likewise.
10528         (PRINTF_EXPR): Likewise.
10529         (PRINTF_XEXPR): Likewise.
10530         (PRINTF_NEXPR): Likewise.
10531         (TEST_LDOUBLE): Likewise.
10532         (TEST_MATHVEC): Likewise.
10533         (__NO_MATH_INLINES): Likewise.
10534         * math/test-double-vlen2.h: Include test-double.h,
10535         test-math-no-inline.h and test-math-vector.h.
10536         (FLOAT): Remove macro.
10537         (FUNC): Likewise.
10538         (MATHCONST): Likewise.
10539         (PRINTF_EXPR): Likewise.
10540         (PRINTF_XEXPR): Likewise.
10541         (PRINTF_NEXPR): Likewise.
10542         (TEST_DOUBLE): Likewise.
10543         (TEST_MATHVEC): Likewise.
10544         (__NO_MATH_INLINES): Likewise.
10545         (CNCT): Likewise.
10546         (CONCAT): Likewise.
10547         (WRAPPER_NAME): Likewise.
10548         (WRAPPER_DECL): Likewise.
10549         (WRAPPER_DECL_ff): Likewise.
10550         (WRAPPER_DECL_fFF): Likewise.
10551         (VECTOR_WRAPPER): Likewise.
10552         (VECTOR_WRAPPER_ff): Likewise.
10553         (VECTOR_WRAPPER_fFF): Likewise.
10554         (VEC_LEN): New macro.
10555         * math/test-double-vlen4.h: Include test-double.h,
10556         test-math-no-inline.h and test-math-vector.h.
10557         (FLOAT): Remove macro.
10558         (FUNC): Likewise.
10559         (MATHCONST): Likewise.
10560         (PRINTF_EXPR): Likewise.
10561         (PRINTF_XEXPR): Likewise.
10562         (PRINTF_NEXPR): Likewise.
10563         (TEST_DOUBLE): Likewise.
10564         (TEST_MATHVEC): Likewise.
10565         (__NO_MATH_INLINES): Likewise.
10566         (CNCT): Likewise.
10567         (CONCAT): Likewise.
10568         (WRAPPER_NAME): Likewise.
10569         (WRAPPER_DECL): Likewise.
10570         (WRAPPER_DECL_ff): Likewise.
10571         (WRAPPER_DECL_fFF): Likewise.
10572         (VECTOR_WRAPPER): Likewise.
10573         (VECTOR_WRAPPER_ff): Likewise.
10574         (VECTOR_WRAPPER_fFF): Likewise.
10575         (VEC_LEN): New macro.
10576         * math/test-double-vlen8.h: Include test-double.h,
10577         test-math-no-inline.h and test-math-vector.h.
10578         (FLOAT): Remove macro.
10579         (FUNC): Likewise.
10580         (MATHCONST): Likewise.
10581         (PRINTF_EXPR): Likewise.
10582         (PRINTF_XEXPR): Likewise.
10583         (PRINTF_NEXPR): Likewise.
10584         (TEST_DOUBLE): Likewise.
10585         (TEST_MATHVEC): Likewise.
10586         (__NO_MATH_INLINES): Likewise.
10587         (CNCT): Likewise.
10588         (CONCAT): Likewise.
10589         (WRAPPER_NAME): Likewise.
10590         (WRAPPER_DECL): Likewise.
10591         (WRAPPER_DECL_ff): Likewise.
10592         (WRAPPER_DECL_fFF): Likewise.
10593         (VECTOR_WRAPPER): Likewise.
10594         (VECTOR_WRAPPER_ff): Likewise.
10595         (VECTOR_WRAPPER_fFF): Likewise.
10596         (VEC_LEN): New macro.
10597         * math/test-float-vlen4.h: Include test-float.h,
10598         test-math-no-inline.h and test-math-vector.h.
10599         (FLOAT): Remove macro.
10600         (FUNC): Likewise.
10601         (MATHCONST): Likewise.
10602         (PRINTF_EXPR): Likewise.
10603         (PRINTF_XEXPR): Likewise.
10604         (PRINTF_NEXPR): Likewise.
10605         (TEST_FLOAT): Likewise.
10606         (TEST_MATHVEC): Likewise.
10607         (__NO_MATH_INLINES): Likewise.
10608         (CNCT): Likewise.
10609         (CONCAT): Likewise.
10610         (WRAPPER_NAME): Likewise.
10611         (WRAPPER_DECL): Likewise.
10612         (WRAPPER_DECL_ff): Likewise.
10613         (WRAPPER_DECL_fFF): Likewise.
10614         (VECTOR_WRAPPER): Likewise.
10615         (VECTOR_WRAPPER_ff): Likewise.
10616         (VECTOR_WRAPPER_fFF): Likewise.
10617         (VEC_LEN): New macro.
10618         * math/test-float-vlen8.h: Include test-float.h,
10619         test-math-no-inline.h and test-math-vector.h.
10620         (FLOAT): Remove macro.
10621         (FUNC): Likewise.
10622         (MATHCONST): Likewise.
10623         (PRINTF_EXPR): Likewise.
10624         (PRINTF_XEXPR): Likewise.
10625         (PRINTF_NEXPR): Likewise.
10626         (TEST_FLOAT): Likewise.
10627         (TEST_MATHVEC): Likewise.
10628         (__NO_MATH_INLINES): Likewise.
10629         (CNCT): Likewise.
10630         (CONCAT): Likewise.
10631         (WRAPPER_NAME): Likewise.
10632         (WRAPPER_DECL): Likewise.
10633         (WRAPPER_DECL_ff): Likewise.
10634         (WRAPPER_DECL_fFF): Likewise.
10635         (VECTOR_WRAPPER): Likewise.
10636         (VECTOR_WRAPPER_ff): Likewise.
10637         (VECTOR_WRAPPER_fFF): Likewise.
10638         (VEC_LEN): New macro.
10639         * math/test-float-vlen16.h: Include test-float.h,
10640         test-math-no-inline.h and test-math-vector.h.
10641         (FLOAT): Remove macro.
10642         (FUNC): Likewise.
10643         (MATHCONST): Likewise.
10644         (PRINTF_EXPR): Likewise.
10645         (PRINTF_XEXPR): Likewise.
10646         (PRINTF_NEXPR): Likewise.
10647         (TEST_FLOAT): Likewise.
10648         (TEST_MATHVEC): Likewise.
10649         (__NO_MATH_INLINES): Likewise.
10650         (CNCT): Likewise.
10651         (CONCAT): Likewise.
10652         (WRAPPER_NAME): Likewise.
10653         (WRAPPER_DECL): Likewise.
10654         (WRAPPER_DECL_ff): Likewise.
10655         (WRAPPER_DECL_fFF): Likewise.
10656         (VECTOR_WRAPPER): Likewise.
10657         (VECTOR_WRAPPER_ff): Likewise.
10658         (VECTOR_WRAPPER_fFF): Likewise.
10659         (VEC_LEN): New macro.
10660         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10661         test-vec-loop.h.
10662         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10663         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10664         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10665         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10666         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10667         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10668         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10670 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10672         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10673         (__getlogin_r): ... this.
10675 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10677         [BZ #18594]
10678         * math/s_ccosh.c (__ccosh): Compare with least normal value
10679         instead of comparing class with FP_SUBNORMAL.
10680         * math/s_ccoshf.c (__ccoshf): Likewise.
10681         * math/s_ccoshl.c (__ccoshl): Likewise.
10682         * math/s_cexp.c (__cexp): Likewise.
10683         * math/s_cexpf.c (__cexpf): Likewise.
10684         * math/s_cexpl.c (__cexpl): Likewise.
10685         * math/s_csin.c (__csin): Likewise.
10686         * math/s_csinf.c (__csinf): Likewise.
10687         * math/s_csinh.c (__csinh): Likewise.
10688         * math/s_csinhf.c (__csinhf): Likewise.
10689         * math/s_csinhl.c (__csinhl): Likewise.
10690         * math/s_csinl.c (__csinl): Likewise.
10691         * math/s_ctan.c (__ctan): Likewise.
10692         * math/s_ctanf.c (__ctanf): Likewise.
10693         * math/s_ctanh.c (__ctanh): Likewise.
10694         * math/s_ctanhf.c (__ctanhf): Likewise.
10695         * math/s_ctanhl.c (__ctanhl): Likewise.
10696         * math/s_ctanl.c (__ctanl): Likewise.
10697         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10698         csin, csinh, ctan and ctanh.
10699         * math/auto-libm-test-out: Regenerated.
10700         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10701         * sysdeps/i386/fpu/libm-test-ulps: Update.
10702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10704 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10706         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10707         return value is wrong, print the expected value too.
10709 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10711         [BZ #18585]
10712         * elf/readlib.c (is_gdb_python_file): New.
10713         (process_file): Don't issue errors on filenames with -gdb.py
10714         suffix.
10716 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10718         * math/auto-libm-test-in: Add more tests of csin and csinh.
10719         * math/auto-libm-test-out: Regenerated.
10720         * math/libm-test.inc (csin_test_data): Remove tests moved to
10721         auto-libm-test-in.
10722         (csinh_test_data): Likewise.
10724         [BZ #18593]
10725         * math/s_csin.c (__csin): Negate before rather than after possibly
10726         overflowing multiplication.
10727         * math/s_csinf.c (__csinf): Likewise.
10728         * math/s_csinh.c (__csinh): Likewise.
10729         * math/s_csinhf.c (__csinhf): Likewise.
10730         * math/s_csinhl.c (__csinhl): Likewise.
10731         * math/s_csinl.c (__csinl): Likewise.
10732         * math/auto-libm-test-in: Add some tests of csin and csinh.
10733         * math/auto-libm-test-out: Regenerated.
10734         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10735         (csinh_test_data): Likewise.
10736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10738         [BZ #18586]
10739         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10740         underflow exception for small results.
10742 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10744         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10745         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10746         variable and included header.
10747         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10748         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10749         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10750         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10752         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10753         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10754         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10755         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10756         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10757         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10758         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10759         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10760         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10761         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10762         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10764 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10766         [BZ #16526]
10767         [BZ #16538]
10768         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10769         (__sin): Force underflow exception for arguments with small
10770         absolute value.
10771         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10772         (__kernel_sinf): Force underflow exception for arguments with
10773         small absolute value.
10774         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10775         (__kernel_sincosl): Force underflow exception for arguments with
10776         small absolute value.
10777         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10778         (__kernel_sinl): Force underflow exception for arguments with
10779         small absolute value.
10780         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10781         (__kernel_sincosl): Force underflow exception for arguments with
10782         small absolute value.
10783         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10784         (__kernel_sinl): Force underflow exception for arguments with
10785         small absolute value.
10786         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10787         (__kernel_sinl): Force underflow exception for arguments with
10788         small absolute value.
10789         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10790         (__kernel_sinf): Force underflow exception for arguments with
10791         small absolute value.
10792         * math/auto-libm-test-in: Add more tests of sin and sincos.
10793         * math/auto-libm-test-out: Regenerated.
10795         [BZ #18245]
10796         [BZ #18583]
10797         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10798         (__kernel_standard_l): Use feholdexcept and fesetenv around
10799         conversion to double instead of special-casing overflow and
10800         underflow.
10801         * math/libm-test.inc (fmod_test_data): Add more tests.
10802         (remainder_test_data): Likewise.
10803         (sqrt_test_data): Likewise.
10805 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10807         [BZ #17403]
10808         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10809         atomic_read_barrier, atomic_write_barrier): Define.
10810         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10811         atomic_read_barrier, atomic_write_barrier): Define.
10813 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10815         * math/Makefile [$(PERL) != no]
10816         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10817         dependency on libm-test.stmp below the inclusion of Rules.
10819 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10821         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10822         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10823         and included header.
10824         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10825         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10826         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10827         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10828         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10829         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10830         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10831         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10832         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10833         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10834         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10835         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10836         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10837         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10838         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10839         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10840         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10841         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10842         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10844 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10846         [BZ #18371]
10847         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10848         intermediate but not final result might underflow.
10849         * math/s_csqrtf.c (__csqrtf): Likewise.
10850         * math/s_csqrtl.c (__csqrtl): Likewise.
10851         * math/auto-libm-test-in: Add more tests of csqrt.
10852         * math/auto-libm-test-out: Regenerated.
10853         * sysdeps/i386/fpu/libm-test-ulps: Update.
10855         [BZ #18219]
10856         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10857         threshold on absolute value of exponent for which scaling is used.
10858         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10859         * math/auto-libm-test-in: Add more tests of exp2.
10860         * math/auto-libm-test-out: Regenerated.
10862 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10864         [BZ #17977]
10865         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10866         when initializing interface list, based on the bug analysis
10867         and the patch proposed by Eric Newton.
10868         * resolv/tst-res_hconf_reorder.c: New test.
10869         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10870         tst-res_hconf_reorder.
10871         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10872         and $(shared-thread-library).
10873         (tst-res_hconf_reorder-ENV): New variable.
10875         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10876         in comment.
10878 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10880         [BZ #16353]
10881         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10882         (__expm1): Force underflow exception for arguments with small
10883         absolute value.
10884         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10885         (__expm1f): Force underflow exception for arguments with small
10886         absolute value.
10887         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10888         (__expm1): Force underflow exception for arguments with small
10889         absolute value.
10890         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10891         (__expm1f): Force underflow exception for arguments with small
10892         absolute value.
10893         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10894         Check for small arguments before calling __expm1.
10895         * math/auto-libm-test-in: Do not mark underflow exceptions as
10896         possibly missing for bug 16353.
10897         * math/auto-libm-test-out: Regenerated.
10899 2015-06-22  Andreas Schwab  <schwab@suse.de>
10901         [BZ #18513]
10902         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10903         PTR queries.
10905 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10907         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10909         * string/strcoll_l.c: Remove unused struct element idxnow.
10911 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10913         [BZ #18569]
10914         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10915         underflow and return argument in case of subnormal argument.
10916         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10917         Likewise.
10918         * math/auto-libm-test-in: Add more tests of expm1.
10919         * math/auto-libm-test-out: Regenerated.
10921         [BZ #16361]
10922         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10923         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10924         tiny results.
10925         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10926         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10927         tiny results.
10928         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10929         mark underflow exceptions as possibly missing for bug 16361.
10930         * math/auto-libm-test-out: Regenerated.
10932 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10934         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10935         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10936         Remove variable.
10937         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10938         (test-xfail-XOPEN2K8/utmpx.h/conform).
10940         * conform/conformtest.pl ($xerrors): New variable.
10941         (note_error): New function.
10942         (compiletest): New argument $xfail.  Use not_error.
10943         (runtest): Likewise.
10944         (top level): Handle xfail- lines.  Update calls to compiletest and
10945         runtest.  Handle xfail- and optional- in headers listed with
10946         allow-header.
10947         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10948         (O_EXEC): Likewise.
10949         (O_SEARCH): Likewise.
10950         * conform/data/stropts.h-data (ioctl): Likewise.
10951         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10952         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10953         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10954         (msghdr.msg_controllen): Likewise.
10955         (cmsghdr.cmsg_len): Likewise.
10956         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10957         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10958         variable.
10959         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10960         (test-xfail-XPG4/stropts.h/conform): Likewise.
10961         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10962         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10963         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10964         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10965         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10966         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10967         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10968         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10969         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10970         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10971         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10972         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10973         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10974         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10975         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10976         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10977         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10978         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10979         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10981 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10983         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10984         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10985         definitions for proper unfolding of __MATHDECL_VEC.
10987 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10989         * benchtests/bench-strcoll.c:
10990         Include string.h.
10991         (main): Remove unused variable res.
10993 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10995         * timezone/Makefile (%/UTC %/Universal):
10996         Generate test-result files for UTC and Universal.
10998 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11000         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11002 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11004         [BZ #16350]
11005         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11006         for arguments with small absolute value.
11007         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11008         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11009         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11010         (__asinh): Force underflow exception for arguments with small
11011         absolute value.
11012         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11013         (__asinhf): Force underflow exception for arguments with small
11014         absolute value.
11015         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11016         (__asinhl): Force underflow exception for arguments with small
11017         absolute value.
11018         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11019         (__asinhl): Force underflow exception for arguments with small
11020         absolute value.
11021         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11022         (__asinhl): Force underflow exception for arguments with small
11023         absolute value.
11024         * math/auto-libm-test-in: Do not mark underflow exceptions as
11025         possibly missing for bug 16350.
11026         * math/auto-libm-test-out: Regenerated.
11028         * include/bits/ipc.h: Remove file.
11029         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11030         variable.
11031         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11032         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11033         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11034         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11035         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11036         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11037         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11038         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11039         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11041         * math/auto-libm-test-in: Remove spurious underflow allowance for
11042         tests of cexp.
11043         * math/auto-libm-test-out: Regenerated.
11045         [BZ #18558]
11046         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11047         unconditional definition.
11048         (MCAST_BLOCK_SOURCE): Likewise.
11049         (MCAST_UNBLOCK_SOURCE): Likewise.
11050         (MCAST_LEAVE_GROUP): Likewise.
11051         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11052         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11053         (MCAST_MSFILTER): Likewise.
11054         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11055         Remove variable.
11056         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11057         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11058         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11059         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11060         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11062 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11064         * NEWS: Mention addition of x86_64 vector sincosf.
11065         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11066         * math/test-float-vlen4.h: Likewise.
11067         * math/test-float-vlen8.h: Likewise.
11068         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11069         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11070         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11071         * sysdeps/x86_64/fpu/Versions: New versions added.
11072         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11073         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11074         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11075         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11076         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11077         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11078         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11079         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11080         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11081         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11082         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11083         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11084         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11085         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11086         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11087         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11088         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11089         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11090         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11091         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11092         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11093         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11094         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11095         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11097         * NEWS: Mention addition of x86_64 vector sincos.
11098         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11099         * math/math.h (__MATHDECL_VEC): New macro.
11100         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11101         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11102         declaration under condition.
11103         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11104         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11105         TEST_VEC_LOOP change.
11106         * math/test-double-vlen4.h: Likewise.
11107         * math/test-double-vlen8.h: Likewise.
11108         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11109         * math/test-float-vlen4.h: Likewise.
11110         * math/test-float-vlen8.h: Likewise.
11111         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11112         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11113         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11114         * sysdeps/x86_64/fpu/Versions: New versions added.
11115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11116         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11117         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11118         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11119         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11120         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11121         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11122         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11123         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11124         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11125         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11126         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11127         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11128         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11129         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11130         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11131         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11132         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11133         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11134         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11135         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11136         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11137         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11138         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11140         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11141         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11142         redirections for powf.
11143         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11144         * sysdeps/x86_64/fpu/Versions: New versions added.
11145         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11146         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11147         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11148         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11149         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11150         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11151         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11152         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11153         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11154         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11155         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11156         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11157         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11158         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11159         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11160         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11161         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11162         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11163         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11164         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11165         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11166         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11167         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11168         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11169         * math/test-float-vlen16.h: Fixed 2 argument macro.
11170         * math/test-float-vlen4.h: Likewise.
11171         * math/test-float-vlen8.h: Likewise.
11172         * NEWS: Mention addition of x86_64 vector powf.
11174 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11176         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11177         and redefine.
11178         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11179         and redefine.
11180         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11181         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11182         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11184         [BZ #18553]
11185         * resource/getpriority.c (getpriority): Rename to __getpriority
11186         and define as weak alias of __getpriority.
11187         * resource/setpriority.c (setpriority): Rename to __setpriority
11188         and define as weak alias of __setpriority.
11189         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11190         __getpriority and define as weak alias of __getpriority.
11191         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11192         __setpriority and define as weak alias of __setpriority.
11193         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11194         strong name.
11195         (setpriority): Use __setpriority as strong name.
11196         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11197         __getpriority and define as weak alias of __getpriority.
11198         * include/sys/resource.h (__getpriority): Declare.  Use
11199         libc_hidden_proto.
11200         (__setpriority): Likewise.
11201         (getpriority): Don't use libc_hidden_proto.
11202         (setpriority): Likewise.
11203         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11204         getpriority.  Call __setpriority instead of setpriority.
11205         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11206         Remove variable.
11208         [BZ #18547]
11209         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11210         as weak alias of __getttynam.  Use prototype function definition.
11211         Call __setttyent, __getttyent and __endttyent instead of
11212         setttyent, getttyent and endttyent.
11213         (getttyent): Rename to __getttyent and define as weak alias of
11214         __getttyent.  Call __setttyent instead of setttyent.  Call
11215         __fgets_unlocked instead of fgets_unlocked.
11216         (setttyent): Rename to __setttyent and define as weak alias of
11217         __setttyent.
11218         (endttyent): Rename to __endttyent and define as weak alias of
11219         __endttyent.
11220         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11221         (__setttyent): Likewise.
11222         (__endttyent): Likewise.
11223         (getttyent): Don't use libc_hidden_proto.
11224         (setttyent): Likewise.
11225         (endttyent): Likewise.
11226         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11227         __endttyent instead of setttyent, getttyent and endttyent.
11228         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11229         Remove variable.
11231         [BZ #18546]
11232         * socket/recv.c (__recv): Use libc_hidden_def.
11233         * socket/socket.c (__socket): Likewise.
11234         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11235         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11236         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11237         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11238         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11239         libc_hidden_def.
11240         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11241         libc_hidden_weak.
11242         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11243         Use libc_hidden_proto.
11244         (__recv): Likewise.
11245         * socket/Versions (libc): Export __recv and __socket at version
11246         GLIBC_PRIVATE.
11247         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11248         instead of recv.
11249         (init_mq_netlink): Call __socket instead of socket.
11250         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11251         Remove variable.
11253         [BZ #18545]
11254         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11255         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11256         hidden_weak.
11257         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11258         define as alias of __mq_timedsend.  Use hidden_weak.
11259         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11260         __mq_timedsend as strong name.
11261         (mq_timedreceive): Use __mq_timedreceive as strong name.
11262         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11263         (__mq_timedreceive): Likewise.
11264         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11265         __mq_timedreceive instead of mq_timedreceive.
11266         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11267         instead of mq_timedsend.
11268         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11269         Remove variable.
11271         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11272         hidden_def and hidden_weak instead of libc_hidden_def and
11273         libc_hidden_weak.
11274         (top level): Refer to hidden_def in comment.
11275         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11276         macro.  Use it instead of libc_hidden_def.
11277         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11278         specify __GI_* name explicitly.
11279         (mq_timedreceive): Likewise.
11280         (mq_setattr): Likewise.
11282         [BZ #18544]
11283         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11284         __pthread_barrier_init and define as weak alias of
11285         __pthread_barrier_init.
11286         * sysdeps/sparc/nptl/pthread_barrier_init.c
11287         (pthread_barrier_init): Likewise.
11288         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11289         __pthread_barrier_wait and define as weak alias of
11290         __pthread_barrier_wait.
11291         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11292         (pthread_barrier_wait): Likewise.
11293         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11294         (pthread_barrier_wait): Likewise.
11295         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11296         (pthread_barrier_wait): Likewise.
11297         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11298         (pthread_barrier_wait): Likewise.
11299         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11300         __pthread_barrier_wait at version GLIBC_PRIVATE.
11301         * include/pthread.h (__pthread_barrier_init): Declare.
11302         (__pthread_barrier_wait): Likewise.
11303         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11304         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11305         (helper_thread): Likewise.
11306         (init_mq_netlink): Call __pthread_barrier_init instead of
11307         pthread_barrier_init.
11309         [BZ #18542]
11310         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11311         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11312         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11313         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11314         vswscanf.
11315         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11316         Remove variable.
11318         [BZ #18540]
11319         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11320         strong alias of _IO_fflush.  Use libc_hidden_def.
11321         * libio/iofflush_u.c (fflush_unlocked): Rename to
11322         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11323         Use libc_hidden_weak.
11324         * include/stdio.h (__fflush_unlocked): Declare.  Use
11325         libc_hidden_proto.
11326         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11327         fflush_unlocked.
11328         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11329         Remove variable.
11331         [BZ #18539]
11332         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11333         define as weak alias of __addseverity.
11334         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11335         Remove variable.
11336         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11337         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11338         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11340         [BZ #18536]
11341         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11342         (__tfind): Likewise.
11343         (__tdelete): Likewise.
11344         (__twalk): Likewise.
11345         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11346         __twalk to GLIBC_PRIVATE.
11347         * include/search.h (__tsearch): Use libc_hidden_proto.
11348         (__tfind): Likewise.
11349         (__tdelete): Likewise.
11350         (__twalk): Likewise.
11351         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11352         Call __tdelete instead of tdelete.
11353         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11354         tfind.  Call __tsearch instead of tsearch.
11355         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11356         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11357         Remove variable.
11358         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11360         [BZ #18534]
11361         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11362         (dprintf): Define as a weak alias of __dprintf, not a strong
11363         alias.
11364         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11365         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11366         dprintf.
11367         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11368         Remove variable.
11369         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11370         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11372         [BZ #18533]
11373         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11374         not a strong alias.
11375         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11376         Remove variable.
11378         [BZ #18532]
11379         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11380         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11381         (in6addr_loopback): Rename to __in6addr_loopback and define as
11382         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11383         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11384         libc_hidden_proto.
11385         (__in6addr_any): Likewise.
11386         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11387         in6addr_any.
11388         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11389         variable.
11390         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11392 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11394         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11395         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11396         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11397         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11398         redirections for pow.
11399         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11400         * sysdeps/x86_64/fpu/Versions: New versions added.
11401         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11402         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11403         build of SSE, AVX2 and AVX512 IFUNC versions.
11404         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11405         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11406         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11407         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11408         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11410         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11411         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11412         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11413         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11414         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11415         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11416         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11417         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11418         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11419         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11420         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11421         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11422         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11423         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11424         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11425         * NEWS: Mention addition of x86_64 vector pow.
11427         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11428         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11429         redirections for expf.
11430         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11431         * sysdeps/x86_64/fpu/Versions: New versions added.
11432         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11433         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11434         build of SSE, AVX2 and AVX512 IFUNC versions.
11435         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11436         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11437         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11438         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11439         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11440         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11441         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11442         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11443         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11444         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11445         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11446         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11447         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11448         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11449         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11450         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11451         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11452         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11453         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11454         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11455         * NEWS: Mention addition of x86_64 vector expf.
11457         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11458         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11459         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11460         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11461         redirections for exp.
11462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11463         * sysdeps/x86_64/fpu/Versions: New versions added.
11464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11465         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11466         build of SSE, AVX2 and AVX512 IFUNC versions.
11467         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11468         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11469         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11470         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11471         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11472         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11473         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11474         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11475         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11476         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11477         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11478         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11479         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11480         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11481         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11482         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11483         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11484         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11485         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11486         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11487         * NEWS: Mention addition of x86_64 vector exp.
11489         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11490         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11491         redirections for logf.
11492         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11493         * sysdeps/x86_64/fpu/Versions: New versions added.
11494         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11495         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11496         build of SSE, AVX2 and AVX512 IFUNC versions.
11497         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11498         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11499         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11500         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11501         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11502         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11503         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11504         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11505         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11506         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11507         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11508         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11509         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11510         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11511         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11512         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11513         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11514         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11515         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11516         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11517         * NEWS: Mention addition of x86_64 vector logf.
11519         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11520         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11521         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11522         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11523         redirections for log.
11524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11525         * sysdeps/x86_64/fpu/Versions: New versions added.
11526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11527         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11528         build of SSE, AVX2 and AVX512 IFUNC versions.
11529         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11530         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11531         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11532         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11533         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11534         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11535         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11536         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11537         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11538         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11539         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11540         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11541         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11542         test.
11543         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11544         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11545         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11546         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11547         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11548         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11549         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11550         * NEWS: Mention addition of x86_64 vector log.
11552 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11554         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11555         cfi_adjust_cfa_offset argument.
11556         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11557         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11559         [BZ #18034]
11560         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11561         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11562         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11563         ordering using ldar.
11564         (_dl_tlsdesc_dynamic): Likewise.
11565         (_dl_tlsdesc_return_lazy): Likewise.
11566         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11567         relaxed atomics instead of volatile and synchronize with release store.
11568         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11569         volatile.
11570         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11572 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11574         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11575         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11576         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11577         * sysdeps/x86_64/fpu/Versions: New versions added.
11578         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11579         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11580         build of SSE, AVX2 and AVX512 IFUNC versions.
11581         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11582         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11583         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11584         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11585         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11586         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11587         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11588         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11589         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11590         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11591         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11592         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11593         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11594         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11595         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11596         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11597         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11598         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11599         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11600         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11601         * NEWS: Mention addition of x86_64 vector sinf.
11603 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11605         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11606         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11607         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11608         Remove variable.
11609         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11610         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11612 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11614         [BZ #18530]
11615         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11616         strong alias of _IO_fputs.  Use libc_hidden_def.
11617         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11618         and define as weak alias of __fputs_unlocked.  Use
11619         libc_hidden_weak.
11620         * include/stdio.h (__fputs_unlocked): Declare.  Use
11621         libc_hidden_proto.
11622         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11623         fputs_unlocked.
11625         [BZ #18529]
11626         * resolv/netdb.h [__USE_POSIX]: Change condition to
11627         [__USE_XOPEN2K].
11628         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11629         not expect.
11630         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11631         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11632         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11633         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11634         [XPG4 || UNIX98] (AI_ALL): Likewise.
11635         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11636         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11637         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11638         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11639         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11640         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11641         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11642         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11643         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11644         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11645         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11646         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11647         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11648         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11649         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11650         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11651         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11652         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11653         [XPG4 || UNIX98] (gai_strerror): Likewise.
11654         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11655         [XPG4 || UNIX98] (getnameinfo): Likewise.
11657         [BZ #18528]
11658         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11659         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11660         __USE_XOPEN2K8].
11661         (getgrent): Likewise.
11662         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11663         expect.
11664         [XPG3 || POSIX2008] (endgrent): Likewise.
11665         [XPG3] (setgrent): Likewise.
11666         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11667         variable.
11668         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11670         [BZ #18527]
11671         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11672         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11673         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11674         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11675         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11676         * include/unistd.h (__getlogin_r): Declare.  Use
11677         libc_hidden_proto.
11678         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11679         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11680         variable.
11681         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11682         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11683         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11685 2015-06-12  Martin Sebor  <msebor@redhat.com>
11687         [BZ #18512]
11688         * Makerules (check-install-supported): New target.
11689         (install): Add check-install-supported as a dependency.
11690         * manual/install.texi (Installing the C Library): Document
11691         that overriding prefix and exec_prefix is not supported.
11692         Mention DESTDIR.
11693         * INSTALL: Regenerate from the above.
11695 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11697         [BZ #18519]
11698         * posix/Versions (libc): Export __libc_pread at version
11699         GLIBC_PRIVATE.
11700         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11701         instead of pread.
11702         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11703         variable.
11705         [BZ #18522]
11706         * misc/efgcvt_r.c
11707         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11708         (cvt_symbol): Use weak_alias instead of strong_alias.
11709         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11710         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11711         Remove variable.
11712         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11713         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11715         [BZ #18520]
11716         * inet/herrno.c (h_errno): Rename to __h_errno.
11717         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11718         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11719         to __h_errno instead of h_errno.
11720         * nptl/herrno.c (h_errno): Rename to __h_errno.
11721         (__h_errno_location): Refer to __h_errno not h_errno.
11722         * resolv/Versions (h_errno): Rename to __h_errno.
11723         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11724         Remove variable.
11725         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11727 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11729         * configure.ac: More strict check for AVX512 assembler support.
11730         * configure: Regenerated.
11732         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11733         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11734         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11735         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11737         * sysdeps/x86_64/fpu/Versions: New versions added.
11738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11739         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11740         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11741         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11742         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11743         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11744         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11745         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11746         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11747         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11748         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11749         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11750         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11751         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11752         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11753         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11754         test.
11755         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11756         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11757         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11758         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11759         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11760         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11761         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11762         * NEWS: Mention addition of x86_64 vector sin.
11764 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11766         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11767         comment.
11769 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11771         [BZ #18479]
11772         * nptl/pt-interp.c: New file.
11773         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11774         Add pt-interp.
11775         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11776         $(common-objpfx)runtime-linker.h.
11778 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11780         * Makeconfig (+interp): Remove unused variable.
11781         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11782         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11783         $(elf-objpfx)runtime-linker.h.
11784         ($(elf-objpfx)runtime-linker.h): Rename to
11785         $(common-objpfx)runtime-linker.h and move ...
11786         * Makerules [$(build-shared) = yes]: ... here.
11787         * elf/interp.c: Include <runtime-linker.h> instead of
11788         <elf/runtime-linker.h>.
11790 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11792         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11793         (__gettimeofday_syscall): Remove vsyscall fallback.
11794         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11795         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11796         Add syscall fallback function.
11797         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11798         if vDSO is not present.
11799         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11800         fallback function.
11801         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11802         present.
11803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11804         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11806 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11808         [BZ #18497]
11809         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11810         of wcscmp.
11811         (wcscmp): Define as weak alias of WCSCMP.
11812         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11813         wcscoll.
11814         (USE_HIDDEN_DEF): Define.
11815         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11816         __wcscoll.  Don't use libc_hidden_weak.
11817         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11818         wcscmp.
11819         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11820         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11821         __GI_wcscmp.
11822         (weak_alias): Undefine and redefine.
11823         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11824         __wcscmp and define as weak alias of __wcscmp.
11825         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11826         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11827         (__wcscoll): Likewise.
11828         (wcscmp): Don't use libc_hidden_proto.
11829         (wcscoll): Likewise.
11830         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11831         wcscoll.
11832         * posix/regexec.c (check_node_accept_bytes): Likewise.
11833         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11834         variable.
11835         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11836         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11838         [BZ #18507]
11839         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11840         __fstatvfs and define as weak alias of __fstatvfs.  Use
11841         libc_hidden_weak.
11842         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11843         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11844         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11845         Define as alias of __fstatvfs, not fstatvfs.
11846         (fstatvfs64): Likewise.
11847         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11848         Define as alias of __statvfs, not statvfs.
11849         (statvfs64): Likewise.
11850         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11851         Remove variable.
11853 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11856         (HAVE_GETCPU_VSYSCALL): Define.
11857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11858         (HAVE_GETCPU_VSYSCALL): Likewise.
11859         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11860         * sysdeps/unix/sysv/linux/sched_getcpu.c
11861         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11862         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11863         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11864         prototype.
11865         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11866         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11867         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11869         Define.
11870         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11871         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11872         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11873         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11875 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11877         * sysdeps/x86_64/fpu/Makefile: New file.
11878         * sysdeps/x86_64/fpu/Versions: New file.
11879         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11880         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11881         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11882         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11883         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11884         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11885         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11886         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11887         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11888         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11889         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11890         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11891         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11892         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11893         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11894         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11895         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11896         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11897         * sysdeps/x86_64/configure: Regenerated.
11898         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11899         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11900         * manual/install.texi (Configuring and compiling): Document
11901         --disable-mathvec.
11902         * INSTALL: Regenerated.
11903         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11905         * math/Makefile: Added rules for vector tests.
11906         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11907         declaration under condition.
11908         * math/test-double-vlen2.h: New file.
11909         * math/test-double-vlen4.h: New file.
11910         * math/test-double-vlen8.h: New file.
11911         * math/test-vec-loop.h: Added initialization macro.
11912         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11913         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11914         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11915         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11916         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11917         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11918         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11919         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11920         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11921         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11922         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11924         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11925         * sysdeps/x86_64/fpu/Versions: New versions added.
11926         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11927         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11928         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11929         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11930         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11931         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11932         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11933         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11934         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11935         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11936         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11937         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11938         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11939         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11940         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11941         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11942         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11943         * NEWS: Mention addition of x86_64 vector cosf.
11945         * math/Makefile: Added CFLAGS for new tests.
11946         * math/test-float-vlen16.h: New file.
11947         * math/test-float-vlen4.h: New file.
11948         * math/test-float-vlen8.h: New file.
11949         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11950         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11951         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11952         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11953         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11954         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11955         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11956         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11957         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11958         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11959         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11961 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11963         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11964         * locale/programs/ld-ctype.c: Likewise.
11966 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11968         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11969         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11970         bit_ZMM16_31_state): New macro.
11971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11972         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11974 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11976         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11978 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11980         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11982 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11984         [BZ #18498]
11985         * libio/memstream.c (open_memstream): Rename to __open_memstream
11986         and define as weak alias of __open_memstream.
11987         * include/stdio.h (__open_memstream): Declare.  Use
11988         libc_hidden_proto.
11989         (open_memstream): Don't use libc_hidden_proto.
11990         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11991         open_memstream.
11992         * posix/getopt.c (_getopt_internal_r): Likewise.
11993         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11994         variable.
11995         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11996         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11997         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11999         [BZ #18496]
12000         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12001         instead of wcrtomb.
12003         [BZ #18483]
12004         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12005         [__USE_XOPEN2K8].  Remove redundant #endif.
12006         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12007         Remove redundant #if.
12008         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12009         Remove variable.
12010         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12011         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12013         [BZ #18495]
12014         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12015         (__iswlower): Likewise.
12016         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12017         (__iswlower): Likewise.
12018         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12019         instead of towlower.
12020         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12021         instead of iswlower.  Call __towupper instead of towupper.
12022         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12023         instead of iswalnum.
12025 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12027         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12028         errors to stderr.
12030 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12032         [BZ #15661]
12033         [BZ #17322]
12034         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12035         Check for overflow properly.  Check for O_APPEND.  Ignore large
12036         file system block sizes.  Add comments about problems.
12037         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12038         * manual/filesys.texi (Storage Allocation): New node.
12040 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12042         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12043         cancellable syscalls.
12044         (SYS_ify): Add guard to no redefine it.
12045         (INLINE_SYSCALL): Likewise.
12046         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12047         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12048         SYSCALL_CANCEL instead.
12049         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12050         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12051         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12052         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12053         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12054         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12055         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12056         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12057         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12058         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12059         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12060         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12061         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12062         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12063         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12065         Likewise.
12066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12067         (__libc_pread64): Likewise.
12068         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12069         (__libc_preadv): Likewise.
12070         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12071         (__libc_readv64): Likewise.
12072         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12073         (__libc_pwrite): Likewise.
12074         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12075         (__libc_pwrite64): Likewise.
12076         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12077         (__libc_pwritev): Likewise.
12078         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12079         (__libc_pwritev64): Likewise.
12080         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12081         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12082         (sync_file_range): Likewise.
12083         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12084         Likewise.
12085         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12086         Likewise.
12087         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12088         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12089         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12090         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12091         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12092         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12093         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12094         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12096         Likewise.
12097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12098         (__libc_read64): Likewise.
12099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12100         Likewise.
12101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12102         Likewise.
12103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12104         Likewise.
12105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12106         Likewise.
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12108         (__libc_pread64): Likewise.
12109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12110         Likewise.
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12112         (__libc_pwrite64): Likewise.
12113         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12114         (sync_file_range): Likewise.
12115         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12116         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12117         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12118         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12119         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12120         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12121         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12122         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12123         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12124         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12125         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12126         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12127         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12128         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12129         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12130         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12131         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12132         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12133         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12134         Likewise.
12135         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12136         Likewise.
12137         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12138         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12139         Likewise.
12140         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12141         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12142         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12143         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12144         Likewise.
12145         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12146         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12147         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12148         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12149         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12151 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12153         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12154         Include dl-vdso.
12155         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12156         Use VDSO routines for gettimeofday, clock_gettime if
12157         available.
12158         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12159         Declare VDSO symbols.
12160         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12161         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12162         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12163         * sysdeps/unix/sysv/linux/arm/Versions: Add
12164         __vdso_clock_gettime.
12166 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12168         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12169         be an inline implementation regardless of library is built within.
12170         (open_not_cancel_2): Likewise.
12171         (__read_nocancel): Likewise.
12172         (__write_nocancel): Likewise.
12173         (openat_not_cancel): Likewise.
12174         (openat_not_cancel_3): Likewise.
12175         (openat64_not_cancel): Likewise.
12176         (openat64_not_cancel_3): Likewise.
12177         (__close_nocancel): Likewise.
12178         (pause_not_cancel): Likewise.
12179         (nanosleep_not_cancel): Likewise.
12180         (sigsuspend_not_cancel): Likewise.
12182 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12184         [BZ #14958]
12185         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12186         wake-up.
12187         (__pthread_rwlock_rdlock_slow): Likewise.
12188         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12189         Likewise.
12190         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12191         Likewise.
12192         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12193         * nptl/tst-rwlock16.c: New file.
12194         * nptl/Makefile (tests): Add new test.
12196 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12198         [BZ #18324]
12199         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12200         missing wake-up of readers.
12201         * nptl/tst-rwlock15.c: New file.
12202         * nptl/Makefile (tests): Add new test.
12204 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12206         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12207         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12208         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12209         and __nacl_supply_interface_rtld.
12210         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12211         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12212         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12213         Add __nacl_supply_interface_rtld.
12214         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12216 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12218         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12219         isfinite.
12220         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12221         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12223 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12225         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12226         __signbit* with standard C99 macros.
12227         * math/e_exp10l.c: Likewise.
12228         * math/e_exp2l.c: Likewise.
12229         * math/e_scalb.c: Likewise.
12230         * math/e_scalbf.c: Likewise.
12231         * math/e_scalbl.c: Likewise.
12232         * math/s_ldexp.c: Likewise.
12233         * math/s_ldexpf.c: Likewise.
12234         * math/s_ldexpl.c: Likewise.
12235         * math/w_atan2.c: Likewise.
12236         * math/w_atan2f.c: Likewise.
12237         * math/w_atan2l.c: Likewise.
12238         * math/w_cosh.c: Likewise.
12239         * math/w_coshf.c: Likewise.
12240         * math/w_coshl.c: Likewise.
12241         * math/w_exp10.c: Likewise.
12242         * math/w_exp10f.c: Likewise.
12243         * math/w_exp10l.c: Likewise.
12244         * math/w_exp2.c: Likewise.
12245         * math/w_exp2f.c: Likewise.
12246         * math/w_exp2l.c: Likewise.
12247         * math/w_fmod.c: Likewise.
12248         * math/w_fmodf.c: Likewise.
12249         * math/w_fmodl.c: Likewise.
12250         * math/w_hypot.c: Likewise.
12251         * math/w_hypotf.c: Likewise.
12252         * math/w_hypotl.c: Likewise.
12253         * math/w_jnl.c: Likewise.
12254         * math/w_lgamma.c: Likewise.
12255         * math/w_lgamma_r.c: Likewise.
12256         * math/w_lgammaf.c: Likewise.
12257         * math/w_lgammaf_r.c: Likewise.
12258         * math/w_lgammal.c: Likewise.
12259         * math/w_lgammal_r.c: Likewise.
12260         * math/w_pow.c: Likewise.
12261         * math/w_powf.c: Likewise.
12262         * math/w_powl.c: Likewise.
12263         * math/w_remainder.c: Likewise.
12264         * math/w_remainderf.c: Likewise.
12265         * math/w_remainderl.c: Likewise.
12266         * math/w_scalb.c: Likewise.
12267         * math/w_scalbf.c: Likewise.
12268         * math/w_scalbl.c: Likewise.
12269         * math/w_scalbln.c: Likewise.
12270         * math/w_scalblnf.c: Likewise.
12271         * math/w_scalblnl.c: Likewise.
12272         * math/w_sinh.c: Likewise.
12273         * math/w_sinhf.c: Likewise.
12274         * math/w_sinhl.c: Likewise.
12275         * math/w_tgamma.c: Likewise.
12276         * math/w_tgammaf.c: Likewise.
12277         * math/w_tgammal.c: Likewise.
12278         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12279         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12280         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12281         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12282         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12283         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12284         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12285         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12286         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12287         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12288         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12289         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12290         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12291         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12292         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12293         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12294         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12295         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12296         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12297         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12298         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12299         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12300         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12302         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12303         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12304         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12305         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12306         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12307         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12308         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12309         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12310         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12311         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12312         * stdio-common/printf_fp.c: Likewise.
12313         * stdio-common/printf_fphex.c: Likewise.
12314         * stdio-common/printf_size.c: Likewise.
12316 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12318         [BZ #18470]
12319         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12320         strnlen.
12321         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12322         Remove variable.
12323         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12324         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12325         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12326         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12327         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12328         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12329         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12330         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12331         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12332         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12334         [BZ #18468]
12335         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12336         weak alias of __wmemchr.  Use libc_hidden_weak.
12337         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12338         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12339         instead of wmemchr.
12341 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12343         [BZ #18383]
12344         * elf/tst-tlsalign-extern.c: New file.
12345         * elf/tst-tlsalign-extern-static.c: New file.
12346         * elf/tst-tlsalign-vars.c: New file.
12347         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12348         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12349         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12350         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12351         (test-xfail-tst-tlsalign-extern-static): New variable.
12353 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12355         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12356         Use variable name _sc_err instead of err.
12357         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12358         instead of ret.
12359         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12360         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12361         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12362         (INLINE_SYSCALL): Likewise.
12364         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12365         * include/string.h (__strnlen): Use libc_hidden_proto.
12366         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12367         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12368         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12369         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12370         (libc_hidden_def): Undefine and redefine.
12371         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12372         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12373         __GI_strnlen.
12374         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12375         libc_hidden_def.
12376         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12378         [BZ #18469]
12379         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12380         weak alias of __towlower.  Use libc_hidden_weak.
12381         (towupper): Rename to __towupper and define as weak alias of
12382         __towupper.  Use libc_hidden_weak.
12383         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12384         (__towupper): Likewise.
12385         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12386         __towlower instead of towlower.
12388 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12390         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12391         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12393 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12395         * sysdeps/aarch64/libm-test-ulps: Update.
12397 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12399         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12400         Define.
12401         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12403         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12404         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12405         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12406         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12407         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12409 2015-06-01  Martin Sebor  <msebor@redhat.com>
12411         [BZ #18116]
12412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12413         (__setcontext): Use extended four-operand version of mtsf whenever
12414         possible.
12415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12416         (__novec_swapcontext): Likewise.
12418 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12420         * benchtests/scripts/compare_bench.py: New file.
12421         * benchtests/scripts/import_bench.py (mean): New function.
12422         (split_list): Likewise.
12423         (do_for_all_timings): Likewise.
12424         (compress_timings): Likewise.
12426         * benchtests/scripts/import_bench.py: New file.
12427         * benchtests/scripts/validate_benchout.py: Import import_bench
12428         instead of jsonschema.
12429         (validate_bench): Remove function.
12430         (main): Use import_bench.
12432 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12434         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12435         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12437 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12441 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12443         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12444         set THREAD_SELF->tid to a magic value and futex-wake it.
12445         Pass its address to the thread_exit system call.
12446         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12447         bit is clear.
12448         * sysdeps/nacl/lowlevellock.h: New file.
12449         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12451         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12452         Add TIMEOUT to current time, don't subtract it.
12454 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12456         [BZ #2981]
12457         [BZ #18422]
12458         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12459         ($(objpfx)tst-audit2.out): Also depend on
12460         $(objpfx)tst-auditmod9b.so.
12461         * elf/tst-audit2.c: Include <dlfcn.h>.
12462         (calloc_called): New.
12463         (calloc): Allow to be called more than once.
12464         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12466 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12468         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12469         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12471 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12473         * stdlib/monetary.h: Fix comment.
12475 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12477         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12478         Avoid using variables in #defines that might cause shadowing.
12479         (INTERNAL_VSYSCALL_CALL): Likewise.
12481 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12483         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12485         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12486         * nptl/lll_timedlock_wait.c: ... to this new file.
12487         * nptl/Makefile (libpthread-routines): Add it.
12488         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12489         * nptl/lll_timedwait_tid.c: ... to this new file.
12490         * nptl/Makefile (libpthread-routines): Add it.
12491         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12492         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12493         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12494         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12495         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12496         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12497         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12498         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12499         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12500         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12502 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12504         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12505         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12506         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12507         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12508         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12510         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12511         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12512         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12513         * sysdeps/unix/sysv/linux/tile/sysdep.h
12514         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12515         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12516         using vDSO syscall macro.
12518 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12520         [BZ #17293]
12521         * uk_UA: Fix sorting order for Ukrainian locale
12523 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12525         * stdlib/monetary.h: Fix comment.
12527 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12529         [BZ #18234]
12530         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12531         st_mtim and st_ctim members.
12532         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12533         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12534         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12535         (struct stat64): Likewise.
12536         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12537         (struct stat64): Likewise.
12538         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12539         (struct stat64): Likewise.
12541 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12543         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12544         Define and include sysdep-vdso.h.
12545         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12546         Likewise.
12547         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12548         Likewise.
12549         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12550         Define with VDSO_SYMBOL and use PTR_MANGLE.
12551         (__vdso_clock_gettime): Likewise.
12552         (__vdso_clock_getres): Likewise.
12553         (_libc_vdso_platform_setup): Likewise.
12554         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12555         Likewise.
12556         (_libc_vdso_platform_setup): Likewise.
12557         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12558         Likewise.
12559         (__vdso_clock_gettime): Likewise.
12560         (__vdso_clock_getres): Likewise.
12561         (__vdso_get_tbfreq): Likewise.
12562         (__vdso_getcpu): Likewise.
12563         (__vdso_time): Likewise.
12564         (__vdso_sigtramp_rt64): Likewise.
12565         (__vdso_signtramp32): Likewise.
12566         (__vdso_sigtramp_rt32): Likewise.
12567         (_libc_vdso_platform_setup): Likewise.
12568         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12569         Likewise.
12570         (__vdso_clock_gettime): Likewise.
12571         (__vdso_clock_getres): Likewise.
12572         (_libc_vdso_platform_setup): Likewise.
12573         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12574         Likewise.
12575         (__vdso_clock_gettime): Likewise.
12576         (_libc_vdso_platform_setup): Likewise.
12577         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12578         Likewise.
12579         (__vdso_getcpu): Likewise.
12580         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12581         Use VDSO_SYMBOL macro to define.
12582         (__vdso_clock_gettime): Likewise.
12583         (__vdso_clock_getres): Likewise.
12584         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12585         Likewise.
12586         (__vdso_clock_gettime): Likewise.
12587         (__vdso_clock_getres): Likewise.
12588         (__vdso_get_tbfreq): Likewise.
12589         (__vdso_getcpu): Likewise.
12590         (__vdso_time): Likewise.
12591         (__vdso_sigtramp_rt64): Likewise.
12592         (__vdso_signtramp32): Likewise.
12593         (__vdso_sigtramp_rt32): Likewise.
12594         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12595         Likewise.
12596         (__vdso_clock_gettime): Likewise.
12597         (__vdso_clock_getres): Likewise.
12598         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12599         Likewise.
12600         (__vdso_clock_gettime): Likewise.
12601         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12602         Likewise.
12603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12604         macro.
12605         (INTERNAL_VSYSCALL): Likewise.
12606         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12607         Remove macro.
12608         (INTERNAL_VSYSCALL): Likewise.
12609         (INTERNAL_VSYSCALL_NCS): Likewise.
12610         (INTERNAL_VSYSCALL_CALL): New macro.
12611         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12613         Likewise.
12614         (INTERNAL_VSYSCALL): Likewise.
12615         (INTERNAL_VSYSCALL_NCS): Likewise.
12616         (INTERNAL_VSYSCALL_CALL): New macro.
12617         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12619         (INLINE_VSYSCALL): Remove macro.
12620         (INTERNAL_VSYSCALL): Remove macro.
12621         (INTERNAL_VSYSCALL_NCS): Remove macro.
12622         (INTERNAL_VSYSCALL_CALL): New macro.
12623         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12624         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12625         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12626         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12627         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12629         (INLINE_VSYSCALL): Remove macro.
12630         (INTERNAL_VSYSCALL): Likewise.
12631         (INTERNAL_VSYSCALL_NCS): Likewise.
12632         (INTERNAL_VSYSCALL_CALL): New macro.
12633         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12634         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12635         PTR_DEMANGLE on vDSO pointer.
12636         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12637         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12638         macro.
12639         (INTERNAL_SYSCALL): Likewise.
12640         (INTERNAL_VSYSCALL_NCS): Remove macro.
12641         (INTERNAL_VSYSCALL_CALL): New macro.
12642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12643         Remove macro.
12644         (INTERNAL_VSYSCALL): Likewise.
12645         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12646         sysdep-vdso.h instead of libc-vdso.h.
12647         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12648         definition.
12649         (INLINE_VSYSCALL): Likewise.
12650         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12651         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12652         definition.
12653         (INLINE_VSYSCALL): Likewise.
12654         (INTERNAL_VSYSCALL): Likewise.
12655         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12656         * sysdeps/unix/sysv/linux/timespec_get.c
12657         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12658         (timespec_get): Use ANSI prototype.
12659         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12660         and definition for Linux.
12662 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12664         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12665         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12667 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12669         [BZ #2981]
12670         [BZ #18410]
12671         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12672         for missing DT_PLTRELSZ.
12674 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12676         Remove obsolete aliases that broke 'locale -a'
12677         [BZ #18412]
12678         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12679         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12680         breaking some applications that use 'locale -a' output.
12681         Change the encoding of this file from Latin-1 to ASCII to avoid
12682         other potential problems with people grepping this file.
12684 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12686         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12687         -fasynchronous-unwind-tables.
12688         (CFLAGS-sendto.c): Likewise.
12689         (CFLAGS-sendmsg.c): Likewise.
12690         (CFLAGS-connect.c): Likewise.
12691         (CFLAGS-recvmsg.c): Likewise.
12692         (CFLAGS-recvfrom.c): Likewise.
12693         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12694         (SOCKETCALL): New macro: non-cancellable socketcall.
12695         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12696         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12697         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12698         * sysdeps/unix/sysv/linux/accept.c: New file.
12699         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12700         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12701         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12702         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12703         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12704         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12705         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12706         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12707         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12708         * sysdeps/unix/sysv/linux/send.c: Likewise.
12709         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12710         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12711         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12712         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12713         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12714         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12715         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12716         prototype.
12717         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12718         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12719         instead of __internal_xxx function.
12720         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12721         prototype.
12722         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12723         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12724         instead of __internal_xxx function.
12725         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12726         prototype.
12727         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12728         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12729         instead of __internal_xxx function.
12730         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12731         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12732         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12733         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12734         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12735         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12736         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12737         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12738         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12739         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12740         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12741         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12742         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12743         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12744         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12745         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12746         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12747         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12748         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12749         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12752         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12753         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12754         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12755         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12756         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12757         * sysdeps/unix/sysv/linux/send.S: Likewise.
12758         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12759         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12760         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12761         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12762         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12763         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12764         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12765         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12766         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12767         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12768         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12769         socketcall is implemented in GLIBC.
12771 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12773         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12774         (__fma): Ignore uninitialized warnings around packing.
12775         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12776         (__fmaf): Ignore uninitialized warnings around packing.
12777         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12778         (__fmal): Ignore uninitialized warnings around packing.
12780         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12781         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12782         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12783         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12785         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12786         switch statement into default case.
12787         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12789         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12790         a conditional in forcing "inexact".
12791         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12792         Likewise.
12794 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12796         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12797         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12798         for each INTERNAL_SYSCALL use.
12800 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12802         [BZ #438]
12803         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12804         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12805         variable.
12807         [BZ #18444]
12808         * string/basename.c (basename): Rename to __basename and define as
12809         weak alias of __basename.  Use libc_hidden_weak.
12810         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12811         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12812         __basename instead of basename.
12813         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12814         Remove variable.
12815         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12817 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12819         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12820         (_IO_JUMPS_FILE_plus): New.
12821         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12822         _IO_CAST_FIELD_ACCESS.
12823         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12824         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12825         * libio/freopen.c (freopen): Likewise.
12826         * libio/freopen64.c (freopen64): Likewise.
12827         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12828         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12829         * libio/iofwide.c (_IO_fwide): Likewise.
12830         * libio/memstream.c (open_memstream): Likewise.
12831         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12832         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12833         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12835 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12837         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12838         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12839         NADJ.
12840         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12841         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12842         NADJ.
12843         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12844         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12845         NADJ.
12847         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12848         (p == 4) case.
12850         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12851         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12852         Remove variable.
12853         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12854         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12855         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12857 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12859         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12860         Adjust jump table label generation macros.
12862 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12864         * stdio-common/vfprintf.c (vfprintf): Move local variables
12865         args_malloced, specs, specs_malloced, and the code after
12866         do_positional to the printf_positional function.
12867         (printf_positional): New function.
12869 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12871         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12872         function.
12873         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12874         STEP4_TABLE, process_arg): Move macro definitions
12875         out of the vfprintf function.  (Cosmetic change only.)
12877 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12879         * benchtests/Makefile (stdio-common-bench): Define.
12880         (benchset): Add stdio-common-bench.
12881         * sprintf-inputs: New file.
12882         * sprintf-source.c: New file.
12884 2015-05-21  Andreas Schwab  <schwab@suse.de>
12886         [BZ #13028]
12887         [BZ #17053]
12888         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12889         of struct __res_state.
12890         * resolv/res_send.c (__libc_res_nsend): Likewise.
12891         (get_nsaddr): New function.
12892         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12893         statp directly.
12895 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12897         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12898         -D_POSIX_C_SOURCE=199506L.
12900         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12902         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12903         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12904         Do not mention otherwise.
12905         [POSIX] (_XOPEN_VERSION): Do not expect.
12906         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12907         [POSIX] (_POSIX2_C_BIND): Likewise.
12908         [POSIX] (_POSIX2_VERSION): Likewise.
12909         [POSIX] (_XOPEN_XPG2): Likewise.
12910         [POSIX] (_XOPEN_XPG3): Likewise.
12911         [POSIX] (_XOPEN_XPG4): Likewise.
12912         [POSIX] (_XOPEN_UNIX): Likewise.
12913         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12914         [POSIX] (_POSIX_BARRIERS): Likewise.
12915         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12916         [POSIX] (_POSIX_CPUTIME): Likewise.
12917         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12918         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12919         [POSIX] (_POSIX_SHELL): Likewise.
12920         [POSIX] (_POSIX_SPAWN): Likewise.
12921         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12922         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12923         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12924         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12925         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12926         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12927         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12928         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12929         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12930         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12931         [POSIX] (_POSIX2_PBS): Likewise.
12932         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12933         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12934         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12935         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12936         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12937         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12938         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12939         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12940         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12941         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12942         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12943         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12944         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12945         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12946         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12947         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12948         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12949         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12950         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12951         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12952         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12953         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12954         [POSIX] (_SC_2_C_BIND): Likewise.
12955         [POSIX] (_SC_2_C_VERSION): Likewise.
12956         [POSIX] (_SC_2_PBS): Likewise.
12957         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12958         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12959         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12960         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12961         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12962         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12963         [POSIX] (_SC_BARRIERS): Likewise.
12964         [POSIX] (_SC_BASE): Likewise.
12965         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12966         [POSIX] (_SC_DEVICE_IO): Likewise.
12967         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12968         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12969         [POSIX] (_SC_FD_MGMT): Likewise.
12970         [POSIX] (_SC_FIFO): Likewise.
12971         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12972         [POSIX] (_SC_FILE_LOCKING): Likewise.
12973         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12974         [POSIX] (_SC_IOV_MAX): Likewise.
12975         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12976         [POSIX] (_SC_NETWORKING): Likewise.
12977         [POSIX] (_SC_PAGE_SIZE): Likewise.
12978         [POSIX] (_SC_PASS_MAX): Likewise.
12979         [POSIX] (_SC_PIPE): Likewise.
12980         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12981         [POSIX] (_SC_REGEXP): Likewise.
12982         [POSIX] (_SC_SHELL): Likewise.
12983         [POSIX] (_SC_SIGNALS): Likewise.
12984         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12985         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12986         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12987         [POSIX] (_SC_USER_GROUPS): Likewise.
12988         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12989         [POSIX] (_SC_STREAMS): Likewise.
12990         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12991         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12992         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12993         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12994         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12995         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12996         [POSIX] (_PC_FILESIZEBITS): Likewise.
12997         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12998         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12999         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13000         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13001         [POSIX] (uid_t): Likewise.
13002         [POSIX] (gid_t): Likewise.
13003         [POSIX] (off_t): Likewise.
13004         [POSIX] (pid_t): Likewise.
13005         [POSIX] (cuserid): Allow.
13006         (_SC_2_CHAR_TERM): Require constant.
13007         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13008         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13009         variable.
13011 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13013         * sysdeps/nacl/pthread-pids.h: New file.
13014         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13015         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13017         * nptl/pthread-pids.h: New file.
13018         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13019         * nptl/nptl-init.c: Include <pthread-pids.h>.
13020         (__pthread_initialize_minimal_internal):
13021         Call __pthread_initialize_pids instead of set_tid_address syscall.
13023         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13024         * sysdeps/posix/usleep.c: ... here.
13026 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13028         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13029         call_pselect6 object.
13030         [$(subdir) = io]: Remove call_sync_file_range object.
13031         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13032         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13033         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13034         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13036 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13038         * math/s_cproj.c: Add include "math_private.h".
13039         * math/s_cprojf.c: Likewise.
13040         * math/s_cprojl.c: Likewise.
13042 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13044         [BZ #18244]
13045         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13046         high mantissa bit when testing whether P is a NaN.
13047         * math/libm-test.inc (remainder_test_data): Add more tests.
13048         (remquo_test_data): Likewise.
13050         [BZ #18049]
13051         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13052         below -32, return the argument, with underflow if subnormal.
13053         * math/auto-libm-test-in: Add more tests of atanh.
13054         * math/auto-libm-test-out: Regenerated.
13056 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13058         [BZ #18434]
13059         * nptl/tst-sem15.c: New file.
13060         * nptl/Makefile (tests): Add it.
13061         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13062         s/<</>>/ to fix typo in EOVERFLOW check.
13063         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13065 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13067         * manual/strings.texi (envz_remove): Fix typo in safety
13068         annotations.
13070 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13071             Steve Ellcey  <sellcey@imgtec.com>
13073         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13074         in order to avoid strict alias warnings.
13075         (iruserok_af): Ditto for ra.
13077 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13079         [BZ #17581]
13080         * malloc/hooks.c
13081         (magicbyte): Convert to a function and avoid returning 0x01.
13082         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13083         (mem2chunk_check): Fix unsigned comparisons to zero.
13084         Hoist defs of sz and magic.
13086 2015-05-19  Richard Henderson  <rth@redhat.com>
13088         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13090         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13092 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13094         [BZ #16159]
13095         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13096         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13097         (reused_arena): Find a non-corrupt arena.
13098         (heap_trim): Pass arena to unlink.
13099         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13100         malloc_printerr.
13101         (top_check): Likewise.
13102         (free_check): Likewise.
13103         (realloc_check): Likewise.
13104         * malloc/malloc.c (malloc_printerr): Add arena argument.
13105         (unlink): Likewise.
13106         (munmap_chunk): Adjust.
13107         (ARENA_CORRUPTION_BIT): New macro.
13108         (arena_is_corrupt): Likewise.
13109         (set_arena_corrupt): Likewise.
13110         (sysmalloc): Use mmap if there are no usable arenas.
13111         (_int_malloc): Likewise.
13112         (__libc_malloc): Don't fail if arena_get returns NULL.
13113         (_mid_memalign): Likewise.
13114         (__libc_calloc): Likewise.
13115         (__libc_realloc): Adjust for additional argument to
13116         malloc_printerr.
13117         (_int_free): Likewise.
13118         (malloc_consolidate): Likewise.
13119         (_int_realloc): Likewise.
13120         (_int_memalign): Don't touch corrupt arenas.
13121         * malloc/tst-malloc-backtrace.c: New test case.
13123         * Makefile (summarize-tests): Fix return value on success.
13125         * manual/string.texi (Envz Functions): Add envz_remove.
13127 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13129         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13130         (invalid_name): New function, broken out of ...
13131         (__opendirat): ... here.  Call it.
13132         (need_isdir_precheck): New function, broken out of ...
13133         (__opendirat): ... here.  Call it.
13134         Use __fxstatat64, not __xstatat64.
13135         (opendir_oflags): New function, broken out of ...
13136         (__opendirat): ... here.  Call it.
13137         (opendir_tail): New function, broken out of ...
13138         (__opendirat): ... here.  Call it.
13139         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13140         opendir_tail, rather than punting to __opendirat.
13141         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13143 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13145         * .gitignore: Ignore generated *.pyc.
13147 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13149         * include/stdio.h: Define __need_wint_t.
13150         * test-skeleton.c: Avoid `for' loop initial declaration.
13151         * nptl/tst-initializers1.c: Use test-skeleton.c.
13153 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13155         [BZ #18418]
13156         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13158 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13160         [BZ #16352]
13161         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13162         (__ieee754_atanh): Force underflow exception for results with
13163         small absolute value.
13164         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13165         (__ieee754_atanhf): Force underflow exception for results with
13166         small absolute value.
13167         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13168         (__ieee754_atanh): Force underflow exception for results with
13169         small absolute value.
13170         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13171         (__ieee754_atanhf): Force underflow exception for results with
13172         small absolute value.
13173         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13174         (__ieee754_atanhl): Force underflow exception for results with
13175         small absolute value.
13176         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13177         (__ieee754_atanhl): Force underflow exception for results with
13178         small absolute value.
13179         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13180         (__ieee754_atanhl): Force underflow exception for results with
13181         small absolute value.
13182         * math/auto-libm-test-in: Do not allow missing underflow
13183         exceptions from atanh.
13184         * math/auto-libm-test-out: Regenerated.
13186         [BZ #18221]
13187         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13188         2**-28 as threshold for returning x or +/- 1/x.
13189         * math/auto-libm-test-in: Add more tests of tan.
13190         * math/auto-libm-test-out: Regenerated.
13192         [BZ #18220]
13193         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13194         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13195         * math/auto-libm-test-in: Add another test of lgamma.
13196         * math/auto-libm-test-out: Regenerated.
13198 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13200         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13201         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13202         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13203         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13204         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13205         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13206         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13207         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13208         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13209         (log1): Use fabs.  (my_log2): Use fabs.
13210         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13211         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13212         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13213         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13214         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13215         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13216         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13217         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13218         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13219         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13220         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13222 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13224         [BZ #18217]
13225         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13226         as threshold for returning 1 - x.
13227         * math/auto-libm-test-in: Add more tests of erfc.
13228         * math/auto-libm-test-out: Regenerated.
13230 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13232         [BZ #18196]
13233         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13234         threshold for large arguments.
13235         * math/auto-libm-test-in: Add another test of atan.
13236         * math/auto-libm-test-out: Regenerated.
13238         [BZ #16339]
13239         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13240         (__log1p): Force underflow exception for results with small
13241         absolute value.
13242         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13243         (__log1pf): Force underflow exception for results with small
13244         absolute value.
13245         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13246         (__log1p): Force underflow exception for results with small
13247         absolute value.
13248         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13249         (__log1pf): Force underflow exception for results with small
13250         absolute value.
13251         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13252         (__log1pl): Force underflow exception for results with small
13253         absolute value.
13254         * math/auto-libm-test-in: Do not allow missing underflow
13255         exceptions from log1p.
13256         * math/auto-libm-test-out: Regenerated.
13258 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13259             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13261         [BZ #16704]
13262         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13264 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13266         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13267         (libmvec): New variable.
13268         * configure.ac: Added option for mathvec build.
13269         * configure: Regenerated.
13270         * mathvec/Depend: New file.
13271         * mathvec/Makefile: New file.
13272         * shlib-versions: Added libmvec.
13273         * math/Makefile: Added rule for libm.so installation.
13275         * bits/math-vector.h: New file.
13276         * bits/libm-simd-decl-stubs.h: New header.
13277         * math/Makefile (headers): Added new header
13278         libm-simd-decl-stubs.h.
13279         * math/math.h (__MATHCALL_VEC): New macro.
13281         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13282         for conditions in testing functions.
13283         * math/Makefile: Added call of libm-have-vector-test.sh.
13284         * math/libm-test.inc (HAVE_VECTOR): New macros.
13286         * math/libm-test.inc: START refactored.
13287         * math/test-double.c (TEST_MATHVEC): Add define.
13288         * math/test-float.c: Likewise.
13289         * math/test-idouble.c: Likewise.
13290         * math/test-ifloat.c: Likewise.
13291         * math/test-ildoubl.c: Likewise.
13292         * math/test-ldouble.c: Likewise.
13293         * sysdeps/generic/math-tests-arch.h
13294         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13295         architecture check.
13297         * math/test-double.c (FUNC_TEST): New macro.
13298         * math/test-float.c: Likewise.
13299         * math/test-idouble.c: Likewise.
13300         * math/test-ifloat.c: Likewise.
13301         * math/test-ildoubl.c: Likewise.
13302         * math/test-ldouble.c: Likewise.
13303         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13305 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13307         * sysdeps/nacl/fdopendir.c: New file.
13309         * dirent/scandir-tail.c: New file.
13310         * dirent/scandir64-tail.c: New file.
13311         * dirent/Makefile (routines): Add them.
13312         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13313         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13314         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13315         [!SCANDIR] (SCANDIR_TAIL): New macro.
13316         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13317         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13318         (SCANDIRAT): Macro removed.
13319         (SCANDIR_TAIL): New macro.
13320         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13321         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13322         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13323         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13324         (READDIR): Macro removed.
13325         (SCANDIR_TAIL): New macro.
13326         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13327         (SCANDIR_TAIL): New macro.
13329         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13330         * dirent/scandir-cancel.c: ... to this new file.
13331         * dirent/Makefile (routines): Add it.
13332         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13333         * sysdeps/unix/sysv/linux/i386/scandir64.c
13334         (SKIP_SCANDIR_CANCEL): Macro removed.
13335         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13337         * dirent/tst-scandir.c: New file.
13338         * dirent/tst-scandir64.c: New file.
13339         * dirent/Makefile (tests): Add them.
13341 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13343         [BZ #18409]
13344         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13346 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13348         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13349         list.
13351 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13353         * benchtests/bench-strcoll.c: New benchmark.
13354         * benchtests/Makefile: Generate locales and run benchmark.
13355         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13356         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13357         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13358         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13359         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13360         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13361         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13362         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13363         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13364         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13365         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13366         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13367         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13368         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13369         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13370         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13371         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13372         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13373         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13374         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13375         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13376         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13377         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13378         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13380 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13382         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13383         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13385 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13387         * posix/uname-values.h: New file.
13388         * posix/uname.c: Include that instead of <config-name.h>.
13389         * sysdeps/nacl/uname-values.h: New file.
13390         * sysdeps/arm/nacl/uname-values.h: New file.
13392 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13394         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13395         splitting into fields.
13397 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13399         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13400         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13401         * locale/localeinfo.h: Add enum collation_encoding_type.
13402         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13403         * programs/ld-collate.c (collate_output): Add encoding type info.
13404         * string/strcoll_l.c (STRDIFF): New function.
13405         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13406         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13408 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13410         [BZ #18397]
13411         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13412         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13413         <fpu_control.h> instead of <math/fpu_control.c>.
13414         * sysdeps/mips/mips32/fpu/Makefile: New file.
13416 2015-05-11  Andreas Schwab  <schwab@suse.de>
13418         [BZ #18007]
13419         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13420         nss_endgrent.
13421         (_nss_compat_endgrent): Call nss_endgrent.
13422         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13423         nss_endpwent.
13424         (_nss_compat_endpwent): Call nss_endpwent.
13425         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13426         needent, call nss_setspent only if non-zero.
13427         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13428         (internal_endspent): Don't call nss_endspent.
13429         (_nss_compat_endspent): Call nss_endspent.
13430         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13431         Remove.  All uses removed.
13432         (internal_setent): Remove parameter stayopen, add parameter
13433         stream.  Use it instead of global variable.
13434         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13435         (internal_endent, internal_getent): Add parameter stream.  Use it
13436         instead of global variable.
13437         (CONCAT(_nss_files_end,ENTNAME))
13438         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13439         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13440         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13441         uses removed.
13442         (internal_setent, internal_endent): Add parameter stream.  Use it
13443         instead of global variable.
13444         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13445         stream.
13446         (get_next_alias): Add parameter stream.
13447         (_nss_files_getaliasent_r): Pass global stream.
13448         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13449         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13450         (_nss_files_gethostbyname4_r): Pass local stream to
13451         internal_setent, internal_getent and internal_endent.  Remove
13452         locking.
13454 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13456         * tst-strfmon1.c (tests): Update expected currency symbol.
13458 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13460         * sysdeps/nacl/gethostname.c: New file.
13462 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13464         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13465         and sinh.
13466         * math/auto-libm-test-out: Regenerated.
13467         * sysdeps/i386/fpu/libm-test-ulps: Update.
13468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13470 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13472         [BZ #18125]
13473         * stdlib/tst-setcontext3.c: New file.
13474         * stdlib/tst-setcontext3.sh: New file.
13475         * stdlib/Makefile (tests): Add tst-setcontext3.
13476         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13477         to verify test program created output file.
13478         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13479         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13480         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13481         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13483 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13485         [BZ #18383]
13486         * elf/tst-tlsalign.c: New file.
13487         * elf/tst-tlsalign-static.c: New file.
13488         * elf/tst-tlsalign-lib.c: New file.
13489         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13490         (tests-static): Add tst-tlsalign-static.
13491         (modules-names): Add tst-tlsalign-lib.
13492         (test-xfail-tst-tlsalign): New variable.
13493         (test-xfail-tst-tlsalign-static): New variable.
13495         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13496         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13498 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13500         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13501         csqrt, erfc, sin and sincos.
13502         * math/auto-libm-test-out: Regenerated.
13503         * sysdeps/i386/fpu/libm-test-ulps: Update.
13504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13506 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13508         * sysdeps/aarch64/libm-test-ulps: Update.
13510 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13512         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13513         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13514         * math/auto-libm-test-out: Regenerated.
13515         * sysdeps/i386/fpu/libm-test-ulps: Update.
13516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13518 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13520         [BZ #18265]
13521         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13522         (wcsncpy): Likewise.
13524 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13526         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13527         Assume __ASSUME_FALLOCATE is always true.
13528         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13529         (__posix_fallocate64_l64): Likweise.
13530         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13531         (posix_fallocate): Likewise.
13532         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13533         (__posix_fallocate64_l64): Likewise.
13534         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13535         [!__ASSUME_FALLOCATE]: Add comment.
13537 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13539         * sysdeps/unix/sysv/linux/i386/Makefile
13540         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13541         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13542         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13543         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13544         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13545         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13546         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13548 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13550         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13551         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13552         tgamma.
13553         * math/auto-libm-test-out: Regenerated.
13554         * sysdeps/i386/fpu/libm-test-ulps: Update.
13555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13557 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13559         * math/auto-libm-test-in: Add more tests of tgamma.
13560         * math/auto-libm-test-out: Regenerated.
13561         * sysdeps/i386/fpu/libm-test-ulps: Update.
13562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13564         * math/auto-libm-test-in: Add more tests of tanh.
13565         * math/auto-libm-test-out: Regenerated.
13566         * sysdeps/i386/fpu/libm-test-ulps: Update.
13567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13569         * math/auto-libm-test-in: Add more tests of tan.
13570         * math/auto-libm-test-out: Regenerated.
13571         * sysdeps/i386/fpu/libm-test-ulps: Update.
13572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13574         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13575         * math/auto-libm-test-out: Regenerated.
13576         * sysdeps/i386/fpu/libm-test-ulps: Update.
13577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13579         * math/auto-libm-test-in: Add another test of pow.
13580         * math/auto-libm-test-out: Regenerated.
13581         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13583         * math/auto-libm-test-in: Add more tests of lgamma.
13584         * math/auto-libm-test-out: Regenerated.
13585         * sysdeps/i386/fpu/libm-test-ulps: Update.
13586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13588         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13589         log1p.
13590         * math/auto-libm-test-out: Regenerated.
13591         * sysdeps/i386/fpu/libm-test-ulps: Update.
13592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13594 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13596         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13597         Elf64_Chdr structs and ELFCOMPRESS constants.
13599 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13601         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13602         expm1.
13603         * math/auto-libm-test-out: Regenerated.
13604         * sysdeps/i386/fpu/libm-test-ulps: Update.
13605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13607         * math/auto-libm-test-in: Add more tests of erf and erfc.
13608         * math/auto-libm-test-out: Regenerated.
13609         * sysdeps/i386/fpu/libm-test-ulps: Update.
13610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13612 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13614         * config.h.in (HAVE_AARCH64_BE): Add.
13616 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13618         * math/auto-libm-test-in: Add more tests of csqrt.
13619         * math/auto-libm-test-out: Regenerated.
13620         * sysdeps/i386/fpu/libm-test-ulps: Update.
13621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13623         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13624         * math/auto-libm-test-out: Regenerated.
13625         * sysdeps/i386/fpu/libm-test-ulps: Update.
13626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13628         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13630 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13632         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13633         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13635         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13636         (euidaccess, eaccess): Define as weak aliases.
13638         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13639         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13640         but __suseconds_t is often 'long int' so some sources assume that
13641         type is being used (e.g. they use %ld to print tv_usec).
13643 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13645         [BZ #18007]
13646         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13647         (CVE-2014-8121)
13648         * nss/tst-nss-getpwent.c: New file.
13649         * nss/Makefile (tests): Add new test.
13651 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13653         [BZ #18346]
13654         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13655         exponents less than 48 as cases where high part of mantissa needs
13656         examining to determine whether argument is integral.
13657         * math/libm-test.inc (round_test_data): Add more tests.
13659 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13661         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13663 2015-04-27  David S. Miller  <davem@davemloft.net>
13665         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13666         __tls_get_addr.
13667         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13669 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13671         [BZ#18333]
13672         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13674 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13676         [BZ#18333]
13677         * time/tzset.c (parse_tzname): Return error on memory allocation
13678         failure.
13679         * test-skeleton.c (struct temp_name_list): Change type of name
13680         member to non-const.
13681         (add_temp_file): Create a copy of the file name.
13682         (delete_temp_files): Deallocate memory.
13683         (create_temp_file): Add comment.
13685 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13687         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13688         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13690 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13692         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13693         * sysdeps/arm/configure: Regenerated.
13695 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13697         [BZ #17715]
13698         * time/tzfile.c (__tzfile_read): Check for large values of
13699         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13700         * time/tzset.c (__tzstring_len): New function, based on the old
13701         __tzstring function.
13702         (__tzstring): Call __tzstring_len.
13703         (parse_tzname): New helper function extracted from
13704         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13705         the input string.
13706         (parse_offset): New helper function extracted from
13707         __tzset_parse_tz.  Replace switch with fallthrough with
13708         initialization before sscanf.
13709         (parse_rule): Likewise.
13710         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13711         new-style function definition.
13712         * timezone/Makefile (tests): Add tst-tzset.
13713         (tst-tzset.out): Dependencies on time zone files.
13714         (tst-tzset-ENV): Set TZDIR.
13715         (testdata/XT%): Copy crafted time zone files.
13716         * timezone/README: Mention crafted time zone files.
13717         * timezone/testdata/XT1, timezone/testdata/XT2,
13718         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13719         files.
13720         * timezone/tst-tzset.c: New test.
13722 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13724         * Makeconfig (+gccwarn): Remove -Winline.
13726 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13728         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13730 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13732         * NEWS: Mention sysconf() cache information support for s390.
13733         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13735 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13737         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13738         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13739         (__nearbyint): Likewise.
13740         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13741         (copysignl): Likewise.
13743 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13745         [BZ #18287]
13746         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13747         based on padding.  (CVE-2015-1781)
13749 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13751         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13752         libc-vdso.h.
13753         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13754         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13755         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13756         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13757         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13758         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13759         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13760         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13761         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13762         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13763         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13764         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13765         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13766         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13767         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13768         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13769         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13770         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13771         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13772         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13773         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13774         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13775         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13777 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13779         * stdlib/setenv.c (__add_to_environ):
13780         Dump core quickly if setenv (..., NULL, ...) is called.
13781         This time, do it the right way, and pacify GCC with a pragma.
13783 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13785         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13786         IMAP->l_prev cannot be null, and #if out the code for the contrary
13787         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13788         believe that NS (&_dl_ns[NSID]) could point outside the array.
13790         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13791         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13792         before using NSID as an index.
13794 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13796         [BZ #17825]
13797         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13798         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13799         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13801 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13803         Add preliminary port to Google Native Client on ARM.
13804         * abi-tags (.*-.*-nacl.*): New entry.
13805         * sysdeps/arm/nacl: New directory.
13806         * sysdeps/nacl: New directory.
13808 2015-04-16  David S. Miller  <davem@davemloft.net>
13810         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13811         lowlevellock-futex.h
13813 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13815         * sysdeps/tile/configure.ac: New file.
13816         * sysdeps/tile/configure: Regenerated.
13818 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13820         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13821         conditionals for weak_alias and libc_hidden_weak.
13822         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13823         libc_hidden_weak and weak_alias.
13824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13825         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13826         and weak_alias for static one.
13828 2015-04-15  David S. Miller  <davem@davemloft.net>
13830         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13832 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13834         [BZ #18206]
13835         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13836           Use signed comparision instead of substraction to avoid
13837           overflow bug.
13838         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13839           Take the sign of ret.
13840         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13841           Do not expect precise return values. Only the sign matters.
13842         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13843         * wcsmbs/test-wcsncmp.c: New File.
13844         * string/test-strncmp.c: Add wcsncmp support.
13846 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13848         [BZ #6792]
13849         * math/w_log1p.c: New file.
13850         * math/w_log1pf.c: Likewise.
13851         * math/w_log1pl.c: Likewise.
13852         * math/Makefile (libm-calls): Add w_log1p.
13853         * math/s_log1pl.c (log1pl): Remove weak_alias.
13854         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13855         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13856         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13857         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13858         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13859         [NO_LONG_DOUBLE] (log1pl): Likewise.
13860         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13861         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13862         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13863         (log1p): Remove long_double_symbol.
13864         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13865         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13866         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13867         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13868         remove weak_alias for corresponding log1p function.
13869         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13870         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13871         * sysdeps/ia64/fpu/w_log1p.c: New file.
13872         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13873         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13874         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13876 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13878         [BZ #18247]
13879         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13880         decimal exponent by 1.
13881         * stdlib/tst-strtod-round-data: Add more tests.
13882         * stdlib/tst-strtod-round.c (tests): Regenerated.
13884 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13886         * math/auto-libm-test-in: Add more tests of clog and clog10.
13887         * math/auto-libm-test-out: Regenerated.
13888         * sysdeps/i386/fpu/libm-test-ulps: Update.
13889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13891 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13893         * Makeconfig (module-cppflags): Exclude all .v.i files.
13894         (skip-module-cppflags): Variable removed.
13896         * configure.ac (libc_config_ok): Initialize before reading
13897         preconfigure scripts, not after.
13898         * configure: Regenerated.
13900         * test-skeleton.c (TIMEOUT): Move #define to top level.
13901         (main): Grok environment variable TEST_DIRECT.  If set, print
13902         test expectation details into that file and then behave as if
13903         given --direct.
13905 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13907         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13908         warning on 32-bit.
13910 2015-04-08  David S. Miller  <davem@davemloft.net>
13912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13914 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13916         * math/auto-libm-test-in: Add more tests of atanh.
13917         * math/auto-libm-test-out: Regenerated.
13918         * sysdeps/i386/fpu/libm-test-ulps: Update.
13919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13921         * math/auto-libm-test-in: Add more tests of atan.
13922         * math/auto-libm-test-out: Regenerated.
13923         * sysdeps/i386/fpu/libm-test-ulps: Update.
13924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13926 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13928         * elf/pldd.c (main): Rewrite to use struct
13929         scratch_buffer instead of extend_alloca.
13930         * elf/pldd-xx.c (find_maps): Likewise.
13931         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13932         <alloca.h>.
13933         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13934         scratch_buffer instead of extend_alloca.
13935         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13936         grp/compat-initgroups.c.
13937         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13938         Rewrite to use struct scratch_buffer instead of extend_alloca.
13939         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13940         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13942 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13944         * math/auto-libm-test-in: Add more tests of cbrt.
13945         * math/auto-libm-test-out: Regenerated.
13946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13948         * math/auto-libm-test-in: Add more tests of cabs.
13949         * math/auto-libm-test-out: Regenerated.
13950         * sysdeps/i386/fpu/libm-test-ulps: Update.
13951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13953         [BZ #18210]
13954         [BZ #18211]
13955         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13956         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13957         computations.
13958         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13959         clog10.
13960         * math/auto-libm-test-out: Regenerated.
13961         * sysdeps/i386/fpu/libm-test-ulps: Update.
13962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13964         [BZ #18197]
13965         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13966         (atan): Set FE_TONEAREST mode for internal computations.
13967         * math/auto-libm-test-in: Add more tests of atan.
13968         * math/auto-libm-test-out: Regenerated.
13970 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13972         [BZ #17930]
13973         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13975 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13977         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13979 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13981         * include/scratch_buffer.h: New file.
13982         * malloc/scratch_buffer_grow.c: Likewise.
13983         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13984         * malloc/scratch_buffer_set_array_size.c: Likewise.
13985         * malloc/tst-scratch_buffer.c: Likewise.
13986         * malloc/Makefile (routines): Add scratch_buffer_grow.
13987         (tests): Add test case.
13988         * malloc/Versions (GLIBC_PRIVATE): Export
13989         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13990         __libc_scratch_buffer_set_array_size.
13992 2015-04-06  Richard Henderson  <rth@redhat.com>
13994         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13995         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13997         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13998         unsigned int before printing.
14000 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14002         [BZ #17596]
14003         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14004         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14006 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14008         * include/libc-internal.h (libc_max_align_t): Define.
14010 2015-04-02  Andreas Schwab  <schwab@suse.de>
14012         [BZ #16850]
14013         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14015 2015-04-02  Mel Gorman  <mgorman@suse.de>
14017         [BZ #17195]
14018         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14019         as well as the main arena.
14021 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14023         [BZ #18185]
14024         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14025         sharing L2 cache to 2 for Silvermont/Knights Landing.
14027 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14029         [BZ #17711]
14030         * config.make.in (have-protected-data): New.
14031         * configure.ac: Check linker support for protected data symbol.
14032         * configure: Regenerated.
14033         * elf/Makefile (modules-names): Add tst-protected1moda and
14034         tst-protected1modb if $(have-protected-data) is yes.
14035         (tests): Add tst-protected1a and tst-protected1b if
14036         $(have-protected-data) is yes.
14037         ($(objpfx)tst-protected1a): New.
14038         ($(objpfx)tst-protected1b): Likewise.
14039         (tst-protected1modb.so-no-z-defs): Likewise.
14040         * elf/tst-protected1a.c: New file.
14041         * elf/tst-protected1b.c: Likewise.
14042         * elf/tst-protected1mod.h: Likewise.
14043         * elf/tst-protected1moda.c: Likewise.
14044         * elf/tst-protected1modb.c: Likewise.
14046 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14048         [BZ #17711]
14049         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14050         indicates it is called from do_lookup_x on relocation against
14051         protected data, skip the data definion in the executable from
14052         copy reloc.
14053         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14054         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14055         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14056         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14057         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14058         otherwise to 0.
14059         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14060         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14061         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14062         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14063         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14064         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14066 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14068         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14069         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14071 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14073         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14074         THREAD_SETMEM_NC.
14075         * sysdeps/x86_64/nptl/tls.h: Ditto.
14077 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14079         * dlfcn/tststatic.c (main): Converted to ...
14080         (do_test): ... this.
14081         (TEST_FUNCTION): New macro.
14082         Include test-skeleton.c.
14084 2015-03-26  Alan Modra  <amodra@gmail.com>
14086         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14087         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14088         zero for undefined weak.
14089         (elf_machine_plt_conflict): Similarly.
14091 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14093         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14094         atanh.
14095         * math/auto-libm-test-out: Regenerated.
14096         * sysdeps/i386/fpu/libm-test-ulps: Update.
14097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14099         * math/auto-libm-test-in: Add another test of asin.
14100         * math/auto-libm-test-out: Regenerated.
14101         * sysdeps/i386/fpu/libm-test-ulps: Update.
14102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14104         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14105         Remove macro.
14106         (LLL_EBX_REG): Likewise.
14107         (LLL_ENTER_KERNEL): Likewise.
14109         * math/auto-libm-test-in: Add more tests of asin.
14110         * math/auto-libm-test-out: Regenerated.
14111         * sysdeps/i386/fpu/libm-test-ulps: Update.
14112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14114         [BZ #18138]
14115         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14116         libc_do_syscall_args): New structure.
14117         (INTERNAL_SYSCALL_MAIN_0): New macro.
14118         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14119         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14120         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14121         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14122         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14123         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14124         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14125         Replace conditional definitions by conditional definitions of ....
14126         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14127         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14128         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14129         (libpthread-sysdep_routines): Add libc-do-syscall.
14130         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14131         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14132         to __NR_futex not 240.
14134 2015-03-25  Alan Modra  <amodra@gmail.com>
14136         * NEWS: Advertise TLS optimization.
14137         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14138         (DT_PPC_NUM): Increment.
14139         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14140         (CHECK_STATIC_TLS): Use here.
14141         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14142         TLS descriptors.
14143         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14144         * sysdeps/powerpc/dl-tls.c: New file.
14145         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14146         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14147         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14148         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14153 2015-03-25  Alan Modra  <amodra@gmail.com>
14155         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14156         for overlapping .opd entries" to "support...".
14157         * sysdeps/powerpc/powerpc64/configure: Regenerate
14159 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14161         * math/auto-libm-test-in: Add more tests of acos.
14162         * math/auto-libm-test-out: Regenerated.
14163         * sysdeps/i386/fpu/libm-test-ulps: Update.
14164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14166         * math/auto-libm-test-in: Add more tests of expm1.
14167         * math/auto-libm-test-out: Regenerated.
14168         * sysdeps/i386/fpu/libm-test-ulps: Update.
14169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14171 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14173         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14174         * math/auto-libm-test-out: Regenerated.
14175         * sysdeps/i386/fpu/libm-test-ulps: Update.
14176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14178         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14181         * math/auto-libm-test-in: Add more tests of log2.
14182         * math/auto-libm-test-out: Regenerated.
14183         * sysdeps/i386/fpu/libm-test-ulps: Update.
14184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14186 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14188         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14189         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14190         _IO_IS_APPENDING bit in READ_WRITE instead.
14192 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14194         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14195         (__determine_cpumask_size): Replace extend_alloca with a
14196         variable-length array.  Do not treat res == 0 as an error.
14198 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14200         [BZ #18100]
14201         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14202         and integer overflow.
14203         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14204         (main): Add integer overflow tests.
14205         * manual/pattern.texi (Calling Wordexp): Document additional use
14206         for WRDE_SYNTAX.
14208 2015-03-23  Alan Modra  <amodra@gmail.com>
14210         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14211         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14212         and false branch of conditional.
14213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14214         Likewise.
14216 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14218         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14219         libc-modules.h
14220         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14221         unused declaration of _hurd_intr_rpc_msg_in_trap.
14222         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14223         defined instead of whether it is non-zero.
14224         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14225         input constraint instead of both input and output constraint.  Use ecx
14226         clobber instead of %ecx.
14227         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14228         mutex_unlock): Use a statement expression instead of an expression list.
14229         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14230         type to vm_size_t instead of vm_address_t.
14231         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14232         defined instead of whether it is non-zero.
14233         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14234         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14235         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14236         comparisons with mapaddr.
14237         * nscd/nscd-client.h: Include <time.h>.
14238         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14239         9th parameter to __vm_region instead of int.
14240         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14241         * scripts/check-local-headers.sh (exclude): Add device/,
14242         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14243         cthreads.h.
14245 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14247         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14248         to account for alignment padding.
14249         * sysdeps/arm/memmove.S: Likewise.
14251 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14253         * sysdeps/unix/sysv/linux/generic/README: New file.
14255 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14257         [BZ #18138]
14258         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14259         (futex_abstimed_wait)
14260         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14261         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14262         of lll_futex_timed_wait.
14264 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14266         [BZ #17542]
14267         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14269 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14271         [BZ #17090]
14272         [BZ #17620]
14273         [BZ #17621]
14274         [BZ #17628]
14275         * NEWS: Update.
14276         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14277         entries with Static TLS too.  Skip entries past the end of the
14278         allocated DTV, from Alan Modra.
14279         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14280         Static TLS DTV entry set up from...
14281         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14282         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14283         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14284         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14285         for Static TLS.
14286         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14287         that the slot we find is associated with the given map before
14288         using its generation count.
14289         * nptl_db/db_info.c: Include ldsodefs.h.
14290         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14291         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14292         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14293         (link_map::l_tls_offset): New struct field.
14294         (dtv_t::counter): Likewise.
14295         (rtld_global): New struct.
14296         (_rtld_global): New rtld variable.
14297         (dl_tls_dtv_slotinfo_list): New rtld global field.
14298         (dtv_slotinfo_list): New struct.
14299         (dtv_slotinfo): Likewise.
14300         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14301         (td_lookup): Rename to...
14302         (td_mod_lookup): ... this.  Use new mod parameter instead of
14303         LIBPTHREAD_SO.
14304         * nptl_db/td_thr_tlsbase.c: Include link.h.
14305         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14306         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14307         addresses even if the DTV is out of date or missing them.
14308         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14309         index zero-length arrays.
14310         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14311         (td_lookup): Make it a macro implemented in terms of...
14312         (td_mod_lookup): ... this declaration.
14313         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14314         (DB_MAIN_VARIABLE): Likewise.
14316 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14318         [BZ #18134]
14319         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14321 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14323         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14325 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14327         [BZ #18128]
14328         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14329         (atomic_add, atomic_increment_and_test)
14330         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14332 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14334         * stdlib/setenv.c (__add_to_environ):
14335         Dump core quickly if setenv (..., NULL, ...) is called.
14337 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14339         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14340         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14341         all the necessary asm magic in one place.
14342         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14343         using those.
14345 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14347         [BZ #14906]
14348         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14349         traced file mtime. Use consistent log message.
14350         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14351         (register_traced_file): Call install_watches. Always set mtime.
14352         (invalidate_cache): Iterate over all trace files. Call install_watches.
14353         (inotify_check_files): Don't inline. Handle watching parent
14354         directories and configuration file movement in and out.
14355         (handle_inotify_events): New function.
14356         (main_loop_poll): Call handle_inotify_events.
14357         (main_loop_epoll): Likewise.
14358         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14359         (struct traced_file): Use array of inotify fds. Add parent directory,
14360         and basename.
14361         (struct database_dyn): Remove unused file_mtime.
14362         (init_traced_file): New inline function.
14363         (define_traced_file): New macro.
14364         * nss/nss_db/db-init.c: Use define_traced_file.
14365         (_nss_db_init): Use init_traced_file.
14366         * nss/nss_files/files-init.c: Use define_traced_file.
14367         (_nss_files_init): Use init_traced_file.
14369 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14371         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14372         [_LIBC]: Do not include <stdlib.h>.
14373         [!_LIBC] (abort): Remove declaration.
14374         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14375         _FP_STATIC_ASSERT instead of conditionally calling abort.
14376         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14377         (_FP_EXTEND_CNAN): Likewise.
14378         (FP_TRUNC): Likewise.
14379         (__FP_CLZ): Likewise.
14380         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14382 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14384         * manual/string.texi (XPG basename): Fix prototype.
14386 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14388         [BZ #18080]
14389         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14390         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14391         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14392         (__setcontext): Likewise.
14393         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14394         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14395         Call rt_sigprocmask syscall one time to set new signal mask
14396         and retrieve the current signal mask instead of two calls.
14397         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14398         (__swapcontext): Likewise.
14399         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14400         * stdlib/tst-setcontext2.c: New file.
14402 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14404         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14406 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14408         [BZ #18093]
14409         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14410         the wrong size.
14412 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14414         [BZ #18043]
14415         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14417 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14419         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14420         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14421         Remove define.
14422         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14423         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14424         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14425         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14426         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14427         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14428         define.
14429         * nptl_db/td_symbol_list.c (td_lookup): Remove
14430         HAVE_ASM_GLOBAL_DOT_NAME code.
14431         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14432         HAVE_ASM_GLOBAL_DOT_NAME check.
14433         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14434         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14435         (DOT_LABEL): Remove define.
14436         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14437         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14438         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14439         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14440         (__TLS_GET_ADDR): Likewise.
14441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14442         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14444 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14446         [BZ #18111]
14447         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14448         (_FPU_SETCW): Initialize cw from fpsr before storing.
14449         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14450         (fesetexceptflag): Rewrite using fpu_control.h.
14451         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14453 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14455         [BZ #18110]
14456         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14457         asms.
14458         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14460 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14462         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14463         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14464         abort.
14465         (_FP_FMA): Likewise.
14466         (_FP_DIV): Likewise.
14468 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14470         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14471         with 0 in that case.
14472         * Makefile (summarize-tests): New canned sequence, factored out of
14473         commands for targets tests and xtests.  Display summary lines that
14474         don't start with PASS: or XFAIL: rather than ones that do start with
14475         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14476         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14477         do start with ERROR: or FAIL:.
14478         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14479         (except for [$(build-shared) = yes]).
14480         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14481         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14482         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14483         * nptl/Makefile: Revert 2015-03-04 changes.
14484         [$(CXX) empty] (tests-unsupported): New variable.
14485         * debug/Makefile: Likewise.
14487         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14488         gnulib file.  Replace __attribute with __attribute__ throughout.
14490 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14492         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14494 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14496         [BZ #18104]
14497         * math/auto-libm-test-in: Add another test of pow.
14498         * math/auto-libm-test-out: Regenerated.
14500 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14502         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14503         $(config-cflags-nofma).
14505 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14507         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14508         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14509         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14510         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14511         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14512         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14513         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14514         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14515         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14516         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14517         Add comment on closing #endif.
14519 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14521         * posix/wordexp.c (CHAR_IN_SET): New macro.
14522         (parse_param): Use it.
14524 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14526         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14528 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14530         [BZ #18043]
14531         * posix/wordexp.c (parse_param): Fix buffer overflow.
14532         * posix/wordexp-test.c (test_case): Add test case.
14534 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14536         [BZ #18042]
14537         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14538         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14540 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14542         [BZ #18043]
14543         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14544         (do_bz18043): Delete.
14545         (at_page_end): New.
14546         (testit): Refactor to have words at the edge of unreadable page.
14548 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14550         [BZ #16734]
14551         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14552         Cleanup read-only streams as well.
14553         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14555 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14557         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14558         <bits/libc-lockP.h>
14560 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14562         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14563         on [__KERNEL__].
14564         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14565         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14566         * soft-fp/op-common.h (_FP_DECL): Likewise.
14568 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14570         * elf/ifuncdep2.c (global): Replace
14571         __attribute__((visibility("protected"))) with
14572         asm (".protected global").
14573         * elf/ifuncmod1.c (global): Likewise.
14574         * elf/ifuncmod5.c (global): Likewise.
14576 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14578         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14579         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14581 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14583         * manual/install.texi (Configuring and compiling):
14584         Document test-wrapper-env-only.
14585         * INSTALL: Regenerated.
14587 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14589         [BZ #18043]
14590         * posix/wordexp.c (parse_param): Fix buffer overflow.
14591         * posix/wordexp-test.c (do_bz18043): Add test case.
14593 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14595         * time/tst-strptime2.c (do_test): Ensure failing tests are
14596         reported correctly.
14597         * time/tst-strptime3.c (do_test): Likewise.
14599 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14601         Fix aio_error thread-safety.
14602         * sysdeps/pthread/aio_error.c: New file
14603         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14604         synchronization.
14606 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14608         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14609         (group_number, vfprintf): Use it.
14610         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14611         (JUMP, REF): Use it.
14612         (WORK_BUFFER_SIZE): New enum constant.
14613         (process_arg, vfprintf): Use it.
14615 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14617         * manual/errno.texi (Error Messages): Complete example function
14618         by adding missing #define.
14619         (program_invocation_name): Add statement indicating GNU
14620         extension and reference which header file declares the variable.
14621         (program_invocation_short_name): Likewise.
14623 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14625         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14626         compatibility note.
14628 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14630         * Makeconfig (test-wrapper-env-only): New variable.
14631         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14632         then use that with $(test-wrapper-env-only) rather than using
14633         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14635 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14637         [BZ #18082]
14638         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14639         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14640         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14641         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14642         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14643         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14644         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14645         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14646         Likewise.
14647         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14648         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14649         Likewise.
14650         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14651         Likewise.
14652         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14653         Likewise.
14654         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14655         Likewise.
14656         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14657         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14658         Likewise.
14659         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14660         Likewise.
14661         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14662         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14664 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14666         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14667         (ETH_ALEN): New macro.
14668         (struct ether_addr): Use it for length of ether_addr_octet.
14670         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14671         (setdb): Don't call __nss_configure_lookup for "rpc".
14672         (do_test): Don't call test_rpc.
14673         (output_rpcent, test_rpc): Functions moved ...
14674         * sunrpc/test-rpcent.c: ... to this new file.
14675         * sunrpc/Makefile (tests): Add it.
14677         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14678         __xpg_sigpause.
14679         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14680         * nptl/tst-signal6.c: Likewise.
14681         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14682         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14684         * configure.ac (libc_cv_cxx_link_ok): New check.
14685         Reset CXX to empty if it fails to link.
14686         * configure: Regenerated.
14687         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14688         bug-atexit3-lib only if $(CXX) is nonempty.
14689         * nptl/Makefile (tests): Likewise for tst-cancel24.
14690         (tests, tests-static): Likewise for tst-cancel24-static.
14691         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14692         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14693         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14694         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14696 2015-03-04  Andreas Schwab  <schwab@suse.de>
14698         [BZ #17631]
14699         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14700         for non-GCC compilers.
14701         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14702         Likewise.
14704 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14706         [BZ #17776]
14707         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14708         integer before bitwise and assembly operations.
14709         (feclearexcept): Likewise.
14710         * math/test-fenvinline.c: New file.
14711         * math/Makefile: Add test-fenvinline test.
14713 2015-03-03  Alan Modra  <amodra@gmail.com>
14715         [BZ #16512]
14716         * scripts/localplt.awk: Strip off symbol version.
14717         * NEWS: Mention bug fix.
14719 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14721         * sysdeps/pthread/timer_routines.c
14722         (timer_free_list, thread_free_list, thread_active_list): Make static.
14724 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14726         [BZ #17779]
14727         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14728         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14729         Undefine.
14730         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14731         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14732         Likewise.
14733         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14734         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14735         Likewise.
14737 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14739         [BZ #18036]
14740         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14741         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14743 2015-03-02  Andreas Schwab  <schwab@suse.de>
14745         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14746         variable name.
14748 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14750         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14751         Return error status.
14753 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14755         [BZ #15969]
14756         * locale/findlocale.c (_nl_find_locale): Introduce const
14757         version of loc_name and drop unsafe type casts.
14759 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14761         * dlfcn/tststatic2.c (main): Converted to ...
14762         (do_test): ... this.
14763         (TEST_FUNCTION): New macro.
14764         Include test-skeleton.c.
14766 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14768         [BZ #17711]
14769         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14770         (tests-pie): Add vismain.
14771         (CFLAGS-vismain.c): New.
14772         * elf/vismain.c: Add comments for PIE requirement.
14774 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14776         [BZ #18046]
14777         [BZ #18047]
14778         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14779         0x1p-56L as threshold for just returning the argument.
14780         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14781         0x1p-32L as threshold for just returning the argument.
14782         * math/auto-libm-test-in: Add more tests of atanh.
14783         * math/auto-libm-test-out: Regenerated.
14784         * sysdeps/i386/fpu/libm-test-ulps: Update.
14785         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14787 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14789         * string/bcopy.c (bcopy): Call memmove for performance.
14791 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14793         * string/bzero.c (__bzero): Call memset for performance.
14795 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14797         [BZ #18068]
14798         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14799         to 00100000.
14801 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14803         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14805 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14807         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14808         (__kernel_standard): Use CSTR macro when setting exc.name.
14809         * sysdeps/ieee754/Makefile [$(subdir) = math]
14810         (CFLAGS-k_standard.c): Remove variable.
14812         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14813         setting p and q from "else if" to "else".
14814         (qzero): Likewise.
14815         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14816         (qone): Likewise.
14817         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14818         (qzerof): Likewise.
14819         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14820         (qonef): Likewise.
14821         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14822         (qzero): Likewise.
14823         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14824         (qone): Likewise.
14826         [BZ #18038]
14827         [BZ #18039]
14828         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14829         return pi/2 for arguments below 0x1p-113L.
14830         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14831         return pi/2 for arguments below 0x1p-106L.
14832         * math/auto-libm-test-in: Add more tests of acos.
14833         * math/auto-libm-test-out: Regenerated.
14835         [BZ #16351]
14836         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14837         (MO): New macro.
14838         (__ieee754_asin): Force underflow exception for results with small
14839         absolute value.
14840         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14841         (MO): New macro.
14842         (__ieee754_asinf): Force underflow exception for results with
14843         small absolute value.
14844         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14845         (__ieee754_asin): Force underflow exception for results with small
14846         absolute value.
14847         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14848         (__ieee754_asinf): Force underflow exception for results with
14849         small absolute value.
14850         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14851         (__ieee754_asinl): Force underflow exception for results with
14852         small absolute value.
14853         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14854         (__ieee754_asinl): Force underflow exception for results with
14855         small absolute value.
14856         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14857         (__ieee754_asinl): Force underflow exception for results with
14858         small absolute value.
14859         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14860         Include <math.h>.
14861         * math/auto-libm-test-in: Do not mark underflow exceptions as
14862         possibly missing for bug 16351.
14863         * math/auto-libm-test-out: Regenerated.
14865         [BZ #18030]
14866         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14867         of power of 2 down when low part has opposite sign.
14868         * math/libm-test.inc (logb_test_data): Add more tests.
14870 2015-02-26  Andreas Schwab  <schwab@suse.de>
14872         [BZ #18032]
14873         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14874         over collating symbol inside a bracket expression.  Minor cleanup.
14875         * posix/tst-fnmatch3.c (do_test): Add test case.
14877 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14879         [BZ #18029]
14880         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14881         Adjust exponent of power of 2 down when low part has opposite
14882         sign.
14883         * math/libm-test.inc (ilogb_test_data): Add more tests.
14885 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14887         [BZ #15969]
14888         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14889         the previous change.
14891         [BZ #15969]
14892         * locale/findlocale.c (_nl_find_locale): Retry archive search
14893         after alias expansion.
14895 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14897         * iconv/tst-iconv3.c (main): Converted to ...
14898         (do_test): ... this.
14899         (TEST_FUNCTION): New macro.
14900         Include test-skeleton.c.
14902         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14903         (convert): Make function static.
14904         (test_unalign): Likewise.  Add const to argument pointee types.
14905         (main): Replace with static function do_test.
14906         Print "Succeeded." only if RET is zero.
14907         (TEST_FUNCTION): New macro.
14908         Include test-skeleton.c.
14910         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14911         returns a null pointer.
14913 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14915         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14916         to __memcpy_ppc only for static builds.
14918 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14920         [BZ #18020]
14921         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14922         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14923         * math/auto-libm-test-in: Add more tests of asinh.
14924         * math/auto-libm-test-out: Regenerated.
14925         * sysdeps/i386/fpu/libm-test-ulps: Update.
14926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14930         [BZ #15850]
14931         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14932         and ip6_mtuinfo definitions here.
14933         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14934         in this define too.  Update comment.
14936 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14938         * elf/sprof.c (load_shobj): Tweak error message to match others.
14940 2015-02-24  Kevin Easton  <kevin@guarana.org>
14942         [BZ #16145] (partial fix)
14943         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14944         to reduce lock contention.
14946 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14948         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14949         (struct timex): Update time comment.
14950         (ADJ_SETOFFSET): Define.
14952 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14954         [BZ #18019]
14955         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14956         2**56 not 2**28 as threshold for log (2x) formula.
14957         * math/auto-libm-test-in: Add more tests of acosh.
14958         * math/auto-libm-test-out: Regenerated.
14959         * sysdeps/i386/fpu/libm-test-ulps: Update.
14960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14962 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14964         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14965         parenthesis around the buf assignment.
14966         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14968 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14970         [BZ #16783]
14971         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14972         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14973         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14974         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14975         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14976         * math/libm-test.inc (scalb_test_data): Add more tests.
14978 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14980         [BZ #17916]
14981         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14982         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14984 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14986         [BZ #17523]
14987         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14988         * io/bits/fcntl2.h (open): Use it.
14989         (openat): Likewise.
14990         * io/open.c (__libc_open): Likewise.
14991         * io/open64.c (__libc_open64): Likewise.
14992         * io/open64_2.c (__open64_2): Likewise.
14993         * io/open_2.c (__open_2): Likewise.
14994         * io/openat.c (__openat): Likewise.
14995         * io/openat64.c (__openat64): Likewise.
14996         * io/openat64_2.c (__openat64_2): Likewise.
14997         * io/openat_2.c (__openat_2): Likewise.
14998         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14999         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15000         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15001         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15002         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15003         (__open_nocancel): Likewise.
15004         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15005         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15006         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15008 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15010         [BZ #14841]
15011         * resolv/gethnamaddr.c (getanswer): Skip logging if
15012         RES_USE_DNSSEC is set.
15013         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15015 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15017         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15019 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15021         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15022         201304L, for Unicode 7.
15024 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15026         [BZ #17836]
15027         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15028         shared library.  Add gmon-start.os otherwise.
15029         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15030         $(objpfx)gmon-start.os if builing shared library.
15031         ($(objpfx)g$(static-start-installed-name)): Likewise.
15033 2015-02-23  Andreas Schwab  <schwab@suse.de>
15035         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15037 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15039         [BZ #17269]
15040         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15041         (enlarge_userbuf): Likewise.
15043 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15045         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15046         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15047         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15048         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15050 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15052         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15053         expression inside statement expression.
15055 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15057         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15058         <sysdeps/nptl/lowlevellock.h> and remove macros and
15059         functions that are now defined there.
15060         (SYS_futex): Remove.
15061         (lll_compare_and_swap): Remove.
15062         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15064 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15066         [BZ #17999]
15067         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15068         instead of scandirat.
15069         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15070         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15071         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15072         __scandirat.
15073         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15074         (__scandirat): Declare.  Use libc_hidden_proto.
15075         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15076         Remove variable.
15077         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15079 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15081         [BZ #15319]
15082         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15083         (MO): New macro.
15084         (__ieee754_atan2): For results with small absolute value, force
15085         underflow exception and remove excess range and precision from
15086         return value.
15087         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15088         (MO): New macro.
15089         (__ieee754_atan2f): For results with small absolute value, force
15090         underflow exception and remove excess range and precision from
15091         return value.
15092         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15093         (MO): New macro.
15094         (__atan): For results with small absolute value, force underflow
15095         exception and remove excess range and precision from return value.
15096         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15097         (MO): New macro.
15098         (__atanf): For results with small absolute value, force underflow
15099         exception and remove excess range and precision from return value.
15100         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15101         <math.h>.
15102         (__ieee754_atan2): Force underflow exception for results with
15103         small absolute value.
15104         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15105         <math_private.h>.
15106         (atan): Force underflow exception for results with small absolute
15107         value.
15108         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15109         (__atanf): Force underflow exception for results with small
15110         absolute value.
15111         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15112         <math.h>.
15113         (__atanl): Force underflow exception for results with small
15114         absolute value.
15115         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15116         (__atanl): Force underflow exception for results with small
15117         absolute value.
15118         * sysdeps/x86/fpu/bits/mathinline.h
15119         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15120         (__ieee754_atan2): Only define inline for long double.
15121         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15122         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15123         * math/auto-libm-test-in: Do not mark underflow exceptions as
15124         possibly missing for bug 15319.  Add more tests of atan2.
15125         * math/auto-libm-test-out: Regenerated.
15126         * math/libm-test.inc (casin_test_data): Do not mark underflow
15127         exceptions as possibly missing for bug 15319.
15128         (casinh_test_data): Likewise.
15129         * sysdeps/i386/fpu/libm-test-ulps: Update.
15131 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15133         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15134         * sysdeps/mips/bits/endian.h: Fix comments.
15136 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15138         [BZ #17996]
15139         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15140         (hdestroy_r): Likewise.
15141         (hsearch_r): Likewise.
15142         (__hcreate_r): Declare and use libc_hidden_proto.
15143         (__hdestroy_r): Likewise.
15144         (__hsearch_r): Likewise.
15145         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15146         (hcreate): Call __hcreate_r instead of hcreate_r.
15147         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15148         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15149         as weak alias of __hcreate_r.
15150         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15151         __hdestroy_r.
15152         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15153         __hsearch_r.
15154         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15155         Remove variable.
15156         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15157         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15158         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15159         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15161 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15163         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15164         arena_lock into a single arena_get.
15166 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15168         * dl-reloc.c: Inlucde libc-internal.h.
15169         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15170         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15171         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15172         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15173         (grow_heap): Likewise.
15174         * malloc/malloc.c: Include libc-internal.h.
15175         (do_check_malloc): Call powerof2.
15176         (sysmalloc): Use pagesize. Call ALIGN_UP.
15177         (systrim): Use pagesize.
15178         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15179         (__libc_valloc): Use pagesize.
15180         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15182 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15184         [BZ #17991]
15185         * include/sys/resource.h (__getrlimit64): Declare.  Use
15186         libc_hidden_proto.
15187         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15188         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15189         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15190         getrlimit64.
15191         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15192         __getrlimit64.
15193         [!getrlimit64] (getrlimit64): Define as weak alias of
15194         __getrlimit64.  Use libc_hidden_weak.
15195         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15196         using __getrlimit64 not __new_getrlimit64.
15197         (__GI_getrlimit64): Likewise.
15198         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15199         Likewise.
15200         (__GI_getrlimit64): Likewise.
15201         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15203         (getrlimit): Add __getrlimit64 alias.
15204         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15205         Likewise.
15206         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15207         Remove variable.
15208         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15209         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15211 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15213         * libio/fileops.c: Add missing sys/mman.h
15214         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15216 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15218         * manual/math.texi (Errors in Math Functions): Clarify goals
15219         regarding inexact and underflow exceptions.
15221 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15223         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15224         * sysdeps/mips/memset.S: Ditto.
15226 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15228         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15230 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15232         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15233         (__v1longjmp): Remove versioned symbol.
15234         (__v1siglongjmp): Remove alias and versioned symbol.
15235         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15236         (__v2siglongjmp): Likewise.
15238 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15240         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15242 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15244         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15246 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15248         [BZ #17987]
15249         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15250         zero result does not depend on the sign resulting from
15251         subtraction.
15252         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15253         Likewise.
15254         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15255         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15256         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15257         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15258         * math/libm-test.inc (remquo_test_data): Add more tests.
15260 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15262         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15263         Problem reported by J William Piggott.
15265 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15267         [BZ #17978]
15268         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15269         products 4 * y and 2 * y where those would overflow.
15270         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15271         Likewise.
15272         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15273         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15274         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15275         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15276         * math/libm-test.inc (remquo_test_data): Add more tests.
15278         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15280         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15281         [defined _COMPILING_NEWLIB].
15282         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15283         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15285         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15286         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15288 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15290         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15291         acquired.
15293 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15295         [BZ #17792]
15296         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15297         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15298         HOST_STACK_END_ADDR): Likewise.
15300 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15302         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15303         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15304         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15306 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15308         * sysdeps/generic/c++-types.data: New file.
15309         * sysdeps/generic/ld.abilist: New file.
15310         * sysdeps/generic/libBrokenLocale.abilist: New file.
15311         * sysdeps/generic/libanl.abilist: New file.
15312         * sysdeps/generic/libc.abilist: New file.
15313         * sysdeps/generic/libcrypt.abilist: New file.
15314         * sysdeps/generic/libdl.abilist: New file.
15315         * sysdeps/generic/libm.abilist: New file.
15316         * sysdeps/generic/libpthread.abilist: New file.
15317         * sysdeps/generic/libresolv.abilist: New file.
15318         * sysdeps/generic/librt.abilist: New file.
15320 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15322         [BZ #17569]
15323         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15324         Compute absolute value of x as modified by fmod, not original
15325         value of x.
15326         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15327         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15328         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15329         RUN_TEST_ffI_f1_mod8.
15330         (remquo_test_data): Add more tests.
15332 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15334         * sysdeps/init_array/pt-crti.S: New file.
15336 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15338         [BZ #17967]
15339         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15340         __builtin_fmaf instead of relying on contraction of a * b + c.
15342 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15344         [BZ #17969]
15345         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15346         node.
15348 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15350         [BZ #17964]
15351         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15352         __builtin_fma instead of relying on contraction of a * b + c.
15354 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15356         * Makeconfig (ASFLAGS): Add -Werror=undef.
15357         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15358         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15359         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15361         * Makeconfig (after-link): New variable.
15362         (+link-pie, +link-pie-tests): Use it.
15363         (+link-static, +link-static-tests): Likewise.
15364         (+link, +link-tests): Likewise.
15365         * Makerules (build-module, build-module-asneeded): Likewise.
15366         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15367         Likewise.
15368         * elf/Makefile ($(objpfx)ld.so): Likewise.
15370 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15372         [BZ #17965]
15373         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15374         both struct timeval and struct timespec.
15376 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15378         [BZ #16560]
15379         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15380         and redefine.
15381         (__ieee754_exp2l): Do not multiply small fractional parts by
15382         M_LN2l.
15383         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15384         small argument.
15385         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15386         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15387         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15388         * math/auto-libm-test-in: Add more tests of exp2.
15389         * math/auto-libm-test-out: Regenerated.
15391 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15393         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15394         unaligned path.
15396 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15398         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15399         little endian.
15401 2015-02-12  Andreas Schwab  <schwab@suse.de>
15403         [BZ #15790]
15404         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15405         Filter out elision flags from value returned in kind.
15406         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15407         * nptl/tst-pthread-mutexattr.c: New file.
15409 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15411         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15412         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15413         into gnu-gnu, and update comment to refer to abi-tags.
15415 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15417         [BZ #15467]
15418         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15419         (__sincos): Set errno to EDOM for infinite argument.
15420         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15421         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15422         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15423         (__sincosl): Set errno to EDOM for infinite argument.
15424         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15425         (__sincosl): Set errno to EDOM for infinite argument.
15426         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15427         (__sincosl): Set errno to EDOM for infinite argument.
15428         * math/libm-test.inc (sincos_test_data): Test errno setting.
15430 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15432         * string/strxfrm_l.c: Remove #define STRCMP.
15433         * string/strcoll_l.c: Remove #define STRLEN.
15434         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15435         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15437 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15439         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15440         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15441         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15442         * sysdeps/mips/mips64/Makefile: ... here.
15443         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15444         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15445         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15446         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15447         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15448         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15449         * sysdeps/mips/mips64/n64/Implies: Likewise.
15451 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15453         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15454         <sys/time.h>, <string.h>, and <errno.h>.
15455         (dest_offset, dest_address, value, zero): Remove unused variables.
15456         (ldouble): Remove typedef.
15457         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15458         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15459         1).  Fix code style.
15460         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15461         (check): Function removed.
15462         (CHECK): New macro.
15463         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15464         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15465         Don't call set_sigaction_FP and remove_sigaction_FP here.
15466         (ldouble_test): Just use 'long double' as macro argument, no need for
15467         the 'ldouble' typedef.
15468         (do_test): Set up SIGFPE handler at start, using plain signal rather
15469         than sigaction.  Fix code style.
15471 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15473         [BZ #17949]
15474         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15475         jump label.
15477 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15479         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15480         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15482         * sysdeps/powerpc/configure.ac: Remove file.
15483         * sysdeps/powerpc/configure: Likewise.
15485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15486         [sysdep_routines]: Remove wordcopy-power6 object.
15487         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15488         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15489         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15490         (__memmove_ppc32): Likewise.
15491         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15492         file.
15493         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15495         Remove preprocessor.
15497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15498         [sysdep_routines]: Remove wide chars objects.
15499         [wcsmbs]: New rule for wide char objects.
15501         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15502         Remove wordcopy-power6 obejct.
15503         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15504         Use local call for wordcopy and memcpy symbols.
15505         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15506         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15507         implementation for loader.
15508         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15510         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15511         Remove wordcopy-power7 object.
15512         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15513         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15514         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15515         (_wordcopy_fwd_dest_aligned): Likewise.
15516         (_wordcopy_bwd_aligned): Likewise.
15517         (_wordcopy_bwd_dest_aligned): Likewise.
15519         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15520         Rewrite to call __memmove_ppc instead of include default
15521         implementation.
15523         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15524         Remove wide chars objects.
15525         [wcsmbs]: New rule for wide char objects.
15527 2015-02-09  Andreas Schwab  <schwab@suse.de>
15529         [BZ #17912]
15530         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15531         in terms of __O_DIRECTORY.
15533 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15535         * time/getdate.c: Include <stdbool.h>.
15536         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15537         call PTR_MANGLE.
15538         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15539         PTR_DEMANGLE.
15541 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15543         Add ersatz _Static_assert on older C hosts
15544         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15545         pre-C11 C platform that is not known to support _Static_assert.
15547 2015-02-07  Richard Braun  <rbraun@sceen.net>
15549         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15550         sigstate.
15551         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15553 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15555         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15556         priority against unexistent AIO_PRIO_DELTA_MAX.
15557         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15558         instead of int.
15559         * misc/fchflags.c (fchflags): Likewise.
15560         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15561         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15562         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15563         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15564         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15565         Declare macros.
15566         [__USE_MISC] (chflags, fchflags): Declare functions.
15567         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15568         EINVAL when nfds is greater than FD_SETSIZE.
15569         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15570         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15571         45.
15572         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15573         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15574         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15575         MACH_RCV_TIMED_OUT.
15576         * hurd/hurd/signal.h (_hurd_self_sigstate,
15577         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15578         Explicit casts from void *.
15579         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15580         * abi-tags: Rename gnu-gnu os into gnu.
15582         [BZ #4719]
15583         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15584         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15585         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15586         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15587         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15588         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15590         [BZ #17944]
15591         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15592         duplicates ADDR->sun_path with sockaddr LEN limitation.
15593         * sysdeps/mach/hurd/connect.c: Include <string.h>
15594         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15595         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15596         * sysdeps/mach/hurd/sendto.c: Likewise.
15597         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15598         implementing it by hand.
15600 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15602         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15603         Use sfi_breg on ldr.
15604         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15605         Likewise.
15607         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15608         it's defined.
15609         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15610         Test SIGSETXID only if it's defined.
15612         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15614         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15615         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15617         * nptl/tst-align2.c: Moved ...
15618         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15619         * nptl/Makefile (tests): Remove tst-align2.
15620         * sysdeps/unix/sysv/linux/Makefile
15621         [$(subdir) = nptl] (tests): Add tst-align-clone.
15622         * nptl/tst-getpid1.c: Moved ...
15623         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15624         * nptl/tst-getpid2.c: Moved ...
15625         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15626         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15627         * sysdeps/unix/sysv/linux/Makefile
15628         [$(subdir) = nptl] (tests): ... here.
15629         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15630         * sysdeps/unix/sysv/linux/Makefile
15631         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15633         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15634         Drop trailing \n from perror argument.  Use return rather than exit.
15636         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15637         on [SA_SIGINFO].
15638         * nptl/tst-cancel21.c (do_test): Likewise.
15639         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15640         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15641         [!SA_SIGINFO]: Make it a stub test.
15643         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15644         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15646         * posix/tst-getlogin.c: Move to ...
15647         * login/tst-getlogin.c: ... here.
15648         * posix/Makefile (tests): Move tst-getlogin to ...
15649         * login/Makefile (tests): ... here.
15651         * libio/tst-atime.c (do_test): Move local variables SV and E
15652         inside [ST_NOATIME] conditional.
15654         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15656         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15658         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15659         (wait_code): New function replaces macro.
15660         Call nanosleep rather than syscall.
15662         * nptl/pt-system.c: Rewritten.  Put everything under
15663         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15664         Use IFUNC to redirect when possible.
15666         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15667         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15668         Use IFUNC to redirect when possible.
15670         * nptl/pt-fork.c: Rewritten.  Put everything under
15671         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15672         Use IFUNC to redirect when possible.
15673         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15675         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15676         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15677         unconditionally nowadays.  This included the only reference to
15678         __vdso_clock_gettime that appears outside libc proper.
15679         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15680         Remove version set (containing only __vdso_clock_gettime).
15681         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15682         Add attribute_hidden.
15683         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15684         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15685         libc_hidden_data_def.
15686         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15687         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15689         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15690         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15691         setrpcent, and getrpcport to ...
15692         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15693         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15694         getrpcbynumber_r, and getrpcent_r to ...
15695         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15696         * inet/getrpcbyname.c: Moved ...
15697         * sunrpc/getrpcbyname.c: ... here.
15698         * inet/getrpcbyname_r.c: Moved ...
15699         * sunrpc/getrpcbyname_r.c: ... here.
15700         * inet/getrpcbynumber.c: Moved ...
15701         * sunrpc/getrpcbynumber.c: ... here.
15702         * inet/getrpcbynumber_r.c: Moved ...
15703         * sunrpc/getrpcbynumber_r.c: ... here.
15704         * inet/getrpcent.c: Moved ...
15705         * sunrpc/getrpcent.c: ... here.
15706         * inet/getrpcent_r.c: Moved ...
15707         * sunrpc/getrpcent_r.c: ... here.
15708         * inet/Makefile (routines): Move those to ...
15709         * sunrpc/Makefile (routines): ... here.
15710         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15711         the $(subdirs) list.
15712         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15713         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15714         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15715         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15717         * elf/Makefile (routines): Include $(all-dl-routines), not just
15718         $(dl-routines).
15719         (rtld-routines): Likewise.  Use = rather than :=.
15720         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15721         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15722         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15723         * sysdeps/arm/Makefile: Likewise.
15724         * sysdeps/i386/Makefile: Likewise.
15725         * sysdeps/x86_64/Makefile: Likewise.
15726         * sysdeps/hppa/Makefile [$(subdir) = elf]
15727         (sysdep_routines, sysdep-rtld-routines): Don't add
15728         $(sysdep-dl-routines) to these.
15729         * sysdeps/ia64/Makefile: Likewise.
15730         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15731         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15732         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15733         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15734         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15735         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15736         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15737         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15738         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15739         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15740         these; sysdep-dl-routines alone is enough.
15742 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15744         [BZ #17932]
15745         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15746         where multiplication results in zero and third argument is finite
15747         and nonzero.
15748         * math/auto-libm-test-in: Add more tests of fma.
15749         * math/auto-libm-test-out: Regenerated.
15751         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15752         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15753         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15754         (_FP_CMP_EQ): Likewise.
15755         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15757         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15758         extra argument CHECK_NAN.  Redefine as wrapper around
15759         _FP_EXTEND_CNAN.
15761 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15763         * version.h (RELEASE): Set to "stable".
15764         (VERSION): Set to "2.21"
15765         * include/features.h (__GLIBC_MINOR__): Set to 21.
15767         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15769 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15770             Paul Eggert  <eggert@cs.ucla.edu>
15772         [BZ #16618]
15773         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15774         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15775         size in bytes. Store needed elements in wpmax. Use needed size
15776         in bytes for extend_alloca.
15778 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15780         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15781         binutls 2.25, and texinfo 5.2.
15782         * INSTALL: Regenerate.
15783         * sysdeps/nios2/configure: Regenerate.
15784         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15785         * manual/contrib.texi: Update.
15786         * po/be.po: Update.
15787         * po/bg.po: Update.
15788         * po/ca.po: Update.
15789         * po/cs.po: Update.
15790         * po/da.po: Update.
15791         * po/de.po: Update.
15792         * po/el.po: Update.
15793         * po/eo.po: Update.
15794         * po/es.po: Update.
15795         * po/fi.po: Update.
15796         * po/fr.po: Update.
15797         * po/gl.po: Update.
15798         * po/hr.po: Update.
15799         * po/hu.po: Update.
15800         * po/ia.po: Update.
15801         * po/id.po: Update.
15802         * po/it.po: Update.
15803         * po/ja.po: Update.
15804         * po/ko.po: Update.
15805         * po/lt.po: Update.
15806         * po/nb.po: Update.
15807         * po/nl.po: Update.
15808         * po/pl.po: Update.
15809         * po/pt_BR.po: Update.
15810         * po/ru.po: Update.
15811         * po/rw.po: Update.
15812         * po/sk.po: Update.
15813         * po/sl.po: Update.
15814         * po/sv.po: Update.
15815         * po/tr.po: Update.
15816         * po/uk.po: Update.
15817         * po/vi.po: Update.
15818         * po/zh_CN.po: Update.
15819         * po/zh_TW.po: Update.
15821         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15822         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15823         * sysdeps/hppa/dl-irel.h: Remove #warning.
15824         * sysdeps/hppa/entry.h: Provide prototype for
15825         __canonicalize_funcptr_for_compare and cast argument.
15826         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15827         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15828         * sysdeps/hppa/sotruss-lib.c: New file.
15829         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15830         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15831         (atomic_compare_and_exchange_bool_acq): Likewise.
15832         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15833         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15835         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15836         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15837         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15839 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15841         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15842         called function in non-PIC case.
15844 2015-01-31  David S. Miller  <davem@davemloft.net>
15846         * sysdeps/sparc/sparc32/bits/atomic.h
15847         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15848         unlock not after it.
15849         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15850         volatile register usage warnings from the compiler.
15852         * sysdeps/sparc/nptl/sem_init.c: Delete.
15853         * sysdeps/sparc/nptl/sem_post.c: Delete.
15854         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15855         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15856         * sysdeps/sparc/sparc32/sem_init.c: New file.
15857         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15858         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15859         padding explicitly initialized.
15860         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15861         padding for in-semaphore spinlock.
15862         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15863         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15864         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15865         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15866         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15867         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15868         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15869         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15870         version.
15871         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15872         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15874 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15876         [BZ #17801]
15877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15878         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15879         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15880         New.
15881         (index_AVX_Fast_Unaligned_Load): Likewise.
15882         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15883         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15884         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15885         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15886         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15887         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15888         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15889         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15890         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15892 2015-01-29  Andreas Schwab  <schwab@suse.de>
15894         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15896 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15898         [BZ #17892]
15899         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15901 2015-01-28  Martin Sebor  <msebor@redhat.com>
15903         * math/README.libm-test: Clarify. Add "How to read the test output."
15905 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15907         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15908         Define to 0.
15910 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15912         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15913         (__HAVE_64B_ATOMICS): Define to 0.
15915 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15917         [BZ #17885]
15918         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15919         value to set as new flag.
15921         [BZ #16576]
15922         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15923         and use _ARCH_PPCSQ instead.
15924         (__ieee754_sqrt): Likewise.
15925         (__ieee754_sqrtf): Likewise.
15926         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15927         _ARCH_PPCSQ is defined.
15928         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15929         fsqrt instruction.
15930         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15931         _ARCH_PPCSQ is defined.
15932         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15933         fsqrts instruction.
15934         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15936 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15938         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15939         bug (GCC BZ #64739).
15941 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15943         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15944         Mark _retval as used.
15945         (lll_futex_wake_unlock): Likewise.
15946         (lll_futex_timed_wait_requeue_pi): Likewise.
15948         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15949         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15950         register variables.
15952         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15953         libm_hidden_def.
15955         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15956         (__bswap_64): Mark as __always_inline.
15958 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15960         [BZ #15378]
15961         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15962         when none of the search directories exist.
15964 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15966         [BZ #17869]
15967         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15968         power8 in .machine directive.
15970         [BZ #17868]
15971         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15972         set dependency from opd value.
15974 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15976         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15977         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15978         architecture.
15980 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15982         [BZ #17870]
15983         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15984         with uint64_t.
15985         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15986         (uint64_t) 1.
15987         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15988         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15989         Replace 1UL with (uint64_t) 1.
15990         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15991         int with uint64_t.
15993 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15995         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15996         (if_freenameindex): Likewise.
15998         * resource/getrlimit64.c: Add missing libc_hidden_def.
16000 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16002         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16003         __label__.
16004         (_FP_FMA): Likewise.
16005         (_FP_TO_INT_ROUND): Likewise.
16006         (_FP_FROM_INT): Likewise.
16008 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16010         [BZ #16418]
16011         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16012         Make code racy and cancel safe.
16014 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16016         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16017         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16018         attribution.
16020         * pwd/tst-getpw.c: Rewrite.
16022         [BZ #17702]
16023         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16024         (modules-names): Add moddummy1 and moddummy2.
16025         ($(objpfx)tst-rec-dlopen): Define.
16026         * dlfcn/moddummy1.c: New file.
16027         * dlfcn/moddummy2.c: New file.
16028         * dlfcn/tst-rec-dlopen.c: New file.
16029         * elf/dl-cache.c (_dl_load_cache_lookup):
16030         Return char*. Copy result with alloca/strcpy/strdup.
16031         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16032         returns char*. Free cached. If not saving realname
16033         free cached.
16034         * elf/dl-open.c (dl_open_worker): Do not assert that
16035         _r_debug->r_state is RT_CONSISTENT.
16036         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16037         returns char*.
16039 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16040             Carlos O'Donell  <carlos@redhat.com>
16042         [BZ #12674]
16043         * nptl/sem_waitcommon.c: New file.
16044         * nptl/sem_wait.c: Include sem_waitcommon.c.
16045         (__sem_wait_cleanup, do_futex_wait): Remove.
16046         (__new_sem_wait): Adapt.
16047         (__new_sem_trywait): New function.
16048         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16049         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16050         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16051         (sem_timedwait): Adapt.
16052         * nptl/sem_post.c (__new_sem_post): Adapt.
16053         (futex_wake): New function.
16054         (__old_sem_post): Add release MO fence.
16055         * nptl/sem_open.c (sem_open): Adapt.
16056         * nptl/sem_init.c (__new_sem_init): Adapt.
16057         (futex_private_if_supported): New function.
16058         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16059         (__old_sem_getvalue): Add using previous code.
16060         * sysdeps/nptl/internaltypes.h: Adapt.
16061         * nptl/tst-sem13.c (do_test): Adapt.
16062         * nptl/tst-sem11.c (main): Adapt.
16063         * nptl/sem_trywait.c: Remove.
16064         * nptl/DESIGN-sem.txt: Remove.
16065         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16066         (gen-as-const-headers): Remove structsem.sym.
16067         * nptl/structsem.sym: Remove.
16068         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16069         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16070         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16071         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16072         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16073         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16074         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16075         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16076         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16077         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16078         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16079         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16080         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16081         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16082         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16083         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16084         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16085         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16086         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16087         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16088         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16089         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16091 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16093         * INSTALL: Regenerated.
16095         * po/libc.pot: Regenerated.
16097 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16098             Sandra Loosemore  <sandra@codesourcery.com>
16099             Andrew Jenner  <andrew@codesourcery.com>
16100             Joseph Myers  <joseph@codesourcery.com>
16101             Nathan Sidwell  <nathan@codesourcery.com>
16103         * NEWS: Mention new Nios II port.
16104         * sysdeps/nios2/Implies: New file.
16105         * sysdeps/nios2/Makefile: New file.
16106         * sysdeps/nios2/Subdirs: New file.
16107         * sysdeps/nios2/Versions: New file.
16108         * sysdeps/nios2/__longjmp.S: New file.
16109         * sysdeps/nios2/abort-instr.h: New file.
16110         * sysdeps/nios2/backtrace.c: New file.
16111         * sysdeps/nios2/bits/endian.h: New file.
16112         * sysdeps/nios2/bits/fenv.h: New file.
16113         * sysdeps/nios2/bits/link.h: New file.
16114         * sysdeps/nios2/bits/setjmp.h: New file.
16115         * sysdeps/nios2/bsd-_setjmp.S: New file.
16116         * sysdeps/nios2/bsd-setjmp.S: New file.
16117         * sysdeps/nios2/configure: New generated file.
16118         * sysdeps/nios2/configure.ac: New file.
16119         * sysdeps/nios2/crti.S: New file.
16120         * sysdeps/nios2/crtn.S: New file.
16121         * sysdeps/nios2/dl-init.c: New file.
16122         * sysdeps/nios2/dl-machine.h: New file.
16123         * sysdeps/nios2/dl-sysdep.h: New file.
16124         * sysdeps/nios2/dl-tls.h: New file.
16125         * sysdeps/nios2/dl-trampoline.S: New file.
16126         * sysdeps/nios2/gccframe.h: New file.
16127         * sysdeps/nios2/gmp-mparam.h: New file.
16128         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16129         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16130         * sysdeps/nios2/ldsodefs.h: New file.
16131         * sysdeps/nios2/libc-tls.c: New file.
16132         * sysdeps/nios2/libm-test-ulps: New file.
16133         * sysdeps/nios2/machine-gmon.h: New file.
16134         * sysdeps/nios2/math-tests.h: New file.
16135         * sysdeps/nios2/math_private.h: New file.
16136         * sysdeps/nios2/memusage.h: New file.
16137         * sysdeps/nios2/nptl/Makefile: New file.
16138         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16139         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16140         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16141         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16142         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16143         * sysdeps/nios2/nptl/tls.h: New file.
16144         * sysdeps/nios2/preconfigure: New file.
16145         * sysdeps/nios2/s_fma.c: New file.
16146         * sysdeps/nios2/s_fmaf.c: New file.
16147         * sysdeps/nios2/setjmp.S: New file.
16148         * sysdeps/nios2/sfp-machine.h: New file.
16149         * sysdeps/nios2/sotruss-lib.c: New file.
16150         * sysdeps/nios2/stackguard-macros.h: New file.
16151         * sysdeps/nios2/stackinfo.h: New file.
16152         * sysdeps/nios2/start.S: New file.
16153         * sysdeps/nios2/sysdep.h: New file.
16154         * sysdeps/nios2/tls-macros.h: New file.
16155         * sysdeps/nios2/tst-audit.h: New file.
16156         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16157         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16158         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16159         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16160         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16161         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16162         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16163         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16164         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16165         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16166         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16167         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16168         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16169         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16170         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16171         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16172         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16173         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16174         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16175         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16176         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16177         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16178         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16179         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16180         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16181         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16182         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16183         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16184         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16185         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16186         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16187         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16188         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16189         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16190         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16191         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16192         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16193         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16194         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16195         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16196         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16197         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16198         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16199         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16201 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16203         [BZ #17844]
16204         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16205         (getutent): Use weak_alias in non SHARED case
16206         and default_symbol_version in SHARED case.
16207         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16208         (getutent_r, pututline): Likewise.
16209         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16210         (getutid): Likewise.
16211         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16212         (getutid_r): Likewise.
16213         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16214         (getutline): Likewise.
16215         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16216         (getutline_r): Likewise.
16217         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16218         (updwtmp): Likewise.
16220 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16222         [BZ #17848]
16223         * sysdeps/s390/s390-32/memcmp.S
16224         (memcmp_g5): Rename to __memcmp_g5.
16225         * sysdeps/s390/s390-32/memcpy.S
16226         (memcpy_g5): Rename to __memcpy_g5.
16227         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16228         (memcpy_mvcle) Rename to __memcpy_mvcle.
16229         * sysdeps/s390/s390-32/memset.S
16230         (memset_g5): Rename to __memset_g5.
16231         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16232         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16233         and use prefixed functions.
16234         * sysdeps/s390/s390-32/multiarch/memcmp.S
16235         (memcmp_z196): Rename to __memcmp_z196.
16236         (memcmp_z10): Rename to __memcmp_z10.
16237         (memcmp): Set alias to __memcmp_g5.
16238         (bcmp): Set alias to __memcmp_g5.
16239         * sysdeps/s390/s390-32/multiarch/memcpy.S
16240         (memcpy_z196): Rename to __memcpy_z196.
16241         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16242         (memcpy_z10): Rename to __memcpy_z10.
16243         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16244         (memcpy): Set alias to __memcpy_g5.
16245         * sysdeps/s390/s390-32/multiarch/memset.S
16246         (memset_z196): Rename to __memset_z196.
16247         Jump to __memset_mvcle instead of memset_mvcle.
16248         (memset_z10): Rename to __memset_z10.
16249         Jump to __memset_mvcle instead of memset_mvcle.
16250         (memset_mvcle) Rename to __memset_mvcle.
16251         (memset): Set alias to __memset_g5.
16252         * sysdeps/s390/s390-64/memcmp.S
16253         (memcmp_z900): Rename to __memcmp_z900.
16254         * sysdeps/s390/s390-64/memcpy.S
16255         (memcpy_z900): Rename to __memcpy_z900.
16256         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16257         (memcpy_mvcle) Rename to __memcpy_mvcle.
16258         * sysdeps/s390/s390-64/memset.S
16259         (memset_z900): Rename to __memset_z900.
16260         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16261         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16262         and use prefixed functions.
16263         * sysdeps/s390/s390-64/multiarch/memcmp.S
16264         (memcmp_z196): Rename to __memcmp_z196.
16265         (memcmp_z10): Rename to __memcmp_z10.
16266         (memcmp): Set alias to __memcmp_z900.
16267         (bcmp): Set alias to __memcmp_z900.
16268         * sysdeps/s390/s390-64/multiarch/memcpy.S
16269         (memcpy_z196): Rename to __memcpy_z196.
16270         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16271         (memcpy_z10): Rename to __memcpy_z10.
16272         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16273         (memcpy): Set alias to __memcpy_z900.
16274         * sysdeps/s390/s390-64/multiarch/memset.S
16275         (memset_z196): Rename to __memset_z196.
16276         Jump to __memset_mvcle instead of memset_mvcle.
16277         (memset_z10): Rename to __memset_z10.
16278         Jump to __memset_mvcle instead of memset_mvcle.
16279         (memset_mvcle) Rename to __memset_mvcle.
16280         (memset): Set alias to __memset_z900.
16282 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16284         [BZ #17748]
16285         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16286         __fesetenv instead of fesetenv.
16288 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16290         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16291         macro.
16293 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16295         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16296         regression on LE.
16298         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16299         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16300         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16301         strncmp-power8 object.
16302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16303         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16304         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16305         * NEWS: Update.
16307 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16308             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16310         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16311         trailing byte check.
16313 2015-01-13  David S. Miller  <davem@davemloft.net>
16315         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16317 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16319         * login/logout.c (logout): Use memset rather than bzero.
16320         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16321         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16322         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16323         (_gethtbyaddr): Likewise.
16324         * locale/programs/simple-hash.c (bcopy): Macro removed.
16326 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16328         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16329         Add strcmp-power8 object.
16330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16331         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16332         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16333         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16334         __strcmp_power8 implementation.
16335         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16336         * NEWS: Update.
16338         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16339         Add strncpy-power8 and stpncpy-power8 objects.
16340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16341         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16342         implementations.
16343         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16344         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16345         __stpncpy_power8 implementation.
16346         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16347         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16348         __strncpy_power8 implementation.
16349         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16350         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16351         * NEWS: Update.
16353         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16354         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16355         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16357         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16358         strncat-power8 object.
16359         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16360         __strcat_power8 implementation.
16361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16362         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16363         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16364         optimized strcat for power8.
16366         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16367         strcpy-power8 and stpcpy-power8 objects.
16368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16369         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16370         implementations.
16371         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16372         multiarch stpcpy implementation for POWER8.
16373         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16374         multiarch strcpy implementation for POWER8.
16375         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16376         __strcpy_power8 function.
16377         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16378         stpcpy for POWER8.
16379         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16380         strcpy for POWER8.
16381         * NEWS: Update.
16383 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16385         [BZ #16009]
16386         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16387         weights and rules. Use do_xfrm_cached if data fits in cache,
16388         do_xfrm otherwise.  Moved former main loop to...
16389         * (do_xfrm_cached): New function.
16390         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16391         find_idx, find_position and stack_push.
16392         * (find_idx): New function.
16393         * (find_position): Likewise.
16394         * localedata/sort-test.sh: Added test run for do_xfrm.
16395         * localedata/xfrm-test.c (main): Added command line option
16396         -nocache to run the test with strings that are too large for
16397         the STRXFRM cache.
16399 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16401         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16402         variable to lll_futex_wake call, not the value itself.
16404 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16406         [BZ #17803]
16407         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16408         twom64.  Adjust value to 0x1p-64L.
16409         (__scalblnl): Only return standard underflowing result for K <=
16410         -64 not K <= -63; adjust exponent for underflowing result by 64
16411         not 63.
16412         * math/libm-test.inc (scalbn_test_data): Add more tests.
16413         (scalbln_test_data): Likewise.
16415         [BZ #17834]
16416         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16417         0x1p63L.
16418         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16419         not HX.
16420         * math/libm-test.inc (scalbn_test_data): Add more tests.
16421         (scalbln_test_data): Likewise.
16423 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16424             Stefani Seibold  <stefani@seibold.net>
16426         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16427         (sysdep_routines): Add dl-vdso here, ...
16428         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16429         (sysdep_routines): ... not here.
16430         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16431         fallback when vDSO is not presented.
16432         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16433         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16434         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16435         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16436         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16437         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16438         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16439         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16440         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16441         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16442         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16443         fallback configurable symbol when vDSO is not available.
16444         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16445         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16446         be able to redefine fallback symbol when vDSO is not available.
16447         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16448         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16450 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16452         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16453         (TLS_INIT_TP): Add tm_capable initialization.
16454         (TLS_DEFINE_INIT_TP): Likewise.
16455         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16456         TCB.
16457         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16458         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16459         calculation.
16460         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16461         transactoion is lock elision is built and TCB tm_capable is set.
16462         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16464         (INTERNAL_SYSCALL_NCS): Likewise.
16465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16466         (INTERNAL_SYSCALL_NCS): Likewise.
16467         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16469         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16470         for powerpc.
16471         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16472         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16473         and remove it for 32 bits case.
16474         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16475         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16476         initialization.
16477         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16478         Disable lock elision with rdlocks if elision is not available.
16480         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16481         (sysdep_routines): Add lock elision objects.
16482         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16483         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16484         [pthread_mutex_t] (__elision): Add field.
16485         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16486         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16487         elision definitions for powerpc.
16488         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16489         implementation of lock elision for powerpc.
16490         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16491         implementation of timed lock elision for powerpc.
16492         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16493         implementation of trylock with lock elision for powerpc.
16494         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16495         implementaion of unlock for lock elision for powerpc.
16496         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16497         automatic enable lock elision for mutexes.
16498         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16499         transaction execution definitions for powerpc.
16500         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16501         definitions.
16502         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16503         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16504         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16505         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16506         * NEWS: Update.
16508 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16510         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16511         for #include of <shm-directory.h>.
16513 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16515         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16516         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16518 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16520         [BZ #17791]
16521         * NEWS: Mention bug fix.
16522         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16523         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16524         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16526 2015-01-09  Torvald Riegel <triegel@redhat.com>
16528         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16530 2015-01-09  Torvald Riegel <triegel@redhat.com>
16532         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16534 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16536         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16537         pointer and cast to uintptr_t.
16539 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16541         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16542         removed.
16543         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16545 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16547         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16548         of 0.
16550 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16552         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16553         <nptl/pthreadP.h> instead.
16554         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16556         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16557         already defined.
16558         [__SIGRTMIN] (init): Function removed.
16559         [__SIGRTMIN] (initialized): Variable removed.
16560         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16561         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16562         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16563         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16564         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16565         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16566         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16567         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16568         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16569         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16570         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16571         * sysdeps/nptl/allocrtsig.c: New file.
16572         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16573         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16574         * sysdeps/generic/testrtsig.h: File removed.
16576         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16577         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16579         * nptl/nptl-init.c (pthread_functions): Conditionalize
16580         .ptr__nptl_setxid initialization on [SIGSETXID].
16582         * sysdeps/nptl/sys/procfs.h: New file.
16583         * nptl_db/Makefile (headers): Add it.
16584         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16586         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16587         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16588         * nptl/pthread_attr_setaffinity.c: Include it.
16589         * nptl/pthread_setattr_default_np.c: Likewise.
16590         * nptl/check-cpuset.h: New file.
16592 2015-01-08  Richard Henderson  <rth@redhat.com>
16594         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16595         (CFLAGS-tst-execstack-prog.c): Likewise.
16596         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16598 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16599             Sandra Loosemore  <sandra@codesourcery.com>
16600             Andrew Jenner  <andrew@codesourcery.com>
16601             Joseph Myers  <joseph@codesourcery.com>
16602             Nathan Sidwell  <nathan@codesourcery.com>
16604         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16605         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16606         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16607         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16608         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16609         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16610         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16611         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16612         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16613         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16614         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16615         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16616         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16617         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16618         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16619         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16620         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16622 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16624         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16625         timespec struct member in syscall macro.
16626         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16627         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16628         first timeval struct member in syscall macro.
16629         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16631 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16633         [BZ #17748]
16634         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16635         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16636         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16637         __feupdateenv and define as weak alias of __feupdateenv.  Use
16638         libm_hidden_weak.
16639         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16640         libm_hidden_def.
16641         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16642         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16643         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16644         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16645         libm_hidden_def.
16646         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16647         __feupdateenv and define as weak alias of __feupdateenv.  Use
16648         libm_hidden_weak.
16649         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16650         libm_hidden_def.
16651         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16652         __feupdateenv and define as weak alias of __feupdateenv.  Use
16653         libm_hidden_weak.
16654         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16655         libm_hidden_def.
16656         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16657         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16658         (__feupdateenv): Likewise.
16659         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16660         __feupdateenv and define as weak alias of __feupdateenv.  Use
16661         libm_hidden_weak.
16662         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16663         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16664         libm_hidden_def.
16665         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16666         function.
16667         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16668         libm_hidden_def.
16669         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16670         __feupdateenv instead of feupdateenv.
16671         (default_libc_feupdateenv_test): Likewise.
16672         (libc_feresetround_ctx): Likewise.
16674 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16676         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16677         prototype.
16679 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16681         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16682         COLL_SYM in a couple of places to avoid uninitialized variable
16683         wanings on tilegx gcc 4.8.2.
16685 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16687         * sysdeps/aarch64/strcpy.S: New file.
16688         * sysdeps/aarch64/stpcpy.S: New file.
16689         * NEWS: Updated.
16691 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16693         * sysdeps/aarch64/strrchr.S: New file.
16694         * NEWS: Updated.
16696 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16698         [BZ #17658]
16699         * stdlib/setenv.c: Fix memory leak when setting large,
16700         duplicate string.
16702 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16704         [BZ #17273]
16705         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16706         and tabs from buffer before parsing fstab entry.
16707         * misc/tst-mntent.c (main): Add test for mount entry with
16708         trailing spaces and tabs.
16710 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16712         [BZ #17748]
16713         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16714         * math/fesetround.c (fesetround): Rename to __fesetround and
16715         define as weak alias of __fesetround.  Use libm_hidden_weak.
16716         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16717         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16718         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16719         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16720         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16721         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16722         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16723         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16724         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16725         __fesetround_inline.
16726         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16727         __fesetround_inline instead of __fesetround.
16728         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16729         __fesetround and define as weak alias of __fesetround.  Use
16730         libm_hidden_weak.  Call __fesetround_inline instead of
16731         __fesetround.
16732         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16733         __fesetround and define as weak alias of __fesetround.  Use
16734         libm_hidden_weak.
16735         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16736         Likewise.
16737         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16738         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16739         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16740         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16741         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16742         __fesetround and define as weak alias of __fesetround.  Use
16743         libm_hidden_weak.
16744         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16745         __fesetround instead of fesetround.
16746         (default_libc_feholdexcept_setround): Likewise.
16747         (libc_feholdsetround_ctx): Likewise.
16748         (libc_feholdsetround_noex_ctx): Likewise.
16750         [BZ #17748]
16751         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16752         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16753         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16754         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16755         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16756         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16757         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16758         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16759         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16760         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16761         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16762         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16763         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16764         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16765         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16766         libm_hidden_def.
16767         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16768         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16769         Likewise.
16770         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16771         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16772         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16773         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16774         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16775         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16776         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16777         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16778         __fesetenv instead of fesetenv.
16779         (libc_feresetround_noex_ctx): Likewise.
16780         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16781         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16782         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16783         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16784         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16785         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16786         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16787         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16788         (__feupdateenv): Likewise.
16789         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16790         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16791         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16792         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16794 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16796         [BZ #17806]
16797         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16798         addresses have been freed.
16800 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16802         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16803         and nservall.
16805 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16807         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16808         Clean up check_pf allocation pattern. addresses
16810 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16812         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16813         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16814         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16815         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16816         * nptl/pthread_join.c (pthread_join): Likewise.
16817         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16818         * sysdeps/posix/waitid.c (__waitid): Likewise.
16819         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16820         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16821         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16822         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16823         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16824         Likewise.
16825         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16826         (__libc_pread64): Likewise.
16827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16828         (__libc_pwrite): Likewise.
16829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16830         (__libc_pwrite64): Likewsie.
16831         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16832         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16833         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16834         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16835         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16836         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16837         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16839         Likewise.
16840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16841         (__libc_pread64): Likewise.
16842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16843         Likewise.
16844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16845         (__libc_pwrite64): Likewise.
16846         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16847         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16848         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16849         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16850         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16851         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16852         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16853         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16854         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16855         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16856         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16857         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16858         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16859         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16860         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16861         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16862         Likewise.
16864 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16866         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16867         (CFLAGS-test-double.c): Likewise.
16868         (CFLAGS-test-ldouble.c): Likewise.
16869         (CPPFLAGS-test-ifloat.c): Likewise.
16870         (CPPFLAGS-test-idouble.c): Likewise.
16871         (CPPFLAGS-test-ildoubl.c): Likewise.
16872         (CFLAGS-test-test-fenv.c): Remove variable.
16873         (CFLAGS-test-misc.c): Likewise.
16875 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16877         [BZ #17797]
16878         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16879         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16880         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16881         CLOCKS_PER_SEC == 1000000.
16882         * time/clocktest.c (main): Replace %ld with %jd and cast to
16883         intmax_t.
16885 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16887         * sysdeps/generic/unwind-resume.h: New file.
16888         * sysdeps/gnu/unwind-resume.c: Include it.
16889         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16890         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16891         argument list.
16892         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16893         global rather than static.
16894         (_Unwind_Resume): Update user.
16895         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16896         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16897         rather than static.  Add __attribute__ ((cold)).
16898         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16899         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16900         * sysdeps/arm/arm-unwind-resume.S: New file.
16901         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16902         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16903         * sysdeps/arm/Makefile [$(subdir) = csu]
16904         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16905         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16906         Add rt-arm-unwind-resume.
16907         [$(subdir) = nptl]
16908         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16909         Add pt-arm-unwind-resume.
16910         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16911         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16913 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16915         [BZ #17748]
16916         * include/fenv.h (__feholdexcept): Declare.  Use
16917         libm_hidden_proto.
16918         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16919         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16920         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16921         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16922         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16923         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16924         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16925         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16926         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16927         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16928         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16929         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16930         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16931         (feholdexcept): Likewise.
16932         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16933         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16934         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16935         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16936         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16937         __feholdexcept instead of feholdexcept.
16938         (default_libc_feholdexcept_setround): Likewise.
16940 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16942         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16943         to avoid using stl/str to align destination.
16945 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16947         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16949 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16951         [BZ #17796]
16952         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16953         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16954         Define as weak alias not strong alias.
16956 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16958         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16959         bltzal with addiupc.
16960         (RTLD_START): Ditto.
16962 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16964         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16965         for __vdso_* functions in declarations.
16966         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16967         definitions.
16968         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16969         INTERNAL_VSYSCALL): Use struct return types to check for error.
16971         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16972         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16973         function with cast from llround().
16974         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16975         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16976         Define.
16978 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16980         [BZ #17793]
16981         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16982         Define as weak alias not strong alias.
16984         [BZ #17635]
16985         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16986         ...
16987         * ctype/ctype-extn.c: ... here.
16988         (__isblank_l): Move to ...
16989         * ctype/ctype-c99_l.c: ... here.  New file.
16990         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16991         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16992         Remove variable.
16993         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16994         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16995         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16996         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16997         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16999         [BZ #17777]
17000         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17001         (posix_fadvise64): Define as weak alias not strong alias.
17002         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17003         (posix_fallocate64): Likewise.
17004         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17005         Remove variable.
17006         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17007         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17008         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17009         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17010         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17012 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17014         [BZ #16191]
17015         * NEWS: Mention bug fix.
17016         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17017         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17018         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17019         (HOST_STACK_END_ADDR): Likewise.
17021 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17023         [BZ #17748]
17024         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17025         * math/fegetround.c (fegetround): Rename to __fegetround and
17026         define as weak alias of __fegetround.  Use libm_hidden_weak.
17027         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17028         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17029         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17030         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17031         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17032         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17033         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17034         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17035         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17036         Undefine after rather than before function definition; use
17037         parentheses around function name in definition.
17038         (__fegetround): Also undefine macro after function definition.
17039         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17040         __fegetround and define as weak alias of __fegetround.  Use
17041         libm_hidden_weak.  Do not undefine as macro.
17042         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17043         Likewise.
17044         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17045         __fegetround and define as weak alias of __fegetround.  Use
17046         libm_hidden_weak.
17047         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17048         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17049         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17050         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17051         __fegetround and define as weak alias of __fegetround.  Use
17052         libm_hidden_weak.
17053         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17054         __fegetround instead of fegetround.
17056         [BZ #17782]
17057         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17058         Condition macro definition on [__USE_MISC].
17060         [BZ #17781]
17061         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17062         (struct sigaction): Change type of sa_flags field to int.
17064         [BZ #17780]
17065         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17066         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17067         __glibc_reserved0.
17069         * nptl/version.c (banner): Use single year in copyright notice.
17071         * NEWS: Update copyright dates.
17072         * catgets/gencat.c (print_version): Likewise.
17073         * csu/version.c (banner): Likewise.
17074         * debug/catchsegv.sh: Likewise.
17075         * debug/pcprofiledump.c (print_version): Likewise.
17076         * debug/xtrace.sh (do_version): Likewise.
17077         * elf/ldconfig.c (print_version): Likewise.
17078         * elf/ldd.bash.in: Likewise.
17079         * elf/pldd.c (print_version): Likewise.
17080         * elf/sotruss.sh: Likewise.
17081         * elf/sprof.c (print_version): Likewise.
17082         * iconv/iconv_prog.c (print_version): Likewise.
17083         * iconv/iconvconfig.c (print_version): Likewise.
17084         * locale/programs/locale.c (print_version): Likewise.
17085         * locale/programs/localedef.c (print_version): Likewise.
17086         * login/programs/pt_chown.c (print_version): Likewise.
17087         * malloc/memusage.sh (do_version): Likewise.
17088         * malloc/memusagestat.c (print_version): Likewise.
17089         * malloc/mtrace.pl: Likewise.
17090         * manual/libc.texinfo: Likewise.
17091         * nptl/version.c (banner): Likewise.
17092         * nscd/nscd.c (print_version): Likewise.
17093         * nss/getent.c (print_version): Likewise.
17094         * nss/makedb.c (print_version): Likewise.
17095         * posix/getconf.c (main): Likewise.
17096         * scripts/test-installation.pl: Likewise.
17097         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17099 2015-01-02  Will Newton  <will.newton@linaro.org>
17101         * sysdeps/arm/armv7/configure: Removed.
17102         * sysdeps/arm/armv7/configure.ac: Likewise.
17104 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17106         * All files with FSF copyright notices: Update copyright dates
17107         using scripts/update-copyrights.
17108         * intl/plural.c: Regenerated.
17109         * locale/programs/charmap-kw.h: Likewise.
17110         * locale/programs/locfile-kw.h: Likewise.
17112 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17114         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17116 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17118         [BZ #17748]
17119         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17120         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17121         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17122         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17123         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17124         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17125         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17126         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17127         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17128         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17129         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17130         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17131         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17132         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17133         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17134         libm_hidden_def.
17135         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17136         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17137         Likewise.
17138         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17139         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17140         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17141         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17142         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17143         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17144         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17145         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17146         __fegetenv instead of fegetenv.
17147         (libc_feholdsetround_noex_ctx): Likewise.
17149 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17151         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17152         (Elf_MIPS_ABIFlags_v0): New structure.
17153         (EF_MIPS_FP64): Define.
17154         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17155         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17156         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17157         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17158         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17159         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17160         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17161         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17162         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17163         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17164         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17165         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17166         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17167         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17168         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17169         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17170         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17171         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17172         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17173         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17174         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17175         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17176         field.
17177         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17178         EF_MIPS_FP64.
17179         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17180         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17181         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17182         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17183         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17184         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17185         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17186         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17187         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17188         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17189         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17190         record the current FP ABI extension.
17191         (mips-mode-switch): Define to show if kernel headers support mode
17192         switching.
17193         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17194         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17195         supported SYSV ABI version to 3.
17196         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17197         feature.
17199 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17200             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17202         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17203         path.
17204         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17206 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17208         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17209         __fegetround and redefine to call __fegetround.  Remove condition
17210         on [!__NO_MATH_INLINES].
17211         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17212         function.
17213         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17214         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17215         Remove macro.
17216         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17217         instead of <fenv_libc.h>.
17218         (__llrintl): Call fegetround instead of __fegetround.
17219         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17220         instead of <fenv_libc.h>.
17221         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17222         (__lrintl): Call fegetround instead of __fegetround.
17223         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17224         instead of <fenv_libc.h>.
17225         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17226         (__rintl): Call fegetround instead of __fegetround.
17228 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17230         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17231         arrays.
17233 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17235         [BZ #17775]
17236         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17237         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17238         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17240 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17242         * sysdeps/i386/tls-macros.h: Include <features.h>.
17243         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17244         (TLS_IE): Likewise.
17245         (TLS_LD): Likewise.
17246         (TLS_GD): Likewise.
17247         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17248         define for GCC >= 5.0.
17250 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17252         * math/test-fenv.c (test_single_exception, set_single_exc,
17253         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17254         feexcp_mask_test, feenable_test, fe_single_test): Add
17255         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17256         case where they are not used.
17257         * math/libm-test.inc: Likewise.
17258         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17259         unused in the absence of FP rounding/exception support.
17260         * stdio-common/tst-printf-round.c: Likewise.
17261         * stdlib/tst-strtod-round.c: Likewise.
17262         * stdlib/tst-strtod-underflow.c: Likewise.
17264 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17266         [BZ #17723]
17267         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17268         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17269         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17270         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17271         libm_hidden_weak.
17272         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17273         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17274         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17275         libm_hidden_def.
17276         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17277         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17278         libm_hidden_weak.
17279         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17280         Likewise.
17281         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17282         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17283         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17284         libm_hidden_weak.
17285         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17286         libm_hidden_def.
17287         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17288         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17289         (__feraiseexcept): Likewise.
17290         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17291         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17292         libm_hidden_weak.
17293         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17294         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17295         libm_hidden_def.
17296         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17297         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17298         Use libm_hidden_def.
17299         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17300         libm_hidden_def.
17301         (feraiseexcept): Define as weak not strong alias.  Use
17302         libm_hidden_weak.
17303         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17304         New inline function.  Factored out of ...
17305         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17306         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17307         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17308         feraiseexcept.
17309         * math/w_acos.c (__acos): Likewise.
17310         * math/w_asin.c (__asin): Likewise.
17311         * math/w_ilogb.c (__ilogb): Likewise.
17312         * math/w_j0.c (y0): Likewise.
17313         * math/w_j1.c (y1): Likewise.
17314         * math/w_jn.c (yn): Likewise.
17315         * math/w_log.c (__log): Likewise.
17316         * math/w_log10.c (__log10): Likewise.
17317         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17318         * sysdeps/aarch64/fpu/math_private.h
17319         (libc_feupdateenv_test_aarch64): Likewise.
17320         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17321         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17322         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17323         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17324         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17325         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17326         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17327         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17328         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17329         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17331 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17333         [BZ #17732]
17334         * io/test-utime.c (main): Replace %ld with %jd and cast to
17335         intmax_t.
17336         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17337         * nptl/tst-mutex5.c: Include <stdint.h>.
17338         (do_test): Replace %ld with %jd and cast to intmax_t.
17339         * posix/tst-regex.c (run_test): Likewise.
17340         (run_test_backwards): Likewise.
17341         * rt/tst-clock.c: Include <stdint.h>.
17342         (clock_test): Replace %ld with %jd and cast to intmax_t.
17343         * rt/tst-cpuclock1.c: Include <stdint.h>.
17344         (do_test): Replace %lu with %ju and cast to uintmax_t.
17345         * rt/tst-cpuclock2.c: Include <stdint.h>.
17346         (do_test): Replace %lu with %ju and cast to uintmax_t.
17347         * rt/tst-mqueue1.c: Include <stdint.h>.
17348         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17349         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17350         intmax_t.
17351         * rt/tst-mqueue4.c (do_test): Likewise.
17352         * rt/tst-timer4.c: Include <stdint.h>.
17353         (check_ts): Replace %ld with %jd and cast to intmax_t.
17354         (do_test): Likewise.
17355         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17356         and cast to intmax_t.
17357         * sysdeps/pthread/tst-timer.c (main): Likewise.
17358         * time/clocktest.c (main): Likewise.
17359         * time/tst-posixtz.c (do_test): Likewise.
17360         * timezone/tst-timezone.c (main): Likewise.
17362 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17363             H.J. Lu  <hongjiu.lu@intel.com>
17365         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17366         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17367         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17368         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17369         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17370         version if bit_Fast_Unaligned_Load is set.
17371         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17372         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17373         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17374         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17375         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17376         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17377         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17378         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17379         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17380         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17381         to 4.
17382         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17383         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17384         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17385         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17387 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17389         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17390         instead of #if to avoid a Wundef warning.
17391         * stdlib/tst-limits.c (do_test): Likewise.
17393         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17394         parallel other exception macros.
17395         (fegetenv): Convert from macro to extern inline so that it applies
17396         retroactively to inline functions already seen by the compiler.
17397         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17399         * posix/Makefile (before-compile): Use $(objpfx) for
17400         posix-conf-vars-def.h.
17402 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17404         * posix/getconf.c (main): Use size_t for type of I.
17405         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17406         NSPEC.
17408         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17409         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17410         * posix/posix-envs.def: Likewise.
17411         * sysdeps/posix/sysconf.c: Likewise.
17412         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17413         (specs): Remove array.
17414         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17415         array.
17417         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17418         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17419         (__sysconf): Use CONF_IS_* macros.
17421         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17422         ($(objpfx)posix-conf-vars-def.h): New target.
17423         * posix/posix-conf-vars.list: New file.
17424         * posix/posix-conf-vars.h: New file.
17425         * posix/confstr.c: Include posix-conf-vars.h.
17426         (confstr): Use CONF_IS_* macros.
17427         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17428         CONF_IS_* macros.
17429         * scripts/gen-posix-conf-vars.awk: New file.
17431 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17433         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17434         fegetround): Add no-op macros to avoid linknamespace issues.
17436         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17437         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17439         * sysdeps/unix/sysv/linux/tile/sysdep.h
17440         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17441         assembly-specific section to avoid a redefinition warning.
17443         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17444         long before casting to pointer to avoid a cast warning.
17446 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17448         * sysdeps/tile/tilegx/Implies: New file.
17450 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17452         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17454 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17456         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17458 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17460         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17461         not define.
17462         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17463         <kernel-features.h>.
17464         (__utimes) [__NR_utimes]: Make code unconditional.
17465         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17466         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17467         (__ASSUME_UTIMES): Do not undefine.
17468         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17469         (__ASSUME_UTIMES): Likewise.
17470         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17471         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17472         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17473         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17475 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17477         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17479 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17481         [BZ #17747]
17482         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17483         alias to weak alias for j0l, y0l.
17484         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17485         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17487         [BZ #17746]
17488         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17489         conversion.
17491 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17493         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17494         to zero if not already defined.
17496 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17498         [BZ #17724]
17499         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17500         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17501         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17502         (char *) casts added.
17503         * sysdeps/ieee754/k_standardf.c: New file.
17504         * sysdeps/ieee754/k_standardl.c: Likewise.
17505         * math/Makefile (libm-support): Remove k_standard.
17506         (libm-calls): Add k_standard.
17508 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17510         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17511         Optimize to avoid an unnecessary FPCR read.
17513 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17515         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17516         Optimize to reduce FPCR/FPSR accesses.
17518 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17520         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17521         Call libc_fetestexcept_aarch64.
17523 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17525         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17526         Call libc_fesetround_aarch64.
17528 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17530         [BZ #17733]
17531         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17532         (__bind): Do not define as weak alias.
17533         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17534         define.
17535         (__getsockname): Do not define as weak alias.
17537 2014-12-22  Will Newton  <will.newton@linaro.org>
17539         * manual/install.texi: Document that we require bison 2.7
17540         or above.
17541         * INSTALL: Regenerate.
17542         * configure.ac: Use AC_CHECK_PROG_VER instead of
17543         AC_PATH_PROG when checking for bison and check for
17544         version 2.7 or above.
17545         * configure: Regenerate.
17547 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17549         [BZ #17745]
17550         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17551         * sysdeps/tile/ffsll.c (ffsll): To here.
17553         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17555 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17557         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17558         if not defined.
17559         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17560         definition.
17561         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17562         hidden ___tls_get_addr.
17563         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17564         hidden __tls_get_addr.
17565         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17566         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17567         Likewise.
17569 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17571         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17572         _dl_init call.
17574 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17576         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17577         from "call _dl_init@PLT".
17578         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17580 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17582         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17583         guarantees.
17585 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17587         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17589 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17591         [BZ #17744]
17592         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17593         strnlen.
17595 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17597         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17598         of multu on MIPSr6.
17599         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17600         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17601         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17602         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17603         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17605 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17607         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17608         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17609         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17610         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17611         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17612         mips32r6/mips64r6.
17613         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17615 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17617         * string/strncat.c (STRNCAT): Simplify implementation.
17619 2014-12-19  David S. Miller  <davem@davemloft.net>
17621         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17622         access the quad as both a long double and as a series of 4 words.
17624         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17625         link_map->l_info array access.
17627 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17629         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17631         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17632         * math/atest-exp2.c (TIMEOUT): Likewise.
17633         * math/atest-sincos.c (TIMEOUT): Likewise.
17635 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17637         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17638         -Wno-error with -fno-builtin-lround.
17640 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17642         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17643         Contains futex constants and functions moved over from ...
17644         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17645         <lowlevellock-futex.h>.
17646         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17647         (lll_timedwait_tid): Add comments and parentheses around macro
17648         arguments.
17650 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17652         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17653         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17654         (__lll_private_flag): Remove.
17655         (lll_futex_wait): Likewise.
17656         (lll_futex_timed_wait): Likewise.
17657         (lll_futex_wake): Likewise.
17658         (lll_futex_requeue): Likewise.
17659         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17660         (__lll_timedwait_tid): Spell out argument names.
17661         (lll_timedwait_tid): Add comments and parentheses around macro
17662         arguments.
17663         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17664         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17666 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17668         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17669         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17670         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17671         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17672         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17673         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17674         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17675         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17676         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17677         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17678         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17679         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17680         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17681         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17682         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17683         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17684         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17685         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17686         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17688 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17690         * sysdeps/x86_64/x32/Makefile: New file.
17692 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17694         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17695         1L with (mp_limb_t) 1.
17697 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17699         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17700         * nptl/libc_pthread_init.c: ... here.
17701         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17702         * nptl/register-atfork.c: ... here.
17704         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17705         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17706         Use assert_perror to check its return value.
17707         (__gai_create_helper_thread): Likewise.
17709         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17711         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17713 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17715         [BZ #17725]
17716         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17717         __profil_counter.
17718         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17719         Likewise.
17720         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17721         Likewise.
17722         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17723         Likewise.
17724         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17725         (profil_counter): Likewise.
17726         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17727         (profil_counter): Likewise.
17728         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17729         Likewise.
17730         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17731         Likewise.
17732         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17733         (profil_counter): Likewise.
17734         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17735         Likewise.
17736         [!__profil_counter] (profil_counter): Define as weak alias of
17737         __profil_counter.
17738         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17739         (profil_counter): Rename to __profil_counter.
17740         [!__profil_counter] (profil_counter): Define as weak alias of
17741         __profil_counter.
17742         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17743         (profil_counter): Rename to __profil_counter.
17744         [!__profil_counter] (profil_counter): Define as weak alias of
17745         __profil_counter.
17746         * sysdeps/posix/profil.c: Update comment referring to
17747         profil_counter.
17748         (__profil): Use __profil_counter instead of profil_counter.
17749         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17750         __profil_counter.  Use __profil_counter_ushort and
17751         __profil_counter_uint in definitions.
17752         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17753         instead of profil_counter_uint and profil_counter_ushort.
17755         [BZ #17722]
17756         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17757         define as weak alias of __inet_makeaddr.
17758         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17759         as weak alias of __inet_addr.
17760         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17761         as weak alias of __inet_pton.  Use libc_hidden_weak.
17762         * include/arpa/inet.h (__inet_pton): Declare.  Use
17763         libc_hidden_proto.
17764         (inet_makeaddr): Don't use libc_hidden_proto.
17765         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17766         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17767         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17768         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17769         Remove variable.
17770         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17771         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17773 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17775         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17777 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17779         * stdio-common/bug-vfprintf-nargs.c (do_test):
17780         Cast value to intptr_t to avoid format warning
17781         for usage with PRIdPTR printing macro.
17783 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17785         * libio/tst-widetext.c (do_test):
17786         Use format type %td instead of %Zd for ptrdiff_t
17787         in order to avoid format warning.
17789 2014-12-17  Andreas Schwab  <schwab@suse.de>
17791         * nscd/mem.c (gc): Add size_t cast to match printf format.
17793 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17795         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17796         (init): Apply PTR_MANGLE to pointers before storing them.
17797         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17798         before using them.
17800 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17802         [BZ #17719]
17803         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17804         define as weak alias of __memrchr.
17805         (__memrchr): Do not define as strong alias of memrchr.
17806         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17807         Remove variable.
17808         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17809         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17810         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17812         [BZ #17717]
17813         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17814         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17815         (if_indextoname): Rename to __if_indextoname and define as weak
17816         alias of __if_indextoname.  Use libc_hidden_weak.
17817         (if_freenameindex): Rename to __if_freenameindex and define as
17818         weak alias of __if_freenameindex.
17819         (if_nameindex): Rename to __if_nameindex and define as weak alias
17820         of __if_nameindex.
17821         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17822         __if_nametoindex and define as weak alias of __if_nametoindex.
17823         Use libc_hidden_weak.
17824         (if_freenameindex): Rename to __if_freenameindex and define as
17825         weak alias of __if_freenameindex.
17826         (if_nameindex): Rename to __if_nameindex and define as weak alias
17827         of __if_nameindex.
17828         (if_indextoname): Rename to __if_indextoname and define as weak
17829         alias of __if_indextoname.  Use libc_hidden_weak.
17830         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17831         __if_nametoindex and define as weak alias of __if_nametoindex.
17832         Use libc_hidden_weak.
17833         (if_freenameindex): Rename to __if_freenameindex and define as
17834         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17835         (if_nameindex_netlink): Use __if_freenameindex instead of
17836         if_freenameindex.
17837         (if_nameindex): Rename to __if_nameindex and define as weak alias
17838         of __if_nameindex.  Use libc_hidden_weak.
17839         (if_indextoname): Rename to __if_indextoname and define as weak
17840         alias of __if_indextoname.  Use libc_hidden_weak.
17841         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17842         libc_hidden_proto.
17843         [!_ISOMAC] (__if_freenameindex): Likewise.
17844         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17845         if_nametoindex.
17846         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17847         variable.
17848         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17849         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17850         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17851         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17852         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17853         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17854         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17856         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17857         Remove variable.
17858         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17859         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17861 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17863         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17864         subscript above bounds'
17866         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17867         bounds.
17869 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17871         * libio/tst-fopenloc.c: Use test-skeleton.c.
17873         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17874         (entry): Rename to ITEM.
17875         (do_test, comp): Adjust.
17877         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17879 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17881         * string/tester.c: Include <libc-internal.h>.
17882         (test_memset): Ignore -Wmemset-transposed-args.
17884 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17886         * misc/tst-mntent2.c (do_test): Fix warning.
17888 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17890         * elf/tst-unique4lib.cc(a): Mark as used.
17892 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17894         [BZ #17630]
17895         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17896         names.
17898 2014-12-16  Allan McRae  <allan@archlinux.org>
17900         * stdio-common/Makefile (tests): Re-add bug26.
17902 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17904         [BZ #17657]
17905         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17906         static array.
17908 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17910         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17911         (__lll_lock_wait): Likewise.
17912         (__lll_timedlock_wait): Likewise.
17913         (__lll_timedwait_tid): Likewise.
17914         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17915         (__lll_robust_timedlock_wait): Likewise.
17916         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17917         (lll_cond_trylock): Likewise.
17918         (__lll_lock): Likewise.
17919         (__lll_robust_lock): Likewise.
17920         (__lll_cond_lock): Likewise.
17921         (lll_robust_cond_lock): Likewise.
17922         (__lll_timedlock): Likewise.
17923         (__lll_robust_timedlock): Likewise.
17924         (__lll_unlock): Likewise.
17925         (__lll_robust_unlock): Likewise.
17926         (lll_wait_tid): Likewise.
17927         (lll_timedwait_tid): Likewise.
17929 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17931         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17933 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17935         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17937 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17939         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17940         * stdio-common/tst-sprintf.c: Likewise.
17942 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17944         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17946 2014-12-15  Jeff Law  <law@redhat.com>
17948         [BZ #16617]
17949         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17950         on the heap.  (CVE-2012-3406)
17951         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17952         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17953         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17955 2014-12-15  Will Newton  <will.newton@linaro.org>
17957         * manual/install.texi: Bump required version of texinfo
17958         to 4.7 from 4.5.
17959         * INSTALL: Regenerated.
17960         * configure.ac: Check for makeinfo version 4.7 and above.
17961         * configure: Regenerated.
17963 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17965         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17966         PREFIX, string constant to insert between directory and name.
17967         * sysdeps/posix/shm_open.c: Update caller.
17968         * sysdeps/posix/shm_unlink.c: Likewise.
17969         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17970         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17971         (SEM_SHM_PREFIX): New macro.
17972         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17973         [$(have-thread-library) = no].
17974         * nptl/Makefile (libpthread-routines): Add shm-directory.
17975         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17976         * sysdeps/nptl/shm-directory.h: New file.
17977         * sysdeps/posix/shm-directory.c
17978         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17979         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17980         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17981         INTERNAL_SYSCALL.
17982         (__where_is_shmfs): Function removed.
17983         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17984         Variables removed.
17985         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17986         Use SHM_GET_NAME.
17987         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17989         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17990         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17991         unconditional for use inside libpthread.
17992         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17994 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17996         * nptl/pthread_getaffinity.c: New file.
17997         * nptl/pthread_setaffinity.c: New file.
17998         * nptl/pthread_getname.c: New file.
17999         * nptl/pthread_setname.c: New file.
18001         * nptl/pthread_create.c (START_THREAD_DEFN)
18002         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18004 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18005             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18007         * resolv/res_send.c (send_vc): Disable warning resplen may
18008         be used uninitialized.
18010 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18012         * nptl/tst-mutex6.c
18013         (ATTR_NULL): New define checks ATTR against NULL.
18014         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18015         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18017 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18019         [BZ #17581]
18020         * malloc/hooks.c
18021         (mem2mem_check): Revert my previous change.
18022         (malloc_check_get_size): Revert my previous change.
18023         (mem2chunk_check): Revert my previous change.
18025 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18027         * sysdeps/posix/shm-directory.c: New file.
18028         * sysdeps/posix/shm-directory.h: New file.
18029         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18030         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18031         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18032         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18033         Transmute EPERM to EACCES.
18034         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18035         from ...
18036         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18037         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18039 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18041         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18042         pointer and cast to uintptr_t.
18043         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18044         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18045         Add cast to avoid warning.
18046         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18048 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18050         * nptl/semaphore.h: Move to ...
18051         * sysdeps/pthread/semaphore.h: ... here.
18052         * Makefile (installed-headers): Change nptl/semaphore.h to
18053         sysdeps/pthread/semaphore.h.
18055 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18057         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18058         generated error format strings.
18060         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18061         -Wformat-extra-args warnings for scanf formats.
18062         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18063         test of zero-length format (duh).
18064         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18065         corner-case scanf format test.
18066         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18067         generated fprintf format string.
18068         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18069         corner-case sprintf format tests.
18070         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18071         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18072         -Wformat-extra-args warnings throughout.
18073         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18074         (CFLAGS-scanf4.c): Likewise.
18075         (CFLAGS-scanf7.c): Likewise.
18076         (CFLAGS-tst-sprintf.c): Likewise.
18077         (CFLAGS-tst-printf.c): Likewise.
18078         (CFLAGS-tst-printfsz.c): Likewise.
18080 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18082         * include/cpio.h: New file.
18083         * include/fmtmsg.h: Likewise.
18085         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18086         corresponding format argument to size_t.
18087         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18088         arguments.
18089         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18090         corresponding format argument to size_t.
18091         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18092         arguments.
18093         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18094         corresponding format argument to size_t.
18095         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18096         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18097         (CFLAGS-tst-mbswcs2.c): Likewise.
18098         (CFLAGS-tst-mbswcs3.c): Likewise.
18099         (CFLAGS-tst-mbswcs4.c): Likewise.
18100         (CFLAGS-tst-mbswcs5.c): Likewise.
18101         (CFLAGS-tst-trans.c): Likewise
18103 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18105         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18106         rather than assuming they won't contain any '%'s.
18108 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18110         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18111         inhibit_loop_to_libcall to avoid recursive calls.
18112         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18113         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18115 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18117         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18118         prototype.
18120 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18122         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18123         integer value instead of boolean.
18125 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18127         * malloc/malloc.c: Fix powerof2 check.
18129 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18131         * locale/programs/locfile.h (maybe_swap_uint32):
18132         Remove inline and add unused attribute.
18134 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18136         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18137         Truncating assembler expression to a .long expression.
18139 2014-12-11  Andreas Schwab  <schwab@suse.de>
18141         * elf/rtld.c (struct map_args): Constify str member.
18142         (do_preload): Constify fname argument.
18144 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18146         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18147         constants definition.
18149 2014-12-11  Andreas Schwab  <schwab@suse.de>
18151         [BZ #16657]
18152         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18153         FORCE_ELISION instead of DO_ELISION.
18154         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18155         Remove.
18156         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18157         Likewise.
18159         * iconvdata/gconv-modules: Remove duplicate entry.
18161 2014-12-11  Will Newton  <will.newton@linaro.org>
18163         Merge gettext 0.19.3 into intl/.
18165         This involves a number of cosmetic changes to comments
18166         and ANSI function definitions and prototypes throughout
18167         all the files. The gettext copyright header is used but
18168         with the date ranges taken from the glibc copy.
18170         * NEWS: Add gettext merge to 2.21.
18171         * intl/bindtextdom.c: Switch to gettext copyright.
18172         Use ANSI definitions and prototypes.
18173         Use gl_* locking primitives rather than __libc_* ones.
18174         Use __builtin_expect rather than __glibc_likely/unlikely.
18175         * intl/dcgettext.c: Switch to gettext copyright.
18176         Use ANSI definitions and prototypes.
18177         * intl/dcigettext.c: Switch to gettext copyright.
18178         Use ANSI definitions and prototypes.
18179         (INTDIV0_RAISES_SIGFPE): New define.
18180         Use gl_* locking primitives rather than __libc_* ones.
18181         Include eval-plural.h instead of plural-eval.c.
18182         Use __builtin_expect rather than __glibc_likely/unlikely.
18183         * intl/dcngettext.c: Switch to gettext copyright.
18184         Use ANSI definitions and prototypes.
18185         * intl/dgettext.c: Likewise.
18186         * intl/dngettext.c: Likewise.
18187         * intl/plural-eval.c: Renamed to...
18188         * intl/eval-plural.h: ...this.
18189         * intl/explodename.c: Switch to gettext copyright.
18190         Use ANSI definitions and prototypes.
18191         (_nl_explode_name): Use strchr instead of __rawmemchr.
18192         * intl/finddomain.c: Switch to gettext copyright.
18193         Use ANSI definitions and prototypes.
18194         Use gl_* locking primitives rather than __libc_* ones.
18195         (_nl_find_domain): Use malloc rather than alloca for
18196         allocation of temporary locale name.
18197         * intl/gettext.c: Switch to gettext copyright.
18198         Use ANSI definitions and prototypes.
18199         * intl/gettextP.h: Switch to gettext copyright.
18200         Use ANSI definitions and prototypes.
18201         Use gl_* locking primitives rather than __libc_* ones.
18202         * intl/gmo.h: Switch to gettext copyright.
18203         (struct sysdep_string): Move struct segment_pair outside of
18204         struct definition.
18205         * intl/hash-string.c: Use ANSI definitions and prototypes.
18206         * intl/hash-string.h: Switch to gettext copyright.
18207         Use ANSI definitions and prototypes.
18208         * intl/l10nflist.c: Switch to gettext copyright.
18209         Use ANSI definitions and prototypes.
18210         (_nl_normalize_codeset): Avoid integer overflow.
18211         * intl/loadinfo.h: Switch to gettext copyright.
18212         Use ANSI definitions and prototypes.
18213         (LIBINTL_DLL_EXPORTED): New define.
18214         (PATH_SEPARATOR): New define.
18215         * intl/loadmsgcat.c: Switch to gettext copyright.
18216         * intl/localealias.c: Switch to gettext copyright.
18217         Use ANSI definitions and prototypes.
18218         (_nl_expand_alias): Use PATH_SEPARATOR.
18219         * intl/ngettext.c: Switch to gettext copyright.
18220         Use ANSI definitions and prototypes.
18221         * intl/plural-exp.c: Likewise.
18222         * intl/plural-exp.h: Switch to gettext copyright.
18223         Use ANSI definitions and prototypes.
18224         (struct expression): Move definition of enum operator outside
18225         of struct definition.
18226         * intl/plural.c: Regenerate.
18227         * intl/plural.y: Switch to gettext copyright.
18228         Use ANSI definitions and prototypes.
18229         Port to bison 3.0.
18230         * intl/textdomain.c: Switch to gettext copyright.
18231         Use ANSI definitions and prototypes.
18232         Use gl_* locking primitives rather than __libc_* ones.
18234 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18236         * debug/warning-nop.c: Add used atrribute.
18238 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18240         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18242         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18243         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18244         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18246 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18247             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18249         [BZ #17634]
18250         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18251         Undefine after defining function.  Define as weak alias of
18252         __wcschr.  Use libc_hidden_weak.
18253         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18254         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18255         (libc_hidden_def): Also define __GI___wcschr alias.
18256         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18257         __wcschr and define as weak alias of __wcschr.
18258         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18259         __wcschr.
18260         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18261         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18262         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18263         libc_hidden_weak.  Do not use libc_hidden_def.
18264         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18265         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18266         __GI___wcschr alias.
18267         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18268         [IS_IN (libc)] (wcschr): Define as macro expanding to
18269         __redirect_wcschr.
18270         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18271         [IS_IN (libc)] (__wcschr_power6): Likewise.
18272         [IS_IN (libc)] (__wcschr_power7): Likewise.
18273         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18274         instead of wcschr.
18275         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18276         __libc_wcschr.
18277         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18278         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18279         __wcschr and define as weak alias of __wcschr.  Use
18280         libc_hidden_builtin_def.
18281         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18282         as weak alias of __wcschr.  Use libc_hidden_weak.
18283         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18284         wcschr.
18285         * time/era.c (_nl_init_era_entries): Likewise.
18286         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18287         variable.
18288         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18289         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18291 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18293         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18294         format for long int variable.
18296 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18298         [BZ #10672]
18299         * manual/search.texi: (Array Sort Function): Remove claim how to make
18300         qsort stable.
18302 2014-12-10  Andreas Schwab  <schwab@suse.de>
18304         [BZ #12847]
18305         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18306         user-controlled locks.
18308 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18310         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18311         register.
18313 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18315         * configure.ac (--disable-werror): New configure option.
18316         (enable_werror): New AC_SUBST.
18317         * configure: Regenerated.
18318         * config.make.in (enable-werror): New variable.
18319         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18320         -Wno-error=undef.
18321         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18322         * manual/install.texi (Configuring and compiling): Document
18323         --disable-werror.
18324         * INSTALL: Regenerated.
18325         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18326         (CFLAGS-tst-chk2.c): Likewise.
18327         (CFLAGS-tst-chk3.c): Likewise.
18328         (CFLAGS-tst-chk4.cc): Likewise.
18329         (CFLAGS-tst-chk5.cc): Likewise.
18330         (CFLAGS-tst-chk6.cc): Likewise.
18331         (CFLAGS-tst-lfschk1.c): Likewise.
18332         (CFLAGS-tst-lfschk2.c): Likewise.
18333         (CFLAGS-tst-lfschk3.c): Likewise.
18334         (CFLAGS-tst-lfschk4.cc): Likewise.
18335         (CFLAGS-tst-lfschk5.cc): Likewise.
18336         (CFLAGS-tst-lfschk6.cc): Likewise.
18338         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18339         (main): Disable -Wdeprecated-declarations around calls to
18340         register_printf_function.
18342         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18343         (do_test): Disable -Wdiv-by-zero around some calls to
18344         fwrite_unlocked and fread_unlocked.
18346         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18347         (DIAG_POP_NEEDS_COMMENT): Likewise.
18348         (_DIAG_STR1): Likewise.
18349         (_DIAG_STR): Likewise.
18350         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18351         * stdio-common/bug21.c: Include <libc-internal.h>.
18352         (do_test): Disable -Wformat around call to sscanf.
18353         * stdio-common/scanf14.c: Include <libc-internal.h>.
18354         (main): Disable -Wformat around some calls to scanf functions.
18356 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18358         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18360 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18362         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18363         stack variable alignment.
18365 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18367         [BZ #17682]
18368         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18369         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18370         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18371         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18372         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18373         __getrlimit instead of getrlimit.
18374         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18375         __gettimeofday instead of gettimeofday.
18376         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18377         Likewise.
18378         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18379         Likewise.
18380         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18381         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18382         Remove variable.
18383         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18384         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18386 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18388         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18389         for wide-character tests.
18391 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18393         * io/openat64.c: #include <libc-internal.h>
18394         (__openat64): Prototypify.  Use ignore_value on MODE.
18395         * io/openat.c: Likewise.
18396         * misc/reboot.c: #include <libc-internal.h>
18397         (reboot): Prototypify.  Use ignore_value on HOWTO.
18398         * misc/ptrace.c: #include <libc-internal.h>
18399         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18401 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18403         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18404         XPG4, UNIX98 and XOPEN2K.
18405         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18406         Remove variable.
18407         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18409 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18411         * libio/fileops.c: Use ISO C style for function definitions.
18412         * libio/iofopen.c: Likewise.
18413         * libio/wfileops.c: Likewise.
18415         [BZ #17653]
18416         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18417         offset on EOF.
18418         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18419         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18420         (fgets_func): Function pointer to fgets and fgetws.
18421         (do_ftell_test): Add test to verify ftell value after read
18422         EOF.
18423         (do_test): Set fgets_func.
18425         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18426         O_TRUNC flag for w and w+ modes.
18427         (do_rewind_test): Likewise.
18428         (do_ftell_test): Likewise.
18429         (do_write_test): Likewise.
18431         [BZ #17647]
18432         * libio/fileops.c (do_ftell): Seek only when there are
18433         unflushed writes.
18434         * libio/wfileops.c (do_ftell_wide): Likewise.
18435         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18436         test case.
18437         (do_one_test): Call it.
18439 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18441         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18442         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18443         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18444         Remove variable.
18445         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18446         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18447         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18449 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18451         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18452         Remove variable.
18453         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18455         [BZ #17668]
18456         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18457         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18458         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18459         __freeifaddrs.  Use libc_hidden_weak.
18460         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18461         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18462         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18463         __freeifaddrs.  Use libc_hidden_weak.
18464         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18465         __getifaddrs and define as weak alias of __getifaddrs.  Use
18466         libc_hidden_weak.
18467         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18468         __freeifaddrs.  Use libc_hidden_weak.
18469         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18470         Remove variable.
18471         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18472         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18474 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18476         [BZ #17601]
18477         * sysdeps/mips/start.S (__start): Use indirect jump to call
18478         __libc_start_main.
18480 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18482         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18484         * nptl/tst-mutex1.c: Include <stdbool.h>.
18485         [!ATTR] (ATTR_NULL): New macro.
18486         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18487         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18488         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18490         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18491         to char *.
18493         [BZ #17665]
18494         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18495         Change conditional to [__USE_MISC].
18497         [BZ #17664]
18498         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18499         fgets_unlocked.
18500         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18501         __fgets_unlocked.
18502         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18503         fgets_unlocked.
18504         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18505         Remove variable.
18506         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18507         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18508         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18509         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18510         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18511         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18512         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18513         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18514         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18516         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18518 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18520         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18521         Remove strpbrk objects.
18522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18523         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18524         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18525         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18526         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18527         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18529         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18530         Remove strcspn objects.
18531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18532         (__libc_ifunc_impl_list): Remove strcspn implementation.
18533         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18534         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18535         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18536         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18538         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18539         Remove strspn objetcs.
18540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18541         (__libc_ifunc_impl_list): Remove strspn implementation.
18542         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18543         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18544         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18545         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18547 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18549         [BZ #17581]
18550         * malloc/hooks.c
18551         (mem2mem_check): Add a terminator to the chain of checking blocks.
18552         (malloc_check_get_size): Use it here.
18553         (mem2chunk_check): Ditto.
18555 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18557         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18558         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18560 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18562         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18564         * nptl/nptl-init.c: Include libc-internal.h.
18565         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18567         * elf/ldconfig.c (search_dir): Expand comment.
18569 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18571         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18572         variable.
18573         (linknamespace-symlist-stdlibs-tests): Likewise.
18574         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18575         instead of $(objpfx)symlist-stdlibs.
18576         (linknamespace-libs-isoc): New variable.
18577         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18578         (linknamespace-libs-ISO): New variable.
18579         (linknamespace-libs-ISO99): Likewise.
18580         (linknamespace-libs-ISO11): Likewise.
18581         (linknamespace-libs-XPG3): Likewise.
18582         (linknamespace-libs-XPG4): Likewise.
18583         (linknamespace-libs-POSIX): Likewise.
18584         (linknamespace-libs-UNIX98): Likewise.
18585         (linknamespace-libs-XOPEN2K): Likewise.
18586         (linknamespace-libs-POSIX2008): Likewise.
18587         (linknamespace-libs-XOPEN2K8): Likewise.
18588         ($(objpfx)symlist-stdlibs): Replace by
18589         $(linknamespace-symlist-stdlibs-tests).  Use
18590         $(linknamespace-libs-$*) as set of libraries.
18591         ($(linknamespace-header-tests)): Update dependencies.  Use
18592         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18593         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18594         * conform/linknamespace.pl: Remove comment about considering
18595         definitions of symbols from irrelevant libraries.
18597 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18599         [BZ #13862]
18600         * elf/dl-tls.c: Include <atomic.h>.
18601         (oom): Remove #ifdef SHARED/#endif.
18602         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18603         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18604         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18605         big enough.
18606         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18607         * nptl/Makefile (tests): Add tst-stack4.
18608         (modules-names): Add tst-stack4mod.
18609         ($(objpfx)tst-stack4): New.
18610         (tst-stack4mod.sos): Likewise.
18611         ($(objpfx)tst-stack4.out): Likewise.
18612         ($(tst-stack4mod.sos)): Likewise.
18613         (clean): Likewise.
18614         * nptl/tst-stack4.c: New file.
18615         * nptl/tst-stack4mod.c: Likewise.
18617 2014-11-27  J. Brown  <jb999@gmx.de>
18619         * sysdeps/x86/bits/string.h: Add recent CPUs.
18621 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18623         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18624         sigblock.
18626         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18627         feof.
18629         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18630         variable.
18632 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18634         * nscd/connections.c: Include libc-internal.h because of macro
18635         usage ignore_value.
18637 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18639         * string/bits/string3.h (__warn_memset_zero_len): Don't
18640         declare for gcc newer than 5.0.
18641         (memset): Don't test for zero-length __LEN for gcc newer than
18642         5.0.
18644 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18646         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18647         size_t for %zu format.
18649         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18650         difference, not %ju.
18652 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18654         * include/libc-internal.h (ignore_value): New macro.
18655         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18656         with ignore_value.
18658         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18659         definition.
18661         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18662         pthread_cleanup_push to void *.
18664         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18665         Undefine.
18667         [BZ #16619]
18668         [BZ #16740]
18669         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18670         instead of 1L << 52.
18672         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18673         * libio/bug-rewind2.c (do_test): Likewise.
18675         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18676         * debug/test-strcpy_chk-ifunc.c: Likewise.
18677         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18678         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18679         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18680         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18681         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18682         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18683         * Rules [$(multi-arch) = no] (tests): Do not filter out
18684         $(tests-ifunc).
18685         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18686         * debug/Makefile (tests-ifunc): Remove variable.
18687         (tests): Do not add $(tests-ifunc).
18688         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18689         (tests): Do not add $(tests-ifunc).
18690         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18691         [TEST_IFUNC]: Remove conditionals.
18692         * string/test-string.h (TEST_IFUNC): Remove macro.
18693         [TEST_IFUNC]: Remove conditionals.
18695         * string/test-strchr.c [!WIDE] (L): New macro.
18696         [WIDE] (L): Likewise.
18697         (check1): Use CHAR instead of char.  Use L on string and character
18698         constants.
18700 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18702         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18703         tests.
18704         * sysdeps/powerpc/bits/atomic.h
18705         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18706         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18707         (atomic_exchange_and_add_acq): Likewise.
18708         (atomic_exchange_and_add_rel): Likewise.
18709         * sysdeps/powerpc/powerpc32/bits/atomic.h
18710         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18711         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18712         * sysdeps/powerpc/powerpc64/bits/atomic.h
18713         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18714         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18716 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18718         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18719         Change synchronization of __sched_fifo_min_prio and
18720         __sched_fifo_max_prio.
18721         * nptl/pthread_mutexattr_getprioceiling.c
18722         (pthread_mutexattr_getprioceiling): Likewise.
18723         * nptl/pthread_mutexattr_setprioceiling.c
18724         (pthread_mutexattr_setprioceiling): Likewise.
18725         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18726         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18727         Likewise.
18729 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18731         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18732         void.
18734 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18736         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18737         third argument const.
18739 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18741         fnmatch: work around GCC compiler warning bug with uninit var
18742         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18743         This works around a bug with x86-64 GCC 4.9.2 and earlier
18744         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18745         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18746         used uninitialized in this function [-Wmaybe-uninitialized]".
18748 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18750         * posix/bug-regex31.c (main): Return RES not 0.
18752 2014-11-25  Anton Blanchard <anton@samba.org>
18754         * sysdeps/powerpc/bits/atomic.h
18755         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18757 2014-11-24  Sterling Augustine  <saugustine@google.com>
18759         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18761 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18763         [BZ #17608]
18764         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18766 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18768         [BZ #17633]
18769         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18770         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18771         variable.
18772         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18773         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18775 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18777         * string/strncpy.c (strncpy): Improve performance by using memset.
18779 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18781         * string/strcpy.c (strcpy):
18782         Improve performance by using strlen and memcpy.
18784 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18786         * string/strcoll_l.c (get_next_seq): __always_inline.
18787         * string/strcoll_l.c (do_compare): __always_inline.
18789 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18791         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18792         defined.
18793         * include/mqueue.h: Likewise.
18794         * include/stdlib.h: Likewise.
18796         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18797         (get_null_defines): Adjust.
18798         * sunrpc/Makefile: Adjust comment.
18799         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18800         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18801         (CFLAGS-interp.c): Likewise.
18802         (CFLAGS-ldconfig.c): Likewise.
18803         (CPPFLAGS-.os): Likewise.
18804         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18805         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18806         * extra-modules.mk (extra-modules.mk): Likewise.
18807         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18808         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18809         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18810         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18811         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18812         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18813         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18814         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18815         * iconvdata/Makefile (CPPFLAGS): Likewise.
18816         (cpp-srcs-left): Add libof for all iconvdata routines.
18817         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18818         * include/assert.h: Likewise.
18819         * include/ctype.h: Likewise.
18820         * include/errno.h: Likewise.
18821         * include/libc-symbols.h: Likewise.
18822         * include/math.h: Likewise.
18823         * include/netdb.h: Likewise.
18824         * include/resolv.h: Likewise.
18825         * include/stdio.h: Likewise.
18826         * include/stdlib.h: Likewise.
18827         * include/string.h: Likewise.
18828         * include/sys/stat.h: Likewise.
18829         * include/wctype.h: Likewise.
18830         * intl/l10nflist.c: Likewise.
18831         * libidn/idn-stub.c: Likewise.
18832         * libio/libioP.h: Likewise.
18833         * nptl/libc_multiple_threads.c: Likewise.
18834         * nptl/pthreadP.h: Likewise.
18835         * posix/regex_internal.h: Likewise.
18836         * resolv/res_hconf.c: Likewise.
18837         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18838         * sysdeps/arm/memmove.S: Likewise.
18839         * sysdeps/arm/sysdep.h: Likewise.
18840         * sysdeps/generic/_itoa.h: Likewise.
18841         * sysdeps/generic/symbol-hacks.h: Likewise.
18842         * sysdeps/gnu/errlist.awk: Likewise.
18843         * sysdeps/gnu/errlist.c: Likewise.
18844         * sysdeps/i386/i586/memcpy.S: Likewise.
18845         * sysdeps/i386/i586/memset.S: Likewise.
18846         * sysdeps/i386/i686/memcpy.S: Likewise.
18847         * sysdeps/i386/i686/memmove.S: Likewise.
18848         * sysdeps/i386/i686/mempcpy.S: Likewise.
18849         * sysdeps/i386/i686/memset.S: Likewise.
18850         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18851         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18852         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18853         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18854         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18855         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18856         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18857         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18858         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18859         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18860         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18861         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18862         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18863         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18864         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18865         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18866         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18867         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18868         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18869         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18870         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18871         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18872         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18873         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18874         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18875         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18876         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18877         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18878         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18879         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18880         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18881         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18882         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18883         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18884         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18885         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18886         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18887         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18888         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18889         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18890         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18891         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18892         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18893         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18894         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18895         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18896         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18897         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18898         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18899         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18900         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18901         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18902         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18903         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18904         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18905         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18906         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18907         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18908         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18909         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18910         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18911         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18912         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18913         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18914         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18915         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18916         * sysdeps/posix/closedir.c: Likewise.
18917         * sysdeps/posix/opendir.c: Likewise.
18918         * sysdeps/posix/readdir.c: Likewise.
18919         * sysdeps/posix/rewinddir.c: Likewise.
18920         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18921         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18922         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18923         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18924         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18925         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18926         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18927         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18928         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18929         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18930         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18931         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18932         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18933         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18934         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18935         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18936         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18937         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18938         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18939         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18940         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18941         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18942         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18943         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18944         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18945         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18946         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18947         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18948         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18955         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18956         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18957         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18958         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18959         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18960         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18961         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18962         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18963         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18964         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18965         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18966         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18967         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18968         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18969         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18970         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18971         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18972         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18973         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18974         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18975         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18976         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18977         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18978         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18979         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18980         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18981         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18982         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18983         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18984         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18985         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18986         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18987         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18988         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18989         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18990         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18991         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18992         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18993         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18994         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18995         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18996         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18997         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18998         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18999         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19000         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19001         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19002         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19003         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19004         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19005         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19006         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19007         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19008         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19009         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19010         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19011         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19012         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19014         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19015         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19016         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19017         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19018         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19019         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19020         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19021         * sysdeps/unix/alpha/sysdep.S: Likewise.
19022         * sysdeps/unix/alpha/sysdep.h: Likewise.
19023         * sysdeps/unix/make-syscalls.sh: Likewise.
19024         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19025         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19026         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19027         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19028         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19029         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19030         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19031         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19032         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19033         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19034         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19035         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19036         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19037         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19038         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19039         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19040         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19041         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19042         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19043         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19044         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19045         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19046         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19047         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19048         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19049         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19050         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19053         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19054         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19055         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19056         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19057         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19058         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19059         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19060         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19062         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19063         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19064         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19065         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19066         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19067         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19068         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19069         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19070         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19071         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19072         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19073         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19074         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19075         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19076         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19077         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19078         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19079         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19080         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19081         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19082         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19083         * sysdeps/x86_64/memcpy.S: Likewise.
19084         * sysdeps/x86_64/memmove.c: Likewise.
19085         * sysdeps/x86_64/memset.S: Likewise.
19086         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19087         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19088         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19089         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19090         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19091         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19092         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19093         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19094         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19095         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19096         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19097         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19098         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19099         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19100         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19101         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19102         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19103         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19104         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19105         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19106         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19107         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19108         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19109         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19110         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19111         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19112         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19113         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19114         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19115         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19116         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19117         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19118         * sysdeps/x86_64/strcmp.S: Likewise.
19120         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19122         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19123         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19124         * elf/rtld-Rules: Likewise.
19125         * elf/setup-vdso.h: Likewise.
19126         * include/assert.h: Likewise.
19127         * include/bits/stdlib-float.h: Likewise.
19128         * include/errno.h: Likewise.
19129         * include/sys/stat.h: Likewise.
19130         * include/unistd.h: Likewise.
19131         * sysdeps/aarch64/setjmp.S: Likewise.
19132         * sysdeps/alpha/setjmp.S: Likewise.
19133         * sysdeps/arm/__longjmp.S: Likewise.
19134         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19135         * sysdeps/arm/setjmp.S: Likewise.
19136         * sysdeps/arm/sysdep.h: Likewise.
19137         * sysdeps/generic/_itoa.h: Likewise.
19138         * sysdeps/generic/dl-sysdep.h: Likewise.
19139         * sysdeps/generic/ldsodefs.h: Likewise.
19140         * sysdeps/i386/dl-tls.h: Likewise.
19141         * sysdeps/i386/setjmp.S: Likewise.
19142         * sysdeps/m68k/setjmp.c: Likewise.
19143         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19144         * sysdeps/mach/hurd/opendir.c: Likewise.
19145         * sysdeps/posix/getcwd.c: Likewise.
19146         * sysdeps/posix/opendir.c: Likewise.
19147         * sysdeps/posix/profil.c: Likewise.
19148         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19149         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19150         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19151         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19152         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19153         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19154         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19155         * sysdeps/s390/dl-tls.h: Likewise.
19156         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19157         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19158         * sysdeps/sh/sh3/setjmp.S: Likewise.
19159         * sysdeps/sh/sh4/setjmp.S: Likewise.
19160         * sysdeps/unix/alpha/sysdep.h: Likewise.
19161         * sysdeps/unix/arm/sysdep.S: Likewise.
19162         * sysdeps/unix/i386/sysdep.S: Likewise.
19163         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19164         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19165         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19166         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19167         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19168         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19169         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19170         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19171         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19172         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19173         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19174         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19175         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19178         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19179         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19180         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19181         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19182         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19183         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19184         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19185         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19186         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19187         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19188         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19190         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19191         * sysdeps/x86_64/setjmp.S: Likewise.
19193         * include/math.h: Use IS_IN instead of IS_IN_libm.
19194         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19195         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19196         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19197         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19198         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19199         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19200         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19201         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19202         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19203         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19204         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19205         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19206         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19207         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19208         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19209         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19210         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19211         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19212         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19213         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19214         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19215         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19216         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19217         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19218         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19219         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19220         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19221         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19222         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19223         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19224         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19225         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19226         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19228         Likewise.
19229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19230         Likewise.
19231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19232         Likewise.
19233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19234         Likewise.
19235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19236         Likewise.
19237         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19238         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19239         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19240         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19241         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19242         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19248         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19249         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19250         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19251         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19252         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19253         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19254         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19255         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19256         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19257         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19258         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19259         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19260         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19261         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19263         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19265         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19266         * nptl/pthreadP.h: Likewise.
19267         * nptl_db/structs.def: Likewise.
19268         * sysdeps/arm/sysdep.h: Likewise.
19269         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19270         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19271         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19272         * sysdeps/unix/alpha/sysdep.h: Likewise.
19273         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19274         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19275         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19276         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19277         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19278         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19279         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19280         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19281         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19282         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19283         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19284         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19285         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19286         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19289         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19290         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19291         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19293         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19294         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19295         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19296         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19297         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19298         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19300         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19301         * nptl/pthreadP.h: Likewise.
19302         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19303         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19304         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19305         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19306         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19307         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19308         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19309         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19310         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19311         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19312         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19313         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19315         Likewise.
19316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19317         Likewise.
19318         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19319         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19320         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19321         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19322         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19323         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19324         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19325         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19327         * dlfcn/dladdr.c: Use IS_IN.
19328         * dlfcn/dladdr1.c: Likewise.
19329         * dlfcn/dlclose.c: Likewise.
19330         * dlfcn/dlerror.c: Likewise.
19331         * dlfcn/dlinfo.c: Likewise.
19332         * dlfcn/dlmopen.c: Likewise.
19333         * dlfcn/dlopen.c: Likewise.
19334         * dlfcn/dlsym.c: Likewise.
19335         * dlfcn/dlvsym.c: Likewise.
19337         * include/ifaddrs.h: Use IS_IN.
19338         * inet/check_pf.c: Likewise.
19339         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19340         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19342         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19343         IS_IN_ldconfig.
19344         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19345         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19347         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19348         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19349         IS_IN (libc).
19351         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19353         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19354         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19355         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19356         * include/libc-symbols.h (IS_IN_LIB): New macro.
19357         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19358         * include/netdb.h: Likewise.
19359         * include/stap-probe.h: Remove all uses of IN_LIB.
19361         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19362         instead of IN_MODULE.
19363         * include/libc-symbols.h (IN_MODULE): Define using
19364         MODULE_NAME.
19365         (PASTE_NAME, PASTE_NAME1): New macros.
19366         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19367         of IN_LIB.
19368         (STAP_PROBE_ASM): Likewise.
19370 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19372         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19373         __mach_init in dlopened libc.
19375 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19377         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19378         * sysdeps/arm/preconfigure: Regenerate.
19380 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19382         * nptl/pthread_create.c (__pthread_create_2_1): Set
19383         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19384         when copying values from IATTR into PD.
19386 2014-11-21  Will Newton  <will.newton@linaro.org>
19387             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19389         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19390         Refactor inline-asm.  Also add comment.
19392         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19393         ElfW macro instead of hardcoded Elf64 types.
19394         (la_aarch64_gnu_pltenter): Likewise.
19395         * sysdeps/aarch64/dl-machine.h
19396         (elf_machine_runtime_setup): Use ElfW(Addr).
19398         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19399         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19400         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19401         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19402         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19403         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19404         (R_AARCH64_TLS_DTPMOD): This.
19405         (R_AARCH64_TLS_DTPREL64): Rename to ...
19406         (R_AARCH64_TLS_DTPREL): This.
19407         (R_AARCH64_TLS_TPREL64): Rename to ...
19408         (R_AARCH64_TLS_TPREL): This.
19409         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19410         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19411         R_AARCH64_TLS_TPREL64.
19412         (elf_machine_rela): Likewise.
19414 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19416         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19417         by setting it to 0.  64b atomics are not supported currently.
19419 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19421         [BZ #16469]
19422         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19423         search domain names.
19425 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19427         [BZ #16469]
19428         * NEWS: Update.
19429         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19430         trailing dot.
19431         * posix/tst-getaddrinfo5.c: New.
19432         * posix/Makefile (tests): Add it.
19434 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19436         [BZ #14498]
19437         * NEWS: Fixed.
19438         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19439         after parsing line but before break_if_match.
19440         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19441         if there is a protocol mismatch.
19443 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19445         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19446         because the potential race is on the user-supplied stream.
19448 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19450         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19451         string literal if not passed a buffer.
19452         * manual/job.texi (ctermid): Update reasoning, note deviation
19453         from posix, suggest mtasurace when not passed a buffer, for
19454         future non-preliminary safety notes.
19456 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19458         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19459         of not passing it a buffer.
19460         Reported by Peng Haitao.
19462 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19464         * manual/Makefile ($(objpfx)stamp-summary): Require
19465         check-safety.sh to pass.
19466         * manual/check-safety.sh: Wish for verification that every
19467         @deftypefn and @deftypefun is followed by a @safety remark.
19469 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19471         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19473         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19474         PTHREAD_CANCEL_ASYNCHRONOUS.
19475         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19476         send SIGCANCEL.
19478         * nptl/default-sched.h: New file.
19479         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19480         * nptl/pthread_create.c: Include it.
19481         (__pthread_create_2_1): Use collect_default_sched instead of making
19482         Linux syscalls here directly.
19484 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19486         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19487         __pthread_once): Use C11 atomics.
19489 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19491         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19493 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19495         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19496         atomic_thread_fence_acquire, atomic_thread_fence_release,
19497         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19498         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19499         atomic_compare_exchange_weak_relaxed,
19500         atomic_compare_exchange_weak_acquire,
19501         atomic_compare_exchange_weak_release,
19502         atomic_exchange_acquire, atomic_exchange_release,
19503         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19504         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19505         atomic_fetch_and_acquire,
19506         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19508 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19510         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19511         USE_ATOMIC_COMPILER_BUILTINS): Define.
19512         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19514         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19516         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19518         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19520         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19522         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19524         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19526         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19528         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19530         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19532         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19533         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19534         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19536         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19538         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19539         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19540         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19541         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19542         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19543         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19544         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19545         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19546         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19547         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19548         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19549         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19550         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19551         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19553 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19555         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19556         the sched_priority value here.  It was already checked when the user
19557         called pthread_attr_setschedparam.
19559         * nptl/tst-bad-schedattr.c: New file.
19560         * nptl/Makefile (tests): Add it.
19562 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19563             Florian Weimer  <fweimer@redhat.com>
19564             Joseph Myers  <joseph@codesourcery.com>
19565             Adam Conrad  <adconrad@0c3.net>
19566             Andreas Schwab  <schwab@suse.de>
19567             Brooks  <bmoses@google.com>
19569         [BZ #17625]
19570         * wordexp-test.c (__dso_handle): Add prototype.
19571         (__register_atfork): Likewise.
19572         (__app_register_atfork): New function.
19573         (registered_forks): New global.
19574         (register_fork): New function.
19575         (test_case): Add 3 new tests for WRDE_CMDSUB.
19576         (main): Call __app_register_atfork.
19577         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19578         fork count is non-zero fail the test.
19579         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19580         is set.
19581         (parse_dollars): Remove check for WRDE_NOCMD.
19582         (parse_dquote): Likewise.
19584 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19586         * Makeconfig (built-modules): List non-library modules to be
19587         built.
19588         (module-cppflags): Include libc-modules.h for
19589         everything except shlib-versions.v.i.
19590         (CPPFLAGS): Use it.
19591         (before-compile): Add libc-modules.h.
19592         ($(common-objpfx)libc-modules.h,
19593         $(common-objpfx)libc-modules.stmp): New targets.
19594         (common-generated): Add libc-modules.h and libc-modules.stmp.
19595         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19596         * include/libc-symbols.h: Don't include libc-modules.h.
19597         * include/libc-modules.h: Remove file.
19598         * scripts/gen-libc-modules.awk: New script to generate
19599         libc-modules.h.
19600         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19601         Depend on libc-modules.stmp.
19603         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19605         * Makeconfig (in-module): Get value of libof set for the
19606         translation unit.
19607         (CPPFLAGS): Use $(in-module).
19608         * Makerules: Don't suffix routine names for nonlib.
19609         * include/libc-modules.h: New file.
19610         * include/libc-symbols.h: Include libc-modules.h
19611         (IS_IN): New macro to replace IS_IN_* macros.
19612         * elf/Makefile: Set libof-* for each routine.
19613         * elf/rtld-Rules: Likewise.
19614         * extra-modules.mk: Likewise.
19615         * iconv/Makefile: Likewise.
19616         * iconvdata/Makefile: Likewise.
19617         * locale/Makefile: Likewise.
19618         * malloc/Makefile: Likewise.
19619         * nss/Makefile: Likewise.
19620         * sysdeps/gnu/Makefile: Likewise.
19621         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19622         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19623         * sysdeps/s390/s390-64/Makefile: Likewise.
19624         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19625         CPPFLAGS for nscd instead of nonlib.
19627 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19629         * nptl/createthread.c: New file.
19631         * nptl/createthread.c: Moved ...
19632         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19634         * nptl/createthread.c: Add proper top-line comment.
19635         (do_clone): Folded into ...
19636         (create_thread): ... here.  Take new arguments STOPPED_START and
19637         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19638         increment __nptl_threads, do event-reporting logic, do
19639         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19640         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19641         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19642         just send SIGCANCEL.
19643         * nptl/pthread_create.c: Forward-declare create_thread before
19644         including createthread.c.
19645         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19646         declaration, and new macro START_THREAD_SELF to replace argument.
19647         Remove return statement.
19648         (report_thread_creation): New function.
19649         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19650         synchronization logic, and __nptl_nthreads increment here, around
19651         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19652         PD->parent_cancelhandling here, before create_thread.  When
19653         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19654         __deallocate_stack, and ENOMEM translation here.
19656 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19658         [BZ #17616]
19659         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19660         (mptwo): Rename to __mptwo.
19661         (__inv): Use __mptwo instead of mptwo.
19662         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19663         (mptwo): Rename to __mptwo.
19664         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19665         of mpone and __mptwo instead of mptwo.
19666         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19667         instead of mpone.
19668         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19669         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19670         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19671         of mpone and __mptwo instead of mptwo.
19672         (__mpranred): Use __mpone instead of mpone.
19673         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19674         variable.
19675         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19676         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19677         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19678         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19679         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19680         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19681         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19682         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19683         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19684         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19685         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19686         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19687         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19688         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19689         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19690         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19691         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19692         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19693         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19695 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19697         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19698         replace BSD Handler xref with BSD Signal Handling.
19700 2014-11-17  Richard Henderson  <rth@redhat.com>
19702         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19703         (_FP_PACK_RAW_2): Remove.
19704         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19705         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19706         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19707         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19708         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19709         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19710         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19711         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19712         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19713         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19714         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19715         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19716         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19717         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19718         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19719         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19721 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19723         * signal/signal.h [__USE_MISC]
19724         (struct sigvec): Remove type.
19725         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19726         (sigvec): Remove declaration.
19727         * sysdeps/posix/sigvec.c: Moved ...
19728         * signal/sigvec.c: ... here, replacing old file.
19729         (struct sigvec): New type, copied from old signal.h definition.
19730         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19731         (__sigvec): Convert definition to prototype.
19732         (sigvec): Replace weak_alias with compat_symbol.
19733         * signal/Versions (libc: GLIBC_2.21): New version set.
19734         * include/signal.h: Remove __sigvec declaration.
19735         * sysdeps/unix/bsd/sigvec.c: Remove file.
19736         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19737         * manual/signal.texi (BSD Handler): Remove subsection.
19738         Move siginterrupt up to ...
19739         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19740         (Blocking in BSD): Fold subsection into its parent.
19741         * NEWS: Mention sigvec removal.
19743 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19745         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19746         (DLA_FMS): Make definition conditional only on [__FMA4__].
19747         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19748         definition.
19750         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19751         Make definition conditional only on [PROF].
19752         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19753         definition.
19754         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19755         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19757         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19758         !__GNUC__].
19759         * include/signal.h (__sigpause): Move declaration above call to
19760         libc_hidden_proto.
19761         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19762         variable.
19763         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19764         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19766 2014-11-14  David S. Miller  <davem@davemloft.net>
19768         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19769         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19771 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19773         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19774         * configure: Regenerated.
19775         * manual/install.texi (Tools for Compilation): Document a
19776         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19777         compiler verified to work.
19778         * INSTALL: Regenerated.
19780         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19781         redeclare with asm name.
19782         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19783         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19784         including <string.h>.
19785         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19786         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19787         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19788         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19789         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19790         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19791         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19793 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19795         * stdlib/strtol.c (__strtol): Use prototype definition.
19797         [BZ #17594]
19798         * stdlib/strtol.c (SYM__): New macro.
19799         (SYM__1): Likewise.
19800         (__strtol): Likewise.
19801         (strtol): Rename to __strtol and define as weak alias of
19802         __strtol.  Use libc_hidden_weak.
19804 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19806         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19807         Use numbered labels in inline assembly.
19809 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19811         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19812         Add setjmp LIBC_PROBE.
19813         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19814         Likewise.
19815         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19816         Add longjmp, longjmp_target LIBC_PROBE.
19817         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19818         Likewise.
19820 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19822         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19823         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19824         to get rid of unused variable warning.
19826 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19828         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19829         Check for unwind_backtrace ==  NULL only in SHARED case.
19830         (__backchain_backtrace): Compile only in SHARED case.
19831         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19832         Likewise.
19833         (__backchain_backtrace): Declare as static.
19835 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19837         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19838         (__libc_multiple_threads_ptr): Variable moved ...
19839         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19841 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19843         * conform/GlibcConform.pm: New file.
19844         * conform/conformtest.pl: Use GlibcConform module.
19845         * conform/linknamespace.pl: New file.
19846         * conform/list-header-symbols.pl: Likewise.
19847         * conform/Makefile (linknamespace-symlists-base): New variable.
19848         (linknamespace-symlists-tests): Likewise.
19849         (linknamespace-header-base): Likewise.
19850         (linknamespace-header-tests): Likewise.
19851         (tests-special): Add new tests.
19852         ($(linknamespace-symlists-tests)): New rule.
19853         (linknamespace-libs): New variable.
19854         ($(objpfx)symlist-stdlibs): New rule.
19855         ($(linknamespace-header-tests)): Likewise.
19856         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19857         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19858         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19859         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19860         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19861         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19862         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19863         (test-xfail-ISO/math.h/linknamespace): Likewise.
19864         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19865         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19866         (test-xfail-ISO/time.h/linknamespace): Likewise.
19867         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19868         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19869         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19870         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19871         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19872         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19873         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19874         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19875         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19876         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19877         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19878         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19879         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19880         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19881         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19882         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19883         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19884         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19885         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19886         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19887         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19888         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19889         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19890         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19891         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19892         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19893         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19894         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19895         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19896         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19897         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19898         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19899         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19900         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19901         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19902         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19903         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19904         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19905         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19906         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19907         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19908         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19909         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19910         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19911         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19912         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19913         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19914         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19915         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19916         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19917         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19918         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19919         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19920         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19921         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19922         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19923         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19924         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19925         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19926         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19927         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19928         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19929         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19930         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19931         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19932         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19933         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19934         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19935         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19936         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19937         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19938         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19939         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19940         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19941         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19942         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19943         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19944         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19945         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19946         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19947         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19948         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19949         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19950         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19951         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19952         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19953         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19954         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19955         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19956         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19957         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19958         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19959         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19960         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19961         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19962         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19963         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19964         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19965         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19966         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19967         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19968         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19969         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19970         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19971         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19972         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19973         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19974         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19975         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19976         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19977         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19978         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19979         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19980         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19981         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19982         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19983         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19984         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19985         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19986         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19987         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19988         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19989         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19990         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19991         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19992         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19993         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19994         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19995         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19996         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19997         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19998         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19999         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20000         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20001         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20002         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20003         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20004         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20005         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20006         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20007         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20008         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20009         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20010         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20011         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20012         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20013         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20014         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20015         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20016         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20018         [BZ #17589]
20019         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20020         of fgets_unlocked.
20022         [BZ #17585]
20023         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20024         (memmem): Rename to __memmem and define as weak alias of
20025         __memmem.  Use libc_hidden_weak.
20026         (__memmem): Use libc_hidden_def.
20027         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20028         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20029         memmem.
20031         [BZ #17582]
20032         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20033         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20034         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20035         and define as weak alias of __fgets_unlocked.  Use
20036         libc_hidden_weak.
20037         (__fgets_unlocked): Use libc_hidden_def.
20038         * include/stdio.h (__fgets_unlocked): Declare.  Use
20039         libc_hidden_proto.
20040         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20041         __fgets_unlocked instead of fgets_unlocked.
20042         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20043         (GET_NPROCS_CONF_PARSER): Likewise.
20044         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20045         (GET_NPROCS_CONF_PARSER): Likewise.
20047         [BZ #17574]
20048         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20049         weak alias of __wmemset.  Use libc_hidden_weak.
20050         (__wmemset): Use libc_hidden_def.
20051         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20052         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20053         of wmemset.
20055         [BZ #17573]
20056         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20057         with asm name __mempcpy.
20058         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20060         [BZ #17572]
20061         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20062         and define as weak alias of __rawmemchr.
20063         (__rawmemchr): Do not define as strong alias of rawmemchr.
20065         [BZ #17571]
20066         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20067         alias of __qsort_r.
20068         (qsort): Call __qsort_r instead of qsort_r.
20069         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20070         (__qsort_r): Declare.  Call libc_hidden_proto.
20071         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20072         instead of qsort_r.
20073         * nscd/gai.c (__qsort_r): Define to qsort_r.
20074         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20075         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20076         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20078         [BZ #17570]
20079         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20080         define as weak alias of __malloc_info.
20082         [BZ #17584]
20083         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20084         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20085         (__rewinddir): Use libc_hidden_def.
20086         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20087         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20088         (__rewinddir): Use libc_hidden_def.
20089         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20090         weak alias of __rewinddir.  Don't use libc_hidden_def.
20091         (__rewinddir): Use libc_hidden_def.
20092         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20093         (__rewinddir): Use libc_hidden_proto.
20094         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20095         rewinddir.
20096         (__getcwd): Use __rewinddir instead of rewinddir.
20098         [BZ #17583]
20099         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20100         alias of __fileno.  Use libc_hidden_weak.
20101         (__fileno): Use libc_hidden_def.
20102         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20103         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20104         alias of __ftello.
20105         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20106         __ftello.
20107         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20108         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20109         libc_hidden_def.
20110         (fread_unlocked): Don't use libc_hidden_ver.
20111         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20112         and define as weak alias of __fread_unlocked.  Don't use
20113         libc_hidden_def.
20114         (__fread_unlocked): Use libc_hidden_def.
20115         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20116         (ftello): Don't use libc_hidden_proto.
20117         (__ftello): Declare.  Use libc_hidden_proto.
20118         (fread_unlocked): Don't use libc_hidden_proto.
20119         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20120         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20121         and __ftello instead of fileno, fread_unlocked and ftello.
20123 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20125         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20126         GOT12.
20127         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20128         Likewise.
20129         (_dl_start_user): Likewise.
20130         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20132 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20133             Siddhesh Poyarekar  <siddhesh@redhat.com>
20135         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20136         Move argv and envp down instead of moving argc up.
20137         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20139 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20141         [BZ #17506]
20142         * test-skeleton.c (main): Return successful if one of
20143         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20144         * string/tst-strcoll-overflow.c: Define expected status.
20146 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20148         [BZ #17475]
20149         * locale/iso-639.def: Define Bhili and Tulu language codes.
20151 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20153         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20155 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20157         [BZ #17555]
20158         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20160 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20162         * configure.ac: Updated check of minimal required version to
20163         2.22.
20164         * manual/install.texi (Tools for Compilation): Updated version
20165         number.
20166         * configure: Regenerated.
20167         * INSTALL: Likewise.
20169 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20171         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20172         __tls_get_addr.
20174 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20176         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20177         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20178         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20179         libc_hidden_weak.
20180         (waitpid): Define as alias of __waitpid.
20181         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20182         __waitpid.
20183         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20184         libc_hidden_weak.
20185         (waitpid): Define as alias of __waitpid.
20186         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20187         __libc_waitpid alias.
20188         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20189         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20190         Likewise.
20191         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20192         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20193         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20194         alias.
20195         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20196         __waitpid.
20197         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20198         libc_hidden_weak.
20199         (waitpid): Define as alias of __waitpid.
20201 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20203         * manual/llio.texi: Add comment that write safety has been
20204         fixed in Linux.
20206         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20207         (localplt-build-dso): Add elf/ld.so.
20208         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20209         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20210         and free for ld.so.
20211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20212         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20214         Likewise.
20215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20216         Likewise.
20217         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20218         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20219         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20220         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20221         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20222         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20223         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20224         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20225         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20226         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20227         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20229 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20231         [BZ #14132]
20232         * include/libc-symbols.h (INTUSE): Remove macro.
20233         (INTDEF): Likewise.
20234         (INTVARDEF): Likewise.
20235         (_INTVARDEF): Likewise.
20236         (INTDEF2): Likewise.
20237         (INTVARDEF2): Likewise.
20238         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20239         rtld_hidden_def instead of INTVARDEF.
20240         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20241         (_dl_starting_up_internal): Remove declaration.
20242         (_dl_starting_up): Use rtld_hidden_proto.
20243         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20244         declaration.
20245         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20246         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20247         _dl_starting_up.
20248         * elf/dl-writev.h (_dl_writev): Likewise.
20249         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20250         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20251         _dl_starting_up_internal.
20253 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20255         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20256         test-skeleton.c.
20258 2014-11-05  Will Newton  <will.newton@linaro.org>
20260         * benchtests/Makefile: (bench-malloc): Add malloc thread
20261         scalability benchmark.
20262         * benchtests/bench-malloc-threads.c: New file.
20264 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20266         * sysdeps/aarch64/strchrnul.S: New file.
20268 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20270         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20271         definition.
20272         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20273         Likwise.
20274         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20275         Likewise.
20276         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20277         Likewise.
20278         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20279         Likewise.
20280         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20281         Likewise.
20283 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20285         * catgets/test-gencat.c: Use test-skeleton.c.
20286         * catgets/tst-catgets.c: Likewise.
20287         * csu/tst-empty.c: Likewise.
20288         * elf/tst-audit2.c: Likewise.
20289         * elf/tst-global1.c: Likewise.
20290         * elf/tst-pathopt.c: Likewise.
20291         * elf/tst-piemod1.c: Likewise.
20292         * elf/tst-tls10.c: Likewise.
20293         * elf/tst-tls11.c: Likewise.
20294         * elf/tst-tls12.c: Likewise.
20295         * gnulib/tst-gcc.c: Likewise.
20296         * iconvdata/tst-e2big.c: Likewise.
20297         * iconvdata/tst-loading.c: Likewise.
20298         * iconv/tst-iconv1.c: Likewise.
20299         * iconv/tst-iconv2.c: Likewise.
20300         * inet/test-inet6_opt.c: Likewise.
20301         * inet/tst-gethnm.c: Likewise.
20302         * inet/tst-network.c: Likewise.
20303         * inet/tst-ntoa.c: Likewise.
20304         * intl/tst-codeset.c: Likewise.
20305         * intl/tst-gettext2.c: Likewise.
20306         * intl/tst-gettext3.c: Likewise.
20307         * intl/tst-ngettext.c: Likewise.
20308         * intl/tst-translit.c: Likewise.
20309         * io/test-stat.c: Likewise.
20310         * libio/test-fmemopen.c: Likewise.
20311         * libio/tst-freopen.c: Likewise.
20312         * libio/tst-sscanf.c: Likewise.
20313         * libio/tst-ungetwc1.c: Likewise.
20314         * libio/tst-ungetwc2.c: Likewise.
20315         * libio/tst-widetext.c: Likewise.
20316         * localedata/tst-ctype.c: Likewise.
20317         * localedata/tst-digits.c: Likewise.
20318         * localedata/tst-leaks.c: Likewise.
20319         * localedata/tst-mbswcs1.c: Likewise.
20320         * localedata/tst-mbswcs2.c: Likewise.
20321         * localedata/tst-mbswcs3.c: Likewise.
20322         * localedata/tst-mbswcs4.c: Likewise.
20323         * localedata/tst-mbswcs5.c: Likewise.
20324         * localedata/tst-setlocale.c: Likewise.
20325         * localedata/tst-trans.c: Likewise.
20326         * localedata/tst-wctype.c: Likewise.
20327         * localedata/tst-xlocale1.c: Likewise.
20328         * login/tst-grantpt.c: Likewise.
20329         * malloc/tst-calloc.c: Likewise.
20330         * malloc/tst-malloc.c: Likewise.
20331         * malloc/tst-mallocstate.c: Likewise.
20332         * malloc/tst-mcheck.c: Likewise.
20333         * malloc/tst-mtrace.c: Likewise.
20334         * malloc/tst-obstack.c: Likewise.
20335         * math/atest-exp2.c: Likewise.
20336         * math/atest-exp.c: Likewise.
20337         * math/atest-sincos.c: Likewise.
20338         * math/test-matherr.c: Likewise.
20339         * math/test-misc.c: Likewise.
20340         * math/test-powl.c: Likewise.
20341         * math/tst-definitions.c: Likewise.
20342         * misc/tst-dirname.c: Likewise.
20343         * misc/tst-efgcvt.c: Likewise.
20344         * misc/tst-fdset.c: Likewise.
20345         * misc/tst-hsearch.c: Likewise.
20346         * misc/tst-mntent2.c: Likewise.
20347         * nptl/tst-sem7.c: Likewise.
20348         * nptl/tst-sem8.c: Likewise.
20349         * nptl/tst-sem9.c: Likewise.
20350         * nss/test-netdb.c: Likewise.
20351         * posix/tst-fnmatch.c: Likewise.
20352         * posix/tst-getlogin.c: Likewise.
20353         * posix/tst-gnuglob.c: Likewise.
20354         * posix/tst-mmap.c: Likewise.
20355         * pwd/tst-getpw.c: Likewise.
20356         * resolv/tst-inet_ntop.c: Likewise.
20357         * rt/tst-timer.c: Likewise.
20358         * stdio-common/test-fseek.c: Likewise.
20359         * stdio-common/test-popen.c: Likewise.
20360         * stdio-common/test-vfprintf.c: Likewise.
20361         * stdio-common/tst-cookie.c: Likewise.
20362         * stdio-common/tst-fileno.c: Likewise.
20363         * stdio-common/tst-gets.c: Likewise.
20364         * stdio-common/tst-obprintf.c: Likewise.
20365         * stdio-common/tst-perror.c: Likewise.
20366         * stdio-common/tst-sprintf2.c: Likewise.
20367         * stdio-common/tst-sprintf3.c: Likewise.
20368         * stdio-common/tst-sprintf.c: Likewise.
20369         * stdio-common/tst-swprintf.c: Likewise.
20370         * stdio-common/tst-tmpnam.c: Likewise.
20371         * stdio-common/tst-unbputc.c: Likewise.
20372         * stdio-common/tst-wc-printf.c: Likewise.
20373         * stdlib/tst-environ.c: Likewise.
20374         * stdlib/tst-fmtmsg.c: Likewise.
20375         * stdlib/tst-limits.c: Likewise.
20376         * stdlib/tst-rand48-2.c: Likewise.
20377         * stdlib/tst-rand48.c: Likewise.
20378         * stdlib/tst-random2.c: Likewise.
20379         * stdlib/tst-random.c: Likewise.
20380         * stdlib/tst-strtol.c: Likewise.
20381         * stdlib/tst-strtoll.c: Likewise.
20382         * stdlib/tst-tls-atexit.c: Likewise.
20383         * stdlib/tst-xpg-basename.c: Likewise.
20384         * string/test-ffs.c: Likewise.
20385         * string/tst-bswap.c: Likewise.
20386         * string/tst-inlcall.c: Likewise.
20387         * string/tst-strtok.c: Likewise.
20388         * string/tst-strxfrm.c: Likewise.
20389         * sysdeps/x86_64/tst-audit10.c: Likewise.
20390         * sysdeps/x86_64/tst-audit3.c: Likewise.
20391         * sysdeps/x86_64/tst-audit4.c: Likewise.
20392         * sysdeps/x86_64/tst-audit5.c: Likewise.
20393         * time/tst-ftime_l.c: Likewise.
20394         * time/tst-getdate.c: Likewise.
20395         * time/tst-mktime3.c: Likewise.
20396         * time/tst-mktime.c: Likewise.
20397         * time/tst-posixtz.c: Likewise.
20398         * time/tst-strptime2.c: Likewise.
20399         * time/tst-strptime3.c: Likewise.
20400         * wcsmbs/tst-btowc.c: Likewise.
20401         * wcsmbs/tst-mbrtowc.c: Likewise.
20402         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20403         * wcsmbs/tst-wchar-h.c: Likewise.
20404         * wcsmbs/tst-wcpncpy.c: Likewise.
20405         * wcsmbs/tst-wcrtomb.c: Likewise.
20406         * wcsmbs/tst-wcsnlen.c: Likewise.
20407         * wcsmbs/tst-wcstof.c: Likewise.
20409 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20411         [BZ #14132]
20412         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20413         INTDEF.
20414         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20415         declaration.
20416         (_dl_mcount): Use rtld_hidden_proto.
20417         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20418         _dl_mcount.
20419         * elf/rtld.c (_rtld_global_ro): Likewise.
20421         [BZ #14132]
20422         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20423         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20424         of _dl_init_internal.
20425         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20426         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20427         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20428         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20429         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20430         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20431         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20432         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20433         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20434         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20435         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20436         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20437         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20438         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20439         * sysdeps/tile/dl-start.S (_start): Likewise.
20440         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20441         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20443         [BZ #14132]
20444         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20445         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20446         (rtld_progname): Make macro definition unconditional.
20447         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20448         INTDEF.
20449         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20450         (dl_main): Likewise.
20451         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20452         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20453         instead of _dl_argv_internal.
20454         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20455         __GI__dl_argv instead of INTUSE(_dl_argv).
20456         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20457         __GI__dl_argv instead of _dl_argv_internal.
20459         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20460         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20461         macro.
20462         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20463         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20464         New macro.
20465         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20466         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20467         macro.
20468         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20469         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20471 2014-11-04  Andreas Schwab  <schwab@suse.de>
20473         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20475 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20477         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20478         mtvsrd instruction in binary form.
20480 2014-11-03  Andreas Schwab  <schwab@suse.de>
20482         [BZ #17522]
20483         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20484         for less than MB_LEN_MAX use a local buffer of that size.
20485         * libio/tst-fputws.c: New file.
20486         * libio/Makefile (tests): Add tst-fputws.
20488 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20490         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20491         the size of the fpu_fr.fpu_dregs[] array.
20493 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20495         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20496         (__nanosleep): Do not define as alias.
20497         (nanosleep): Define as alias of __nanosleep.
20498         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20499         __libc_nanosleep name.
20501 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20503         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20504         install.texi in comment.
20506 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20508         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20509         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20510         ... add here and use lwsync or sync ...
20511         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20512         ... and add here using lwsync.
20514 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20516         * elf/dl-machine-reject-phdr.h: New file.
20517         * elf/dl-load.c: #include that.
20518         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20519         if that returned true.
20521 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20523         [BZ #17496]
20524         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20525         gen-as-const-headers chunk.  Add a big scare comment after the last
20526         safe place to touch before-compile.
20528 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20530         * manual/install.texi (Tools for Compilation): Update autoconf
20531         version requirements.
20532         * INSTALL: Regenerated.
20534         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20535         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20536         (__libc_pselect): Likewise.
20538         [BZ #14138]
20539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20544 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20546         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20547         correct barrier instruction.
20548         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20549         Likewise.
20550         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20551         Likewise.
20553 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20555         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20556         after defining inlines.  Instead, just use parens to defeat macro
20557         expansion of __isctype in its declaration.
20559 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20561         * include/sys/uio.h (__libc_readv): Remove declaration.
20562         (__libc_writev): Likewise.
20563         * misc/readv.c (__libc_readv): Rename to __readv.
20564         (__readv): Do not define as alias.
20565         (readv): Define as alias of __readv.
20566         * misc/writev.c (__libc_writev): Rename to __writev.
20567         (__writev): Do not define as alias.
20568         (writev): Define as alias of __writev.
20569         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20570         (__readv): Do not define as alias.
20571         (readv): Define unconditionally as alias of __readv.
20572         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20573         (__writev): Do not define as alias.
20574         (writev): Define unconditionally as alias of __writev.
20575         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20576         name.
20577         (writev): Do not define __libc_writev name.
20579 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20581         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20582         (convert_charseq): New function, broken out of ...
20583         (use_from_charmap): ... here.  Call it.
20584         (use_to_charmap): Use convert_charseq and free instead of duplicating
20585         its code with a variable-length stack struct.
20587 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20589         * include/fcntl.h (__libc_creat): Remove declaration.
20590         * io/creat.c (__libc_creat): Rename to creat.
20591         (creat): Do not define as alias.
20592         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20593         of creat instead of __libc_creat.
20594         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20595         to creat.
20596         (creat): Do not define as alias.
20597         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20598         __libc_creat.
20599         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20600         __libc_creat name.
20601         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20602         Likewise.
20604 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20606         * manual/llio.texi: Add comments discussing why write() may be
20607         considered MT-unsafe on Linux.
20609 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20611         * dl-load.c (local_strdup): Remove.
20612         (expand_dynamic_string_token): Use __strdup.
20613         (decompose_rpath): Likewise.
20614         (_dl_map_object): Likewise.
20616 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20618         [BZ #14132]
20619         * sysdeps/generic/unwind-dw2-fde.c
20620         (__register_frame_info_bases_internal): Do not declare.
20621         (__register_frame_info_table_bases_internal): Likewise.
20622         (__deregister_frame_info_bases_internal): Likewise.
20623         (__register_frame_info_bases): Declare and use hidden_proto before
20624         definition.  Use hidden_def instead of INTDEF.
20625         (__register_frame_info_table_bases): Likewise.
20626         (__deregister_frame_info_bases): Likewise.
20627         (__register_frame_info): Do not use INTUSE.
20628         (__register_frame): Likewise.
20629         (__register_frame_info_table): Likewise.
20630         (__register_frame_table): Likewise.
20631         (__deregister_frame_info): Likewise.
20632         (__deregister_frame): Likewise.
20634 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20636         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20637         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20638         not undefine.
20639         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20640         Likewise.
20641         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20642         Likewise.
20644 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20646         [BZ #14138]
20647         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20648         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20649         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20650         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20651         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20652         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20653         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20654         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20655         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20656         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20657         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20658         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20659         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20660         syscall.
20661         (setfsuid): Likewise.
20662         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20663         (setfsuid): Likewise.
20664         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20665         (setfsuid): Likewise.
20666         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20667         Likewise.
20668         (setfsuid): Likewise.
20669         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20670         (setfsuid): Likewise.
20671         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20672         Likewise.
20673         (setfsuid): Likewise.
20675 2014-10-27  Andreas Schwab  <schwab@suse.de>
20677         [BZ #17501]
20678         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20679         check for Slow_SSE4_2 feature bit.
20680         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20681         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20682         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20683         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20685 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20687         * configure.ac: Validate compiler version with a empirical test of
20688         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20689         $CC -v output.
20690         * configure: Regenerated.
20692         * inet/htons.c (htons): Prototypify.
20693         * inet/htonl.c (htonl): Likewise.
20695 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20697         * string/strncat.c (strncat): Improve performance by using strlen.
20699 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20701         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20703 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20705         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20706         Call libc_fetestexcept_aarch64.
20708 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20710         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20711         Call libc_feholdexcept_aarch64.
20713 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20715         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20716         Call get_rounding_mode.
20718 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20720         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20721         Simplify logic.
20723 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20725         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20726         Simplify logic.
20728 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20730         [BZ #14138]
20731         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20732         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20733         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20734         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20735         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20736         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20737         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20738         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20739         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20740         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20741         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20742         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20743         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20744         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20745         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20746         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20747         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20748         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20749         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20750         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20751         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20752         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20753         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20754         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20755         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20756         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20757         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20758         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20759         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20760         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20761         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20762         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20763         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20764         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20765         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20766         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20767         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20768         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20769         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20770         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20771         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20772         syscall.
20773         (geteuid): Likewise.
20774         (getgid): Likewise.
20775         (getuid): Likewise.
20776         (getresgid): Likewise.
20777         (getresuid): Likewise.
20778         (getgroups): Likewise.
20779         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20780         (geteuid): Likewise.
20781         (getgid): Likewise.
20782         (getuid): Likewise.
20783         (getresgid): Likewise.
20784         (getresuid): Likewise.
20785         (getgroups): Likewise.
20786         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20787         (geteuid): Likewise.
20788         (getgid): Likewise.
20789         (getuid): Likewise.
20790         (getresgid): Likewise.
20791         (getresuid): Likewise.
20792         (getgroups): Likewise.
20793         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20794         Likewise.
20795         (geteuid): Likewise.
20796         (getgid): Likewise.
20797         (getuid): Likewise.
20798         (getresgid): Likewise.
20799         (getresuid): Likewise.
20800         (getgroups): Likewise.
20801         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20802         (geteuid): Likewise.
20803         (getgid): Likewise.
20804         (getuid): Likewise.
20805         (getresgid): Likewise.
20806         (getresuid): Likewise.
20807         (getgroups): Likewise.
20808         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20809         Likewise.
20810         (geteuid): Likewise.
20811         (getgid): Likewise.
20812         (getuid): Likewise.
20813         (getgroups): Likewise.
20815         [BZ #14138]
20816         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20817         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20818         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20819         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20820         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20821         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20822         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20823         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20824         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20825         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20826         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20827         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20828         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20829         __chown.
20830         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20831         (lchown): Likewise.
20832         (fchown): Likewise.
20833         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20834         Likewise.
20835         (lchown): Likewise.
20836         (fchown): Likewise.
20837         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20838         (lchown): Likewise.
20839         (fchown): Likewise.
20840         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20841         Likewise.
20842         (lchown): Likewise.
20843         (fchown): Likewise.
20845 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20847         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20848         Simplify logic.
20850 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20852         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20853         Cleanup logic.
20855 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20857         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20858         Remove unused include.
20860 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20862         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20863         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20864         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20865         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20867 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20868             Helge Deller <deller@gmx.de>
20870         [BZ #17508]
20871         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20872         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20873         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20875 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20877         [BZ #14132]
20878         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20879         Remove macro definition.
20880         (__ashrdi3_v_glibc20): Likewise.
20881         (__lshrdi3_v_glibc20): Likewise.
20882         (__cmpdi2_v_glibc20): Likewise.
20883         (__ucmpdi2_v_glibc20): Likewise.
20884         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20885         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20886         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20887         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20888         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20889         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20891 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20893         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20894         old GNU extension [0] syntax.
20895         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20896         alloca rather than an array member with variable length.
20897         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20898         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20899         (parse_opt): ... here.  Likewise use alloca there.
20900         Validate the -i argument before checking for rootness.
20901         (send_shutdown): New function, broken out of ...
20902         (parse_opt): ... here.
20904 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20906         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20907         macro to get at the _rt_local_ro field.
20908         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20909         ([PIC] case) or _dl_hwcap ([!PIC] case).
20910         * sysdeps/arm/setjmp.S: Likewise.
20912         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20913         * sysdeps/arm/configure.ac: New check to define it.
20914         * sysdeps/arm/configure: Regenerated.
20915         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20916         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20917         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20918         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20919         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20920         Use move/movt pair instead of a load.
20921         (LDST_GLOBAL): Macro removed.
20922         (LDR_GLOBAL): New macro replaces it.
20923         (LDR_HIDDEN): New macro.
20924         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20925         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20927         * setjmp/tst-setjmp-static.c: New file.
20928         * setjmp/Makefile (tests): Add it.
20929         (tests-static): New variable.
20931 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20933         [BZ #17485]
20934         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20936 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20938         [BZ #14132]
20939         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20941 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20943         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20945 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20947         * io/fts.c (dirent_not_directory): New function.
20948         (fts_build): Call it.
20950 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20952         * nptl/version.c (__nptl_main): Use normal __write rather than
20953         INTERNAL_SYSCALL.
20954         (banner): Update copyright years.
20956         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20957         gettimeofday.
20958         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20959         * nptl/pthread_cond_timedwait.c: Likewise.
20960         * nptl/pthread_mutex_timedlock.c: Likewise.
20961         * nptl/sem_timedwait.c: Likewise.
20963         * sysdeps/nptl/bits/libc-lock.h
20964         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20965         (__libc_lock_init_recursive): Return void, not 0.
20966         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20967         (__libc_rwlock_init): Likewise.
20968         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20970 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20972         [BZ #15215]
20973         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20974         (__pthread_once_slow): ... here.
20975         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20976         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20978 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20980         [BZ #15215]
20981         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20982         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20983         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20984         * nptl/pthread_once.c (__pthread_once): Likewise.
20985         Update comments.
20987 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20989         [BZ #14138]
20990         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20991         name.
20992         (writev): Use __libc_writev as strong name.
20993         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20994         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20996 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20998         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21000         * sysdeps/i386/nptl/tls.h
21001         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21002         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21003         New macros.
21004         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21005         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21006         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21007         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21008         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21009         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21011         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21012         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21013         on [__NR_futex].
21014         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21015         broken out of ...
21016         (__pthread_mutex_init): ... here.  Call it.
21017         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21018         Conditionalize PI cases on [__NR_futex].
21019         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21020         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21021         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21023         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21024         conditional on [SIGSETXID].
21025         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21026         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21027         is defined.  Likewise for SIGSETXID.
21028         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21029         Conditionalize definitions on [SIGSETXID].
21030         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21031         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21032         unblocking on [SIGCANCEL].
21034         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21035         [__NR_set_robust_list].
21037 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21039         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21040         (do_compare): Likewise.
21042 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21044         [BZ #15884]
21045         * string/strcoll_l.c: Don't include stdio.h.
21046         (coll_seq): Remove members idxarr and rulearr.
21047         (get_next_seq_cached): Remove function.
21048         (get_next_seq): Likewise.
21049         (get_next_seq_nocache): Rename to get_next_seq.
21050         (do_compare): Remove function.
21051         (do_compare_nocache): Rename to do_compare.
21052         (STRCOLL): Remove weight and rules cache.
21054 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21056         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21057         * sysdeps/arm/sfp-machine.h: ... to here.
21058         * sysdeps/arm/Implies: Remove arm/soft-fp.
21060 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21062         * conform/data/sys/utsname.h-data (*_t): Allow.
21063         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21064         [POSIX] (WEXITED): Do not expect constant.
21065         [POSIX] (WSTOPPED): Likewise.
21066         [POSIX] (WNOHANG): Likewise.
21067         [POSIX] (WNOWAIT): Likewise.
21068         [POSIX] (siginfo_t): Do not expect type or elements.
21069         [POSIX] (pid_t): Do not expect type.
21070         [POSIX] (signal.h): Do not allow header.
21071         [POSIX] (sys/resource.h): Likewise.
21072         [POSIX] (si_*): Do not allow pattern.
21073         [POSIX] (W*): Likewise.
21074         [POSIX] (P_*): Likewise.
21075         [POSIX] (BUS_*): Likewise.
21076         [POSIX] (CLD_*): Likewise.
21077         [POSIX] (FPE_*): Likewise.
21078         [POSIX] (ILL_*): Likewise.
21079         [POSIX] (POLL_*): Likewise.
21080         [POSIX] (SEGV_*): Likewise.
21081         [POSIX] (SI_*): Likewise.
21082         [POSIX] (TRAP_*): Likewise.
21083         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21084         variable.
21086 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21088         [BZ #12926]
21089         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21090         infinite loop when __recvmsg returns 0.
21092 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21094         * CANCEL-FCT-WAIVE: Remove file.
21095         * CANCEL-FILE-WAIVE: Likewise.
21097         [BZ #14132]
21098         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21099         instead of INTVARDEF.
21100         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21101         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21102         rtld_hidden_data_def instead of INTVARDEF.
21103         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21104         * elf/dl-deps.c (expand_dst): Likewise.
21105         * elf/dl-load.c (_dl_dst_count): Likewise.
21106         (_dl_dst_substitute): Likewise.
21107         (decompose_rpath): Likewise.
21108         (_dl_init_paths): Likewise.
21109         (open_path): Likewise.
21110         (_dl_map_object): Likewise.
21111         * elf/rtld.c (dl_main): Likewise.
21112         (process_dl_audit): Likewise.
21113         (process_envvars): Likewise.
21114         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21115         Remove declaration.
21116         (__libc_enable_secure): Use rtld_hidden_proto.
21118 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21120         * elf/dl-load.c
21121         (add_path): New function broken out of _dl_rtld_di_serinfo.
21122         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21124 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21126         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21127         parentheses around macro arguments.
21128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21131         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21132         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21133         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21134         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21135         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21136         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21137         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21138         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21139         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21140         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21141         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21142         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21143         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21144         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21146         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21148         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21150         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21153         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21154         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21156         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21157         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21158         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21159         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21160         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21161         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21162         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21163         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21164         Likewise.
21165         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21166         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21167         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21168         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21169         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21170         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21171         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21172         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21173         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21174         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21175         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21176         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21177         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21178         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21179         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21180         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21181         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21182         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21183         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21184         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21185         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21186         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21187         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21188         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21189         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21190         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21191         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21192         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21193         (_FP_FRAC_SRS_1): Likewise.
21194         (_FP_FRAC_CLZ_1): Likewise.
21195         (_FP_MUL_MEAT_1_imm): Likewise.
21196         (_FP_MUL_MEAT_1_wide): Likewise.
21197         (_FP_MUL_MEAT_1_hard): Likewise.
21198         (_FP_SQRT_MEAT_1): Likewise.
21199         (_FP_FRAC_ASSEMBLE_1): Likewise.
21200         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21201         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21202         (__FP_CLZ_2): Likewise.
21203         (_FP_MUL_MEAT_2_wide): Likewise.
21204         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21205         (_FP_MUL_MEAT_2_gmp): Likewise.
21206         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21207         (_FP_SQRT_MEAT_2): Likewise.
21208         (_FP_FRAC_ASSEMBLE_2): Likewise.
21209         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21210         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21211         (_FP_FRAC_CLZ_4): Likewise.
21212         (_FP_MUL_MEAT_4_wide): Likewise.
21213         (_FP_MUL_MEAT_4_gmp): Likewise.
21214         (_FP_SQRT_MEAT_4): Likewise.
21215         (_FP_FRAC_ASSEMBLE_4): Likewise.
21216         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21217         * soft-fp/op-common.h (_FP_CMP): Likewise.
21218         (_FP_CMP_EQ): Likewise.
21219         (_FP_CMP_UNORD): Likewise.
21220         (_FP_TO_INT): Likewise.
21221         (_FP_FROM_INT): Likewise.
21222         [!__FP_CLZ] (__FP_CLZ): Likewise.
21223         (_FP_DIV_HELP_imm): Likewise.
21224         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21225         Likewise.
21226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21229         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21230         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21231         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21232         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21233         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21234         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21237         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21238         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21239         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21240         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21241         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21242         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21247         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21248         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21249         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21250         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21251         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21252         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21253         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21255         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21256         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21257         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21258         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21259         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21260         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21261         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21262         (FP_UNPACK_RAW_SP): Likewise.
21263         (FP_PACK_RAW_S): Likewise.
21264         (FP_PACK_RAW_SP): Likewise.
21265         (FP_UNPACK_S): Likewise.
21266         (FP_UNPACK_SP): Likewise.
21267         (FP_UNPACK_SEMIRAW_S): Likewise.
21268         (FP_UNPACK_SEMIRAW_SP): Likewise.
21269         (FP_PACK_S): Likewise.
21270         (FP_PACK_SP): Likewise.
21271         (FP_PACK_SEMIRAW_S): Likewise.
21272         (FP_PACK_SEMIRAW_SP): Likewise.
21273         (_FP_SQRT_MEAT_S): Likewise.
21274         (FP_CMP_S): Likewise.
21275         (FP_CMP_EQ_S): Likewise.
21276         (FP_CMP_UNORD_S): Likewise.
21277         (FP_TO_INT_S): Likewise.
21278         (FP_FROM_INT_S): Likewise.
21280         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21282         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21283         (FP_EX_INVALID_IMZ): Likewise.
21284         (FP_EX_INVALID_IMZ_FMA): Likewise.
21285         (FP_EX_INVALID_ISI): Likewise.
21286         (FP_EX_INVALID_ZDZ): Likewise.
21287         (FP_EX_INVALID_IDI): Likewise.
21288         (FP_EX_INVALID_SQRT): Likewise.
21289         (FP_EX_INVALID_CVI): Likewise.
21290         (FP_EX_INVALID_VC): Likewise.
21291         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21292         "invalid" exceptions.
21293         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21294         (_FP_ADD_INTERNAL): Likewise.
21295         (_FP_MUL): Likewise.
21296         (_FP_FMA): Likewise.
21297         (_FP_DIV): Likewise.
21298         (_FP_CMP_CHECK_NAN): Likewise.
21299         (_FP_SQRT): Likewise.
21300         (_FP_TO_INT): Likewise.
21301         (FP_EXTEND): Likewise.
21303 2014-10-09  Allan McRae  <allan@archlinux.org>
21305         * po/fr.po: Update French translation from translation project.
21307 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21309         [BZ #14132]
21310         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21311         of INTDEF.
21312         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21313         (__cxa_atexit): Use libc_hidden_proto.
21314         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21316         [BZ #14132]
21317         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21318         declaration.
21319         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21320         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21321         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21322         [!_ISOMAC] (__iswctype_internal): Likewise.
21323         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21324         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21325         alias.
21326         (fcntl): Remove __fcntl_internal alias.
21327         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21328         __connect_internal alias.
21329         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21330         Likewise.
21332         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21333         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21334         FP_DENORM_ZERO.
21335         (_FP_CHECK_FLUSH_ZERO): New macro.
21336         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21337         (_FP_CMP): Likewise.
21338         (_FP_CMP_EQ): Likewise.
21339         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21340         FP_DENORM_ZERO.
21341         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21342         (FP_TRUNC): Likewise.
21344         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21345         treated as invalid conversion, not as normal exponent.
21347         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21348         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21349         (_FP_CMP_EQ): Likewise.
21350         (_FP_CMP_UNORD): Likewise.
21351         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21352         (FP_CMP_EQ_D): Likewise.
21353         (FP_CMP_UNORD_D): Likewise.
21354         * soft-fp/extended.h (FP_CMP_E): Likewise.
21355         (FP_CMP_EQ_E): Likewise.
21356         (FP_CMP_UNORD_E): Likewise.
21357         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21358         (FP_CMP_EQ_Q): Likewise.
21359         (FP_CMP_UNORD_Q): Likewise.
21360         * soft-fp/single.h (FP_CMP_S): Likewise.
21361         (FP_CMP_EQ_S): Likewise.
21362         (FP_CMP_UNORD_S): Likewise.
21363         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21364         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21365         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21366         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21367         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21368         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21369         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21370         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21371         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21372         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21373         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21374         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21375         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21376         to FP_CMP_Q.
21377         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21378         FP_CMP_Q.
21379         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21380         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21381         FP_CMP_EQ_Q.
21382         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21383         FP_CMP_Q.
21384         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21385         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21386         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21387         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21388         FP_CMP_EQ_Q.
21389         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21390         FP_CMP_Q.
21391         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21392         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21393         FP_CMP_EQ_Q.
21394         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21395         FP_CMP_Q.
21396         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21397         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21398         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21399         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21400         FP_CMP_EQ_Q.
21402         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21403         a subnormal result, set the underflow exception if trapping on
21404         underflow is enabled.
21405         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21406         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21407         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21408         redefine to 0.
21409         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21410         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21411         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21412         * soft-fp/extendxftf2.c (__extendxftf2): Use
21413         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21415         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21416         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21417         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21418         FP_HANDLE_EXCEPTIONS.
21419         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21420         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21421         FP_HANDLE_EXCEPTIONS.
21422         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21423         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21424         FP_HANDLE_EXCEPTIONS.
21425         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21426         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21427         FP_HANDLE_EXCEPTIONS.
21429 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21431         [BZ #14132]
21432         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21433         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21434         use INTUSE.
21435         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21436         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21437         Remove alias.
21438         (__adjtimex): Define using libc_hidden_ver.
21439         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21440         Remove declaration.
21441         (ntp_gettime): Call __adjtimex directly.
21442         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21443         Remove declaration.
21444         (ntp_gettimex): Call __adjtimex directly.
21445         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21446         __adjtimex_internal alias.
21448 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21450         [BZ #17460]
21451         * nscd/nscd.c (more_help): Rewrite list of tables collection
21452         using xstrdup and asprintf.
21454         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21456 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21457             Roland McGrath  <roland@hack.frob.com>
21459         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21460         (do_lookup_unique): ... local function 'enter' here; update callers.
21462 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21464         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21465         compat_symbol calls on [SHARED].
21466         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21467         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21468         Remove.
21469         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21470         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21471         (oldsetrlimit): Remove.
21472         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21474         (lchown): New syscall entry.
21475         (oldsetrlimit): Remove.
21476         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21477         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21478         (oldsetrlimit): Remove.
21479         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21481         [BZ #14138]
21482         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21483         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21484         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21485         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21486         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21487         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21488         (fchown): Likewise.
21489         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21490         (fchown): Likewise.
21491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21492         Likewise.
21494 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21496         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21497         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21498         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21499         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21500         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21501         Likewise.
21502         (__old_sem_post): Likewise.
21504 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21506         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21507         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21508         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21509         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21510         Use INLINE_VSYSCALL macro.
21511         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21512         __vdso_clock_gettime.
21513         * sysdeps/unix/sysv/linux/tile/init-first.c
21514         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21515         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21516         __vdso_clock_gettime.
21518         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21519         to set up frame more cleanly.
21521         * sysdeps/tile/memcmp.c: New file.
21523         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21525         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21526         * sysdeps/tile/tilegx/strcasestr.c: New file.
21527         * sysdeps/tile/tilegx/strnlen.c: New file.
21528         * sysdeps/tile/tilegx/strstr.c: New file.
21530         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21532 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21534         * nptl/tst-setuid3.c: Write errors to stdout.
21536 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21538         * elf/dl-deps.c
21539         (preload): New functions broken out of _dl_map_object_deps.
21540         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21542 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21544         [BZ #14138]
21545         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21546         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21548 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21550         * sysdeps/mips/strcmp.S: New.
21552 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21554         [BZ #14138]
21555         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21556         (linkat): Likewise.
21557         (mkdirat): Likewise.
21558         (readlinkat): Likewise.
21559         (renameat): Likewise.
21560         (symlinkat): Likewise.
21561         (unlinkat): Likewise.
21562         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21563         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21564         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21565         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21566         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21567         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21568         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21570 2014-09-30  Will Newton  <will.newton@linaro.org>
21572         * math/math.h: Define long double math functions if
21573         _LIBC_TEST is defined.
21574         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21576         * localedata/Makefile: Move assignment to tests-special
21577         into an ifdef testing run-built-tests.
21578         * timezone/Makefile: Likewise.
21580 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21582         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21583         with $(BASH) not $(SHELL).
21585 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21586             Matthew LeGendre  <legendre1@llnl.gov>
21588         [BZ #17411]
21589         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21590         l_reloc_result.
21592 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21594         * stdio-common/printf_fp.c
21595         (hack_digit): New function, broken out of ...
21596         (__printf_fp): ... local function here.  Update call sites.
21597         hack_digit now takes an additional parameter that is a pointer
21598         to a struct of the referenced locals.  Those locals moved inside
21599         the struct and references updated.
21601 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21603         * aclocal.m4: Require autoconf 2.69.
21604         * configure: Regenerated.
21605         * sysdeps/aarch64/configure: Likewise.
21606         * sysdeps/alpha/configure: Likewise.
21607         * sysdeps/arm/armv7/configure: Likewise.
21608         * sysdeps/arm/configure: Likewise.
21609         * sysdeps/ia64/configure: Likewise.
21610         * sysdeps/mach/configure: Likewise.
21611         * sysdeps/mips/configure: Likewise.
21612         * sysdeps/s390/configure: Likewise.
21613         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21616         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21617         file.
21618         * sysdeps/ia64/configure.ac: Likewise.
21620 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21623         specify symbol version for ld.so.  Do not include entry for
21624         libpthread.
21625         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21626         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21627         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21629         [BZ #14171]
21630         * Makeconfig [$(build-shared) = yes]
21631         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21632         makefiles.
21633         [$(build-shared) = yes && $(soversions.mk-done) = t]
21634         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21635         [$(build-shared) = yes && $(soversions.mk-done) = t]
21636         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21637         to Makerules.
21638         [$(build-shared) = yes && $(soversions.mk-done) = t]
21639         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21640         here.
21641         [$(build-shared) = yes && $(soversions.mk-done) = t]
21642         (common-generated): Don't append gnu/lib-names.h and
21643         gnu/lib-names.stmp here.
21644         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21645         (lib-names-h-abi): New variable.
21646         [$(build-shared) = yes && $(soversions.mk-done) = t]
21647         (lib-names-stmp-abi): Likewise.
21648         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21649         abi-variants] (before-compile): Append
21650         $(common-objpfx)$(lib-names-h-abi).
21651         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21652         abi-variants] (common-generated): Append gnu/lib-names.h.
21653         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21654         abi-variants] (install-others-nosubdir): Depend on
21655         $(inst_includedir)/$(lib-names-h-abi).
21656         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21657         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21658         [$(build-shared) = yes && $(soversions.mk-done) = t]
21659         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21660         [$(build-shared) = yes && $(soversions.mk-done) = t]
21661         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21662         [$(build-shared) = yes && $(soversions.mk-done) = t]
21663         (common-generated): Append $(lib-names-h-abi) and
21664         $(lib-names-stmp-abi).
21665         * scripts/lib-names.awk: Do not handle multi being set.
21666         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21667         Remove variable.
21668         (abi-lp64_be-ld-soname): Likewise.
21669         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21670         Likewise.
21671         (abi-hard-ld-soname): Likewise.
21672         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21673         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21674         Remove variable.
21675         (abi-o32_hard-ld-soname): Likewise.
21676         (abi-o32_soft_2008-ld-soname): Likewise.
21677         (abi-o32_hard_2008-ld-soname): Likewise.
21678         (abi-n32_soft-ld-soname): Likewise.
21679         (abi-n32_hard-ld-soname): Likewise.
21680         (abi-n32_soft_2008-ld-soname): Likewise.
21681         (abi-n32_hard_2008-ld-soname): Likewise.
21682         (abi-n64_soft-ld-soname): Likewise.
21683         (abi-n64_hard-ld-soname): Likewise.
21684         (abi-n64_soft_2008-ld-soname): Likewise.
21685         (abi-n64_hard_2008-ld-soname): Likewise.
21686         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21687         Likewise.
21688         (abi-64-v2-ld-soname): Likewise.
21689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21690         ld.so entries.
21691         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21692         variable.
21693         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21694         entry.
21695         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21696         variable.
21697         (abi-64-ld-soname): Likewise.
21698         (abi-x32-ld-soname): Likewise.
21699         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21700         entry.
21701         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21703 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21705         [BZ #14138]
21706         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21707         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21708         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21709         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21710         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21711         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21712         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21713         syscall entry for GLIBC_2.2 symbol version.
21714         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21715         Likewise.
21716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21717         (setrlimit): Likewise.
21718         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21719         Likewise.
21721 2014-09-23  Will Newton  <will.newton@linaro.org>
21723         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21724         _LINUX_ARM_SYSDEP_H include guard too.
21725         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21726         define.
21728 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21730         * sysdeps/unix/sysv/linux/eventfd.c:
21731         Make first argument unsigned.
21732         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21733         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21735 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21737         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21738         * socket/sys/socket.h: Likewise
21739         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21741 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21743         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21745 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21747         * time/tst-ftime.c: New test.
21748         * time/Makefile (tests): Add tst-ftime.
21750 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21752         * soft-fp/extended.h: Fix comment formatting.
21753         * soft-fp/op-1.h: Likewise.
21754         * soft-fp/op-2.h: Likewise.
21755         * soft-fp/op-4.h: Likewise.
21756         * soft-fp/op-8.h: Likewise.
21757         * soft-fp/op-common.h: Likewise.
21758         * soft-fp/soft-fp.h: Likewise.
21760         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21762 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21764         [BZ #6652]
21765         * Makeconfig (soversions-default-setname): Remove variable.
21766         ($(common-objpfx)soversions.i): Don't pass default_setname to
21767         soversions.awk.
21768         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21769         oldest_abi to abi-versions.awk.
21770         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21771         * config.make.in (oldest-abi): Remove variable.
21772         * configure.ac (--enable-oldest-abi): Remove configure option.
21773         * configure: Regenerated.
21774         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21775         text.
21776         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21777         * scripts/soversions.awk: Do not handle default_setname variable.
21778         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21779         variable.
21780         * sysdeps/mach/hurd/configure: Regenerated.
21781         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21782         variable.
21783         * sysdeps/unix/sysv/linux/configure: Regenerated.
21785 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21787         * elf/Makefile (CFLAGS-interp.c): Remove.
21788         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21789         path string.
21790         * elf/interp.c: Include generated runtime-linker.h
21792         * Makerules (lib%.so): Don't include $(+interp) in
21793         prerequisites.
21794         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21795         * dlfcn/eval.c: Remove file.
21797         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21798         macros.
21800         [BZ #17266]
21801         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21802         4.2 and newer.
21804         [BZ #17370]
21805         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21807 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21808             Jakub Jelinek  <jakub@redhat.com>
21810         [BZ #17266]
21811         * libio/stdio.h: Check definition of __fortify_function
21812         instead of __extern_always_inline to include bits/stdio2.h.
21813         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21814         check if __extern_always_inline is defined.
21815         [__USE_MISC || __USE_XOPEN]: Likewise.
21816         [__USE_ISOC99] Likewise.
21817         * misc/sys/cdefs.h (__fortify_function): Define only if
21818         __extern_always_inline is defined.
21819         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21820         __extern_always_inline and __extern_inline only for g++-4.3
21821         and newer or a compatible gcc.
21823 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21825         [BZ #17371]
21826         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21827         last change to handle zero prefix length.
21829 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21831         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21832         _SC_REGEX_VERSION.
21834         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21835         _POSIX_RAW_SOCKETS.
21837 2014-09-13  Allan McRae  <allan@archlinux.org>
21839         * po/ru.po: Update Russian translation from translation project.
21841 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21843         * locale/programs/locale.c (show_locale_vars): Inline local function
21844         into its sole call site.  Clean up some style nits.
21845         (print_item): New function, broken out of ...
21846         (show_info): ... local function here.  Clean up style nits.
21848         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21849         out of ...
21850         (set_class_defaults): ... local function set_default here.
21851         Define set_default as a macro locally to pass constant parameters.
21852         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21853         rather than a shared local.
21855         * stdlib/rpmatch.c (try): New function, broken out of ...
21856         (rpmatch): ... local function here.  Also, prototypify definition.
21858 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21860         * scripts/soversions.awk: Do not handle configuration names.
21861         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21862         vendor and os variables to soversions.awk.
21863         * configure.ac: Do not modify gnu-* host_os.
21864         * configure: Regenerated
21865         * shlib-versions: Remove first column with configuration names.
21866         * nptl/shlib-versions: Likewise.
21867         * nptl_db/shlib-versions: Likewise.
21868         * sysdeps/hppa/shlib-versions: Likewise.
21869         * sysdeps/m68k/shlib-versions: Likewise.
21870         * sysdeps/mach/hurd/shlib-versions: Likewise.
21871         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21872         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21873         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21874         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21875         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21876         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21877         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21878         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21880         Likewise.
21881         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21882         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21883         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21884         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21885         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21886         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21887         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21888         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21891         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21893         Regenerated.
21894         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21896         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21898         * shlib-versions: Remove OS-specific entries.  Moved to files in
21899         sysdeps.
21900         * sysdeps/mach/hurd/shlib-versions: New file.
21901         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21903         * nptl/shlib-versions: Remove architecture-specific entries.
21904         Moved to files in sysdeps.
21905         * shlib-versions: Likewise.
21906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21907         file.
21908         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21909         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21910         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21911         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21913         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21914         (UDP_NO_CHECK6_RX): Likewise.
21916 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21918         * sysdeps/posix/sysconf.c (__sysconf): Spell
21919         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21921 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21923         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21924         loading.
21925         * iconv/Versions (__gconv_transliterate): Export for use from
21926         gconv modules.
21927         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21928         (struct __gconv_trans_data, __gconv_trans_fct,
21929         __gconv_trans_context_fct, __gconv_trans_query_fct,
21930         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21931         definitions.
21932         (struct __gconv_step_data): Remove __trans member.
21933         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21934         longer hidden.  Remove unused trans_data argument.
21935         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21936         (__gconv_translit_find): Remove declaration.
21937         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21938         prototype.
21939         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21940         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21941         trans_data argument.  Add hidden definition.
21942         (__gconv_translit_find): Remove.
21943         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21944         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21945         * iconv/skeleton.c: Remove transliteration initialization.
21946         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21947         __gconv_step_data initialization.
21948         * libio/iofwide.c (__libio_translit_): Remove.
21949         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21950         * wcsmbs/btowc.c (__btowc): Likewise.
21951         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21952         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21953         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21954         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21955         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21956         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21957         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21958         * wcsmbs/wctob.c (wctob): Likewise.
21960 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21962         [BZ #16194]
21963         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21964         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21965         register usage.
21966         * sysdeps/x86/Makefile: Adjust.
21968 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21969             Roland McGrath  <roland@hack.frob.com>
21971         * locale/weight.h: Add include guard.
21972         (findidx): Make static rather than auto; take new parameters
21973         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21974         * locale/weightwc.h: Likewise.
21975         * posix/fnmatch_loop.c
21976         (FCT): Change type of EXTRA from int32_t to wint_t.
21977         Don't include either header inside the function.
21978         Call FINDIDX rather than findidx, and pass new arguments.
21979         #undef FINDIDX at the end of the file.
21980         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21981         FINDIDX before including fnmatch_loop.c for the non-wide version.
21982         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21983         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21984         for the wide version.
21985         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21986         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21987         Pass new arguments to findidx.
21988         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21989         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21990         Don't #include it inside the function.  Pass new arguments to findidx.
21991         * posix/regex_internal.h
21992         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21993         (re_string_elem_size_at): Don't #include it inside the function.
21994         Pass new arguments to findidx.
21995         * string/strcoll_l.c: #include WEIGHT_H at top level.
21996         (get_next_seq): Don't #include it inside the function.
21997         Pass new arguments to findidx.
21998         (get_next_seq_nocache): Likewise.
21999         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22000         (STRXFRM): Don't #include it inside the function.
22001         Pass new arguments to findidx.
22003 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22005         [BZ #17344]
22006         * malloc/malloc.c (unlink): Turn asserts into a call to
22007         malloc_printerr.
22009 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22011         [BZ #17370]
22012         * libio/wfileops (do_ftell_wide): Free OUT.
22014 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22016         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22018 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22020         [BZ #17363]
22021         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22022         group if the current group is empty.
22024 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22026         * benchtests/bench-memset.c (test_main): Add more test from size
22027         from 32 to 512 bytes.
22028         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22029         Add POWER8 memset object.
22030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22031         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22032         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22033         implementation.
22034         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22035         Likewise.
22036         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22037         multiarch POWER8 memset optimization.
22038         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22039         POWER8 memset optimization.
22041         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22042         Remove bzero multiarch objects.
22043         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22044         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22045         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22046         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22047         Remove define.
22048         [__bzero]: Redefine to specific name.
22049         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22050         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22051         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22052         define.
22053         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22054         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22056 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22058         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22059         warnings into errors.
22061         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22062         __cxa_thread_atexit_impl prototype.
22064 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22066         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22067         Fix capitalization of error message.
22069 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22071         * sysdeps/mips/preconfigure: Modify ABI tests.
22073 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22075         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22077 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22078             Carlos O'Donell  <carlos@systemhalted.org>
22080         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22081         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22082         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22083         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22084         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22085         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22086         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22087         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22088         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22089         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22090         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22091         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22092         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22093         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22094         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22095         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22096         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22097         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22098         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22099         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22100         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22101         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22102         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22103         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22104         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22105         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22106         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22107         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22108         Deconditionalize the code that was previously under [RESET_PID].
22109         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22110         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22111         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22112         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22113         include sysdep.h.
22115 2014-09-08  Allan McRae  <allan@archlinux.org>
22117         * version.h (RELEASE): Set to "development".
22118         (VERSION): Set to "2.20.90"
22120 2014-09-07  Allan McRae  <allan@archlinux.org
22122         * version.h (RELEASE): Set to "stable".
22123         (VERSION): Set to "2.20"
22124         * include/features.h (__GLIBC_MINOR__): Set to 20.
22126         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22127         Liebler.
22129         * po/ko.po: Update Korean translation from translation project.
22131 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22133         [BZ #17354]
22134         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22135         macro for handling signed relocations.
22137 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22139         [BZ #17325]
22140         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22141         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22142         assert.
22143         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22144         * iconvdata/ibm935.c (BODY): Likewise.
22145         * iconvdata/ibm937.c (BODY): Likewise.
22146         * iconvdata/ibm939.c (BODY): Likewise.
22147         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22148         assert.
22149         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22150         script.
22151         * iconvdata/run-iconv-test.sh: New test loop for checking for
22152         decoder crashers.
22154 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22156         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22157         libm_hidden_ver.
22159 2014-09-01  Allan McRae  <allan@archlinux.org>
22161         * po/eo.po: Update Esperanto translation from translation project.
22163         * po/ca.po: Update Catalan translation from translation project.
22165 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22167         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22168         __proc_dostop call.
22170 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22172         [BZ #17319]
22173         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22174         to call set_thread_area instead of hand written asm.
22175         (__NR_set_thread_area): Removed define.
22176         (TLS_FLAG_WRITABLE): Likewise.
22177         (__ASSUME_SET_THREAD_AREA): Remove check.
22178         (TLS_EBX_ARG): Remove define.
22179         (TLS_LOAD_EBX): Likewise.
22181 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22183         Simplify atomicity of socket creation in bind.
22185         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22186         looking up the name after linking the file.
22188 2014-08-27  Allan McRae  <allan@archlinux.org>
22190         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22192 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22194         [BZ #17187]
22195         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22196         trans_compare, open_translit, __gconv_translit_find):
22197         Remove module loading code.
22199 2014-08-26  Allan McRae  <allan@archlinux.org>
22201         * po/vi.po: Update Vietnamese translation from translation project.
22203         * po/uk.po: Update Ukrainian translation from translation project.
22205         * po/fr.po: Update French translation from translation project.
22207         * po/ru.po: Update Russian translation from translation project.
22209         * po/pl.po: Update Polish translation from translation project.
22211         * po/cs.po: Update Czech translation from translation project.
22213         * po/de.po: Update German translation from translation project.
22215         * po/bg.po: Update Bulgarian translation from translation project.
22217         * po/sv.po: Update Sweedish translation from translation project.
22219         * po/nl.po: Update Dutch translation from translation project.
22221         * po/es.po: Update Spanish translation from translation project.
22223 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22225         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22227         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22228         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22229         (CPPFLAGS-iconvconfig): Likewise.
22230         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22232         * include/libc-symbols.h: Remove unnecessary check for
22233         NOT_IN_libc.
22234         * nptl/pthreadP.h: Likewise.
22235         * sysdeps/aarch64/setjmp.S: Likewise.
22236         * sysdeps/alpha/setjmp.S: Likewise.
22237         * sysdeps/arm/sysdep.h: Likewise.
22238         * sysdeps/i386/setjmp.S: Likewise.
22239         * sysdeps/m68k/setjmp.c: Likewise.
22240         * sysdeps/posix/getcwd.c: Likewise.
22241         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22242         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22243         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22244         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22245         * sysdeps/sh/sh3/setjmp.S: Likewise.
22246         * sysdeps/sh/sh4/setjmp.S: Likewise.
22247         * sysdeps/unix/alpha/sysdep.h: Likewise.
22248         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22249         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22250         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22251         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22255         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22256         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22257         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22258         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22259         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22261         * sysdeps/x86_64/setjmp.S: Likewise.
22263 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22265         [BZ #17263]
22266         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22267         <stdint.h>.
22268         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22269         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22271 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22273         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22275         [BZ #17262]
22276         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22277         and __x86_64__ when disabling x87 inline functions.
22279 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22281         [BZ #17259]
22282         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22283         asm statement with __cpuid_count.
22285 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22287         * configure.ac: Change __ehdr_start code to dereference the struct.
22288         Run readelf on the output to look for relocations.
22289         * configure: Regenerated.
22291 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22293         [BZ #17261]
22294         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22295         value to 0.
22296         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22298 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22300         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22302 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22304         [BZ #16892]
22305         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22306         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22308 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22310         * malloc/malloc.c: Fix typo in comment.
22312 2014-08-09  Allan McRae  <allan@archlinux.org>
22314         * Regenerate libc.po.
22316 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22318         * intl/tst-gettext2.sh: Check every lang file for creation.
22320 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22322         * sysdeps/aarch64/fpu/math_private.h
22323         (libc_feholdsetround_noex_aarch64_ctx): New function.
22325 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22327         * sysdeps/arm/armv6/strcpy.S (strcpy):
22328         Fix performance issue in misaligned cases.
22330 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22332         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22333         Move definition from termios.h.
22334         (struct termio): Likewise.
22335         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22336         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22337         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22338         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22339         Likewise.
22340         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22341         Move definition to ioctl-types.h
22342         (struct termio): Likewise.
22343         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22344         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22345         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22346         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22347         Likewise.
22349 2014-08-05  Richard Henderson  <rth@redhat.com>
22351         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22352         exceptions.
22353         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22354         Add fraiseexcpt.
22355         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22356         Use __feraiseexcept.
22357         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22358         Protect libm symbols with IS_IN_libm.
22360         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22362 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22364         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22366 2014-08-04  Will Newton  <will.newton@linaro.org>
22368         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22369         file.
22371 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22373         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22374         variants for each function.
22376 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22378         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22379         appended ...
22380         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22381         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22382         appended ...
22383         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22384         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22385         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22386         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22387         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22388         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22389         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22390         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22391         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22392         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22393         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22394         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22395         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22396         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22397         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22398         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22399         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22400         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22401         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22402         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22403         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22404         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22405         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22406         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22407         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22408         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22409         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22410         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22411         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22412         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22413         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22414         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22415         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22416         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22417         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22418         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22419         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22420         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22421         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22422         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22423         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22424         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22425         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22426         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22427         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22428         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22429         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22430         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22431         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22432         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22433         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22434         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22435         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22436         Update #include.
22437         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22438         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22440 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22442         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22443         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22444         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22445         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22446         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22447         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22449 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22451         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22452         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22453         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22454         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22456 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22458         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22459         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22460         (__libc_vfork): Define function under this name.
22461         (__vfork): Define as an alias.
22462         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22463         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22465 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22467         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22468         that was previously under [RESET_PID].
22469         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22471 2014-08-04  Andreas Schwab  <schwab@suse.de>
22473         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22475 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22477         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22478         (main): Likewise.
22480 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22482         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22484 2014-08-01  Richard Henderon  <rth@redhat.com>
22486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22487         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22488         typo in exact zero test.
22489         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22490         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22491         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22493 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22495         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22496         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22497         * sysdeps/arm/sysdep.h: ... here.
22498         [!__ASSEMBLER__]: Include <stdint.h>.
22500 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22502         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22503         (HAVE_WCTYPE_H): Likewise.
22504         (HAVE_ISWCTYPE): Likewise.
22505         (ENABLE_NLS): Likewise.
22506         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22507         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22509         * posix/regex_internal.c: Check if DEBUG is defined and is
22510         set.
22512         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22513         (HAVE_MBSRTOWCS): Likewise.
22514         * posix/fnmatch.c: Include string.h unconditionally.
22516 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22518         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22519         reversal.
22521 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22523         * sysdeps/generic/safe-fatal.h: New file.
22524         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22525         * nptl/forward.c: Include it.
22526         (__pthread_unwind): Use __safe_fatal as default action, rather
22527         than a bogus use of INTERNAL_SYSCALL that could never work.
22529         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22530         * configure.ac (libc_cv_builtin_trap): New test.
22531         * configure: Regenerated.
22532         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22533         (ABORT_INSTRUCTION): Define using __builtin_trap.
22535         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22536         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22537         * sysdeps/nptl/nptl-signals.h: New file.
22538         * nptl/pthreadP.h: Include <nptl-signals.h>.
22540 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22542         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22543         (ONE_DIRECTION): Define.
22544         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22545         (ONE_DIRECTION): Define.
22546         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22547         (ONE_DIRECTION): Define.
22549 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22551         * sysdeps/s390/Makefile: Delete file.
22552         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22553         * sysdeps/s390/__longjmp.c: Delete file.
22554         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22555         Remove fields __flags and __reserved.
22556         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22557         and add versioning.
22558         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22559         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22560         * sysdeps/s390/rtld-setjmp.S: Likewise.
22561         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22562         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22563         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22564         * sysdeps/s390/s390-32/setjmp.S: ... here.
22565         Add versioning.
22566         (__sigsetjmp): Remove setting __flags field.
22567         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22568         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22569         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22570         * sysdeps/s390/s390-64/setjmp.S: ... here.
22571         Add versioning.
22572         (__sigsetjmp): Remove setting __flags field.
22573         * sysdeps/s390/setjmp.S: Delete file.
22574         * sysdeps/s390/sigjmp.c: Likewise.
22575         * sysdeps/s390/v1-longjmp.c: Likewise.
22576         * sysdeps/s390/v1-setjmp.h: Likewise.
22577         * sysdeps/s390/v1-sigjmp.c: Likewise.
22578         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22579         Remove v1-longjmp_chk.
22580         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22581         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22582         Include debug/longjmp_chk.c and add versioning.
22583         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22584         Include nptl/pt-longjmp.c and add versioning.
22585         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22586         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22587         Include __longjmp.c.
22588         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22589         Move to ...
22590         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22591         (__getcontext): Remove setting __flags field.
22592         Add versioning.
22593         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22594         Don't restore upper high grps.
22595         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22596         Likewise.
22597         (__swapcontext): Remove setting uc_flags field.
22598         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22599         Delete file.
22600         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22601         Include __longjmp.c.
22602         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22603         Move to ...
22604         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22605         (__getcontext): Remove setting __flags field.
22606         Add versioning.
22607         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22608         (__swapcontext): Remove setting uc_flags field.
22609         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22610         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22611         Remove fields uc_high_gprs and __reserved.
22612         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22613         New file with reverted content.
22614         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22615         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22616         Regenerated.
22617         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22618         Regenerated.
22620 2014-07-31  Andreas Schwab  <schwab@suse.de>
22622         * config.h.in (HAVE_IFUNC): Define to 0.
22623         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22624         definedness.
22626 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22629         memmove-avx-unaligned, memcpy-avx-unaligned and
22630         mempcpy-avx-unaligned.
22631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22632         Add tests for AVX memcpy functions.
22633         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22634         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22635         memcpy_chk.
22636         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22637         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22638         memmove_chk.
22639         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22640         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22641         mempcpy_chk.
22642         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22643         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22644         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22646 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22648         [BZ #17213]
22649         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22650         powerpc64le.
22652 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22654         [BZ #16839]
22655         * manual/llio.texi: Add section about open file description locks.
22656         * manual/examples/ofdlocks.c: Example of open file description
22657         lock usage.
22658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22659         F_OFD_SETLK, and F_OFD_SETLKW.
22661 2014-07-23  Allan McRae  <allan@archlinux.org>
22663         * po/es.po: Update Spanish translation from translation project.
22665 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22667         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22669 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22671         [BZ #17078]
22672         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22673         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22674         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22676 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22678         [BZ #17088]
22679         * math/fesetenv.c (__fesetenv)
22680         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22681         * math/feupdateenv.c (__feupdateenv)
22682         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22684         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22685         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22686         (__ASSUME_SOCKETCALL): Do not define.
22688         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22689         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22690         (__ASSUME_SOCKETCALL): Do not define.
22691         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22692         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22693         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22694         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22695         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22696         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22697         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22698         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22700         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22701         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22702         (__ASSUME_SOCKETCALL): Do not define.
22703         (__ASSUME_IPC64): Define unconditionally.
22704         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22705         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22706         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22707         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22708         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22709         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22710         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22711         Likewise.
22713         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22714         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22715         (__ASSUME_SOCKETCALL): Do not define.
22716         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22717         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22718         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22719         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22720         (__ASSUME_REQUEUE_PI): Define unconditionally.
22721         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22722         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22723         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22724         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22725         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22726         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22728         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22729         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22730         (__ASSUME_SOCKETCALL): Do not define.
22731         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22732         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22733         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22734         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22735         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22736         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22738         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22739         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22740         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22741         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22742         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22743         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22744         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22745         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22746         (__ASSUME_GETCPU_SYSCALL): Likewise.
22748         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22749         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22750         cases for individual architectures.
22751         * sysdeps/gnu/configure: Regenerated.
22752         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22753         LIBC_SLIBDIR_RTLDDIR.
22754         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22755         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22756         LIBC_SLIBDIR_RTLDDIR.
22757         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22759         LIBC_SLIBDIR_RTLDDIR.
22760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22761         Regenerated.
22762         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22763         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22764         file.
22765         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22766         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22767         file.
22768         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22769         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22770         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22771         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22773         * sysdeps/aarch64/shlib-versions: Move to ...
22774         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22775         * sysdeps/alpha/shlib-versions: Move to ...
22776         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22777         * sysdeps/arm/shlib-versions: Move to ...
22778         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22779         * sysdeps/hppa/shlib-versions: Move all contents except for
22780         libgcc_s entry to ...
22781         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22782         entry from ...
22783         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22784         * sysdeps/ia64/shlib-versions: Move to ...
22785         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22786         entry from ...
22787         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22788         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22789         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22790         * sysdeps/microblaze/shlib-versions: Move to ...
22791         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22792         * sysdeps/mips/shlib-versions: Move to ...
22793         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22794         entry from ...
22795         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22796         * sysdeps/tile/shlib-versions: Move to ...
22797         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22798         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22799         from ...
22800         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22801         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22802         entry from ...
22803         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22805 2014-07-17  Will Newton  <will.newton@linaro.org>
22807         * sysdeps/arm/bits/atomic.h
22808         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22809         (__arch_compare_and_exchange_bool_16_int): Likewise.
22810         (__arch_compare_and_exchange_bool_64_int): Likewise.
22812         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22813         into an #else block.
22815 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22817         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22818         just Linux configurations.  Test empirically that the compiler sets
22819         __ARM_EABI__, rather than using the tuple to decide.
22820         * sysdeps/arm/preconfigure: Regenerated.
22821         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22822         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22823         contents appended ...
22824         * sysdeps/arm/configure.ac: ... here.
22825         * sysdeps/arm/configure: Regenerated.
22827 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22829         * nptl/pthread_kill.c: New file.
22830         * nptl/pthread_sigmask.c: New file.
22831         * nptl/pthread_sigqueue.c: New file.
22833         * sysdeps/nptl/lowlevellock.h: New file.
22834         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22835         * sysdeps/nptl/lowlevellock-futex.h: New file.
22837         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22838         Remove dead declarations.
22840 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22842         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22843         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22844         config-cflags-avx2.
22845         * sysdeps/x86_64/configure.ac: Likewise.
22846         * sysdeps/i386/configure: Regenerated.
22847         * sysdeps/x86_64/configure: Likewise.
22848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22849         memset-avx2 only if config-cflags-avx2 is yes.
22850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22851         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22852         defined.
22853         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22854         only if HAVE_AVX2_SUPPORT is defined.
22855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22857 2014-07-14  Alan Modra  <amodra@gmail.com>
22859         [BZ #17153]
22860         * elf/elf.h (DT_PPC64_NUM): Correct value.
22861         * NEWS: Add to fixed bug list.
22863 2014-07-13  Jim Meyering  <meyering@fb.com>
22865         [BZ 17150]
22866         regex: don't deref NULL upon heap allocation failure
22867         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22868         failure in one more place.
22869         To trigger the segfault, configure grep -with-included-regex,
22870         build it, and run these commands:
22871         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22873 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22875         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22877 2014-07-11  Richard Henderson  <rth@redhat.com>
22879         * sysdeps/aarch64/libm-test-ulps: Update.
22881 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22883         [BZ #17135]
22884         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22885         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22886         (__nptl_setxid): Initialize error member.  Call
22887         __nptl_setxid_error.
22888         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22889         * nptl/descr.h (struct xid_command): Add error member.
22890         * nptl/tst-setuid3.c: New file.
22891         * nptl/Makefile (tests): Add it.
22893 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22895         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22896         New define.
22897         (__lll_trylock): Use __lll_base_trylock.
22898         (__lll_cond_trylock): Likewise.
22900 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22902         * nptl/pthread_create.c (start_thread): Use atomic_or and
22903         lll_futex_wake directly rather than lll_robust_dead.
22904         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22905         (lll_robust_dead): Macro removed.
22906         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22907         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22908         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22909         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22910         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22911         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22912         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22913         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22914         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22915         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22916         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22917         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22918         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22919         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22920         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22922         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22923         Use atomic_compare_and_exchange_val_acq directly rather than
22924         lll_robust_trylock.
22925         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22926         (__lll_robust_trylock, lll_robust_trylock): Removed.
22927         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22928         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22929         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22930         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22931         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22932         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22933         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22934         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22935         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22936         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22937         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22938         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22939         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22940         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22942 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22944         * manual/locale.texi (Locale Names): New section documenting
22945         locale name syntax.  Adjust menu and node chaining accordingly.
22946         (Choosing Locale): Reference Locale Names, Locale Categories.
22947         Mention setting LC_ALL=C.  Reflect that name syntax is now
22948         documented.
22949         (Locale Categories): New section title.  Reference Locale Names.
22950         LC_ALL is an environment variable, but not a category.
22951         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22952         description, now in Locale Name.  Reference that section.  Locale
22953         name syntax is now documented.
22955 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22957         [BZ #17137]
22958         * locale/findlocale.c (name_present, valid_locale_name): New
22959         functions.
22960         (_nl_find_locale): Use the loc_name variable to store name
22961         candidates.  Call name_present and valid_locale_name to check and
22962         validate locale names.  Return an error if the locale is invalid.
22964 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22966         * locale/setlocale.c (setlocale): Use strdup for allocating
22967         composite name copy.
22969 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22971         Sync up with gnulib.
22972         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22973         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22974         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22975         and _GL_ARG_NONNULL.
22976         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22977         [!_LIBC]: Include code for Windows and Cygwin.
22978         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22979         Include prototype for int strerror_r.
22980         [!_LIBC] (is_open): New function.
22981         (flush_stdout): New function.
22982         (print_errno_message): Use it.
22983         (error): Likewise.
22984         (error_at_line): Likewise.
22985         (error_tail) Add function attribute macros.  Use
22986         __builtin_expect.
22988         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22990         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22992         * io/ftw.c: Include sys/param.h unconditionally.
22994         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22996         [BZ #17125]
22997         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22998         libc_freeres_ptr.
22999         (freecache): New function to free CACHE on exit.
23001         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23002         initialization.
23004 2014-07-09  David S. Miller  <davem@davemloft.net>
23006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23008         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23009         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23010         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23011         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23012         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23013         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23014         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23015         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23016         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23017         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23018         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23019         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23020         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23022 2014-07-09  Andreas Schwab  <schwab@suse.de>
23024         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23025         output.
23026         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23027         (do_test): Likewise.
23029         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23031 2014-07-09  Will Newton  <will.newton@linaro.org>
23033         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23034         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23035         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23036         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23037         * sysdeps/hppa/start.S (_start): Likewise.
23039 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23041         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23043         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23044         defined.
23046 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23048         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23049         after checking that it is non-NULL.
23051         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23053 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23055         * sysdeps/powerpc/memmove.c: Remove file.
23056         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23057         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23058         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23059         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23060         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23061         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23062         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23063         string memmove instead of removed powerpc one.
23065         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23066         [weak_alias]: Fix compiler warning due trailing data.
23067         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23068         [weak_alias]: Likewise.
23069         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23070         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23073         (__libc_ifunc_impl_list): Add memmove functions.
23075 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23077         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23078         Remove code.
23079         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23080         Likewise
23081         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23082         Likewise
23083         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23084         Likewise
23085         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23086         Likewise
23087         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23088         Likewise
23089         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23090         Likewise
23091         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23092         Likewise
23093         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23094         Likewise
23095         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23096         Likewise
23097         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23098         Likewise
23099         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23100         Likewise
23101         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23102         Likewise
23103         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23104         Likewise
23105         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23106         Likewise
23107         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23108         Likewise
23109         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23110         Likewise
23112 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23114         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23115         to avoid alignment traps in non-cacheable memory.
23116         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23119         multiarch objects.
23120         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23121         file: multiarch power7 memmove.
23122         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23123         multiarch default memmove.
23124         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23125         multiarch memove for powerpc32/power4.
23127         * string/bcopy.c: Use full path to include memmove.c.
23128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23129         multiarch objects.
23130         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23131         bcopy for powerpc64.
23132         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23133         bcopy for powerpc64.
23134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23135         and memmove implementations.
23136         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23137         optimized multiarch memmove for POWER7/powerpc64.
23138         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23139         default multiarch memmove for powerpc64.
23140         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23141         multiarch for powerpc64.
23142         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23143         for POWER7/powerpc64.
23144         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23145         memmove for POWER7/powerpc64.
23147         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23148         glibc default one.
23150         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23151         __ELF_NATIVE_CLASS equal to 64.
23153 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23155         * sysdeps/nptl/lowlevellock.h: File removed.
23157         * NEWS: NPTL is no longer an add-on!
23158         * nptl/internaltypes.h: Moved ...
23159         * sysdeps/nptl/internaltypes.h: ... here.
23160         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23161         * sysdeps/nptl/fork.c: Likewise.
23162         * sysdeps/nptl/gai_misc.h: Likewise.
23163         * sysdeps/nptl/librt-cancellation.c: Likewise.
23164         * sysdeps/nptl/jmp-unwind.c: Likewise.
23165         * sysdeps/nptl/setxid.h: Likewise.
23166         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23167         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23168         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23169         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23170         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23171         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23172         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23173         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23174         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23175         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23176         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23177         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23178         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23179         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23180         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23181         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23182         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23183         * nptl/Makeconfig: Moved ...
23184         * sysdeps/nptl/Makeconfig: ... here.
23185         * nptl/configure: File removed.
23186         * nptl/ANNOUNCE: File removed.
23187         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23188         * sysdeps/unix/sysv/linux/configure: Regenerated.
23190         * nptl/Makefile (routines): Add libc_pthread_init,
23191         libc_multiple_threads, register-atfork and unregister-atfork.
23192         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23193         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23194         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23195         pthread-pi-defines.sym, structsem.sym.
23196         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23197         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23198         [$(subdir) = nptl] (tests): Add tst-setgetname.
23199         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23200         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23201         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23202         [!LIBC_SIGACTION]: Remove aliases.
23203         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23204         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23205         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23206         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23207         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23208         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23209         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23210         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23211         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23212         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23213         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23214         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23215         __libc_allocate_rtsig_private.
23216         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23217         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23218         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23219         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23220         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23221         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23222         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23223         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23224         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23225         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23226         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23227         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23228         * nptl/internaltypes.h: ... here.
23229         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23230         * sysdeps/nptl/jmp-unwind.c: ... here.
23231         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23232         * nptl/libc-lowlevellock.c: ... here.
23233         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23234         * nptl/libc_multiple_threads.c: ... here.
23235         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23236         * nptl/libc_pthread_init.c: ... here.
23237         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23238         * nptl/lowlevelbarrier.sym: ... here.
23239         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23240         * nptl/lowlevelcond.sym: ... here.
23241         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23242         * nptl/lowlevellock.c: ... here.
23243         * nptl/lowlevellock.h: Moved ...
23244         * sysdeps/nptl/lowlevellock.h: ... here.
23245         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23246         * nptl/lowlevelrobustlock.c: ... here.
23247         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23248         * nptl/lowlevelrobustlock.sym: ... here.
23249         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23250         * nptl/lowlevelrwlock.sym: ... here.
23251         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23252         * nptl/pt-fork.c: ... here.
23253         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23254         * nptl/pthread-pi-defines.sym: ... here.
23255         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23256         * nptl/pthread_attr_getaffinity.c: ... here.
23257         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23258         * nptl/pthread_attr_setaffinity.c: ... here.
23259         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23260         * nptl/pthread_mutex_cond_lock.c: ... here.
23261         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23262         Update #include.
23263         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23264         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23265         * nptl/pthread_once.c: ... here, replacing old file.
23266         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23267         * nptl/pthread_yield.c: ... here.
23268         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23269         * nptl/register-atfork.c: ... here.
23270         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23271         * nptl/sem_post.c: ... here.
23272         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23273         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23274         * nptl/sem_timedwait.c: ... here.
23275         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23276         * nptl/sem_trywait.c: ... here.
23277         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23278         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23279         * nptl/sem_wait.c: ... here.
23280         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23281         * nptl/structsem.sym: ... here.
23282         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23283         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23284         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23285         * nptl/unregister-atfork.c: ... here.
23286         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23287         * nptl/unwindbuf.sym: ... here.
23288         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23289         * sysdeps/nptl/fork.c: ... here.
23290         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23291         * sysdeps/nptl/fork.h: ... here.
23292         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23293         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23294         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23295         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23296         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23297         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23298         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23299         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23300         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23301         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23302         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23303         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23304         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23305         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23306         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23307         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23308         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23309         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23310         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23311         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23312         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23313         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23314         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23315         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23316         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23317         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23318         * sysdeps/unix/sysv/linux/raise.c: ... here.
23319         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23320         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23321         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23322         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23323         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23324         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23325         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23326         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23327         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23328         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23329         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23330         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23331         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23332         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23333         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23335 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23337         * sysdeps/generic/memcopy.h: Add comment for
23338         MEMCPY_OK_FOR_FWD_MEMMOVE.
23340 2014-07-04  Will Newton  <will.newton@linaro.org>
23342         * string/memchr.c: Merge from gnulib.
23343         [_LIBC]: Remove conditionals.
23344         (__ptr_t): Remove define.
23345         (LONG_MAX_32_BITS): Likewise.
23346         (LONG_MAX): Likewise.
23347         (MEMCHR): Use ANSI prototype and optimize algorithm.
23349         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23351 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23353         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23354         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23356         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23357         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23358         in a bare environment with no <stdlib.h> installed.
23359         * sysdeps/nptl/configure: Regenerated.
23361         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23363         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23364         AC_EGREP_CPP for kernel header checks, so they only succeed if
23365         including <linux/version.h> actually works right.
23366         * sysdeps/unix/sysv/linux/configure: Regenerated.
23368         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23369         value so it's not diagnosed as unused.
23371         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23372         thing) with "ifeq ($(subdir),rt)".
23374 2014-07-03  Richard Henderson  <rth@redhat.com>
23376         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23377         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23378         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23380         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23381         (math_force_eval): New.
23383         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23384         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23386         * sysdeps/alpha/fpu/s_round.c: Remove file.
23387         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23389         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23390         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23391         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23392         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23393         (_dl_start, print_statistics): Likewise.
23394         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23395         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23397         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23398         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23399         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23400         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23401         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23402         (HP_SMALL_TIMING_AVAIL): Define.
23403         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23404         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23405         (HP_SMALL_TIMING_AVAIL): Define.
23406         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23407         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23409         * sysdeps/aarch64/hp-timing.h: New file.
23411         * sysdeps/generic/hp-timing.h: Remove dead comment.
23412         * sysdeps/generic/hp-timing-common.h: New file.
23413         * sysdeps/alpha/hp-timing.h: Include it.
23414         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23415         * sysdeps/i386/i686/hp-timing.h: Likewise.
23416         * sysdeps/ia64/hp-timing.h: Likewise.
23417         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23418         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23419         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23420         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23421         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23422         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23423         (hp_timing_t): New.
23425         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23426         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23427         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23428         * elf/rtld.c (_dl_start_final): Likewise.
23429         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23430         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23431         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23432         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23433         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23434         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23435         (HP_TIMING_DIFF_INIT): Remove.
23436         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23437         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23438         (HP_TIMING_DIFF_INIT): Remove.
23439         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23440         * sysdeps/i386/i686/hp-timing.c: Remove file.
23441         * sysdeps/x86_64/hp-timing.c: Remove file.
23442         * sysdeps/ia64/hp-timing.c: Remove file.
23443         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23444         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23445         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23446         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23448         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23449         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23450         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23451         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23452         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23453         (HP_TIMING_ACCUM): Remove.
23454         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23455         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23456         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23458         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23459         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23460         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23461         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23462         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23463         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23464         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23465         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23467         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23469 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23471         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23473 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23475         Sync up with gettext.
23476         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23477         [_MSC_VER]: Include malloc.h
23478         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23479         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23480         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23481         TEMP_FAILURE_RETRY.  Cast return of alloca.
23482         [!_LIBC] Call gl_rwlock_init.
23483         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23485 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23487         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23488         before checking its value.
23490 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23492         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23494         * debug/memcpy_chk.c: Don't include pagecopy.h.
23495         * debug/mempcpy_chk.c: Likewise.
23496         * string/memcpy.c: Likewise.
23497         * string/memmove.c: Likewise.
23498         * sysdeps/powerpc/memmove.c: Likewise.
23499         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23500         definition of PAGE_COPY_FWD_MAYBE here...
23501         * sysdeps/generic/pagecopy.h: ... from here.
23502         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23504 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23505             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23507         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23509         optimizations.
23510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23511         (__libc_ifunc_impl_list): Likewise.
23512         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23513         multiarch strcat for PPC64.
23514         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23515         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23517 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23519         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23521 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23523         * intl/loadmsgcat.c: Remove declaration of
23524         get_sysdep_segment_value.
23525         (get_sysdep_segment_value): Use ISO C style.
23526         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23527         semicolon.  Fix typo and formatting in comment.
23528         (_nl_unload_domain): Use ISO C style.
23530         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23532 2014-07-02  Will Newton  <will.newton@linaro.org>
23534         * malloc/obstack.c: Merge from gnulib master.
23535         [HAVE_CONFIG_H]: Remove conditional code.
23536         [!_LIBC]: Include config.h.
23537         [!ELIDE_CODE]: Don't include inttypes.h, include
23538         stdint.h unconditionally.
23539         (print_and_abort): Mark as _Noreturn.
23540         (_obstack_allocated_p): Mark as __attribute_pure__.
23541         (obstack_free): Rename to __obstack_free.
23542         [!__attribute__]: Remove conditional code.
23543         * malloc/obstack.h: Merge from gnulib master.
23544         [__cplusplus]: Move conditional down.
23545         [!__attribute_pure__]: Define __attribute_pure__ here
23546         if it is not already defined.
23547         (_obstack_memory_used): Mark as __attribute_pure__.
23548         [!__obstack_free]: Define as obstack_free.
23549         [__GNUC__]: Remove check for ancient NeXT gcc.
23551 2014-07-02  Will Newton  <will.newton@linaro.org>
23552             Paul Eggert  <eggert@cs.ucla.edu>
23554         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23556 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23558         * resolv/gethnamaddr.c: Add comment warning that the file is
23559         not maintained.
23561 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23563         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23564         entries.
23566         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23567         entry for aio_cancel and aio_cancel64.
23568         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23569         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23570         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23571         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23572         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23573         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23574         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23575         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23576         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23577         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23578         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23579         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23580         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23582 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23584         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23585         * nptl/pthread_mutex_lock.c: Likewise.
23586         * nptl/pthread_mutex_timedlock.c: Likewise.
23587         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23589 2014-07-01  Richard henderson  <rth@redhat.com>
23591         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23592         (__isnan, __isnanl): Remove.
23593         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23595         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23597 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23599         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23601 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23603         * resolv/nss_dns/dns-host.c (getanswer_r)
23604         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23606 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23608         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23609         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23610         undefine.
23611         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23612         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23614 2014-07-01  Roland McGrath <roland@hack.frob.com>
23616         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23617         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23619         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23620         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23622         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23623         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23624         ... here.
23625         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23626         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23628         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23629         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23630         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23631         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23633         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23634         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23635         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23636         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23637         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23638         Moved ...
23639         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23640         ... here.
23641         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23642         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23643         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23644         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23645         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23646         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23647         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23648         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23649         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23650         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23651         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23652         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23653         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23654         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23655         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23656         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23657         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23658         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23659         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23660         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23661         ... here.
23662         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23663         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23664         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23665         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23666         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23667         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23668         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23669         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23671 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23673         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23674         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23675         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23676         Add sysdep.
23678 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23682 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23684         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23685         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23687         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23689         * sysdeps/arm/libm-test-ulps: Regenerated.
23691 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23692             Roland McGrath <roland@hack.frob.com>
23694         * test-skeleton.c (signal_handler): Kill the whole process group
23695         before killing the child individually.
23696         (main): Report any failure on `setpgid'.
23698 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23700         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23701         from _TLS_H to _ARM_NPTL_TLS_H.
23702         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23703         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23705 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23707         [BZ #16539]
23708         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23709         (__expm1l): Return argument unchanged when small but not
23710         subnormal.
23712         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23713         include macro name.
23714         (_FP_UNPACK_RAW_1_P): Likewise.
23715         (_FP_PACK_RAW_1): Likewise.
23716         (_FP_PACK_RAW_1_P): Likewise.
23717         (_FP_MUL_MEAT_1_wide): Likewise.
23718         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23719         (_FP_MUL_MEAT_1_hard): Likewise.
23720         (_FP_DIV_MEAT_1_imm): Likewise.
23721         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23722         (_FP_DIV_MEAT_1_udiv): Likewise.
23723         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23724         (_FP_UNPACK_RAW_2): Likewise.
23725         (_FP_UNPACK_RAW_2_P): Likewise.
23726         (_FP_PACK_RAW_2): Likewise.
23727         (_FP_PACK_RAW_2_P): Likewise.
23728         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23729         (_FP_MUL_MEAT_2_wide): Likewise.
23730         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23731         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23732         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23733         (_FP_MUL_MEAT_2_gmp): Likewise.
23734         (_FP_DIV_MEAT_2_udiv): Likewise.
23735         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23736         (_FP_FRAC_SRL_4): Likewise.
23737         (_FP_FRAC_SRST_4): Likewise.
23738         (_FP_FRAC_SRS_4): Likewise.
23739         (_FP_UNPACK_RAW_4): Likewise.
23740         (_FP_UNPACK_RAW_4_P): Likewise.
23741         (_FP_PACK_RAW_4): Likewise.
23742         (_FP_PACK_RAW_4_P): Likewise.
23743         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23744         (_FP_MUL_MEAT_4_wide): Likewise.
23745         (_FP_MUL_MEAT_4_gmp): Likewise.
23746         (umul_ppppmnnn): Likewise.
23747         (_FP_DIV_MEAT_4_udiv): Likewise.
23748         (__FP_FRAC_ADD_4): Likewise.
23749         (__FP_FRAC_SUB_3): Likewise.
23750         (__FP_FRAC_SUB_4): Likewise.
23751         (__FP_FRAC_DEC_3): Likewise.
23752         (__FP_FRAC_DEC_4): Likewise.
23753         (__FP_FRAC_ADDI_4): Likewise.
23754         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23755         (_FP_FRAC_SRL_8): Likewise.
23756         (_FP_FRAC_SRS_8): Likewise.
23758         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23759         include macro name.
23760         (FP_UNPACK_RAW_EP): Likewise.
23761         (FP_PACK_RAW_E): Likewise.
23762         (FP_PACK_RAW_EP): Likewise.
23763         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23764         (_FP_ISSIGNAN): Likewise.
23765         (_FP_ADD_INTERNAL): Likewise.
23766         (_FP_FMA): Likewise.
23767         (_FP_CMP): Likewise.
23768         (_FP_SQRT): Likewise.
23769         (_FP_TO_INT): Likewise.
23770         (_FP_FROM_INT): Likewise.
23771         (FP_EXTEND): Likewise.
23772         (_FP_DIV_MEAT_N_loop): Likewise.
23774 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23776         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23777         throughout.
23779 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23781         [BZ #17097]
23782         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23783         result with correct sign in case of exponents that produce
23784         overflow except for X very close to 1.
23786 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23788         mktime: merge #if/#ifdef usage from glibc
23789         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23790         as that works with both Glibc's and Gnulib's style.
23791         See thread starting at Siddhesh Poyarekar's bug report at:
23792         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23794 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23796         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23797         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23798         * sysdeps/tile/tilegx/memmove.c: Remove file.
23800 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23802         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23803         abi-name definition.
23804         * scripts/soversions.awk: Do not handle or generate ABI lines.
23805         * shlib-versions: Remove ABI entries.
23806         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23807         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23809 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23812         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23813         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23814         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23816         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23818         Moved ...
23819         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23820         ... here.
23821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23822         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23824         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23826         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23828         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23830         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23832         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23834         Moved ...
23835         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23836         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23837         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23839         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23841         Moved ...
23842         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23844         Moved ...
23845         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23847         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23849         Moved ...
23850         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23851         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23852         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23854         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23856         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23857         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23858         Moved ...
23859         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23861         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23862         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23863         Moved ...
23864         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23866         Moved ...
23867         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23868         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23869         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23871         Moved ...
23872         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23873         ... here.
23874         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23875         Identical file removed.
23876         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23877         Moved ...
23878         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23879         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23880         Identical file removed.
23881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23882         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23884         Moved ...
23885         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23886         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23887         Identical file removed.
23888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23889         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23890         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23891         Identical file removed.
23892         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23893         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23894         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23895         Identical file removed.
23896         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23897         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23898         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23899         Identical file removed.
23900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23901         Moved ...
23902         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23903         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23904         Identical file removed.
23905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23906         Moved ...
23907         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23908         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23909         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23910         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23911         Identical file removed.
23912         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23913         Moved ...
23914         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23915         ... here.
23916         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23917         Identical file removed.
23918         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23919         Moved ...
23920         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23921         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23922         Identical file removed.
23923         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23924         Moved ...
23925         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23926         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23927         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23928         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23929         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23930         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23931         Moved ...
23932         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23933         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23934         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23936         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23937         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23938         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23939         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23940         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23942 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23944         [BZ #17092]
23945         * nscd/nscd.c (monitor_child): Return exit status of child
23946         instead of return value from wait syscall.
23948 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23950         * configure.ac (libc_commonpagesize): Remove variable.
23951         (libc_relro_required): Likewise.
23952         (libc_cv_z_relro): Remove configure test.
23953         * configure: Regenerated.
23954         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23955         variable.
23956         (libc_relro_required): Likewise.
23957         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23958         (libc_relro_required): Likewise.
23959         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23960         (libc_relro_required): Likewise.
23961         * sysdeps/arm/preconfigure: Regenerated.
23962         * sysdeps/ia64/preconfigure: Remove file.
23963         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23964         variable.
23965         (libc_relro_required): Likewise.
23967         [BZ #16561]
23968         [BZ #16562]
23969         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23970         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23971         recompute overflowing results in original rounding mode.
23972         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23973         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23974         recompute overflowing results in original rounding mode.
23975         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23976         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23977         recompute overflowing results in original rounding mode.
23978         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23979         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23980         recompute overflowing results in original rounding mode.
23981         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23982         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23983         recompute overflowing results in original rounding mode.
23984         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23985         (libc_feholdsetround_ctx): New macro.
23986         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23987         * sysdeps/i386/fpu/libm-test-ulps: Update.
23988         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23990 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23992         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23993         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23994         corresponding .cpsetup call.
23996 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23998         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23999         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24000         * sysdeps/arm/Makefile [$(subdir) = csu]
24001         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24002         (static-only-routines): Add aeabi_read_tp here.
24003         (shared-only-routines): Add libc-aeabi_read_tp here.
24004         (CFLAGS-libc-start.c): Add -fexceptions here.
24005         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24006         (sysdep_routines, static-only-routines, shared-only-routines):
24007         Don't add to these here.
24008         (CFLAGS-libc-start.c): Likewise.
24010         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24011         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24012         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24013         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24014         * sysdeps/arm/Makefile [$(subdir) = rt]
24015         (librt-sysdep_routines, librt-shared-only-routines):
24016         Append rt-aeabi_unwind_cpp_pr1 here.
24017         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24018         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24019         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24020         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24021         Append nptl-aeabi_unwind_cpp_pr1 here.
24022         (tests): Filter out tst-cleanupx4 here.
24023         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24024         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24025         Don't do those here.
24027 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24029         * scripts/list-sources.sh: Do not handle ports specially.
24031 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24033         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24034         * sysdeps/arm/feupdateenv.c: Likewise.
24036         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24038 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24040         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24041         trailing whitespace removed.
24042         * scripts/config.guess: Update to version 2014-03-23.
24043         * scripts/config.sub: Update to version 2014-05-01
24044         * scripts/install-sh: Update to version 2013-12-25.23.
24045         * scripts/move-if-change: Update from gnulib.
24047 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24049         * debug/memmove_chk.c: Remove pagecopy.h include.
24051 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24053         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24054         identical to gnulib mktime.
24056 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24058         * configure.ac: Do not test for machine being rs6000.  Do not test
24059         for powerpc*-*soft.
24060         * configure: Regenerated.
24062         [BZ #11505]
24063         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24064         test.
24065         * configure: Regenerated.
24066         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24067         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24068         Remove configure test.
24069         * sysdeps/arm/configure: Regenerated.
24070         * sysdeps/nptl/configure.ac: Do not check
24071         libc_cv_asm_cfi_directives.
24072         * sysdeps/nptl/configure: Regenerated.
24073         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24074         * sysdeps/x86_64/nptl/configure: Remove generated file.
24075         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24076         unconditional.
24077         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24079 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24081         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24082         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24083         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24084         it is defined.
24086         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24087         instead of whether it is defined.
24088         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24089         * sysdeps/hppa/dl-machine.h: Likewise.
24090         * sysdeps/ia64/dl-machine.h: Likewise.
24091         * sysdeps/m68k/dl-machine.h: Likewise.
24092         * sysdeps/microblaze/dl-machine.h: Likewise.
24093         * sysdeps/mips/dl-machine.: Likewise.
24094         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24095         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24096         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24097         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24098         * sysdeps/sh/dl-machine.h: Likewise.
24099         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24100         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24101         * sysdeps/tile/dl-machine.h: Likewise.
24102         * sysdeps/x86_64/dl-machine.h: Likewise.
24104         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24105         code.
24106         (verify_persistent_db): Likewise.
24108 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24111         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24113         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24115         Moved ...
24116         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24117         ... here.
24118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24119         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24121         Identical file removed.
24122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24123         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24125         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24127         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24129         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24131         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24133         Moved ...
24134         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24136         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24138         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24140         Moved ...
24141         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24143         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24145         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24147         Identical file removed.
24148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24149         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24151         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24153         Moved ...
24154         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24155         ... here.
24156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24157         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24159         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24161         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24163         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24165         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24167         Moved ...
24168         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24170         Moved ...
24171         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24173         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24175         Moved ...
24176         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24178         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24180         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24181         folded into ...
24182         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24183         * sysdeps/unix/sysv/linux/s390/Versions
24184         (libpthread: GLIBC_2.19): New version set.
24185         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24186         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24187         (librt: GLIBC_2.3.3): New version set.
24188         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24189         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24190         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24191         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24192         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24193         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24194         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24195         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24196         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24197         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24198         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24199         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24200         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24201         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24202         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24203         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24204         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24205         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24206         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24207         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24208         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24209         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24210         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24211         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24212         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24213         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24214         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24215         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24216         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24217         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24218         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24219         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24221         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24222         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24224         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24225         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24226         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24227         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24228         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24229         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24230         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24232         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24234         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24235         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24236         (__libc_vfork): Define the function under this name.
24237         [!NOT_IN_libc] (__vfork): Make this an alias.
24238         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24240         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24241         (__libc_vfork): Define the function under this name.
24242         [!NOT_IN_libc] (__vfork): Make this an alias.
24243         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24244         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24245         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24246         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24247         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24248         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24250         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24251         code that was previously under [RESET_PID].
24252         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24253         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24254         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24256         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24257         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24258         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24259         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24260         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24261         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24262         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24263         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24264         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24265         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24266         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24267         Moved ...
24268         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24269         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24270         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24271         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24272         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24273         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24274         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24275         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24276         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24277         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24278         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24279         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24280         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24281         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24282         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24283         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24284         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24285         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24286         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24287         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24288         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24289         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24290         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24291         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24292         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24293         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24294         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24295         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24296         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24298 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24300         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24301         that was previously under [RESET_PID].
24302         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24304 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24306         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24307         not undefine and redefine.
24308         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24309         [O_CLOEXEC]: Make code unconditional.
24310         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24311         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24312         <kernel-features.h>.
24313         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24314         conditional variable definition.
24315         (shm_open) [O_CLOEXEC]: Make code unconditional.
24316         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24317         code.
24319         * configure.ac (USE_REGPARMS): Don't define here.
24320         * configure: Regenerated.
24321         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24322         * sysdeps/i386/configure: Regenerated.
24324         * nptl/createthread.c: Don't include kernel-features.h.
24325         * nptl/pthread_cancel.c: Likewise.
24326         * nptl/pthread_condattr_setclock.c: Likewise.
24327         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24328         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24329         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24330         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24331         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24332         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24333         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24334         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24335         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24336         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24337         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24338         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24339         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24340         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24341         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24342         * nscd/gai.c: Likewise.
24343         * nss/nss_db/db-open.c: Likewise.
24344         * sysdeps/generic/ldsodefs.h: Likewise.
24345         * sysdeps/sh/nptl/tls.h: Likewise.
24346         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24347         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24348         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24349         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24350         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24351         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24352         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24353         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24354         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24355         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24356         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24357         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24358         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24359         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24360         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24361         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24362         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24363         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24364         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24365         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24368         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24369         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24370         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24371         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24372         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24373         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24374         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24375         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24376         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24377         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24378         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24379         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24380         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24381         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24382         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24383         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24384         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24385         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24386         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24387         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24388         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24389         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24390         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24391         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24392         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24393         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24394         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24395         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24396         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24397         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24398         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24399         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24400         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24401         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24402         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24403         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24426         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24427         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24428         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24429         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24430         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24431         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24432         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24433         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24434         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24435         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24436         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24437         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24438         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24439         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24440         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24441         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24442         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24443         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24444         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24445         * sysdeps/unix/sysv/linux/system.c: Likewise.
24446         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24447         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24448         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24449         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24450         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24451         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24452         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24454         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24455         * configure: Regenerated.
24456         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24458         * configure.ac (base_machine): Do not set specially for particular
24459         machines here.
24460         * configure: Regenerated.
24461         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24462         settings from configure.ac.
24463         * sysdeps/i386/preconfigure: New file.
24464         * sysdeps/s390/preconfigure: Likewise.
24465         * sysdeps/sh/preconfigure: Likewise.
24466         * sysdeps/sparc/preconfigure: Likewise.
24468 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24470         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24471         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24472         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24473         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24474         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24475         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24476         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24477         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24478         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24479         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24480         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24481         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24482         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24483         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24484         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24485         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24486         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24487         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24488         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24490         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24491         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24492         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24493         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24494         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24495         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24496         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24497         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24498         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24499         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24500         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24501         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24502         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24503         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24504         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24505         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24506         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24507         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24508         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24509         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24510         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24511         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24512         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24513         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24514         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24515         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24516         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24517         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24518         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24519         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24520         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24521         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24522         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24523         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24524         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24525         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24526         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24527         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24530         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24532         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24534         Moved ...
24535         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24536         ... here.
24537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24538         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24540         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24542         Moved ...
24543         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24545         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24547         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24549         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24551         Moved ...
24552         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24554         Moved ...
24555         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24557         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24559         Moved ...
24560         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24562         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24564         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24566         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24568         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24570         Moved ...
24571         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24572         ... here.
24573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24574         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24576         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24578         Moved ...
24579         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24581         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24583         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24585         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24587         Moved ...
24588         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24590         Moved ...
24591         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24593         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24595         Moved ...
24596         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24598         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24600         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24602 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24604         * timezone/checktab.awk: Update from tzcode 2014e.
24605         * timezone/private.h: Likewise.
24606         * timezone/tzfile.h: Likewise.
24607         * timezone/zdump.c: Likewise.
24608         * timezone/zic.c: Likewise.
24610         * sysdeps/unix/sysv/linux/kernel-features.h
24611         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24612         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24613         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24614         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24615         Remove conditional code.
24617 2014-06-25  Will Newton  <will.newton@linaro.org>
24619         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24620         (_dl_arm_cap_flags): Add HWCAP2 values.
24621         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24622         (_DL_HWCAP_COUNT): Increase to 37.
24623         (_DL_HWCAP_LAST): New define.
24624         (_DL_HWCAP2_LAST): New define.
24625         (_dl_procinfo): Add support for printing
24626         AT_HWCAP2 entries.
24627         (_dl_string_hwcap): Use _dl_hwcap_string.
24629 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24633 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24635         * README: Do not mention ports directory.
24637         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24638         Remove macro.
24639         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24640         <kernel-features.h>.
24641         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24642         conditional variable definition.
24643         (__futimes): Update comment.
24644         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24645         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24647         [BZ #16560]
24648         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24649         arguments close to 0.
24650         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24651         Likewise.
24652         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24653         Likewise.
24654         * math/auto-libm-test-in: Add more tests of exp10.
24655         * math/auto-libm-test-out: Regenerated.
24656         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24658         * sysdeps/unix/sysv/linux/kernel-features.h
24659         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24660         * sysdeps/unix/sysv/linux/readv.c: Do not include
24661         <kernel-features.h>.
24662         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24663         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24664         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24665         unconditional.
24666         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24667         conditional code.
24668         * sysdeps/unix/sysv/linux/writev.c: Do not include
24669         <kernel-features.h>.
24670         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24671         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24672         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24673         unconditional.
24674         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24675         conditional code.
24677 2014-06-25  Will Newton  <will.newton@linaro.org>
24679         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24680         comment changes throughout the file.  Remove checks
24681         for HAVE_*_H definitions that are not required.
24682         (__gen_tempname): Call abort if an unknown kind value is
24683         passed.
24685 2014-06-25  Andreas Schwab  <schwab@suse.de>
24687         [BZ #17086]
24688         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24689         scalbln, scalblnf, scalblnl in libc.
24691 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24693         [BZ #17086]
24694         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24695         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24696         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24698 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24700         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24701         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24702         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24703         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24704         Update #include.
24705         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24706         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24707         Update #include.
24708         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24709         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24710         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24711         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24712         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24713         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24714         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24715         * sysdeps/x86/bits/semaphore.h: ... here.
24716         * sysdeps/x86/nptl/elide.h: Moved ...
24717         * sysdeps/x86/elide.h: ... here.
24718         * sysdeps/x86_64/nptl/Implies: File removed.
24719         * sysdeps/i386/nptl/Implies: File removed.
24721 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24723         [BZ #16539]
24724         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24725         return the argument for normal arguments with exponent below -64.
24726         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24727         Likewise.
24728         * math/auto-libm-test-in: Add another test of expm1.
24729         * math/auto-libm-test-out: Regenerated.
24731         [BZ #16287]
24732         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24733         calling __erfcl for arguments at least 16.
24734         * math/auto-libm-test-in: Add more tests of erf.
24735         * math/auto-libm-test-out: Regenerated.
24737         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24738         individual architectures.
24739         * sysdeps/unix/sysv/linux/configure: Regenerated.
24740         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24741         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24742         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24743         (ldd_rewrite_script): Define variable.
24744         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24746         file.
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24748         generated file.
24749         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24750         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24751         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24752         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24753         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24754         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24755         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24756         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24758 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24760         [BZ #17084]
24761         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24762         Rename member __data.d to __data.__elision_data.
24764 2014-06-24  Wilco  <wdijkstr@arm.com>
24766         * NEWS: Add 16918 to fixed bug list.
24768 2014-06-24  Wilco  <wdijkstr@arm.com>
24770         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24772 2014-06-24  Wilco  <wdijkstr@arm.com>
24774         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24775         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24776         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24777         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24778         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24779         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24780         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24781         Use _FPU_MASK_RM.
24783 2014-06-24  Wilco  <wdijkstr@arm.com>
24785         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24787 2014-06-24  Wilco  <wdijkstr@arm.com>
24789         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24790         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24791         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24792         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24794 2014-06-24  Wilco  <wdijkstr@arm.com>
24796         [BZ #16918]
24797         * sysdeps/arm/feupdateenv.c (feupdateenv):
24798         Rewrite to reduce FPSCR accesses and fix return value.
24800 2014-06-24  Wilco  <wdijkstr@arm.com>
24802         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24803         Optimize to avoid unnecessary FPSCR writes.
24804         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24805         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24806         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24807         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24809 2014-06-24  Wilco  <wdijkstr@arm.com>
24811         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24812         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24813         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24814         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24815         Call libc_fetestexcept_vfp.
24816         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24817         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24818         __SOFTFP__ ifdef so that they can be built for softfp.
24820 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24822         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24823         argument type signed char.
24825         * Makerules (check-abi): Dump diff of symlist if the test
24826         fails.
24828 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24830         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24831         using abort.
24833         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24834         Remove unused variable ST.
24836 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24838         [BZ #16354]
24839         [BZ #17061]
24840         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24841         small arguments before calling __expm1.
24842         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24843         small arguments before calling __expm1f.
24844         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24845         small arguments before calling __expm1l.
24846         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24847         Likewise.
24848         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24849         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24850         spurious underflow for some cosh tests.
24851         * math/auto-libm-test-out: Regenerated.
24852         * sysdeps/i386/fpu/libm-test-ulps: Update.
24854         [BZ #17050]
24855         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24856         (__ieee754_y1): Set errno if return value overflows.
24857         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24858         (__ieee754_y1f): Set errno if return value overflows.
24859         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24860         (__ieee754_y1l): Set errno if return value overflows.
24861         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24862         (__ieee754_y1l): Set errno if return value overflows.
24863         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24864         * math/auto-libm-test-out: Regenerated.
24866         * math/gen-auto-libm-tests.c: Document use of
24867         ignore-zero-inf-sign.
24868         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24869         (input_flags): Add ignore-zero-inf-sign.
24870         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24871         * math/gen-libm-test.pl (generate_testfile): Handle
24872         ignore-zero-inf-sign.
24873         * math/auto-libm-test-in: Mark some cpow tests with
24874         ignore-zero-inf-sign and some with xfail-rounding.
24875         * math/auto-libm-test-out: Regenerated.
24876         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24877         * sysdeps/i386/fpu/libm-test-ulps: Update.
24878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24880         [BZ #16315]
24881         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24882         overflowing or underflowing operations take place with sign of
24883         result.
24884         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24885         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24886         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24887         (__ieee754_pow): Recompute overflowing and underflowing results in
24888         original rounding mode.
24889         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24890         (__powl_helper): Allow negative argument X and scale negated value
24891         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24892         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24893         overflowing or underflowing operations take place with sign of
24894         result.
24895         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24896         Include <math.h>.
24897         * math/auto-libm-test-in: Add more tests of pow.
24898         * math/auto-libm-test-out: Regenerated.
24899         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24900         (pow_tonearest_test_data): Remove.
24901         (pow_test_tonearest): Likewise.
24902         (pow_towardzero_test_data): Likewise.
24903         (pow_test_towardzero): Likewise.
24904         (pow_downward_test_data): Likewise.
24905         (pow_test_downward): Likewise.
24906         (pow_upward_test_data): Likewise.
24907         (pow_test_upward): Likewise.
24908         (main): Don't call removed functions.
24909         * sysdeps/i386/fpu/libm-test-ulps: Update.
24910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24912 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24915         Moved ...
24916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24918         Moved ...
24919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24921         Moved ...
24922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24924         Moved ...
24925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24927         File removed.
24928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24929         File removed.
24930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24931         File removed.
24932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24933         File removed.
24934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24935         File removed.
24936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24937         File removed.
24938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24939         File removed.
24940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24941         File removed.
24942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24943         File removed.
24944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24945         File removed.
24946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24947         File removed.
24948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24949         File removed.
24950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24951         Moved ...
24952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24954         Moved ...
24955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24956         ... here.
24957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24958         Moved ...
24959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24961         Moved ...
24962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24964         Moved ...
24965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24967         Moved ...
24968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24970         Moved ...
24971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24973         Moved ...
24974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24976         Moved ...
24977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24980         ... here.
24981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24982         Moved ...
24983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24985         Moved ...
24986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24987         ... here.
24988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24989         Moved ...
24990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24991         ... here.
24992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24993         Moved ...
24994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24995         ... here.
24996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24997         Moved ...
24998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25000         Moved ...
25001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25005         Moved ...
25006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25007         ... here.
25008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25009         Moved ...
25010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25011         ... here.
25012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25013         Moved ...
25014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25016         Moved ...
25017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25019         Moved ...
25020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25022         Moved ...
25023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25025         Moved ...
25026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25027         ... here.
25028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25029         Moved ...
25030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25032         Moved ...
25033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25035         Moved ...
25036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25038         Moved ...
25039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25043         Moved ...
25044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25046         Moved ...
25047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25049         Moved ...
25050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25051         ... here.
25052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25053         Moved ...
25054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25055         ... here.
25056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25057         Moved ...
25058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25059         ... here.
25060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25061         Moved ...
25062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25064         Moved ...
25065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25067         Moved ...
25068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25070         Moved ...
25071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25072         ... here.
25073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25074         Moved ...
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25076         ... here.
25077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25078         Moved ...
25079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25080         ... here.
25081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25082         Moved ...
25083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25085         Moved ...
25086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25088 2014-06-23  Will Newton  <will.newton@linaro.org>
25089             Wilco  <wdijkstr@arm.com>
25091         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25092         implementation.  Include get-rounding-mode.h.
25093         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25094         [!libc_feholdsetround_noex_ctx]: Define
25095         libc_feholdsetround_noex_ctx.
25096         [!libc_feholdsetround_noexf_ctx]: Define
25097         libc_feholdsetround_noexf_ctx.
25098         [!libc_feholdsetround_noexl_ctx]: Define
25099         libc_feholdsetround_noexl_ctx.
25100         (libc_feholdsetround_ctx): New function.
25101         (libc_feresetround_ctx): New function.
25102         (libc_feholdsetround_noex_ctx): New function.
25103         (libc_feresetround_noex_ctx): New function.
25105 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25107         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25108         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25109         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25110         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25111         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25112         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25114         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25115         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25116         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25117         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25118         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25119         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25120         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25121         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25123         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25124         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25125         Moved ...
25126         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25127         ... here.
25128         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25129         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25131         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25133         Moved ...
25134         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25135         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25136         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25137         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25138         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25139         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25140         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25141         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25142         Moved ...
25143         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25145         Moved ...
25146         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25147         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25148         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25149         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25150         Moved ...
25151         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25152         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25153         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25154         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25155         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25156         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25157         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25158         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25159         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25161         Moved ...
25162         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25163         ... here.
25164         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25165         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25166         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25167         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25168         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25169         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25170         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25171         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25172         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25173         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25174         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25175         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25176         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25177         Moved ...
25178         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25179         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25180         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25181         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25182         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25183         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25184         Moved ...
25185         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25186         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25187         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25188         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25189         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25191         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25192         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25193         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25194         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25195         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25196         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25197         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25198         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25200         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25201         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25202         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25203         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25204         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25205         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25206         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25207         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25208         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25209         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25210         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25211         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25212         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25213         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25214         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25215         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25216         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25217         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25218         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25220 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25222         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25223         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25224         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25225         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25226         (IPV6_PMTUDISC_INTERFACE): Likewise.
25227         (IPV6_PMTUDISC_OMIT): Likewise.
25229 2014-06-23  Andreas Schwab  <schwab@suse.de>
25231         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25232         Remove unused errout label.
25234 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25236         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25237         macro: hardware supports Vector Crypto instructions.
25239 2014-06-23  Will Newton  <will.newton@linaro.org>
25241         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25242         rather than __builtin_expect.
25244         * elf/dl-lookup.c (undefined_msg): Remove variable.
25245         (_dl_lookup_symbol_x): Replace undefined_msg with string
25246         literal.
25248         * elf/dl-lookup.c (do_lookup_unique): New function.
25249         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25250         to a separate function.
25252 2014-06-23  Andreas Schwab  <schwab@suse.de>
25254         [BZ #17079]
25255         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25256         before reading the next line.
25258 2014-06-23  Will Newton  <will.newton@linaro.org>
25260         * test-skeleton.c (signal_handler): Use printf and %m
25261         rather than perror.  Use printf rather than fprintf to
25262         stderr.  Use puts rather than fputs to stderr.
25263         (main): Likewise.
25265 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25267         * nscd/nscd.c (thread_info_t): Remove typedef.
25268         (thread_info): Remove variable.
25270 2014-06-21  Allan McRae  <allan@archlinux.org>
25272         * NEWS: Mention CVE-2014-4043.
25274 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25276         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25277         * nptl/smp.h: ... here.
25279         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25281         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25282         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25283         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25284         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25286         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25287         * nptl/stack-aliasing.h: New file.
25288         * sysdeps/i386/i686/stack-aliasing.h: New file.
25289         * sysdeps/i386/i686/nptl/Makefile: File removed.
25290         * sysdeps/x86_64/stack-aliasing.h: New file.
25291         * sysdeps/x86_64/nptl/Makefile
25292         (CFLAGS-pthread_create.c): Variable removed.
25294         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25295         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25296         old file.
25297         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25298         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25299         old file.
25301 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25303         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25304         (__ASSUME_SIGFRAME_V2): Remove macro.
25305         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25306         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25307         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25308         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25309         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25310         Declare as function.  Remove conditional macro definitions.
25311         (__default_rt_sa_restorer): Likewise.
25312         (__default_sa_restorer_v1): Remove declaration.
25313         (__default_sa_restorer_v2): Likewise.
25314         (__default_rt_sa_restorer_v1): Likewise.
25315         (__default_rt_sa_restorer_v2): Likewise.
25316         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25317         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25318         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25320 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25322         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25323         (libpthread-routines): Add sysdep.
25324         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25325         * sysdeps/unix/sysv/linux/sparc/Versions
25326         (libpthread: GLIBC_2.3.3): New version set.
25327         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25328         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25329         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25330         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25331         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25332         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25333         Moved ...
25334         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25335         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25336         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25337         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25338         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25339         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25340         * sysdeps/sparc/nptl/sem_init.c: ... here.
25341         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25342         * sysdeps/sparc/nptl/sem_post.c: ... here.
25343         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25344         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25345         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25346         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25347         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25348         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25349         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25350         (libpthread-routines): Add cpu_relax.
25351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25352         File removed.
25353         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25354         (librt: GLIBC_2.3.3): New version set.
25355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25356         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25357         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25358         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25361         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25363         Moved ...
25364         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25366         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25368         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25370         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25372         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25374         Moved ...
25375         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25376         Update #include.
25377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25378         Moved ...
25379         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25380         Update #include.
25381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25382         Moved ...
25383         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25384         Update #include.
25385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25386         Moved ...
25387         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25388         Update #include.
25389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25390         Moved ...
25391         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25392         Update #include.
25393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25394         Moved ...
25395         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25396         Update #include.
25397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25398         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25404         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25406         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25408         Moved ...
25409         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25411         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25413         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25415 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25417         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25418         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25419         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25420         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25421         * nscd/nscd.c: Likewise.
25422         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25423         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25424         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25425         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25427         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25428         <kernel-features.h>.
25429         (init_mq_netlink): Remove conditional have_sock_cloexec
25430         definitions.  Remove code conditional on have_sock_cloexec < 0.
25431         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25432         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25433         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25434         <kernel-features.h>.
25435         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25436         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25438 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25441         Add tests for memset_chk and memset.
25443         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25444         with AVX2_Usable.
25446 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25448         [BZ #16046]
25449         * elf/tst-dl-iter-static.c: New file.
25450         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25452         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25453         error.
25455 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25457         * sysdeps/unix/sysv/linux/kernel-features.h
25458         (__ASSUME_F_GETOWN_EX): Remove macro.
25459         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25460         <kernel-features.h>.
25461         (miss_F_GETOWN_EX): Remove variable or macro.
25462         (do_fcntl): Do not check miss_F_GETOWN_EX.
25463         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25465         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25466         Remove macro.
25467         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25468         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25469         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25471         * sysdeps/unix/sysv/linux/kernel-features.h
25472         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25473         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25474         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25475         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25477 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25479         [BZ #17075]
25480         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25481         Fix calculation of the symbol's value.
25482         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25483         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25484         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25485         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25486         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25487         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25488         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25489         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25490         (modules-names): Add `tst-armtlsdescmod',
25491         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25492         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25493         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25494         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25495         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25496         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25497         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25498         ($(objpfx)tst-armtlsdescloc): New dependency.
25499         ($(objpfx)tst-armtlsdescextnow): Likewise.
25500         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25501         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25502         TLS scheme support.
25503         * sysdeps/arm/configure: Regenerate.
25505 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25507         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25508         (__atfct_seterrno_2): Likewise.
25509         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25510         <kernel-features.h>.
25511         (__ASSUME_ATFCTS): Do not undefine and redefine.
25512         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25513         (__have_atfcts): Remove conditional definition.
25514         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25515         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25516         unreachable if [__ASSUME_ATFCTS].
25517         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25518         not undefine and redefine.
25519         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25520         <kernel-features.h>.
25521         (faccessat) [__NR_faccessat]: Make code unconditional.
25522         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25523         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25524         <kernel-features.h>.
25525         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25526         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25527         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25528         <kernel-features.h>.
25529         (fchownat) [__NR_fchownat]: Make code unconditional.
25530         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25531         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25532         <kernel-features.h>.
25533         (futimesat) [__NR_futimesat]: Make code unconditional.
25534         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25535         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25536         <kernel-features.h>.
25537         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25538         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25539         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25540         <kernel-features.h>.
25541         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25542         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25543         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25544         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25545         <kernel-features.h>.
25546         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25547         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25548         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25549         <kernel-features.h>.
25550         (linkat) [__NR_linkat]: Make code unconditional.
25551         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25552         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25553         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25554         <kernel-features.h>.
25555         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25556         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25557         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25558         <kernel-features.h>.
25559         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25560         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25561         * sysdeps/unix/sysv/linux/openat.c: Do not include
25562         <kernel-features.h>.
25563         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25564         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25565         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25566         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25567         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25568         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25569         <kernel-features.h>.
25570         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25571         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25572         result of INLINE_SYSCALL directly, not via int variable.
25573         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25574         <kernel-features.h>.
25575         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25576         (renameat) [__NR_renameat]: Make code unconditional.
25577         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25578         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25579         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25580         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25581         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25582         (__ASSUME_ATFCTS): Do not undefine and redefine.
25583         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25584         <kernel-features.h>.
25585         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25586         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25587         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25588         <kernel-features.h>.
25589         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25590         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25591         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25592         (__ASSUME_ATFCTS): Do not undefine and redefine.
25593         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25594         <kernel-features.h>.
25595         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25596         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25597         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25598         <kernel-features.h>.
25599         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25600         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25602 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25604         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25606 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25608         [BZ #17069]
25609         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25610         constructed tree before returning error.
25611         * posix/bug-regexp36.c: Expand test case.
25613 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25615         [BZ #6803]
25616         * math/libm-test.inc (scalbln_test_date):
25617         Add errno expectations.
25618         * math/w_scalblnf.c: New File.
25619         Add wrapper which checks for setting errno to ERANGE.
25620         Add weak_alias for corresponding scalbln function.
25621         * math/w_scalbln.c: Likewise.
25622         * math/w_scalblnl.c: Likewise.
25623         * math/Makefile (libm-calls): Add w_scalbln.
25624         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25625         Remove weak_alias for corresponding scalbln function.
25626         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25627         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25628         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25629         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25630         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25631         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25632         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25633         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25634         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25635         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25636         Remove long_double_symbol for scalblnl function in libm, libc.
25637         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25638         Add wrapper which checks for setting errno to ERANGE.
25639         Add long_double_symbol for scalblnl function in libm, libc.
25640         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25641         Remove long_double_symbol for scalblnl in libm.
25642         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25643         Add wrapper which checks for setting errno to ERANGE.
25644         Add long_double_symbol for scalblnl function in libm.
25645         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25646         Do not use wrapper because of own implementation.
25648 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25650         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25651         3 bytes for __pad1 for x32.
25652         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25654 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25655             H.J. Lu  <hongjiu.lu@intel.com>
25657         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25658         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25659         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25660         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25661         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25663 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25665         [BZ #17069]
25666         * posix/regcomp.c (parse_expression): Deallocate partially
25667         constructed tree before returning error.
25668         * posix/Makefile.c (tests): Add bug-regex36.
25669         (generated): Add bug-regex36.mtrace.
25670         (tests-special): Add $(objpfx)bug-regex36-mem.out
25671         (bug-regex36-ENV): New variable.
25672         ($(objpfx)bug-regex36-mem.out): New rule.
25673         * posix/bug-regex36.c: New file.
25675 2014-06-19  Will Newton  <will.newton@linaro.org>
25677         * malloc/malloc.c (systrim): If extra is zero then return
25678         early.
25680 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25682         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25684 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25686         * sysdeps/aarch64/strchr.S: New file.
25688 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25690         [BZ #17022]
25691         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25692         from arguments -2 or below.
25693         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25694         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25696 2014-06-18  Andreas Schwab  <schwab@suse.de>
25698         [BZ #17062]
25699         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25700         of a bracket expr not to run off the end of the string.
25701         * posix/Makefile (tests): Add tst-fnmatch3.
25702         * posix/tst-fnmatch3.c: New file.
25704 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25706         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25707         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25708         [$(cross-compiling) = no]: Likewise.
25709         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25710         [$(cross-compiling) = no]: Likewise.
25712 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25714         [BZ #17031]
25715         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25716         double, adjusted for any remainder from the high double.
25717         * math/libm-test.inc (nearbyint): Add tests.
25718         (rint): Likewise.
25720 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25722         * nptl/sysdeps/powerpc/Makefile: Moved ...
25723         * sysdeps/powerpc/nptl/Makefile: ... here.
25724         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25725         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25726         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25727         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25728         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25729         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25730         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25731         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25732         * nptl/sysdeps/powerpc/tls.h: Moved ...
25733         * sysdeps/powerpc/nptl/tls.h: ... here.
25735 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25737         [BZ #16681]
25738         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25739         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25740         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25741         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25742         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25743         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25744         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25745         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25746         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25748 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25750         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25752 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25754         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25755         defined operator.
25757         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25758         $TIMEOUTFACTOR.
25760 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25762         [BZ #17058]
25763         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25764         non-executed part of the test.
25766 2014-06-16  Andreas Schwab  <schwab@suse.de>
25768         * string/bits/string2.h (strdup, strndup): Update feature guard.
25770 2014-06-14  David S. Miller  <davem@davemloft.net>
25772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25774 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25776         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25777         that was previously under [RESET_PID].
25778         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25780         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25781         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25782         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25783         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25784         (__libc_vfork): New strong alias.
25785         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25787 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25789         * sysdeps/generic/elide.h: New file.
25791 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25793         * Makefile (installed-headers): Adjust path of pthread.h header.
25795 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25797         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25798         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25799         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25800         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25802         * nptl/sysdeps/s390/Makefile: Moved ...
25803         * sysdeps/s390/nptl/Makefile: ... here.
25804         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25805         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25806         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25807         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25808         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25809         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25810         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25811         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25812         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25813         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25814         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25815         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25816         * nptl/sysdeps/s390/tls.h: Moved ...
25817         * sysdeps/s390/nptl/tls.h: ... here.
25819         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25820         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25822 2014-06-13  David S. Miller  <davem@davemloft.net>
25824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25827         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25831         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25832         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25833         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25834         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25835         Remove RESET_PID cpp guards.
25836         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25837         Remove RESET_PID cpp guards.
25838         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25840 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25842         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25843         __sp to uintptr_t.
25845 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25847         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25848         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25849         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25850         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25851         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25852         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25853         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25854         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25855         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25856         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25857         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25858         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25859         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25860         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25861         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25862         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25863         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25864         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25865         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25866         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25868         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25869         (pthread_rwlock_rdlock): Add elision.
25870         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25871         (pthread_rwlock_wrlock): Add elision.
25872         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25873         (pthread_rwlock_trywrlock): Add elision.
25874         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25875         (pthread_rwlock_tryrdlock): Add elision.
25876         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25877         (pthread_rwlock_tryrdlock): Add elision unlock.
25878         * nptl/sysdeps/pthread/pthread.h:
25879         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25880         (PTHREAD_RWLOCK_INITIALIZER,
25881         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25882         Handle new elision field.
25883         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25884         * sysdeps/arm/nptl/bits/pthreadtypes.h
25885         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25886         * sysdeps/sh/nptl/bits/pthreadtypes.h
25887         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25888         * sysdeps/tile/nptl/bits/pthreadtypes.h
25889         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25890         * sysdeps/a/nptl/bits/pthreadtypes.h
25891         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25892         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25893         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25894         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25895         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25896         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25898         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25899         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25900         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25902         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25904         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25905         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25906         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25908         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25909         (elision_init): Set try_xbegin to zero when no RTM.
25910         * sysdeps/x86/nptl/bits/pthreadtypes.h
25911         (pthread_rwlock_t): Change __pad1 to __rwelision.
25912         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25914 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25916         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25917         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25918         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25919         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25921 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25923         [BZ #16996]
25924         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25925         that the cached result has been set before returning it.
25927 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25929         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25930         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25931         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25932         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25933         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25934         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25936         * nptl/sysdeps/sparc/Makefile: Moved ...
25937         * sysdeps/sparc/nptl/Makefile: ... here.
25938         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25939         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25940         * nptl/sysdeps/sparc/tls.h: Moved ...
25941         * sysdeps/sparc/nptl/tls.h: ... here.
25942         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25943         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25944         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25945         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25946         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25947         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25948         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25949         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25950         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25951         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25952         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25953         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25954         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25955         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25956         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25957         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25958         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25959         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25960         Update #include.
25961         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25963         Update #include.
25964         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25965         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25966         Update #include.
25967         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25968         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25969         Update #include.
25971         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25973         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25974         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25976         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25977         (struct list_links): Type removed.
25978         (struct thread_node, struct timer_node): Replace struct list_links
25979         with struct list_head.
25980         (list_unlink_ip): Likewise.
25981         * sysdeps/pthread/timer_routines.c
25982         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25983         (list_append, list_insbefore): Likewise.
25984         (list_init): Function removed.
25985         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25986         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25987         * sysdeps/pthread/Makefile: ... here, new file.
25989         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25990         * sysdeps/nptl/Implies: ... here.
25991         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25992         * nptl/sysdeps/pthread/list.h: Moved ...
25993         * include/list.h: ... here.
25994         * nptl/sysdeps/pthread/createthread.c: Moved ...
25995         * nptl/createthread.c: ... here.
25996         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25997         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25998         * nptl/pt-longjmp.c: ... here.
25999         * nptl/sysdeps/pthread/Makefile: Moved ...
26000         * sysdeps/nptl/Makefile: ... here.
26001         * nptl/sysdeps/pthread/Subdirs: Moved ...
26002         * sysdeps/nptl/Subdirs: ... here.
26003         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26004         * sysdeps/nptl/aio_misc.h: ... here.
26005         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26006         * sysdeps/nptl/bits/libc-lock.h: ... here.
26007         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26008         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26009         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26010         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26011         * nptl/sysdeps/pthread/configure: Moved ...
26012         * sysdeps/nptl/configure: ... here.
26013         * nptl/sysdeps/pthread/configure.ac: Moved ...
26014         * sysdeps/nptl/configure.ac: ... here.
26015         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26016         * sysdeps/nptl/gai_misc.h: ... here.
26017         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26018         * sysdeps/nptl/librt-cancellation.c: ... here.
26019         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26020         * sysdeps/nptl/malloc-machine.h: ... here.
26021         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26022         * sysdeps/nptl/pthread-functions.h: ... here.
26023         * nptl/sysdeps/pthread/pthread.h: Moved ...
26024         * sysdeps/nptl/pthread.h: ... here.
26025         * nptl/sysdeps/pthread/setxid.h: Moved ...
26026         * sysdeps/nptl/setxid.h: ... here.
26027         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26028         * sysdeps/nptl/sigfillset.c: ... here.
26029         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26030         * sysdeps/nptl/tcb-offsets.h: ... here.
26031         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26032         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26033         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26034         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26035         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26036         * sysdeps/pthread/allocalim.h: ... here.
26037         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26038         * sysdeps/pthread/bits/sigthread.h: ... here.
26039         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26040         * sysdeps/pthread/flockfile.c: ... here.
26041         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26042         * sysdeps/pthread/ftrylockfile.c: ... here.
26043         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26044         * sysdeps/pthread/funlockfile.c: ... here.
26045         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26046         * sysdeps/pthread/posix-timer.h: ... here.
26047         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26048         * sysdeps/pthread/timer_create.c: ... here.
26049         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26050         * sysdeps/pthread/timer_delete.c: ... here.
26051         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26052         * sysdeps/pthread/timer_getoverr.c: ... here.
26053         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26054         * sysdeps/pthread/timer_gettime.c: ... here.
26055         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26056         * sysdeps/pthread/timer_routines.c: ... here.
26057         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26058         * sysdeps/pthread/timer_settime.c: ... here.
26059         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26060         * sysdeps/pthread/tst-timer.c: ... here.
26061         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26062         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26064         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26065         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26067         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26068         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26069         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26070         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26071         Update #include target.
26072         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26073         * sysdeps/i386/i686/nptl/Makefile: ... here.
26074         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26075         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26076         Update #include target.
26077         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26078         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26079         * nptl/sysdeps/i386/Makefile: Moved ...
26080         * sysdeps/i386/nptl/Makefile: ... here.
26081         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26082         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26083         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26084         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26085         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26086         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26087         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26088         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26089         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26090         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26091         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26092         * nptl/sysdeps/i386/tls.h: Moved ...
26093         * sysdeps/i386/nptl/tls.h: ... here.
26095         * sysdeps/sh/Makefile [$(subdir) = csu]
26096         (gen-as-const-headers): Add tcb-offsets.sym.
26097         * nptl/sysdeps/sh/Makefile: File removed.
26098         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26099         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26100         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26101         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26102         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26103         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26104         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26105         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26106         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26107         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26108         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26109         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26110         * nptl/sysdeps/sh/tls.h: Moved ...
26111         * sysdeps/sh/nptl/tls.h: ... here.
26112         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26113         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26114         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26115         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26116         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26117         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26118         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26119         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26120         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26121         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26122         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26123         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26124         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26125         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26126         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26127         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26128         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26129         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26130         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26131         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26132         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26133         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26134         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26135         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26136         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26137         Moved ...
26138         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26139         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26140         Moved ...
26141         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26142         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26143         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26144         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26145         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26146         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26147         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26148         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26149         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26150         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26151         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26152         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26153         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26154         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26155         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26156         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26157         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26158         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26159         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26161 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26163         * posix/spawn_faction_addopen.c: Include string.h.
26165 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26167         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26168         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26169         * nptl/sysdeps/x86_64/Makefile: Moved ...
26170         * sysdeps/x86_64/nptl/Makefile: ... here.
26171         * nptl/sysdeps/x86_64/configure: Moved ...
26172         * sysdeps/x86_64/nptl/configure: ... here.
26173         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26174         * sysdeps/x86_64/nptl/configure.ac: ... here.
26175         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26176         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26177         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26178         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26179         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26180         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26181         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26182         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26183         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26184         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26185         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26186         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26187         * nptl/sysdeps/x86_64/tls.h: Moved ...
26188         * sysdeps/x86_64/nptl/tls.h: ... here.
26189         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26190         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26191         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26192         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26194         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26196 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26200 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26202         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26203         type.
26204         [POSIX] (off_t): Likewise.
26205         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26206         [POSIX] (S_ISBLK): Require macro.
26207         [POSIX] (S_ISCHR): Likewise.
26208         [POSIX] (S_ISDIR): Likewise.
26209         [POSIX] (S_ISFIFO): Likewise.
26210         [POSIX] (S_ISREG): Likewise.
26211         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26212         optional-macro.
26213         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26214         type.
26215         [POSIX] (time_t): Likewise.
26216         [POSIX] (timer_t): Likewise.
26218 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26220         [BZ #17048]
26221         * posix/spawn_int.h (struct __spawn_action): Make the path string
26222         non-const to support deallocation.
26223         * posix/spawn_faction_addopen.c
26224         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26225         * posix/spawn_faction_destroy.c
26226         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26227         path in all spawn_do_open actions.
26228         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26229         posix_spawn_file_actions_addopen.
26231 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26233         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26234         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26235         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26236         conditional code always true.
26237         (__libc_vfork): New alias.
26239 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26241         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26242         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26244         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26246         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26247         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26249         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26250         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26252         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26253         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26255 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26257         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26258         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26259         multiarch strcmp for PPC64.
26260         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26261         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26263         multiarch optimizations.
26264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26265         (__libc_ifunc_impl_list): Likewise.
26267 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26269         * benchtests/scripts/validate_benchout.py: New script.
26270         * benchtests/Makefile (bench-func): Call it.
26271         * benchtests/scripts/benchout.schema.json: New file.
26273 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26275         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26276         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26277         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26278         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26279         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26280         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26281         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26282         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26283         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26284         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26285         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26286         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26287         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26288         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26289         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26290         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26292         Moved ...
26293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26294         ... here.
26295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26296         Moved ...
26297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26299         Moved ...
26300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26301         ... here.
26302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26303         Moved ...
26304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26305         ... here.
26306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26307         Moved ...
26308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26310         Moved ...
26311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26312         ... here.
26313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26314         Moved ...
26315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26316         ... here.
26317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26318         Moved ...
26319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26321         Moved ...
26322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26323         ... here.
26324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26325         Moved ...
26326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26327         ... here.
26328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26329         Moved ...
26330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26331         ... here.
26332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26333         Moved ...
26334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26336         Moved ...
26337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26338         ... here.
26339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26340         Moved ...
26341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26342         ... here.
26343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26344         Moved ...
26345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26346         ... here.
26347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26348         Moved ...
26349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26351         Moved ...
26352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26353         ... here.
26354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26355         Moved ...
26356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26357         ... here.
26358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26359         Moved ...
26360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26362         Moved ...
26363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26364         ... here.
26365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26366         Moved ...
26367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26369         Moved ...
26370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26372         Moved ...
26373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26374         ... here.
26375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26376         Moved ...
26377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26378         ... here.
26379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26380         Moved ...
26381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26382         ... here.
26383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26384         Moved ...
26385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26387         Moved ...
26388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26389         ... here.
26390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26391         Moved ...
26392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26393         ... here.
26394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26395         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26397         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26398         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26399         Moved ...
26400         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26401         ... here.
26402         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26403         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26404         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26405         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26406         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26407         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26408         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26409         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26410         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26411         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26412         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26413         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26414         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26415         Moved ...
26416         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26417         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26418         Moved ...
26419         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26421         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26423         Moved ...
26424         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26425         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26426         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26427         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26428         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26429         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26430         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26432 2014-06-10  Wilco  <wdijkstr@arm.com>
26434         * math/test-fenv-return.c: New file.
26435         * math/Makefile: Add new test test-fenv-return.
26437 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26439         [BZ #17042]
26440         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26441         when x - 1 is zero.
26442         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26443         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26444         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26445         0.0L for an argument of 1.0L.
26446         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26447         Likewise.
26448         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26449         value when x - 1 is zero.
26450         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26451         * sysdeps/i386/fpu/libm-test-ulps: Update.
26452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26454 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26456         [BZ #15119]
26457         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26459 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26461         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26462         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26464 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26466         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26467         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26469         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26470         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26472         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26473         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26475         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26476         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26478         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26479         if not already defined.
26480         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26481         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26482         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26483         (TLS_INIT_TP): Use it.
26484         (TLS_DEFINE_INIT_TP): New macro.
26485         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26487 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26489         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26490         constant.
26491         [POSIX] (IXANY): Likewise.
26492         [POSIX] (OLCUC): Likewise.
26493         [POSIX || POSIX2008] (CBAUD): Do not allow.
26494         [POSIX || POSIX2008] (DEFECHO): Likewise.
26495         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26496         [POSIX || POSIX2008] (ECHOKE): Likewise.
26497         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26498         [POSIX || POSIX2008] (EXTA): Likewise.
26499         [POSIX || POSIX2008] (EXTB): Likewise.
26500         [POSIX || POSIX2008] (FLUSHO): Likewise.
26501         [POSIX || POSIX2008] (LOBLK): Likewise.
26502         [POSIX || POSIX2008] (PENDIN): Likewise.
26503         [POSIX || POSIX2008] (SWTCH): Likewise.
26504         [POSIX || POSIX2008] (VDISCARD): Likewise.
26505         [POSIX || POSIX2008] (VDSUSP): Likewise.
26506         [POSIX || POSIX2008] (VLNEXT): Likewise.
26507         [POSIX || POSIX2008] (VREPRINT): Likewise.
26508         [POSIX || POSIX2008] (VSTATUS): Likewise.
26509         [POSIX || POSIX2008] (VWERASE): Likewise.
26510         (B*): Change to B[0123456789]*.
26511         * conform/data/time.h-data [POSIX || UNIX98]
26512         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26513         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26514         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26515         [POSIX] (tm_*): Do not allow.
26517 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26519         * Makefile (install): Don't set LANGUAGE.
26520         * Makefile.in (install): Likewise.
26521         * assert/Makefile (test-assert-ENV): Remove variable.
26522         (test-assert-perr-ENV): Likewise.
26523         * elf/Makefile (neededtest4-ENV): Likewise.
26524         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26525         [$(cross-compiling) = no]: Don't set LANGUAGE.
26526         * io/ftwtest-sh (LANG): Remove variable.
26527         * libio/Makefile (tst-widetext-ENV): Likewise.
26528         * manual/install.texi (Running make install): Don't refer to
26529         environment settings for make install.
26530         * INSTALL: Regenerated.
26531         * nptl/tst-tls6.sh: Don't set LANG.
26532         * posix/globtest.sh (LANG): Remove variable.
26533         * string/Makefile (tester-ENV): Likewise.
26534         (inl-tester-ENV): Likewise.
26535         (noinl-tester-ENV): Likewise.
26536         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26537         [$(cross-compiling) = no]: Don't set LANGUAGE.
26538         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26539         without explicit environment settings.
26541 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26543         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26544         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26545         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26546         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26548 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26550         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26551         other files in the crypt directory.
26552         * crypt/crypt.c: Remove duplicate includes.
26553         * crypt/crypt-entry.c: Likewise.
26554         * crypt/crypt_util.c: Likewise.
26556 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26558         * Makeconfig (run-program-env): New variable.
26559         (run-program-prefix-before-env): Likewise.
26560         (run-program-prefix-after-env): Likewise.
26561         (run-program-prefix): Define in terms of new variables.
26562         (built-program-cmd-before-env): New variable.
26563         (built-program-cmd-after-env): Likewise.
26564         (built-program-cmd): Define in terms of new variables.
26565         (test-program-prefix-before-env): New variable.
26566         (test-program-prefix-after-env): Likewise.
26567         (test-program-prefix): Define in terms of new variables.
26568         (test-program-cmd-before-env): New variable.
26569         (test-program-cmd-after-env): Likewise.
26570         (test-program-cmd): Define in terms of new variables.
26571         * Rules (make-test-out): Use $(run-program-env).
26572         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26573         (help): Do not mention environment variables.  Mention
26574         --timeoutfactor option.
26575         (timeoutfactor): New variable.
26576         (blacklist_exports): Remove function.
26577         (exports): Remove variable.
26578         (command): Do not include ${exports}.
26579         * manual/install.texi (Configuring and compiling): Do not mention
26580         test wrappers preserving environment variables.  Mention that last
26581         assignment to a variable must take precedence.
26582         * INSTALL: Regenerated.
26583         * benchtests/Makefile (run-bench): Use $(run-program-env).
26584         * catgets/Makefile ($(objpfx)test1.cat): Use
26585         $(built-program-cmd-before-env), $(run-program-env) and
26586         $(built-program-cmd-after-env).
26587         ($(objpfx)test2.cat): Do not specify environment variables
26588         explicitly.
26589         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26590         $(run-program-env) and $(built-program-cmd-after-env).
26591         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26592         $(run-program-env) and $(test-program-cmd-after-env).
26593         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26594         explicitly.
26595         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26596         run_program_env and test_program_cmd_after_env arguments.
26597         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26598         * elf/tst-pathopt.sh: Use run_program_env argument.
26599         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26600         $(test-wrapper-env) and $(run-program-env).
26601         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26602         run_program_env arguments.
26603         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26604         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26605         $(test-program-prefix-before-env), $(run-program-env) and
26606         $(test-program-prefix-after-env).
26607         ($(objpfx)tst-gettext2.out): Likewise.
26608         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26609         run_program_env and test_program_prefix_after_env arguments.
26610         * intl/tst-gettext2.sh: Likewise.
26611         * intl/tst-gettext4.sh: Do not set environment variables
26612         explicitly.
26613         * intl/tst-gettext6.sh: Likewise.
26614         * intl/tst-translit.sh: Likewise.
26615         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26616         $(test-program-prefix-before-env), $(run-program-env) and
26617         $(test-program-prefix-after-env).
26618         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26619         run_program_env and test_program_prefix_after_env arguments.
26620         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26621         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26622         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26623         explicitly with each use of ${test_wrapper_env}.
26624         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26625         $(test-program-prefix-before-env), $(run-program-env) and
26626         $(test-program-prefix-after-env).
26627         * posix/tst-getconf.sh: Do not set environment variables
26628         explicitly.
26629         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26630         run_program_env and test_program_prefix_after_env arguments.
26631         * stdio-common/tst-printf.sh: Do not set environment variables
26632         explicitly.
26633         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26634         $(test-program-prefix-before-env), $(run-program-env) and
26635         $(test-program-prefix-after-env).
26636         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26637         run_program_env and test_program_prefix_after_env arguments.
26638         Split $test calls into $test_pre and $test.
26639         * timezone/Makefile (build-testdata): Use
26640         $(built-program-cmd-before-env), $(run-program-env) and
26641         $(built-program-cmd-after-env).
26643 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26645         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26646         strlen for non SHARED builds.
26648 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26650         * nptl/allocatestack.c (check_list): Inlined function...
26651         (__reclaim_stacks): ... here.
26653 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26655         [BZ #15698]
26656         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26657         memory overrun.
26659 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26661         * Rules (make-test-out): Include
26662         LOCPATH=$(common-objpfx)localedata in default environment.
26663         * debug/Makefile (tst-chk1-ENV): Remove variable.
26664         (tst-chk2-ENV): Likewise.
26665         (tst-chk3-ENV): Likewise.
26666         (tst-chk4-ENV): Likewise.
26667         (tst-chk5-ENV): Likewise.
26668         (tst-chk6-ENV): Likewise.
26669         (tst-lfschk1-ENV): Likewise.
26670         (tst-lfschk2-ENV): Likewise.
26671         (tst-lfschk3-ENV): Likewise.
26672         (tst-lfschk4-ENV): Likewise.
26673         (tst-lfschk5-ENV): Likewise.
26674         (tst-lfschk6-ENV): Likewise.
26675         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26676         (tst-iconv7-ENV): Likewise.
26677         * intl/Makefile (LOCPATH-ENV): Likewise.
26678         (tst-codeset-ENV): Likewise.
26679         (tst-gettext3-ENV): Likewise.
26680         (tst-gettext5-ENV): Likewise.
26681         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26682         (tst-fopenloc-ENV): Likewise.
26683         (tst-fgetws-ENV): Remove variable.
26684         (tst-ungetwc1-ENV): Likewise.
26685         (tst-ungetwc2-ENV): Likewise.
26686         (bug-ungetwc2-ENV): Likewise.
26687         (tst-swscanf-ENV): Likewise.
26688         (bug-ftell-ENV): Likewise.
26689         (tst-fgetwc-ENV): Likewise.
26690         (tst-fseek-ENV): Likewise.
26691         (tst-ftell-partial-wide-ENV): Likewise.
26692         (tst-ftell-active-handler-ENV): Likewise.
26693         (tst-ftell-append-ENV): Likewise.
26694         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26695         (tst-regexloc-ENV): Likewise.
26696         (bug-regex1-ENV): Likewise.
26697         (tst-regex-ENV): Likewise.
26698         (tst-regex2-ENV): Likewise.
26699         (bug-regex5-ENV): Likewise.
26700         (bug-regex6-ENV): Likewise.
26701         (bug-regex17-ENV): Likewise.
26702         (bug-regex18-ENV): Likewise.
26703         (bug-regex19-ENV): Likewise.
26704         (bug-regex20-ENV): Likewise.
26705         (bug-regex22-ENV): Likewise.
26706         (bug-regex23-ENV): Likewise.
26707         (bug-regex25-ENV): Likewise.
26708         (bug-regex26-ENV): Likewise.
26709         (bug-regex30-ENV): Likewise.
26710         (bug-regex32-ENV): Likewise.
26711         (bug-regex33-ENV): Likewise.
26712         (bug-regex34-ENV): Likewise.
26713         (bug-regex35-ENV): Likewise.
26714         (tst-rxspencer-ENV): Likewise.
26715         (tst-rxspencer-no-utf8-ENV): Likewise.
26716         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26717         (tst-sscanf-ENV): Likewise.
26718         (tst-swprintf-ENV): Likewise.
26719         (tst-swscanf-ENV): Likewise.
26720         (test-vfprintf-ENV): Likewise.
26721         (scanf13-ENV): Likewise.
26722         (bug14-ENV): Likewise.
26723         (tst-grouping-ENV): Likewise.
26724         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26725         (tst-strtod3-ENV): Likewise.
26726         (tst-strtod4-ENV): Likewise.
26727         (tst-strtod5-ENV): Likewise.
26728         (testmb2-ENV): Likewise./
26729         * string/Makefile (tst-strxfrm-ENV): Likewise.
26730         (tst-strxfrm2-ENV): Likewise.
26731         (bug-strcoll1-ENV): Likewise.
26732         (test-strcasecmp-ENV): Likewise.
26733         (test-strncasecmp-ENV): Likewise.
26734         * time/Makefile (tst-strptime-ENV): Likewise.
26735         (tst-ftime_l-ENV): Likewise.
26736         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26737         (tst-mbrtowc-ENV): Likewise.
26738         (tst-wcrtomb-ENV): Likewise.
26739         (tst-mbrtowc2-ENV): Likewise.
26740         (tst-c16c32-1-ENV): Likewise.
26741         (tst-mbsnrtowcs-ENV): Likewise.
26743 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26745         * manual/resource.texi (How to get information about the memory
26746         subsystem?): Fix typo.
26747         Reported by Peon de la Parra Ivan <peon@keba.com>
26749 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26751         [BZ #16882]
26752         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26753         (pthread_spin_lock): Branch out of spin loop to proper location.
26754         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26755         (pthread_spin_lock): Likewise.
26757         * nptl/tst-spin4.c: New test.
26758         * nptl/Makefile (tests): Add tst-spin4.
26760 2014-06-03  Andreas Schwab  <schwab@suse.de>
26762         [BZ #15946]
26763         * resolv/res_send.c (send_dg): Reload file descriptor after
26764         calling reopen.
26766 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26768         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26770 2014-06-03  Richard Henderson  <rth@redhat.com>
26772         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26773         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26774         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26775         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26776         in the SAVE_PID block.
26777         (__libc_vfork): New alias.
26778         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26780         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26781         child in registers, not on the stack.  Remove RESET_PID conditionals.
26782         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26784 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26786         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26788 2014-06-03  Wilco  <wdijkstr@arm.com>
26790         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26791         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26792         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26793         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26794         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26795         Likewise.
26797 2014-06-03  Wilco  <wdijkstr@arm.com>
26799         * sysdeps/aarch64/fpu/math_private.h
26800         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26801         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26802         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26803         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26804         Fix declarations.
26806 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26808         * crypt/crypt-private.h: Include ufc-crypt.h.
26809         (__b64_from_24bit): Declare extern.
26810         * crypt/crypt_util.c(__b64_from_24bit): New function.
26811         (b64t): New static const variable.
26812         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26813         (b64t): Remove variable.
26814         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26815         * crypt/sha256-crypt.c: Include crypt-private.h.
26816         (b64t): Remove variable.
26817         (__sha256_crypt_r): Remove b64_from_24bit and replace
26818         with __b64_from_24bit.
26819         * crypt/sha512-crypt.c: Likewise.
26821 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26823         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26824         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26825         Label the code __libc_vfork rather than __vfork.
26826         [!NOT_IN_libc] (vfork): Define as weak alias.
26827         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26828         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26829         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26831 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26833         * malloc/malloc.c (malloc_info): Fix format specifier for
26834         n_mmaps.
26836 2014-06-02  Wilco  <wdijkstr@arm.com>
26838         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26839         FPCR write.
26841 2014-06-02  Wilco  <wdijkstr@arm.com>
26843         [BZ #17009]
26844         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26845         Rewrite to reduce FPCR/FPSR accesses.
26847 2014-06-01  David S. Miller  <davem@davemloft.net>
26849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26851 2014-05-31  David S. Miller  <davem@davemloft.net>
26853         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26854         to occur in round to nearest mode when |x| >= 2.0
26856 2014-05-30  Richard Henderson  <rth@twiddle.net>
26858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26859         (PSEUDO_RET_NOERRNO): Remove.
26860         (ret): Don't redefine.
26861         (ret_NOERRNO): Define in terms of ret.
26862         (ret_ERRVAL): Likewise.
26864         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26865         use of PSEUDO_RET; perform the error check directly.
26867 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26869         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26870         with __int128_t.
26872 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26874         * malloc/malloc (malloc_info): Fix formatting.
26876 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26877             Roland McGrath  <roland@hack.frob.com>
26879         * malloc/malloc (malloc_info): Also print mmapped statistics.
26881 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26883         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26884         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26886 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26888         * malloc/malloc.c (malloc_info): Inline mi_arena.
26890 2014-05-29  Richard Henderson  <rth@twiddle.net>
26892         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26893         Remove comma before expanding ASM_ARGS_##nr.
26894         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26895         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26896         of ASM_ARGS_##nr.
26897         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26898         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26899         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26900         (ASM_ARGS_1): Add leading comma.
26902         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26903         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26904         to __errno_location.
26905         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26906         Remove the expected plt for __errno_location.
26908         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26909         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26910         call to __read_tp.
26912         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26913         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26914         it and break it down.
26915         (DOCARGS_0, DOCARGS_1): Do nothing.
26916         (DOCARGS_2): Update to store into the new stack frame.
26917         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26918         (UNDOCARGS_1): Update to restore from the new stack frame.
26919         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26920         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26922         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26923         (SINGLE_THREAD_P): New parameter for result regno.
26924         (PSEUDO): Update to match; use cbz instead of beq.
26926         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26927         Use ENTRY to define the _nocancel entry point.  Share the syscall
26928         and syscall error check paths with the cancel path.
26929         (PSEUDO_END): New.
26931         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26932         whitespace; tabs before and after asm mnemonics.
26934 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26936         [BZ #15132]
26937         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26938         Call fstat64 or stat64 internally, depending on arguments passed.
26939         Replace stat buffer argument with file descriptor argument.
26940         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26941         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26942         Pass fd to __internal_statvfs instead of calling fstat64.
26943         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26944         Pass fd to __internal_statvfs64 instead of calling fstat64.
26945         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26946         Pass -1 to __internal_statvfs instead of calling stat64.
26947         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26948         Pass -1 to __internal_statvfs64 instead of calling stat64.
26950 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26952         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26953         that was previously under [RESET_PID].
26954         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26956         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26957         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26959 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26961         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26963         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26964         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26966 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26968         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26970 2014-05-27  Andreas Schwab  <schwab@suse.de>
26972         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26973         TLS_INIT_TP macro.
26974         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26975         * elf/rtld.c (init_tls, dl_main): Likewise.
26976         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26977         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26978         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26979         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26980         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26981         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26982         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26983         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26984         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26985         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26986         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26987         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26988         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26989         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26990         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26991         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26992         * sysdeps/generic/tls.h: Update description.
26994 2014-05-27  Will Newton  <will.newton@linaro.org>
26996         [BZ #16990]
26997         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26998         and restore r2 rather than just restoring.
27000 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27002         [BZ #16724]
27003         * libio/tst-ftell-append.c: New test case.
27004         * libio/Makefile (tests): Add test case.
27005         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27006         append mode.
27007         * libio/wfileops.c (do_ftell_wide): Likewise.
27009 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27013         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27014         ...
27015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27017         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27018         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27019         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27020         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27021         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27022         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27023         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27024         Moved ...
27025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27026         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27027         Moved ...
27028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27029         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27030         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27031         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27032         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27033         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27034         ...
27035         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27036         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27037         Moved ...
27038         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27039         here.
27040         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27041         ...
27042         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27043         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27044         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27046         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27047         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27048         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27049         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27052         merge into ...
27053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27055         ...
27056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27058         ...
27059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27061         Moved ...
27062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27063         here.
27064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27065         Moved ...
27066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27067         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27068         Moved ...
27069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27072         conditional [RESET_PID].
27073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27074         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27075         removed.
27076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27077         removed.
27079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27080         <tcb-offsets.h>.
27081         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27082         (__libc_vfork): New strong alias.
27083         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27084         removed.
27085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27086         Removed.
27088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27089         <tcb-offsets.h>.
27090         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27091         (__libc_vfork): New strong alias.
27092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27093         removed.
27094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27095         removed.
27097 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27099         * malloc/malloc.c (mi_arena): New function.
27100         (malloc_info): Remove nested function mi_arena. Call non-nosted
27101         function mi_arena.
27103 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27105         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27106         by insrwi.
27107         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27108         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27109         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27110         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27111         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27112         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27113         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27115 2014-05-26  Andreas Schwab  <schwab@suse.de>
27117         [BZ #16984]
27118         * locale/programs/repertoire.c (repertoire_read): Add slash
27119         between I18NPATH element and file name.
27120         * locale/programs/locfile.c (locfile_read): Likewise.
27122 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27124         * nptl/pthread_mutexattr_settype.c
27125         (__pthread_mutexattr_settype):
27126         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27128 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27130         * nptl/tst-mutex5 (do_test):
27131         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27133 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27135         * benchtests/README: Document 'init' directive.
27136         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27137         BENCH_INIT.
27138         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27139         (parse_file): Recognize 'init' directive.
27141 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27143         [BZ #16796]
27144         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27145         alignment of struct pthread.
27147 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27149         [BZ #16878]
27150         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27151         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27152         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27153         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27155 2014-05-25  Richard Henderson  <rth@twiddle.net>
27157         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27158         (SINGLE_THREAD_P_PIC): Remove.
27159         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27160         (SINGLE_THREAD_P_PIC): Remove.
27162         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27163         branch to syscall error ...
27164         (PSEUDO): ... here.
27165         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27166         from __local_syscall_error to .Lsyscall_error.
27167         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27168         (SYSCALL_ERROR): Update label name.
27170         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27171         Do not use DOARGS/UNDOARGS.
27172         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27173         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27174         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27175         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27176         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27178         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27179         block comment.
27181         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27182         define if !NOT_IN_libc.
27183         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27184         define with non-default symbol versions.
27186 2014-05-23  Richard Henderson  <rth@twiddle.net>
27188         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27189         (vfork, __vfork): Define via compat_symbol.
27191         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27192         [!HAVE_IFUNC] (vfork_compat): Remove.
27193         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27195 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27197         [BZ #16978]
27198         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27199         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27200         variable.
27202 2014-05-23  Richard Henderson  <rth@twiddle.net>
27204         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27205         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27206         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27207         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27209         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27210         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27211         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27212         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27213         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27214         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27215         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27216         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27217         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27218         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27219         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27220         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27221         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27222         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27223         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27224         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27225         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27226         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27227         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27228         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27229         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27230         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27231         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27232         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27233         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27234         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27235         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27236         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27237         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27238         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27239         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27240         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27241         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27242         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27243         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27244         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27245         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27246         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27247         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27248         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27249         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27250         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27251         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27252         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27253         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27254         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27255         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27256         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27257         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27258         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27259         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27260         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27261         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27262         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27263         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27264         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27266         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27267         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27268         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27269         before exiting on error.
27270         (__libc_vfork): New strong alias.
27271         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27272         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27274         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27275         that was previously under [RESET_PID].
27276         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27278         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27280 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27282         [BZ #16977]
27283         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27284         value when x - 1 is zero.
27285         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27286         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27287         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27288         0.0L for an argument of 1.0L.
27289         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27290         Likewise.
27291         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27292         value when x - 1 is zero.
27293         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27294         * sysdeps/i386/fpu/libm-test-ulps: Update.
27295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27297 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27299         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27300         alphasort and versionsort.
27302 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27304         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27305         macro.
27306         [copysignf]: Likewise.
27308 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27310         * crypt/md5-crypt.c: Fix formatting.
27312 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27314         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27315         (b64_from_24bit): New function.
27317 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27319         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27320         libc_hidden_builtin_def to ifunc.
27321         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27322         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27324 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27326         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27327         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27329 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27331         * nscd/Depend (linuxthreads): Remove.
27332         (nptl): Add.
27333         * resolv/Depend (linuxthreads): Remove.
27334         * rt/Depend (linuxthreads): Remove.
27336         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27337         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27338         $(common-objpfx)elf/.
27339         (link-libc-before-gnulib): Likewise.
27340         (elfobjdir): Remove variable.
27341         * Makefile (install): Use $(elf-objpfx) instead of
27342         $(common-objpfx)elf/.
27343         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27344         $(elfobjdir)/.
27345         (link-libc-deps): Likewise.
27346         ($(common-objpfx)libc.so): Likewise.
27347         ($(common-objpfx)linkobj/libc.so): Likewise.
27348         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27349         instead of $(common-objpfx)elf/.
27350         (symbolic-link-list): Likewise.
27351         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27352         [$(cross-compiling) = no]: Likewise.
27353         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27354         $(elfobjdir)/.
27355         (static-gnulib-arch): Likewise.
27356         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27357         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27358         $(common-objpfx)elf/.
27360 2014-05-21  Richard Henderson  <rth@redhat.com>
27362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27363         (SINGLE_THREAD_P): Use the correct width load.  Fold
27364         into the ldr offset.
27366         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27367         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27369 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27371         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27372         (libgcc_s_resume): Use __attribute_used__.
27373         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27374         Likewise.
27376 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27378         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27379         optimization when used with float constants.
27381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27383 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27385         [BZ #16915]
27386         * locale/nl_langinfo_l.c: Make direct reference to every
27387         _nl_current_CATEGORY symbol.
27388         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27389         (tests-static): Add tst-langinfo-static.
27390         (tests-special): Add tst-langinfo-static.out.
27391         ($(objpfx)tst-langinfo.out): Redirect output.
27392         ($(objpfx)tst-langinfo-static.out): New.
27393         * localedata/tst-langinfo.sh: Send output to stdout.
27394         * localedata/tst-langinfo-static.c: New file.
27396         [BZ #16965]
27397         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27398         when the shift amount is modulo the limb size.
27400 2014-05-20  Richard Henderson  <rth@redhat.com>
27402         [BZ #16967]
27403         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27404         Change type of sa_flags from unsigned int to int.
27406         [BZ #16966]
27407         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27409         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27411 2014-05-20  Will Newton  <will.newton@linaro.org>
27413         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27414         Test the return value of the system call in the nocancel case.
27416 2014-05-20  Will Newton  <will.newton@linaro.org>
27417             Yvan Roux  <yvan.roux@linaro.org>
27419         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27420         #include of asm/ptrace.h.
27421         (PTRACE_GET_THREAD_AREA): Remove #undef.
27422         (PTRACE_GETHBPREGS): Likewise.
27423         (PTRACE_SETHBPREGS): Likewise.
27424         (struct user_regs_struct): New structure.
27425         (struct user_fpsimd_struct): New structure.
27426         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27427         #include of asm/ptrace.h and second #include of sys/user.h.
27428         (PTRACE_GET_THREAD_AREA): Remove #undef.
27429         (PTRACE_GETHBPREGS): Likewise.
27430         (PTRACE_SETHBPREGS): Likewise.
27431         (ELF_NGREG): Use new struct user_regs_struct.
27432         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27434 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27436         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27437         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27439 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27441         [BZ #16958]
27442         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27443         membar to avoid block loads/stores to overlap previous stores.
27445 2014-05-17  Richard Henderson  <rth@redhat.com>
27447         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27448         Create the __##syscall_name##_nocancel entry point.
27449         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27450         Remove; let the sysdep-cancel.h code create it.
27452 2014-05-17  David S. Miller  <davem@davemloft.net>
27454         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27455         Protect with __USE_GNU.
27456         (TIOCSET_TEMPT): Likewise.
27457         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27458         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27459         these are already provided in bits/ioctl-types.h
27461 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27463         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27464         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27466         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27467         Use wait4 regardless of [__NR_waitpid].
27469 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27471         PR libgcc/60166
27472         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27473         (_FP_NANSIGN_Q): Set the quiet bit.
27475 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27477         * benchtests/Makefile
27478         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27479         not $(common-objpfx)math/libm.so.
27480         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27481         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27482         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27483         $(common-objpfx)dlfcn/libdl.so.
27484         ($(objpfx)tst-audit8): Depend on $(libm), not
27485         $(common-objpfx)math/libm.so.
27486         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27487         not $(common-objpfx)dlfcn/libdl.so.
27488         * math/Makefile
27489         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27490         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27491         [$(build-shared) = yes].
27492         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27493         $(common-objpfx)nptl/libpthread.so.
27494         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27495         $(common-objpfx)math/libm.so$(libm.so-version) or
27496         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27497         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27498         $(common-objpfx)dlfcn/libdl.so.
27499         * setjmp/Makefile (link-libm): Remove variable.
27500         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27501         * stdio-common/Makefile (link-libm): Remove variable.
27502         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27503         * stdlib/Makefile (link-libm): Remove variable.
27504         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27505         ($(objpfx)tst-strtod-round): Likewise.
27506         ($(objpfx)tst-tininess): Likewise.
27507         ($(objpfx)tst-strtod-underflow): Likewise.
27508         ($(objpfx)tst-strtod6): Likewise.
27509         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27510         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27511         $(common-objpfx)dlfcn/libdl.so.
27513 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27515         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27516         BSD terminal modes definitions.
27518 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27520         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27521         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27523         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27524         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27525         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27526         Don't do #include_next.
27527         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27528         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27529         Don't do #include_next.
27530         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27531         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27532         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27533         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27535 2014-05-16  Allan McRae  <allan@archlinux.org>
27537         * po/sv.po: Update Swedish translation from translation project.
27539         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27540         in sed expression.
27542 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27544         [BZ #16917]
27545         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27546         errno if the TIOCGPTN ioctl fails with an error different than
27547         EINVAL.
27548         * login/tst-ptsname.c: New file.
27549         * login/Makefile (tests): Add tst-ptsname.
27551         [BZ #16943]
27552         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27553         and prlimit64.
27555 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27557         [BZ #16849]
27558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27559         herrno to return EAI_AGAIN.
27561 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27563         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27564         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27565         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27566         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27567         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27568         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27569         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27570         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27571         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27572         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27573         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27574         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27575         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27576         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27577         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27578         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27579         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27580         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27581         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27582         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27583         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27584         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27585         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27586         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27587         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27588         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27589         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27590         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27591         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27592         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27594         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27596         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27598         Moved ...
27599         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27601         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27603         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27605         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27607         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27609         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27611         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27613         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27615         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27617         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27619         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27621         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27623         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27625         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27627         Moved ...
27628         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27630         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27632         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27634         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27636         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27638         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27640         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27642         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27644         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27646         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27648         Moved ...
27649         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27651         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27653         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27654         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27655         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27656         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27657         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27658         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27659         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27660         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27661         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27662         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27663         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27664         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27665         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27666         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27667         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27668         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27669         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27670         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27671         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27672         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27673         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27674         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27675         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27676         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27677         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27678         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27679         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27680         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27681         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27682         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27683         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27685         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27686         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27688         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27689         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27690         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27691         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27692         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27694         Moved ...
27695         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27696         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27697         Moved ...
27698         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27699         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27700         Moved ...
27701         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27702         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27703         Moved ...
27704         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27705         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27706         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27707         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27708         Moved ...
27709         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27710         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27711         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27712         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27713         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27714         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27715         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27716         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27717         Moved ...
27718         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27719         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27720         Moved ...
27721         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27722         ... here.
27723         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27724         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27725         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27726         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27727         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27728         Moved ...
27729         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27730         ... here.
27731         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27732         Moved ...
27733         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27734         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27735         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27736         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27737         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27739         Moved ...
27740         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27741         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27742         Moved ...
27743         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27744         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27745         Moved ...
27746         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27747         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27748         Moved ...
27749         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27750         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27751         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27752         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27753         Moved ...
27754         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27755         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27756         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27757         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27758         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27759         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27760         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27761         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27762         Moved ...
27763         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27764         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27765         Moved ...
27766         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27767         ... here.
27768         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27769         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27770         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27771         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27772         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27773         Moved ...
27774         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27775         ... here.
27776         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27777         Moved ...
27778         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27779         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27780         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27781         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27782         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27783         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27784         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27785         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27786         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27787         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27788         Moved ...
27789         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27790         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27791         Moved ...
27792         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27793         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27794         Moved ...
27795         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27796         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27797         Moved ...
27798         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27799         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27800         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27801         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27802         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27803         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27804         Moved ...
27805         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27806         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27807         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27808         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27809         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27810         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27811         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27812         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27813         Moved ...
27814         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27815         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27816         Moved ...
27817         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27818         ... here.
27819         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27820         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27821         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27822         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27823         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27824         Moved ...
27825         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27826         ... here.
27827         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27828         Moved ...
27829         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27830         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27831         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27832         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27833         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27834         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27835         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27836         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27837         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27838         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27839         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27841         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27842         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27844         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27845         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27847         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27848         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27849         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27850         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27851         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27852         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27853         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27854         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27855         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27856         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27857         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27858         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27859         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27860         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27861         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27862         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27863         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27865         Moved ...
27866         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27867         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27868         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27870         Moved ...
27871         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27873         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27874         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27875         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27876         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27877         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27878         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27879         Moved ...
27880         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27881         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27882         Moved ...
27883         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27884         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27885         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27887         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27888         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27889         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27890         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27891         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27892         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27893         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27894         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27895         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27896         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27897         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27898         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27899         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27901         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27902         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27903         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27904         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27905         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27907         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27908         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27909         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27910         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27911         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27912         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27913         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27914         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27915         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27916         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27918         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27921         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27922         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27923         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27924         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27925         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27926         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27927         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27928         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27929         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27930         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27931         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27932         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27933         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27934         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27935         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27936         Update #include.
27937         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27938         Likewise.
27939         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27940         Likewise.
27941         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27942         Likewise.
27943         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27944         Likewise.
27945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27946         Likewise.
27947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27948         Likewise.
27949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27950         Likewise.
27951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27952         Likewise.
27953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27954         Likewise.
27955         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27956         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27957         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27959         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27960         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27961         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27962         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27963         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27964         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27965         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27966         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27967         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27968         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27969         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27971         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27972         that was previously under [RESET_PID].
27973         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27974         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27975         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27977         * sysdeps/i386/nptl/Implies: New file.
27978         * sysdeps/x86_64/nptl/Implies: New file.
27979         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27980         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27981         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27982         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27984         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27985         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27986         (__libc_vfork): New strong alias.
27987         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27988         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27990         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27991         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27992         (__libc_vfork): New strong alias.
27993         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27994         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27996         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27997         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27998         (__libc_vfork): New strong alias.
27999         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28000         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28001         * nptl/pt-vfork.c: New file.
28002         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28003         (libpthread: GLIBC_2.20): New version set (empty).
28005 2014-05-14  Will Newton  <will.newton@linaro.org>
28007         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28008         rather than #if.
28010 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28012         [BZ #16564]
28013         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28014         arguments with exponent 65 or above.
28015         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28016         arguments 0x1p113L or above.
28017         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28018         to arguments 0x1p107L or above.
28019         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28020         positive arguments with exponent 65 or above.
28021         * math/auto-libm-test-in: Add more tests of log1p.
28022         * math/auto-libm-test-out: Regenerated.
28024         [BZ #16928]
28025         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28026         non-finite arguments is +0.
28027         * math/s_cacosf.c (__cacosf): Likewise.
28028         * math/s_cacosl.c (__cacosl): Likewise.
28029         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28030         * sysdeps/i386/fpu/libm-test-ulps: Update.
28031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28033         [BZ #16927]
28034         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28035         value.
28036         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28037         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28038         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28039         for explicit high bit of mantissa when testing for argument equal
28040         to 1.
28041         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28042         * sysdeps/i386/fpu/libm-test-ulps: Update.
28043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28045         [BZ #16516]
28046         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28047         (__erf): Scale by 16 instead of 8 in potentially underflowing
28048         case.  Ensure exception if result actually underflows.
28049         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28050         (__erff): Scale by 16 instead of 8 in potentially underflowing
28051         case.  Ensure exception if result actually underflows.
28052         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28053         (efx8): Remove variable.
28054         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28055         case.  Ensure exception if result actually underflows.
28056         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28057         (efx8): Remove variable.
28058         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28059         case.  Ensure exception if result actually underflows.
28060         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28061         (efx8): Remove variable.
28062         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28063         case.  Ensure exception if result actually underflows.
28064         * math/auto-libm-test-in: Add more tests of erf.
28065         * math/auto-libm-test-out: Regenerated.
28067 2014-05-14  Andreas Schwab  <schwab@suse.de>
28069         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28070         Remove code conditionalized on USE___THREAD.
28072         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28073         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28074         not definedness.
28076 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28078         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28079         Define unconditionally.
28080         (__ASSUME_O_CLOEXEC): Likewise.
28081         (__ASSUME_SOCK_CLOEXEC): Likewise.
28082         (__ASSUME_IN_NONBLOCK): Likewise.
28083         (__ASSUME_PIPE2): Likewise.
28084         (__ASSUME_EVENTFD2): Likewise.
28085         (__ASSUME_SIGNALFD4): Likewise.
28086         (__ASSUME_DUP3): Likewise.
28087         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28088         (__ASSUME_DUP3): Do not define.
28089         (__ASSUME_EVENTFD2): Likewise.
28090         (__ASSUME_IN_NONBLOCK): Likewise.
28091         (__ASSUME_O_CLOEXEC): Likewise.
28092         (__ASSUME_PIPE2): Likewise.
28093         (__ASSUME_SIGNALFD4): Likewise.
28094         (__ASSUME_SOCK_CLOEXEC): Likewise.
28095         (__ASSUME_UTIMES): Undefine.
28096         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28097         (__ASSUME_UTIMES): Do not define.
28098         (__ASSUME_O_CLOEXEC): Likewise.
28099         (__ASSUME_SOCK_CLOEXEC): Likewise.
28100         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28101         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28102         0x020621].
28103         (__ASSUME_PIPE2): Likewise.
28104         (__ASSUME_EVENTFD2): Likewise.
28105         (__ASSUME_SIGNALFD4): Likewise.
28106         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28107         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28108         Do not define.
28109         (__ASSUME_EVENTFD2): Likewise.
28110         (__ASSUME_SIGNALFD4): Likewise.
28111         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28112         (__ASSUME_32BITUIDS): Likewise.
28113         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28114         (__ASSUME_IPC64): Likewise.
28115         (__ASSUME_ST_INO_64_BIT): Likewise.
28116         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28117         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28118         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28119         (__ASSUME_UTIMES): Do not define.
28120         (__ASSUME_PSELECT): Likewise.
28121         (__ASSUME_PPOLL): Likewise.
28122         (__ASSUME_O_CLOEXEC): Likewise.
28123         (__ASSUME_SOCK_CLOEXEC): Likewise.
28124         (__ASSUME_IN_NONBLOCK): Likewise.
28125         (__ASSUME_PIPE2): Likewise.
28126         (__ASSUME_EVENTFD2): Likewise.
28127         (__ASSUME_SIGNALFD4): Likewise.
28128         (__ASSUME_DUP3): Likewise.
28129         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28130         (__ASSUME_UTIMES): Likewise.
28131         (__ASSUME_O_CLOEXEC): Likewise.
28132         (__ASSUME_SOCK_CLOEXEC): Likewise.
28133         (__ASSUME_IN_NONBLOCK): Likewise.
28134         (__ASSUME_PIPE2): Likewise.
28135         (__ASSUME_EVENTFD2): Likewise.
28136         (__ASSUME_SIGNALFD4): Likewise.
28137         (__ASSUME_DUP3): Likewise.
28138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28139         (__ASSUME_UTIMES): Likewise.
28140         (__ASSUME_O_CLOEXEC): Likewise.
28141         (__ASSUME_SOCK_CLOEXEC): Likewise.
28142         (__ASSUME_IN_NONBLOCK): Likewise.
28143         (__ASSUME_PIPE2): Likewise.
28144         (__ASSUME_EVENTFD2): Likewise.
28145         (__ASSUME_SIGNALFD4): Likewise.
28146         (__ASSUME_DUP3): Likewise.
28147         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28148         Likewise.
28149         (__ASSUME_UTIMES): Likewise.
28150         (__ASSUME_EVENTFD2): Likewise.
28151         (__ASSUME_SIGNALFD4): Likewise.
28152         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28153         (__ASSUME_O_CLOEXEC): Likewise.
28154         (__ASSUME_SOCK_CLOEXEC): Likewise.
28155         (__ASSUME_IN_NONBLOCK): Likewise.
28156         (__ASSUME_PIPE2): Likewise.
28157         (__ASSUME_EVENTFD2): Likewise.
28158         (__ASSUME_SIGNALFD4): Likewise.
28159         (__ASSUME_DUP3): Likewise.
28160         (__ASSUME_UTIMES): Undefine.
28162         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28163         feclearexcept.  Remove symbol versioning code.
28164         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28165         symbol versioning code.
28166         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28167         symbol versioning code.
28168         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28169         feupdateenv.  Remove symbol versioning code.
28170         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28171         fegetexceptflag.  Remove symbol versioning code.
28172         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28173         fesetexceptflag.  Remove symbol versioning code.
28174         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28175         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28176         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28177         (__posix_fadvise64_l32): Remove prototype.
28178         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28179         code.
28181 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28183         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28184         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28185         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28186         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28188 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28190         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28191         current working directory
28193 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28195         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28196         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28197         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28198         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28199         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28200         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28201         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28202         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28203         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28204         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28205         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28206         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28207         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28208         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28209         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28210         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28211         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28212         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28213         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28214         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28215         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28216         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28217         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28218         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28219         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28220         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28221         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28222         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28223         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28224         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28225         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28226         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28227         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28228         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28229         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28230         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28231         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28232         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28233         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28234         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28235         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28236         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28238         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28239         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28241         * sysdeps/unix/sysv/linux/arm/Makefile
28242         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28243         Add rt-aeabi_unwind_cpp_pr1.
28244         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28245         Add nptl-aeabi_unwind_cpp_pr1.
28246         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28247         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28248         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28249         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28250         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28251         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28253         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28254         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28255         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28256         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28258         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28259         Deconditionalize the code that was previously under [RESET_PID].
28260         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28262         * sysdeps/generic/exit-thread.h: New file.
28263         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28264         * include/unistd.h (__exit_thread): Remove declaration.
28265         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28266         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28267         * csu/libc-start.c: Include <exit-thread.h>.
28268         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28269         * nptl/pthread_create.c: Include <exit-thread.h>.
28270         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28271         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28272         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28273         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28274         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28275         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28276         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28277         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28278         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28279         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28280         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28281         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28282         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28283         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28284         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28285         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28286         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28288 2014-05-13  Andreas Schwab  <schwab@suse.de>
28290         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28292 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28294         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28295         (__ASSUME_UTIMES): Do not condition on kernel version.
28296         (__ASSUME_PSELECT): Define unconditionally.
28297         (__ASSUME_PPOLL): Likewise.
28298         (__ASSUME_ATFCTS): Likewise.
28299         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28300         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28301         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28302         (__ASSUME_UTIMENSAT): Define unconditionally.
28303         (__ASSUME_PRIVATE_FUTEX): Likewise.
28304         (__ASSUME_FALLOCATE): Likewise.
28305         (__ASSUME_O_CLOEXEC): Likewise.
28306         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28307         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28308         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28309         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28310         (__ASSUME_IN_NONBLOCK): Likewise.
28311         (__ASSUME_PIPE2): Likewise.
28312         (__ASSUME_EVENTFD2): Likewise.
28313         (__ASSUME_SIGNALFD4): Likewise.
28314         (__ASSUME_DUP3): Likewise.
28315         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28316         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28317         (__ASSUME_AT_RANDOM): Likewise.
28318         (__ASSUME_PREADV): Likewise.
28319         (__ASSUME_PWRITEV): Likewise.
28320         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28321         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28322         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28323         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28324         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28325         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28326         (__ASSUME_O_CLOEXEC): Define unconditionally.
28327         (__ASSUME_PSELECT): Do not undefine conditionally.
28328         (__ASSUME_PPOLL): Likewise.
28329         (__ASSUME_ATFCTS): Likewise.
28330         (__ASSUME_SET_ROBUST_LIST): Likewise.
28331         (__ASSUME_UTIMENSAT): Likewise.
28332         (__ASSUME_FDATASYNC): Define unconditionally.
28333         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28334         (__ASSUME_SIGFRAME_V2): Likewise.
28335         )__ASSUME_EVENTFD2): Likewise.
28336         (__ASSUME_SIGNALFD4): Likewise.
28337         (__ASSUME_PSELECT): Do not undefine conditionally.
28338         (__ASSUME_PPOLL): Likewise.
28339         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28340         (__ASSUME_PSELECT): Define unconditionally.
28341         (__ASSUME_PPOLL): Likewise.
28342         (__ASSUME_O_CLOEXEC): Likewise.
28343         (__ASSUME_SOCK_CLOEXEC): Likewise.
28344         (__ASSUME_IN_NONBLOCK): Likewise.
28345         (__ASSUME_PIPE2): Likewise.
28346         (__ASSUME_EVENTFD2): Likewise.
28347         (__ASSUME_SIGNALFD4): Likewise.
28348         (__ASSUME_DUP3): Likewise.
28349         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28350         (__ASSUME_O_CLOEXEC): Likewise.
28351         (__ASSUME_SOCK_CLOEXEC): Likewise.
28352         (__ASSUME_IN_NONBLOCK): Likewise.
28353         (__ASSUME_PIPE2): Likewise.
28354         (__ASSUME_EVENTFD2): Likewise.
28355         (__ASSUME_SIGNALFD4): Likewise.
28356         (__ASSUME_DUP3): Likewise.
28357         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28358         (__ASSUME_EVENTFD2): Likewise.
28359         (__ASSUME_SIGNALFD4): Likewise.
28360         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28362 2014-05-12  Andreas Schwab  <schwab@suse.de>
28364         [BZ #16932]
28365         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28366         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28367         than maximum RPC packet size.
28368         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28369         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28370         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28371         (_nss_nis_getservbyport_r): Likewise.
28373 2014-05-12  Will Newton  <will.newton@linaro.org>
28375         * malloc/Makefile (tests): Add tst-mallopt.
28376         * malloc/tst-mallopt.c: New file.
28378 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28380         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28381         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28383 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28385         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28386         (tst-tlsmod6.so): Likewise.
28388 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28390         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28392 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28394         [BZ #16064]
28395         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28396         and <dl-procinfo.h>.
28397         (__fegetenv): Save SSE state in envp->__eip if supported.
28398         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28399         envp->__eip if supported.
28400         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28401         and <dl-procinfo.h>.
28402         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28403         __data_offset and __data_selector in environment to 0.  Set SSE
28404         state if supported.
28405         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28406         test-fenv-sse.
28407         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28408         -mfpmath=sse.
28409         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28411 2014-05-09  Will Newton  <will.newton@linaro.org>
28413         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28414         and libc_relro_required for ARM.
28415         * sysdeps/arm/preconfigure: Regenerate.
28417 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28418             Stefan Liebler  <stli@linux.vnet.ibm.com>
28420         * config.make.in (enable-lock-elision): New Makefile variable.
28421         * configure.ac: Likewise.
28422         * configure: Regenerate.
28423         * sysdeps/s390/configure.ac:
28424         Add check for gcc transactions support.
28425         * sysdeps/s390/configure: Regenerate.
28426         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28427         Build elision files if enabled.
28428         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28429         Add lock elision support for s390.
28430         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28431         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28432         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28433         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28434         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28435         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28436         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28437         Likewise.
28438         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28439         Likewise.
28440         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28441         Likewise.
28442         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28443         Likewise.
28444         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28445         (__lll_timedlock_elision, __lll_lock_elision)
28446         (__lll_unlock_elision, __lll_trylock_elision)
28447         (lll_timedlock_elision, lll_lock_elision)
28448         (lll_unlock_elision, lll_trylock_elision): Add.
28449         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28450         (pthread_mutex_t): Add lock elision support for s390.
28452 2014-05-14  Wilco  <wdijkstr@arm.com>
28454         * sysdeps/arm/fclrexcpt.c: Cleanup.
28455         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28456         * sysdeps/arm/feenablxcpt.c: Cleanup.
28457         * sysdeps/arm/fegetenv.c: Cleanup.
28458         * sysdeps/arm/fegetexcept.c: Cleanup.
28459         * sysdeps/arm/fegetround.c: Cleanup.
28460         * sysdeps/arm/feholdexcpt.c: Cleanup.
28461         * sysdeps/arm/fesetenv.c: Cleanup.
28462         * sysdeps/arm/fesetround.c: Cleanup.
28463         * sysdeps/arm/feupdateenv.c: Cleanup.
28464         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28465         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28466         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28467         * sysdeps/arm/ftestexcept.c: Cleanup.
28468         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28469         * sysdeps/arm/setfpucw.c: Cleanup.
28471 2014-05-09  Will Newton  <will.newton@linaro.org>
28473         * sysdeps/arm/armv7/strcmp.S: New file.
28474         * NEWS: Mention addition of ARMv7 optimized strcmp.
28476 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28478         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28479         look for %.ac rather than %.in.
28481         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28482         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28483         * sysdeps/mach/hurd/configure: Regenerated.
28484         * sysdeps/unix/sysv/linux/configure: Regenerated.
28486         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28488 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28490         [BZ# 16922]
28491         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28492         (LONG_SUB): Ditto.
28493         (PTR_SUB): Ditto.
28495 2014-05-07  Andreas Schwab  <schwab@suse.de>
28497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28498         when skipping over non-matching result from nscd.
28500 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28502         [BZ #16876]
28503         * nptl/sockperf.c (client): Check socket return value.
28505         [BZ #16877]
28506         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28507         nscd security class.
28509 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28511         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28512         * sysdeps/arm/unwind.h: ... here.
28514 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28516         [BZ# 16916]
28517         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28518         Define.
28520 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28522         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28523         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28524         multiarch strncpy for PPC64.
28525         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28526         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28528         multiarch optimizations.
28529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28530         (__libc_ifunc_impl_list): Likewise.
28531         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28532         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28533         multiarch stpncpy for PPC64.
28534         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28535         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28537 2014-05-06  Andreas Schwab  <schwab@suse.de>
28539         [BZ #16912]
28540         * gmon/mcount.c (_MCOUNT_DECL): Use
28541         atomic_compare_and_exchange_bool_acq instead of
28542         catomic_compare_and_exchange_bool_acq.
28544 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28546         * elf/Makefile (others, install-bin): Remove pldd.
28547         (pldd-modules): Variable removed.
28548         ($(objpfx)pldd): Target removed.
28549         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28550         (others, install-bin): Append pldd here.
28551         ($(objpfx)pldd): New target.
28553         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28554         to 0, so the first #if test emitted later doesn't see it undefined.
28555         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28556         * sysdeps/gnu/errlist.c: Regenerated.
28558 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28560         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28561         [libc_hidden_builtin_def]: Define to empty value.
28562         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28563         [libc_hidden_builtin_def]: Likewise.
28564         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28565         [libc_hidden_builtin_def]: Likewise.
28566         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28567         [libc_hidden_builtin_def]: Likewise.
28568         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28569         __redirect_memcpy and define ifunc as default hidden symbol.
28570         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28571         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28573 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28575         * locale/iso-4217.def: Reintroduce XDR currency.
28577 2014-05-04  Allan McRae  <allan@archlinux.org>
28579         * po/eo.po: Update Esperanto translation from translation project.
28581 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28583         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28584         and FEATURE_INDEX_MAX to 1.
28585         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28587 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28589         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28590         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28591         * iconvdata/big5.c (ONE_DIRECTION): Define.
28592         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28593         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28594         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28595         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28596         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28597         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28598         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28599         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28600         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28601         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28602         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28603         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28604         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28605         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28606         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28607         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28608         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28609         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28610         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28611         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28612         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28613         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28614         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28615         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28616         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28617         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28618         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28619         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28620         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28621         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28622         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28623         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28624         * iconvdata/johab.c (ONE_DIRECTION): Define.
28625         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28626         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28627         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28628         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28629         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28630         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28631         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28632         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28633         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28634         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28636 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28638         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28639         (_IO_JUMPS_OFFSET): Define to 0.
28641         * nptl/sysdeps/pthread/bits/libc-lock.h
28642         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28643         (__libc_lock_define_initialized_recursive): Always define using
28644         initializer.  Modern compilers treat uninitialized (implicit zero) and
28645         explicit zero initializers the same (i.e. put the datum in bss).
28647 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28649         * nscd/nscd-client.h: Include <string.h>.
28651 2014-05-01  David S. Miller  <davem@davemloft.net>
28653         [BZ #16885]
28654         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28655         multiple zero bytes exist at the end of a string.
28656         Reported by Aurelien Jarno <aurelien@aurel32.net>
28658         * string/test-strcmp.c (check): Add explicit test for situations where
28659         there are multiple zero bytes after the first.
28661 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28663         [BZ #16890]
28664         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28665         when compiling wprintf.
28666         * stdio-common/tstdiomisc.c (t3): New function.
28667         (main): Call it.
28669 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28671         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28672         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28673         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28674         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28676 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28678         * stdlib/longlong.h: Updated from GCC.
28680 2014-05-01  Will Newton  <will.newton@linaro.org>
28681             Bernard Ogden  <bernie.ogden@linaro.org>
28683         * NEWS: Update fixed bug list.
28685         [BZ #15119]
28686         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28688 2014-04-30  David S. Miller  <davem@davemloft.net>
28690         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28691         (libc_feholdexcept_setround_sparc_ctx): New function.
28692         (libc_fesetenv_sparc_ctx): Likewise.
28693         (libc_feupdateenv_sparc_ctx): Likewise.
28694         (libc_feholdsetround_sparc_ctx): Likewise.
28695         (libc_feholdexcept_setround_ctx): Define.
28696         (libc_feholdexcept_setroundf_ctx): Likewise.
28697         (libc_feholdexcept_setroundl_ctx): Likewise.
28698         (libc_fesetenv_ctx): Likewise.
28699         (libc_fesetenvf_ctx): Likewise.
28700         (libc_fesetenvl_ctx): Likewise.
28701         (libc_feupdateenv_ctx): Likewise.
28702         (libc_feupdateenvf_ctx): Likewise.
28703         (libc_feupdateenvl_ctx): Likewise.
28704         (libc_feresetround_ctx): Likewise.
28705         (libc_feresetroundf_ctx): Likewise.
28706         (libc_feresetroundl_ctx): Likewise.
28707         (libc_feholdsetround_ctx): Likewise.
28708         (libc_feholdsetroundf_ctx): Likewise.
28709         (libc_feholdsetroundl_ctx): Likewise.
28711         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28712         with __USE_GNU instead of XOPEN cpp guards.
28714         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28715         0.
28717         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28718         with XOPEN cpp guards.
28720 2014-04-30  Julian Brown  <julian@codesourcery.com>
28722         [BZ #16888]
28723         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28724         handling.
28726 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28728         [BZ #9894]
28729         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28730         Change to 2.6.32.
28731         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28732         * sysdeps/unix/sysv/linux/configure: Regenerated.
28733         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28734         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28735         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28736         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28737         * README: Update reference to required Linux kernel version.
28738         * manual/install.texi (Linux): Update reference to required Linux
28739         kernel headers version.
28740         * INSTALL: Regenerated.
28742         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28743         header inclusion.
28744         [POSIX] (limits.h): Likewise.
28745         [POSIX] (math.h): Likewise.
28746         [POSIX] (sys/wait.h): Likewise.
28747         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28748         function.
28749         [POSIX] (stddef.h): Do not allow header inclusion.
28751 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28753         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28755 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28757         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28758         Return immediately after lll_futex_wake.
28760 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28762         [BZ #16791]
28763         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28764         structure.
28765         (datahead_init_pos): Call datahead_init_common early.
28766         (datahead_init_neg): Likewise.
28768         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28769         datahead_init_neg): New functions.
28770         * nscd/aicache.c (addhstaiX): Use them.
28771         * nscd/grpcache.c (cache_addgr): Likewise.
28772         * nscd/hstcache.c (cache_addhst): Likewise.
28773         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28774         * nscd/netgroupcache.c (do_notfound): Likewise.
28775         (addgetnetgrentX): Likewise.
28776         (addinnetgrX): Likewise.
28777         * nscd/pwdcache.c (cache_addpw): Likewise.
28778         * nscd/servicescache.c (cache_addserv): Likewise.
28780 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28781             Atsushi Onoe  <atsushi@onoe.org>
28783         [BZ #14308]
28784         [BZ #12994]
28785         [BZ #13651]
28786         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28787         one response is valid.
28788         * resolv/res_send.c (send_dg): Check for validity of other
28789         response if the current response is a referral.
28791 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28793         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28795 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28797         [BZ #16823]
28798         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28799         Always divide by positive zero when computing -Inf result.
28800         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28801         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28803 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28805         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28806         FPSCR if value do not change.
28807         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28808         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28809         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28810         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28811         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28812         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28813         function.
28815 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28817         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28818         * sysdeps/unix/sysv/linux/hppa: Move directory from
28819         ports/systeps/unix/sysv/linux/hppa.
28820         * README: Update listing for hppa-*-linux-gnu.
28822 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28824         [BZ #16754]
28825         * manual/stdio.texi (Hook functions): Fix types of stream hook
28826         functions.
28827         [BZ #16854]
28828         * socket/sys/socket.h: Fix typo in comment.
28830 2014-04-28  Wilco  <wdijkstr@arm.com>
28832         * sysdeps/arm/fenv_private.h: New file.
28833         * sysdeps/arm/math_private.h: New file.
28834         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28836 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28838         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28839         with __int128_t.
28840         (La_x86_64_retval): Likewise.
28842 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28844         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28845         fpsr if value didn't change.
28846         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28847         to fpcr if value didn't change.
28848         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28849         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28850         fpsr or fpcr if value didn't change.
28851         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28852         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28853         fpcr if value didn't change.
28854         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28855         to fpsr if value didn't change.
28857 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28859         * nptl/tst-sem3.c: Use test-skeleton.c
28860         (main): Rename to do_test.  Use return instead of
28861         exit.
28862         * nptl/tst-sem4.c: Use test-skeleton.c
28863         (main): Rename to do_test.
28865 2014-04-22  David S. Miller  <davem@davemloft.net>
28867         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28868         (struct sigaction): New struct member __glibc_reserved0, change
28869         type of sa_flags to int.
28871 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28873         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28874         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28876 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28878         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28879         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28881 2014-04-22  Will Newton  <will.newton@linaro.org>
28882             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28884         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28885         (__longjmp): Add longjmp and longjmp_target SystemTap
28886         probes.
28887         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28888         (__sigsetjmp): Add setjmp SystemTap probe.
28890 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28892         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28893         match manual order.
28895 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28897         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28899         * sysdeps/powerpc/fpu/fenv_private.h
28900         (libc_feholdexcept_setroundl_ctx): Define to
28901         libc_feholdexcept_setround_ppc_ctx.
28902         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28903         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28904         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28905         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28907 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28909         * sysdeps/aarch64/math-tests.h: New file.
28911 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28913         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28914         New.
28915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28916         Check and set bit_AVX2_Usable.
28917         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28918         macro.
28919         (bit_AVX2): Likewise.
28920         (index_AVX2_Usable): Likewise.
28921         (CPUID_AVX2): Likewise.
28922         (HAS_AVX2): Likewise.
28924 2014-04-17  Will Newton  <will.newton@linaro.org>
28926         * manual/setjmp.texi (System V contexts): Add note that
28927         calling setcontext on a context created by a call to a
28928         signal handler is undefined.  Update text to note that
28929         setcontext from a signal handler is possible but not
28930         recommended.
28932         [BZ #16629]
28933         * stdlib/tst-setcontext.c: Include signal.h.
28934         (main): Check that the signal stack before and
28935         after swapcontext is the same.
28937         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28938         Re-implement to restore registers in user code and avoid
28939         rt_sigreturn system call.
28941 2014-04-17  Wilco  <wdijkstr@arm.com>
28943         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28944         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28945         * math/test-fenv.c: Skip exception trap tests on targets which only
28946         support non-stop mode.
28948 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28949             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28951         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28952         (libc_feholdsetround_aarch64_ctx)
28953         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28954         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28955         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28956         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28957         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28958         (libc_feresetround_noexl_ctx): Define.
28960 2014-04-16  Richard Henderson  <rth@redhat.com>
28962         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28964         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28965         unwind tables.
28967         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28968         const from the non-libc, non-ldso copy.
28970         * sysdeps/alpha/libm-test-ulps: Regenerate.
28972 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28973             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28975         * sysdeps/aarch64/fpu/math_private.h: New file.
28977 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28979         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28981 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28983         [BZ #16275]
28984         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28985         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28986         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28987         Intel MPX bound registers before _dl_profile_fixup.
28988         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28989         registers after _dl_profile_fixup.  Save and restore bound
28990         registers bnd0/bnd1 when calling _dl_call_pltexit.
28991         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28992         (LR_BND_OFFSET): Likewise.
28993         (LRV_BND0_OFFSET): Likewise.
28994         (LRV_BND1_OFFSET): Likewise.
28996 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28998         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28999         to...
29000         * sysdeps/mach/hurd/i386/tls.h: ... here.
29001         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29002         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29003         fields.
29005 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29007         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29009 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29011         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29013 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29015         [BZ #14770]
29016         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29017         * sysdeps/s390/configure: Regenerate.
29019         [BZ #16824]
29020         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29021         Set round-to-nearest internally to reduce error accumulation.
29023 2014-04-16  Alan Modra  <amodra@gmail.com>
29025         [BZ #16740]
29026         [BZ #16619]
29027         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29028         * math/libm-test.inc (frexp_test_data): Add tests.
29029         * NEWS: Update fixed bug list.
29031 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29033         * benchtests/Makefile: Depend on libraries in build directory.
29034         (bench-math): Separate out math tests.
29035         (bench-pthread): Separate out pthread tests.
29036         (bench): Include math and pthread tests.
29038 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29040         [BZ #16831]
29041         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29042         _dl_debug_initialize.
29044         * configure.ac: Remove SELinux header check.
29045         * configure: Regenerate.
29046         * nscd/selinux.c (perms): Array of const char* to permission names.
29047         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29048         default policy. Call string_to_security_class and string_to_av_perm to
29049         translate strings. Enforce default policy and call avs_has_perm with
29050         results of translated strings.
29052 2014-04-13  David S. Miller  <davem@davemloft.net>
29054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29056 2014-04-12  Allan McRae  <allan@archlinux.org>
29058         [BZ #16838]
29059         * manual/string.texi (Collation Functions): Fix qsort argument
29060         order in example.
29061         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29063 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29065         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29066         Make the test a no-op if there are no exceptions defined.
29068 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29070         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29071         enable-hardcoded-path-in-tests
29073 2014-04-11  Will Newton  <will.newton@linaro.org>
29075         * benchtests/Makefile (extra-objs): Add json-lib.o.
29076         (bench-func): Tidy up JSON output.
29077         * benchtests/bench-skeleton.c: Include json-lib.h.
29078         (main): Use JSON library functions to do output of
29079         benchmark results.
29080         * benchtests/bench-timing-type.c (main): Output the
29081         timing type simply, leaving formatting to the user.
29082         * benchtests/json-lib.c: New file.
29083         * benchtests/json-lib.h: Likewise.
29085 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29087         [BZ #15215]
29088         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29089         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29090         memory barriers.  Add comments.
29091         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29092         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29093         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29094         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29095         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29096         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29098 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29100         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29101         * sysdeps/s390/s390-64/configure.ac: ... this ...
29102         * sysdeps/s390/configure.ac: ... to here.
29103         * sysdeps/s390/s390-32/configure: Delete file.
29104         * sysdeps/s390/s390-64/configure: Delete file.
29105         * sysdeps/s390/configure: Regenerate.
29107 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29109         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29111 2014-04-11  Will Newton  <will.newton@linaro.org>
29113         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29114         to zero if it is not defined elsewhere.  (mtrim): Test
29115         the value of MALLOC_DEBUG with #if rather than #ifdef.
29117 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29119         * benchtests/pthread_once-inputs: New file.
29120         * benchtests/pthread_once-source.c: New file.
29121         * benchtests/README: Update documentation.
29123 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29124             H.J. Lu  <hongjiu.lu@intel.com>
29126         [BZ #16275]
29127         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29128         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29129         * sysdeps/x86_64/configure: Regenerated.
29130         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29131         macro.
29132         (REGISTER_SAVE_RAX): Likewise.
29133         (REGISTER_SAVE_RCX): Likewise.
29134         (REGISTER_SAVE_RDX): Likewise.
29135         (REGISTER_SAVE_RSI): Likewise.
29136         (REGISTER_SAVE_RDI): Likewise.
29137         (REGISTER_SAVE_R8): Likewise.
29138         (REGISTER_SAVE_R9): Likewise.
29139         (REGISTER_SAVE_BND0): Likewise.
29140         (REGISTER_SAVE_BND1): Likewise.
29141         (REGISTER_SAVE_BND2): Likewise.
29142         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29143         bound registers when calling _dl_fixup.
29145 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29147         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29148         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29149         of its definition.
29150         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29151         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29152         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29153         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29154         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29155         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29156         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29158 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29160         [BZ #15514]
29161         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29162         pathconf(_PC_NAME_MAX).
29164 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29166         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29167         Remove macro usage.
29168         (__PTHREAD_SPINS): Move definition to ...
29169         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29170         (__PTHREAD_SPINS): ... here.
29171         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29172         (__PTHREAD_SPIN): Likewise.
29173         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29174         (__PTHREAD_SPIN): Likewise.
29175         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29176         (__PTHREAD_SPIN): Likewise.
29177         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29178         (__PTHREAD_SPIN): Likewise.
29179         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29180         (__PTHREAD_SPIN): Likewise.
29181         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29182         (__PTHREAD_SPIN): Likewise.
29183         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29184         (__PTHREAD_SPIN): Likewise.
29185         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29186         (__PTHREAD_SPIN): Likewise.
29187         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29188         (__PTHREAD_SPIN): Likewise.
29189         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29190         (__PTHREAD_SPIN): Likewise.
29191         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29192         (__PTHREAD_SPIN): Likewise.
29193         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29194         (__PTHREAD_SPIN): Likewise.
29196         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29197         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29198         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29199         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29200         imply folder.
29201         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29202         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29203         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29204         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29205         correct imply path.
29206         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29207         strlen symbol for non multi-arch builds.
29208         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29209         missing hidden_def and weak_alias.
29211 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29213         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29215 2014-04-07  Will Newton  <will.newton@linaro.org>
29217         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29218         and contents.  [!_LIBC] Remove #ifndef and contents.
29219         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29220         * string/memccpy.c (__memccpy): Use ANSI prototype.
29221         * string/memfrob.c (memfrob): Likewise.
29222         * string/strcoll.c (STRCOLL): Likewise.
29223         * string/strlen.c (strlen): Likewise.
29224         * string/strtok.c (STRTOK): Likewise.
29225         * string/strcat.c: Remove unused #include of memcopy.h.
29226         (strcat): Use ANSI prototype.
29227         * string/strchr.c: Remove unused #include of memcopy.h.
29228         (strchr): Use ANSI prototype.
29229         * string/strcmp.c: Remove unused #include of memcopy.h.
29230         (strcmp): Use ANSI prototype.
29231         * string/strcpy.c: Remove unused #include of memcopy.h.
29232         (strcpy): Use ANSI prototype.
29234 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29236         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29237         * config.make.in (config-extra-cppflags): Set it from
29238         libc_extra_cppflags.
29239         * configure.ac (libc_extra_cflags): Make it accumulate over
29240         configure fragments.
29241         (libc_extra_cppflags): New flag.
29242         * configure. Regenerate.
29243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29244         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29245         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29248         [BZ #16815]
29249         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29250         result for FE_DOWNWARD rounding mode.
29251         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29252         Likewise.
29253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29255 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29257         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29258         in function argument name.
29260 2014-04-03  David Svoboda  <svoboda@cert.org>
29262         [BZ #5666]
29263         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29264         explicitly.
29266 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29268         * elf/dl-unmap-segments.h: New file.
29269         * sysdeps/generic/ldsodefs.h
29270         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29271         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29272         * elf/dl-fptr.c: Likewise.
29273         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29274         * sysdeps/aarch64/tlsdesc.c: Likewise.
29275         * sysdeps/arm/tlsdesc.c: Likewise.
29276         * sysdeps/i386/tlsdesc.c: Likewise.
29277         * sysdeps/tile/dl-runtime.c: Likewise.
29278         * sysdeps/x86_64/tlsdesc.c: Likewise.
29279         * elf/dl-load.h: New file.
29280         * elf/dl-load.c: Include it.
29281         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29282         Macros moved to dl-load.h.
29283         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29284         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29285         Use _dl_unmap_segments in place of __munmap.
29286         Break out segment-mapping loop into ...
29287         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29289 2014-04-03  Will Newton  <will.newton@linaro.org>
29291         * elf/dl-lookup.c (do_lookup_x): Remove comment
29292         referring to nested function and move variable
29293         declarations down to before first use.
29295 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29297         [BZ #16799]
29298         [BZ #16800]
29299         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29300         with 0 numerator.
29301         * math/s_catanf.c (__catanf): Likewise.
29302         * math/s_catanh.c (__catanh): Likewise.
29303         * math/s_catanhf.c (__catanhf): Likewise.
29304         * math/s_catanhl.c (__catanhl): Likewise.
29305         * math/s_catanl.c (__catanl): Likewise.
29306         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29307         by positive zero when computing -Inf result.
29308         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29309         (catanh_test): Likewise.
29310         * sysdeps/i386/fpu/libm-test-ulps: Update.
29311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29313         [BZ #16789]
29314         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29315         instead of using underflowing value in computing result.
29316         * math/s_clog10.c (__clog10): Likewise.
29317         * math/s_clog10f.c (__clog10f): Likewise.
29318         * math/s_clog10l.c (__clog10l): Likewise.
29319         * math/s_clogf.c (__clogf): Likewise.
29320         * math/s_clogl.c (__clogl): Likewise.
29321         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29322         (clog10_test): Likewise.
29323         * sysdeps/i386/fpu/libm-test-ulps: Update.
29324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29326 2014-04-02  Alan Modra  <amodra@gmail.com>
29328         [BZ #16739]
29329         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29330         output when value is near a power of two.  Use int64_t for lx and
29331         remove casts.  Use decimal rather than hex exponent constants.
29332         Don't use long double multiplication when double will suffice.
29333         * math/libm-test.inc (nextafter_test_data): Add tests.
29334         * NEWS: Add 16739 and 16786 to bug list.
29336         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29338         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29340 2014-04-01  Will Newton  <will.newton@linaro.org>
29342         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29343         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29345 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29347         [BZ #13347]
29348         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29349         * nptl/tst-setuid2.c: New file.
29350         * nptl/Makefile (xtests): Add tst-setuid2.
29352 2014-04-01  Alan Modra  <amodra@gmail.com>
29354         [BZ #16786]
29355         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29357 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29359         [BZ #6803]
29360         [BZ #6804]
29361         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29362         set errno as appropriate.
29363         * math/w_scalbf.c (__scalbf): Likewise.
29364         * math/w_scalbl.c (__scalbl): Likewise.
29365         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29366         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29367         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29368         Add more NaN tests.
29370         [BZ #16349]
29371         * math/w_atan2.c: Include <errno.h>.
29372         (__atan2): Set errno for result underflowing to zero.
29373         * math/w_atan2f.c: Include <errno.h>.
29374         (__atan2f): Set errno for result underflowing to zero.
29375         * math/w_atan2l.c: Include <errno.h>.
29376         (__atan2l): Set errno for result underflowing to zero.
29377         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29378         tests.
29379         * math/auto-libm-test-out: Regenerated.
29381 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29383         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29384         Encode instruction correctly in little endian.
29385         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29386         Likewise.
29387         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29388         Likewise.
29389         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29390         Likewise.
29391         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29392         Likewise.
29394 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29396         [BZ #9894]
29397         * sysdeps/unix/sysv/linux/kernel-features.h
29398         [__sparc__ && !__arch64__ && !__sparc_v9__]
29399         (__ASSUME_SET_ROBUST_LIST): Do not define.
29400         [__sparc__ && !__arch64__ && !__sparc_v9__]
29401         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29402         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29403         Likewise.
29404         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29405         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29406         (__ASSUME_REQUEUE_PI): Likewise.
29407         (__ASSUME_SET_ROBUST_LIST): Likewise.
29408         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29409         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29410         Undefine.
29411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29412         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29413         Likewise.
29414         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29415         Likewise.
29416         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29417         Likewise.
29418         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29419         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29420         Undefine.
29421         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29422         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29423         Likewise.
29425         [BZ #16648]
29426         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29427         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29428         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29430 2014-03-31  Will Newton  <will.newton@linaro.org>
29432         * benchtests/Makefile (bench): Add ffs and ffsll to list
29433         of tests.
29434         * benchtests/ffs-inputs: New file.
29435         * benchtests/ffsll-inputs: Likewise.
29437 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29439         [BZ #16770]
29440         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29441         too large before casting to int.
29442         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29443         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29444         * math/libm-test.inc (scalb_test_data): Add more tests.
29446 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29448         * benchtests/Makefile (DETAILED_OPT): New make option.
29449         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29450         set.
29451         * benchtests/bench-skeleton.c: Include stdbool.h.
29452         (main): Store and print timings per input.
29453         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29454         member to each argument value.
29455         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29456         (_print_arg_data): Initialize per-input timing to 0.
29458         * benchtests/Makefile (timing-type): New binary.
29459         (bench-clean): Also remove bench-timing-type.
29460         (bench): New target for timing-type.
29461         (bench-func): Print output in JSON format.
29462         * benchtests/bench-skeleton.c (main): Print output in JSON
29463         format.
29464         * benchtests/bench-timing-type.c: New file.
29465         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29466         (TIMING_PRINT_STATS): Remove.
29467         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29468         name separately.
29470         * benchtests/bench-modf.c: Remove.
29471         * benchtests/modf-inputs: New inputs file.
29473 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29475         [BZ #16362]
29476         * math/s_clog10.c (M_PI_LOG10E): New macro.
29477         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29478         imaginary parts are 0.
29479         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29480         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29481         imaginary parts are 0.
29482         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29483         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29484         imaginary parts are 0.
29485         * math/libm-test.inc (clog10_test_data): Update expected results
29486         for when real and imaginary parts are 0.
29488 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29490         * elf/dl-load.c: Finish conversion of __builtin_expect into
29491         __glibc_{un}likely.
29493 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29495         [BZ #16348]
29496         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29497         1+x for argument with exponent below -67.
29498         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29499         Likewise.
29500         * math/auto-libm-test-in: Add more tests of exp.
29501         * math/auto-libm-test-out: Regenerated.
29503 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29505         [BZ #16759]
29506         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29507         (nscd_getnetgrent): Use it.
29509         [BZ #16760]
29510         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29511         of stpcpy.
29513 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29515         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29516         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29517         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29518         (lll_robust_unlock): Remove out of line section. Use cfi
29519         intrinsics.
29520         (LLL_STUB_UNWIND_INFO*): Remove.
29521         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29522         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29523         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29524         (lll_robust_unlock): Remove out of line section. Use cfi
29525         intrinsics.
29526         (LLL_STUB_UNWIND_INFO*): Remove.
29528 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29530         [BZ #16758]
29531         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29532         blank values.
29534 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29536         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29538 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29540         [BZ #16198]
29541         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29542         fnstenv.
29543         * math/test-fenv-preserve.c: New file.
29544         * math/Makefile (tests): Add test-fenv-preserve.
29546 2014-03-26  Will Newton <will.newton@linaro.org>
29548         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29550 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29552         * scripts/versionlist.awk: Partition the version sets and emit all
29553         GLIBC_* (sorted) before all others (sorted).
29555 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29557         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29558         GLIBC_2.2.5 version.
29560 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29562         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29563         calls.
29565         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29566         previous change.
29568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29570 2014-03-25  Andreas Schwab  <schwab@suse.de>
29572         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29573         label to be used after in6ailist is initialized.
29575 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29577         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29578         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29580 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29582         [BZ #16357]
29583         [BZ #16599]
29584         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29585         min_plus_half.
29586         (fp_formats): Update initializers.
29587         (init_fp_formats): Initialize new field.
29588         (output_for_one_input_case): Allow underflow for results up to
29589         min_plus_half.
29590         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29591         * math/auto-libm-test-in: Don't mark some underflows from asin and
29592         atanh as spurious.
29593         * math/auto-libm-test-out: Regenerated.
29594         * sysdeps/i386/fpu/libm-test-ulps: Update.
29595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29597 2014-03-25  Andreas Schwab  <schwab@suse.de>
29599         * libio/Makefile (tst-ftell-partial-wide-ENV)
29600         (tst-ftell-active-handler-ENV): Define.
29602 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29604         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29606 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29608         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29610 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29612         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29613         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29614         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29616 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29618         [BZ #16634]
29619         * elf/dl-load.c (open_verify): Add mode parameter.
29620         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29621         (open_path): Change from boolean 'secure' to complete flag 'mode'
29622         (_dl_map_object): Adjust.
29623         * elf/Makefile (tests): Add tst-dlopen-aout.
29624         * elf/tst-dlopen-aout.c: New test.
29626 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29628         [BZ #16714]
29629         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29630         (struct stat): Rename member pad0 to __glibc_reserved0.
29632         [BZ #16712]
29633         * sysdeps/s390/s390-32/bits/wordsize.h
29634         (__WORDSIZE32_SIZE_ULONG): New define.
29635         * sysdeps/s390/s390-64/bits/wordsize.h
29636         (__WORDSIZE32_SIZE_ULONG): Likewise.
29637         * sysdeps/generic/stdint.h (SIZE_MAX):
29638         Define as UL if __WORDSIZE32_SIZE_ULONG.
29640         [BZ #16713]
29641         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29642         (__glibc_reserved0): New variable.
29643         (sa_flags): Change type to int.
29645         * posix/Makefile (before-compile): Use += before-compile instead
29646         of a :=.
29648         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29649         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29651 2014-03-20  Andreas Schwab  <schwab@suse.de>
29653         [BZ #16743]
29654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29655         non-matching result from nscd.
29657 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29659         * scripts/bench.py: Moved to ...
29660         * benchtests/scripts/bench.py: ... here.
29661         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29663 2014-03-24  Andreas Schwab  <schwab@suse.de>
29665         [BZ #16002]
29666         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29667         alloca_account and account alloca use for struct in6ailist.
29669 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29671         [BZ #16284]
29672         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29673         rounding mode to recompute results that overflow to infinity or
29674         underflow to zero.
29675         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29676         bug 16284.
29677         * math/auto-libm-test-out: Regenerated.
29678         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29679         (ccosh_test): Likewise.
29680         (csin_test_data): Use plus_oflow.
29681         (csin_test): Use ALL_RM_TEST.
29682         (csinh_test_data): Use plus_oflow.
29683         (csinh_test): Use ALL_RM_TEST.
29684         * sysdeps/i386/fpu/libm-test-ulps: Update.
29685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29687 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29689         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29690         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29691         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29693         [BZ #16731]
29694         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29695         when x - 1 is zero.
29696         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29697         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29698         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29699         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29700         argument is 1.
29701         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29702         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29703         zero.
29704         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29705         * sysdeps/i386/fpu/libm-test-ulps: Update.
29706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29708 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29710         * scripts/bench.pl: Remove file.
29711         * scripts/bench.py: New benchmark script.
29712         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29713         * benchtests/README: Mention python dependency.
29714         * scripts/pylintrc: New file.
29715         * scripts/pylint: New file.
29717         * bits/mathdef.h: Use #ifdef instead of #if.
29718         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29719         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29720         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29721         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29722         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29723         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29725 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29726             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29728         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29730         and strpbrk-ppc64 objects.
29731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29732         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29733         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29734         multiarch strpbrk for POWER7.
29735         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29736         multiarch strpbrk for PPC64.
29737         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29738         ifunc selector.
29739         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29740         strpbrk for POWER7.
29742 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29744         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29745         (atan_test): Likewise.
29746         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29747         (atanh_test): Use ALL_RM_TEST.
29748         (atan2_test_data): Likewise.
29749         (cabs_test): Likewise.
29750         (cacosh_test): Likewise.
29751         (carg_test): Likewise.
29752         (casin_test): Likewise.
29753         (casinh_test): Likewise.
29754         (cbrt_test): Likewise.
29755         (csqrt_test): Likewise.
29756         (erf_test): Likewise.
29757         (erfc_test): Likewise.
29758         (pow10_test): Likewise.
29759         (exp2_test): Likewise.
29760         (hypot_test): Likewise.
29761         (j0_test): Likewise.
29762         (j1_test): Likewise.
29763         (lgamma_test): Likewise.
29764         (gamma_test): Likewise.
29765         (sincos_test): Likewise.
29766         (tanh_test): Likewise.
29767         (y0_test): Likewise.
29768         (y1_test): Likewise.
29769         * sysdeps/i386/fpu/libm-test-ulps: Update.
29770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29772 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29774         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29776         and strcspn-ppc64 objects.
29777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29778         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29779         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29780         multiarch strcspn for POWER7.
29781         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29782         multiarch strcspn for PPC64.
29783         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29784         ifunc selector.
29785         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29786         strcspn for POWER7.
29788 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29790         * math/gen-libm-test.pl (generate_testfile): Expect only function
29791         name as argument to AUTO_TESTS_* and pass results for all rounding
29792         modes to parse_args.
29793         (parse_auto_input): Separate inputs of automatic tests from
29794         outputs before storing in %auto_tests.
29795         * math/libm-test.inc (acos_test_data): Update call to
29796         AUTO_TESTS_f_f.
29797         (acos_test): Use ALL_RM_TEST.
29798         (acos_tonearest_test_data): Remove.
29799         (acos_test_tonearest): Likewise.
29800         (acos_towardzero_test_data): Likewise.
29801         (acos_test_towardzero): Likewise.
29802         (acos_downward_test_data): Likewise.
29803         (acos_test_downward): Likewise.
29804         (acos_upward_test_data): Likewise.
29805         (acos_test_upward): Likewise.
29806         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29807         (asin_test_data): Likewise.
29808         (asin_test): Use ALL_RM_TEST.
29809         (asin_tonearest_test_data): Remove.
29810         (asin_test_tonearest): Likewise.
29811         (asin_towardzero_test_data): Likewise.
29812         (asin_test_towardzero): Likewise.
29813         (asin_downward_test_data): Likewise.
29814         (asin_test_downward): Likewise.
29815         (asin_upward_test_data): Likewise.
29816         (asin_test_upward): Likewise.
29817         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29818         (atan_test_data): Likewise.
29819         (atanh_test_data): Likewise.
29820         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29821         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29822         (carg_test_data): Likewise.
29823         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29824         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29825         (ccosh_test_data): Likewise.
29826         (cexp_test_data): Likewise.
29827         (clog_test_data): Likewise.
29828         (clog10_test_data): Likewise.
29829         (cos_test_data): Update call to AUTO_TESTS_f_f.
29830         (cos_test): Use ALL_RM_TEST.
29831         (cos_tonearest_test_data): Remove.
29832         (cos_test_tonearest): Likewise.
29833         (cos_towardzero_test_data): Likewise.
29834         (cos_test_towardzero): Likewise.
29835         (cos_downward_test_data): Likewise.
29836         (cos_test_downward): Likewise.
29837         (cos_upward_test_data): Likewise.
29838         (cos_test_upward): Likewise.
29839         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29840         (cosh_test): Use ALL_RM_TEST.
29841         (cosh_tonearest_test_data): Remove.
29842         (cosh_test_tonearest): Likewise.
29843         (cosh_towardzero_test_data): Likewise.
29844         (cosh_test_towardzero): Likewise.
29845         (cosh_downward_test_data): Likewise.
29846         (cosh_test_downward): Likewise.
29847         (cosh_upward_test_data): Likewise.
29848         (cosh_test_upward): Likewise.
29849         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29850         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29851         (ctan_test_data): Likewise.
29852         (ctan_test): Use ALL_RM_TEST.
29853         (ctan_tonearest_test_data): Remove.
29854         (ctan_test_tonearest): Likewise.
29855         (ctan_towardzero_test_data): Likewise.
29856         (ctan_test_towardzero): Likewise.
29857         (ctan_downward_test_data): Likewise.
29858         (ctan_test_downward): Likewise.
29859         (ctan_upward_test_data): Likewise.
29860         (ctan_test_upward): Likewise.
29861         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29862         (ctanh_test): Use ALL_RM_TEST.
29863         (ctanh_tonearest_test_data): Remove.
29864         (ctanh_test_tonearest): Likewise.
29865         (ctanh_towardzero_test_data): Likewise.
29866         (ctanh_test_towardzero): Likewise.
29867         (ctanh_downward_test_data): Likewise.
29868         (ctanh_test_downward): Likewise.
29869         (ctanh_upward_test_data): Likewise.
29870         (ctanh_test_upward): Likewise.
29871         (erf_test_data): Update call to AUTO_TESTS_f_f.
29872         (erfc_test_data): Likewise.
29873         (exp_test_data): Likewise.
29874         (exp_test): Use ALL_RM_TEST.
29875         (exp_tonearest_test_data): Remove.
29876         (exp_test_tonearest): Likewise.
29877         (exp_towardzero_test_data): Likewise.
29878         (exp_test_towardzero): Likewise.
29879         (exp_downward_test_data): Likewise.
29880         (exp_test_downward): Likewise.
29881         (exp_upward_test_data): Likewise.
29882         (exp_test_upward): Likewise.
29883         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29884         (exp10_test): Use ALL_RM_TEST.
29885         (exp10_tonearest_test_data): Remove.
29886         (exp10_test_tonearest): Likewise.
29887         (exp10_towardzero_test_data): Likewise.
29888         (exp10_test_towardzero): Likewise.
29889         (exp10_downward_test_data): Likewise.
29890         (exp10_test_downward): Likewise.
29891         (exp10_upward_test_data): Likewise.
29892         (exp10_test_upward): Likewise.
29893         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29894         (expm1_test_data): Likewise.
29895         (expm1_test): Use ALL_RM_TEST.
29896         (expm1_tonearest_test_data): Remove.
29897         (expm1_test_tonearest): Likewise.
29898         (expm1_towardzero_test_data): Likewise.
29899         (expm1_test_towardzero): Likewise.
29900         (expm1_downward_test_data): Likewise.
29901         (expm1_test_downward): Likewise.
29902         (expm1_upward_test_data): Likewise.
29903         (expm1_test_upward): Likewise.
29904         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29905         (fma_test): Use ALL_RM_TEST.
29906         (fma_towardzero_test_data): Remove.
29907         (fma_test_towardzero): Likewise.
29908         (fma_downward_test_data): Likewise.
29909         (fma_test_downward): Likewise.
29910         (fma_upward_test_data): Likewise.
29911         (fma_test_upward): Likewise.
29912         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29913         (j0_test_data): Update call to AUTO_TESTS_f_f.
29914         (j1_test_data): Likewise.
29915         (jn_test_data): Update call to AUTO_TESTS_if_f.
29916         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29917         (log_test_data): Update call to AUTO_TESTS_f_f.
29918         (log10_test_data): Likewise.
29919         (log1p_test_data): Likewise.
29920         (log2_test_data): Likewise.
29921         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29922         (pow_tonearest_test_data): Likewise.
29923         (sin_test_data): Update call to AUTO_TESTS_f_f.
29924         (sin_test): Use ALL_RM_TEST.
29925         (sin_tonearest_test_data): Remove.
29926         (sin_test_tonearest): Likewise.
29927         (sin_towardzero_test_data): Likewise.
29928         (sin_test_towardzero): Likewise.
29929         (sin_downward_test_data): Likewise.
29930         (sin_test_downward): Likewise.
29931         (sin_upward_test_data): Likewise.
29932         (sin_test_upward): Likewise.
29933         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29934         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29935         (sinh_test): Use ALL_RM_TEST.
29936         (sinh_tonearest_test_data): Remove.
29937         (sinh_test_tonearest): Likewise.
29938         (sinh_towardzero_test_data): Likewise.
29939         (sinh_test_towardzero): Likewise.
29940         (sinh_downward_test_data): Likewise.
29941         (sinh_test_downward): Likewise.
29942         (sinh_upward_test_data): Likewise.
29943         (sinh_test_upward): Likewise.
29944         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29945         (sqrt_test): Use ALL_RM_TEST.
29946         (sqrt_tonearest_test_data): Remove.
29947         (sqrt_test_tonearest): Likewise.
29948         (sqrt_towardzero_test_data): Likewise.
29949         (sqrt_test_towardzero): Likewise.
29950         (sqrt_downward_test_data): Likewise.
29951         (sqrt_test_downward): Likewise.
29952         (sqrt_upward_test_data): Likewise.
29953         (sqrt_test_upward): Likewise.
29954         (tan_test_data): Update call to AUTO_TESTS_f_f.
29955         (tan_test): Use ALL_RM_TEST.
29956         (tan_tonearest_test_data): Remove.
29957         (tan_test_tonearest): Likewise.
29958         (tan_towardzero_test_data): Likewise.
29959         (tan_test_towardzero): Likewise.
29960         (tan_downward_test_data): Likewise.
29961         (tan_test_downward): Likewise.
29962         (tan_upward_test_data): Likewise.
29963         (tan_test_upward): Likewise.
29964         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29965         (tgamma_test_data): Likewise.
29966         (y0_test_data): Likewise.
29967         (y1_test_data): Likewise.
29968         (yn_test_data): Update call to AUTO_TESTS_if_f.
29969         (main): Do not call removed functions.
29971 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29973         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29974         (ldexp_test_data): Remove.
29975         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29976         scalbn_test_data.
29977         (scalb_test): Use ALL_RM_TEST.
29979 2014-03-19  Andreas Schwab  <schwab@suse.de>
29981         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29983 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29985         [BZ #16649]
29986         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29987         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29988         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29989         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29990         (__ASSUME_PREADV): Undefine.
29991         (__ASSUME_PWRITEV): Likewise.
29993 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29995         * bits/mman-linux.h: Add comment about non-Linux use.
29996         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29997         bits/mman-linux.h resting place.
29999         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30000         * bits/mman-linux.h: ... here.
30002 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30004         * conform/conformtest.pl: Add standard definition when calling C
30005         preprocessor on data files.
30006         (checknamespace): Remove unused variable.
30008 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30010         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30011         minus_oflow, plus_uflow and minus_uflow in expected results.
30012         * math/libm-test.inc (scalbn_test_data): Add more tests of
30013         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30014         minus_uflow.
30015         (scalbn_test): Use ALL_RM_TEST.
30016         (scalbln_test_data): Add more tests of negative arguments.  Use
30017         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30018         (scalbln_test): Use ALL_RM_TEST.
30020 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30022         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30024 2014-03-18  Will Newton  <will.newton@linaro.org>
30026         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30027         inaccurate comment.
30029 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30031         * Makerules [!subdir] (check-abi): Exit with error status if a
30032         test failed.
30034 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30036         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30037         for rint.  Include results for all rounding modes.
30038         (nearbyint_test): Use ALL_RM_TEST.
30039         (rint_test_data): Include all tests used for nearbyint.
30041 2014-03-17  Will Newton  <will.newton@linaro.org>
30043         * nptl/sysdeps/pthread/pthread.h: Revert previous
30044         change.
30046         * sysdeps/generic/ldsodefs.h: Revert previous
30047         change.
30049         * libio/genops.c: Revert previous change.
30050         * libio/libioP.h: Likewise.
30051         * stdio-common/vfprintf.c: Likewise.
30053         * sysdeps/generic/math_private.h: Revert previous
30054         change.
30056         * sysdeps/generic/math_private.h: Check whether
30057         HAVE_RM_CTX is defined with #ifdef rather
30058         than #if.
30060         * argp/argp-fmtstream.h: Check whether
30061         __STRICT_ANSI__ is defined with #ifdef rather
30062         than #if.
30063         * argp/argp.h: Likewise.
30065         * libio/genops.c: Check whether
30066         _IO_JUMPS_OFFSET is defined with #ifdef rather
30067         than #if.
30068         * libio/libioP.h: Likewise.
30069         * stdio-common/vfprintf.c: Likewise.
30071         * sysdeps/generic/ldsodefs.h: Check whether
30072         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30073         than #if.
30075         * nptl/sysdeps/pthread/pthread.h: Check
30076         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30077         its value.
30079 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30081         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30082         setting O_APPEND.
30083         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30084         test case.
30086         [BZ #16680]
30087         * libio/fileops.c (_IO_file_open): Seek to end of file but
30088         don't cache the offset.
30089         (get_file_offset): Remove function.
30090         (do_ftell): Use cached offset when available.
30091         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30092         don't cache the offset.
30093         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30094         case.
30095         (do_one_test): Call it.
30096         (do_ftell_test): Fix up expected old offset for a+ mode.
30097         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30098         available.
30100         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30101         up test status with function return status.
30102         (do_write_test): Likewise.
30103         (do_append_test): Likewise.
30105         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30106         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30107         Remove.
30109 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30111         * math/gen-libm-test.pl (parse_args): Handle results specified for
30112         each rounding mode separately.
30113         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30114         tests and results from lrint_tonearest_test_data,
30115         lrint_towardzero_test_data, lrint_downward_test_data and
30116         lrint_upward_test_data.
30117         (lrint_test): Use ALL_RM_TEST.
30118         (lrint_tonearest_test_data): Remove.
30119         (lrint_test_tonearest): Likewise.
30120         (lrint_towardzero_test_data): Likewise.
30121         (lrint_test_towardzero): Likewise.
30122         (lrint_downward_test_data): Likewise.
30123         (lrint_test_downward): Likewise.
30124         (lrint_upward_test_data): Likewise.
30125         (lrint_test_upward): Likewise.
30126         (llrint_test_data): Merge in per-rounding-mode tests and results
30127         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30128         llrint_downward_test_data and llrint_upward_test_data.
30129         (llrint_test): Use ALL_RM_TEST.
30130         (llrint_tonearest_test_data): Remove.
30131         (llrint_test_tonearest): Likewise.
30132         (llrint_towardzero_test_data): Likewise.
30133         (llrint_test_towardzero): Likewise.
30134         (llrint_downward_test_data): Likewise.
30135         (llrint_test_downward): Likewise.
30136         (llrint_upward_test_data): Likewise.
30137         (llrint_test_upward): Likewise.
30138         (rint_test_data): Merge in per-rounding-mode tests and results
30139         from rint_tonearest_test_data, rint_towardzero_test_data,
30140         rint_downward_test_data and rint_upward_test_data.  Add
30141         per-rounding-mode results for tests not in those arrays.
30142         (rint_test): Use ALL_RM_TEST.
30143         (rint_tonearest_test_data): Remove.
30144         (rint_test_tonearest): Likewise.
30145         (rint_towardzero_test_data): Likewise.
30146         (rint_test_towardzero): Likewise.
30147         (rint_downward_test_data): Likewise.
30148         (rint_test_downward): Likewise.
30149         (rint_upward_test_data): Likewise.
30150         (rint_test_upward): Likewise.
30151         (main): Don't call removed functions.
30153 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30155         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30156         "Compiled on ..." crapola.  It is anti-useful.
30158 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30160         * scripts/evaluate-test.sh: Handle fourth argument to determine
30161         whether test run should stop on failure.
30162         * Makeconfig (stop-on-test-failure): New variable.
30163         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30164         $(stop-on-test-failure).
30165         * Makefile (tests): Give a summary of results from testing and
30166         exit with failure status if they include an ERROR or FAIL.
30167         (xtests): Likewise.
30168         * manual/install.texi (Configuring and compiling): Mention
30169         stop-on-test-failure=y.
30170         * INSTALL: Regenerated.
30172 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30174         * scripts/versionlist.awk: New file.
30175         * Makerules [$(build-shared) = yes]
30176         (postclean-generated): Add Versions.def, not Versions.def.v and
30177         Versions.def.v.i.
30178         ($(common-objpfx)Versions.def.v.i): Target removed.
30179         ($(common-objpfx)Versions.def): New target.
30180         ($(common-objpfx)Versions.all): Depend on that rather that
30181         $(common-objpfx)Versions.def.v.
30182         * Versions.def: File removed.
30184         * Makeconfig (+gccwarn): Add -Wundef.
30185         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30186         a dl-sysdep.h breaking its contract.
30187         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30188         * include/stackinfo.h: New file.
30189         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30190         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30191         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30192         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30193         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30194         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30195         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30196         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30197         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30198         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30199         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30200         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30201         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30202         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30203         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30205 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30207         [BZ #16707]
30208         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30209         implementation.
30210         * math/libm-test.inc (round_test_data): Add more tests.
30212         [BZ #16706]
30213         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30214         implementation.
30215         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30217         [BZ #16701]
30218         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30219         implementation.
30220         * math/libm-test.inc (ceil_test_data): Add more tests.
30222         * math/libm-test.inc (trunc_test_data): Add more tests related to
30223         BZ#16414.
30225 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30227         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30228         with #if rather than #ifdef.
30229         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30231 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30233         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30234         first.  Disable AVX-512 GCC support if assembler doesn't support
30235         it.
30236         * sysdeps/x86_64/configure: Regenerated.
30238 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30240         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30241         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30242         (__old_pthread_attr_setstack): Likewise.
30243         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30244         [!_STACK_GROWS_DOWN]: Likewise.
30246 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30248         * config.make.in (have-bash2): Delete.
30249         * configure.ac (libc_cv_have_bash2): Delete.
30250         * configure: Regenerate.
30251         * elf/Makefile (common-ldd-rewrite): Rename to ...
30252         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30253         (sh-ldd-rewrite): Delete.
30254         (bash-ldd-rewrite): Delete.
30255         (have-bash2): Delete checks.
30256         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30257         ldd-rewrite.
30259         * config.make.in (have-ksh): Delete.
30260         (KSH): Delete.
30261         * configure.ac (libc_cv_have_ksh): Delete.
30262         * configure: Regenerate.
30264         * elf/Makefile: Delete $(have-ksh) check.
30265         ($(objpfx)sotruss): Change KSH to BASH.
30266         * elf/sotruss.ksh: Rename to ...
30267         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30268         function style to match POSIX.  Drop ksh vim mode setting.
30270         * manual/time.texi (Specifying the Time Zone with TZ): Change
30271         Tuesday to Thursday.
30273         * debug/tst-longjmp_chk2.c: Update header comment.
30274         (stackoverflow_handler): Add comment.  Call assert on pass value.
30276 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30278         [BZ #16194]
30279         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30280         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30281         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30282         (La_x86_64_vector): Add zmm.
30283         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30284         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30285         ($(objpfx)tst-audit10): New target.
30286         ($(objpfx)tst-audit10.out): Likewise.
30287         (tst-audit10-ENV): New.
30288         (AVX512-CFLAGS): Likewise.
30289         (CFLAGS-tst-audit10.c): Likewise.
30290         (CFLAGS-tst-auditmod10a.c): Likewise.
30291         (CFLAGS-tst-auditmod10b.c): Likewise.
30292         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30293         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30294         * sysdeps/x86_64/configure: Regenerated.
30295         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30296         AVX-512 zmm register support.
30297         (_dl_x86_64_save_sse): Likewise.
30298         (_dl_x86_64_restore_sse): Likewise.
30299         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30300         size vector registers.
30301         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30302         (ZMM_SIZE): Likewise.
30303         * sysdeps/x86_64/tst-audit10.c: New file.
30304         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30305         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30307 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30309         * configure.ac (HAVE_EHDR_START): New check.
30310         * configure: Regenerated.
30311         * config.h.in (HAVE_EHDR_START): New #undef.
30312         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30313         assuming the lowest-addressed segment maps the start of the file.
30315 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30317         * INSTALL: Regenerated.
30319 2014-03-13  Will Newton  <will.newton@linaro.org>
30321         * manual/setjmp.texi (System V contexts): Improve
30322         clarity and grammar of documentation.
30324 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30326         [BZ #16381]
30327         * elf/Makefile (tests): Add tst-pie2.
30328         (tests-pie): Add tst-pie2.
30329         * elf/tst-pie2.c: New file.
30330         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30331         for ET_EXEC.
30332         * elf/rtld.c (map_doit): Load executable as lt_executable.
30333         (dl_main): Likewise.
30335 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30337         [BZ #16642]
30338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30339         (__ASSUME_PSELECT): Undefine.
30341 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30343         [BZ #16689]
30344         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30345         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30346         static build.
30347         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30348         selector for static builds.
30350 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30352         [BZ #16695]
30353         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30354         key in the buffer.
30356 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30358         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30359         IFUNC selector for static builds.
30361 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30363         * sysdeps/mips/math_private.h [__mips_hard_float]
30364         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30365         libc_feresetround_mips_ctx.
30366         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30367         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30368         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30370         [BZ #16677]
30371         * math/s_nextafter.c (__nextafter): Do not return value from
30372         overflowing computation.
30373         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30374         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30375         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30376         Likewise.
30377         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30378         Likewise.
30379         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30380         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30382 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30384         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30385         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30386         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30387         the new mov targetting sp.
30389 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30391         [BZ #16683]
30392         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30393         Define it for static builds as well.
30394         (NO_BZERO_IMPL): Likewise.
30396 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30398         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30399         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30400         multiarch strspn for PPC64.
30401         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30402         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30404         (__libc_ifunc_impl_list): Likewise.
30405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30406         multiarch optimizations
30407         * string/strspn.c (strspn): Using macro to redefine symbol name.
30409 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30410             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30412         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30413         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30414         multiarch strncat for PPC64.
30415         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30416         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30418         (__libc_ifunc_impl_list): Likewise.
30419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30420         multiarch optimizations
30422 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30424         [BZ #16639]
30425         * nscd/nscd.service: Make service type forking.
30427 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30429         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30430         sign in non default rounding modes.
30431         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30433 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30435         * math/libm-test.inc (ALL_RM_TEST): New macro.
30436         (ceil_test): Use ALL_RM_TEST.
30437         (cimag_test): Likewise.
30438         (conj_test): Likewise.
30439         (copysign_test): Likewise.
30440         (cproj_test): Likewise.
30441         (creal_test): Likewise.
30442         (fabs_test): Likewise.
30443         (floor_test): Likewise.
30444         (fmax_test): Likewise.
30445         (fmin_test): Likewise.
30446         (fmod_test): Likewise.
30447         (fpclassify_test): Likewise.
30448         (frexp_test): Likewise.
30449         (ilogb_test): Likewise.
30450         (isfinite_test): Likewise.
30451         (finite_test): Likewise.
30452         (isgreater_test): Likewise.
30453         (isgreaterequal_test): Likewise.
30454         (isinf_test): Likewise.
30455         (isless_test): Likewise.
30456         (islessequal_test): Likewise.
30457         (islessgreater_test): Likewise.
30458         (isnan_test): Likewise.
30459         (isnormal_test): Likewise.
30460         (issignaling_test): Likewise.
30461         (isunordered_test): Likewise.
30462         (logb_test): Likewise.
30463         (logb_downward_test_data): Remove.
30464         (logb_test_downward): Likewise.
30465         (lround_test): Use ALL_RM_TEST.
30466         (llround_test): Likewise.
30467         (modf_test): Likewise.
30468         (nexttoward_test): Likewise.
30469         (remainder_test): Likewise.
30470         (drem_test): Likewise.
30471         (remainder_tonearest_test_data): Likewise.
30472         (remainder_test_tonearest): Likewise.
30473         (drem_test_tonearest): Likewise.
30474         (remainder_towardzero_test_data): Likewise.
30475         (remainder_test_towardzero): Likewise.
30476         (drem_test_towardzero): Likewise.
30477         (remainder_downward_test_data): Likewise.
30478         (remainder_test_downward): Likewise.
30479         (drem_test_downward): Likewise.
30480         (remainder_upward_test_data): Likewise.
30481         (remainder_test_upward): Likewise.
30482         (drem_test_upward): Likewise.
30483         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30484         (round_test): Use ALL_RM_TEST.
30485         (signbit_test): Likewise.
30486         (trunc_test): Likewise.
30487         (significand_test): Likewise.
30488         (main): Don't call removed functions.
30490 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30492         [BZ #16674]
30493         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30494         || __USE_XOPEN2K8].
30495         (ILL_ILLOPN): Likewise.
30496         (ILL_ILLADR): Likewise.
30497         (ILL_ILLTRP): Likewise.
30498         (ILL_PRVOPC): Likewise.
30499         (ILL_PRVREG): Likewise.
30500         (ILL_COPROC): Likewise.
30501         (ILL_BADSTK): Likewise.
30502         (FPE_INTDIV): Likewise.
30503         (FPE_INTOVF): Likewise.
30504         (FPE_FLTDIV): Likewise.
30505         (FPE_FLTOVF): Likewise.
30506         (FPE_FLTUND): Likewise.
30507         (FPE_FLTRES): Likewise.
30508         (FPE_FLTINV): Likewise.
30509         (FPE_FLTSUB): Likewise.
30510         (SEGV_MAPERR): Likewise.
30511         (SEGV_ACCERR): Likewise.
30512         (BUS_ADRALN): Likewise.
30513         (BUS_ADRERR): Likewise.
30514         (BUS_OBJERR): Likewise.
30515         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30516         (TRAP_TRACE): Likewise.
30517         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30518         __USE_XOPEN2K8].
30519         (CLD_KILLED): Likewise.
30520         (CLD_DUMPED): Likewise.
30521         (CLD_TRAPPED): Likewise.
30522         (CLD_STOPPED): Likewise.
30523         (CLD_CONTINUED): Likewise.
30524         (POLL_IN): Likewise.
30525         (POLL_OUT): Likewise.
30526         (POLL_MSG): Likewise.
30527         (POLL_ERR): Likewise.
30528         (POLL_PRI): Likewise.
30529         (POLL_HUP): Likewise.
30530         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30531         Likewise.
30532         (ILL_ILLOPN): Likewise.
30533         (ILL_ILLADR): Likewise.
30534         (ILL_ILLTRP): Likewise.
30535         (ILL_PRVOPC): Likewise.
30536         (ILL_PRVREG): Likewise.
30537         (ILL_COPROC): Likewise.
30538         (ILL_BADSTK): Likewise.
30539         (FPE_INTDIV): Likewise.
30540         (FPE_INTOVF): Likewise.
30541         (FPE_FLTDIV): Likewise.
30542         (FPE_FLTOVF): Likewise.
30543         (FPE_FLTUND): Likewise.
30544         (FPE_FLTRES): Likewise.
30545         (FPE_FLTINV): Likewise.
30546         (FPE_FLTSUB): Likewise.
30547         (SEGV_MAPERR): Likewise.
30548         (SEGV_ACCERR): Likewise.
30549         (BUS_ADRALN): Likewise.
30550         (BUS_ADRERR): Likewise.
30551         (BUS_OBJERR): Likewise.
30552         (BUS_MCEERR_AR): Likewise.
30553         (BUS_MCEERR_AO): Likewise.
30554         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30555         (TRAP_TRACE): Likewise.
30556         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30557         __USE_XOPEN2K8].
30558         (CLD_KILLED): Likewise.
30559         (CLD_DUMPED): Likewise.
30560         (CLD_TRAPPED): Likewise.
30561         (CLD_STOPPED): Likewise.
30562         (CLD_CONTINUED): Likewise.
30563         (POLL_IN): Likewise.
30564         (POLL_OUT): Likewise.
30565         (POLL_MSG): Likewise.
30566         (POLL_ERR): Likewise.
30567         (POLL_PRI): Likewise.
30568         (POLL_HUP): Likewise.
30569         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30570         (ILL_ILLOPN): Likewise.
30571         (ILL_ILLADR): Likewise.
30572         (ILL_ILLTRP): Likewise.
30573         (ILL_PRVOPC): Likewise.
30574         (ILL_PRVREG): Likewise.
30575         (ILL_COPROC): Likewise.
30576         (ILL_BADSTK): Likewise.
30577         (FPE_INTDIV): Likewise.
30578         (FPE_INTOVF): Likewise.
30579         (FPE_FLTDIV): Likewise.
30580         (FPE_FLTOVF): Likewise.
30581         (FPE_FLTUND): Likewise.
30582         (FPE_FLTRES): Likewise.
30583         (FPE_FLTINV): Likewise.
30584         (FPE_FLTSUB): Likewise.
30585         (SEGV_MAPERR): Likewise.
30586         (SEGV_ACCERR): Likewise.
30587         (BUS_ADRALN): Likewise.
30588         (BUS_ADRERR): Likewise.
30589         (BUS_OBJERR): Likewise.
30590         (BUS_MCEERR_AR): Likewise.
30591         (BUS_MCEERR_AO): Likewise.
30592         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30593         (TRAP_TRACE): Likewise.
30594         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30595         __USE_XOPEN2K8].
30596         (CLD_KILLED): Likewise.
30597         (CLD_DUMPED): Likewise.
30598         (CLD_TRAPPED): Likewise.
30599         (CLD_STOPPED): Likewise.
30600         (CLD_CONTINUED): Likewise.
30601         (POLL_IN): Likewise.
30602         (POLL_OUT): Likewise.
30603         (POLL_MSG): Likewise.
30604         (POLL_ERR): Likewise.
30605         (POLL_PRI): Likewise.
30606         (POLL_HUP): Likewise.
30607         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30608         Likewise.
30609         (ILL_ILLOPN): Likewise.
30610         (ILL_ILLADR): Likewise.
30611         (ILL_ILLTRP): Likewise.
30612         (ILL_PRVOPC): Likewise.
30613         (ILL_PRVREG): Likewise.
30614         (ILL_COPROC): Likewise.
30615         (ILL_BADSTK): Likewise.
30616         (ILL_BADIADDR): Likewise.
30617         (ILL_BREAK): Likewise.
30618         (FPE_INTDIV): Likewise.
30619         (FPE_INTOVF): Likewise.
30620         (FPE_FLTDIV): Likewise.
30621         (FPE_FLTOVF): Likewise.
30622         (FPE_FLTUND): Likewise.
30623         (FPE_FLTRES): Likewise.
30624         (FPE_FLTINV): Likewise.
30625         (FPE_FLTSUB): Likewise.
30626         (FPE_DECOVF): Likewise.
30627         (FPE_DECDIV): Likewise.
30628         (FPE_DECERR): Likewise.
30629         (FPE_INVASC): Likewise.
30630         (FPE_INVDEC): Likewise.
30631         (SEGV_MAPERR): Likewise.
30632         (SEGV_ACCERR): Likewise.
30633         (SEGV_PSTKOVF): Likewise.
30634         (BUS_ADRALN): Likewise.
30635         (BUS_ADRERR): Likewise.
30636         (BUS_OBJERR): Likewise.
30637         (BUS_MCEERR_AR): Likewise.
30638         (BUS_MCEERR_AO): Likewise.
30639         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30640         (TRAP_TRACE): Likewise.
30641         (TRAP_BRANCH): Likewise.
30642         (TRAP_HWBKPT): Likewise.
30643         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30644         __USE_XOPEN2K8].
30645         (CLD_KILLED): Likewise.
30646         (CLD_DUMPED): Likewise.
30647         (CLD_TRAPPED): Likewise.
30648         (CLD_STOPPED): Likewise.
30649         (CLD_CONTINUED): Likewise.
30650         (POLL_IN): Likewise.
30651         (POLL_OUT): Likewise.
30652         (POLL_MSG): Likewise.
30653         (POLL_ERR): Likewise.
30654         (POLL_PRI): Likewise.
30655         (POLL_HUP): Likewise.
30656         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30657         (ILL_ILLOPN): Likewise.
30658         (ILL_ILLADR): Likewise.
30659         (ILL_ILLTRP): Likewise.
30660         (ILL_PRVOPC): Likewise.
30661         (ILL_PRVREG): Likewise.
30662         (ILL_COPROC): Likewise.
30663         (ILL_BADSTK): Likewise.
30664         (FPE_INTDIV): Likewise.
30665         (FPE_INTOVF): Likewise.
30666         (FPE_FLTDIV): Likewise.
30667         (FPE_FLTOVF): Likewise.
30668         (FPE_FLTUND): Likewise.
30669         (FPE_FLTRES): Likewise.
30670         (FPE_FLTINV): Likewise.
30671         (FPE_FLTSUB): Likewise.
30672         (SEGV_MAPERR): Likewise.
30673         (SEGV_ACCERR): Likewise.
30674         (BUS_ADRALN): Likewise.
30675         (BUS_ADRERR): Likewise.
30676         (BUS_OBJERR): Likewise.
30677         (BUS_MCEERR_AR): Likewise.
30678         (BUS_MCEERR_AO): Likewise.
30679         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30680         (TRAP_TRACE): Likewise.
30681         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30682         __USE_XOPEN2K8].
30683         (CLD_KILLED): Likewise.
30684         (CLD_DUMPED): Likewise.
30685         (CLD_TRAPPED): Likewise.
30686         (CLD_STOPPED): Likewise.
30687         (CLD_CONTINUED): Likewise.
30688         (POLL_IN): Likewise.
30689         (POLL_OUT): Likewise.
30690         (POLL_MSG): Likewise.
30691         (POLL_ERR): Likewise.
30692         (POLL_PRI): Likewise.
30693         (POLL_HUP): Likewise.
30694         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30695         (ILL_ILLOPN): Likewise.
30696         (ILL_ILLADR): Likewise.
30697         (ILL_ILLTRP): Likewise.
30698         (ILL_PRVOPC): Likewise.
30699         (ILL_PRVREG): Likewise.
30700         (ILL_COPROC): Likewise.
30701         (ILL_BADSTK): Likewise.
30702         (FPE_INTDIV): Likewise.
30703         (FPE_INTOVF): Likewise.
30704         (FPE_FLTDIV): Likewise.
30705         (FPE_FLTOVF): Likewise.
30706         (FPE_FLTUND): Likewise.
30707         (FPE_FLTRES): Likewise.
30708         (FPE_FLTINV): Likewise.
30709         (FPE_FLTSUB): Likewise.
30710         (SEGV_MAPERR): Likewise.
30711         (SEGV_ACCERR): Likewise.
30712         (BUS_ADRALN): Likewise.
30713         (BUS_ADRERR): Likewise.
30714         (BUS_OBJERR): Likewise.
30715         (BUS_MCEERR_AR): Likewise.
30716         (BUS_MCEERR_AO): Likewise.
30717         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30718         (TRAP_TRACE): Likewise.
30719         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30720         __USE_XOPEN2K8].
30721         (CLD_KILLED): Likewise.
30722         (CLD_DUMPED): Likewise.
30723         (CLD_TRAPPED): Likewise.
30724         (CLD_STOPPED): Likewise.
30725         (CLD_CONTINUED): Likewise.
30726         (POLL_IN): Likewise.
30727         (POLL_OUT): Likewise.
30728         (POLL_MSG): Likewise.
30729         (POLL_ERR): Likewise.
30730         (POLL_PRI): Likewise.
30731         (POLL_HUP): Likewise.
30732         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30733         (ILL_ILLOPN): Likewise.
30734         (ILL_ILLADR): Likewise.
30735         (ILL_ILLTRP): Likewise.
30736         (ILL_PRVOPC): Likewise.
30737         (ILL_PRVREG): Likewise.
30738         (ILL_COPROC): Likewise.
30739         (ILL_BADSTK): Likewise.
30740         (FPE_INTDIV): Likewise.
30741         (FPE_INTOVF): Likewise.
30742         (FPE_FLTDIV): Likewise.
30743         (FPE_FLTOVF): Likewise.
30744         (FPE_FLTUND): Likewise.
30745         (FPE_FLTRES): Likewise.
30746         (FPE_FLTINV): Likewise.
30747         (FPE_FLTSUB): Likewise.
30748         (SEGV_MAPERR): Likewise.
30749         (SEGV_ACCERR): Likewise.
30750         (BUS_ADRALN): Likewise.
30751         (BUS_ADRERR): Likewise.
30752         (BUS_OBJERR): Likewise.
30753         (BUS_MCEERR_AR): Likewise.
30754         (BUS_MCEERR_AO): Likewise.
30755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30756         (TRAP_TRACE): Likewise.
30757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30758         __USE_XOPEN2K8].
30759         (CLD_KILLED): Likewise.
30760         (CLD_DUMPED): Likewise.
30761         (CLD_TRAPPED): Likewise.
30762         (CLD_STOPPED): Likewise.
30763         (CLD_CONTINUED): Likewise.
30764         (POLL_IN): Likewise.
30765         (POLL_OUT): Likewise.
30766         (POLL_MSG): Likewise.
30767         (POLL_ERR): Likewise.
30768         (POLL_PRI): Likewise.
30769         (POLL_HUP): Likewise.
30770         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30771         (ILL_ILLOPN): Likewise.
30772         (ILL_ILLADR): Likewise.
30773         (ILL_ILLTRP): Likewise.
30774         (ILL_PRVOPC): Likewise.
30775         (ILL_PRVREG): Likewise.
30776         (ILL_COPROC): Likewise.
30777         (ILL_BADSTK): Likewise.
30778         (ILL_DBLFLT): Likewise.
30779         (ILL_HARDWALL): Likewise.
30780         (FPE_INTDIV): Likewise.
30781         (FPE_INTOVF): Likewise.
30782         (FPE_FLTDIV): Likewise.
30783         (FPE_FLTOVF): Likewise.
30784         (FPE_FLTUND): Likewise.
30785         (FPE_FLTRES): Likewise.
30786         (FPE_FLTINV): Likewise.
30787         (FPE_FLTSUB): Likewise.
30788         (SEGV_MAPERR): Likewise.
30789         (SEGV_ACCERR): Likewise.
30790         (BUS_ADRALN): Likewise.
30791         (BUS_ADRERR): Likewise.
30792         (BUS_OBJERR): Likewise.
30793         (BUS_MCEERR_AR): Likewise.
30794         (BUS_MCEERR_AO): Likewise.
30795         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30796         (TRAP_TRACE): Likewise.
30797         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30798         __USE_XOPEN2K8].
30799         (CLD_KILLED): Likewise.
30800         (CLD_DUMPED): Likewise.
30801         (CLD_TRAPPED): Likewise.
30802         (CLD_STOPPED): Likewise.
30803         (CLD_CONTINUED): Likewise.
30804         (POLL_IN): Likewise.
30805         (POLL_OUT): Likewise.
30806         (POLL_MSG): Likewise.
30807         (POLL_ERR): Likewise.
30808         (POLL_PRI): Likewise.
30809         (POLL_HUP): Likewise.
30810         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30811         (ILL_ILLOPN): Likewise.
30812         (ILL_ILLADR): Likewise.
30813         (ILL_ILLTRP): Likewise.
30814         (ILL_PRVOPC): Likewise.
30815         (ILL_PRVREG): Likewise.
30816         (ILL_COPROC): Likewise.
30817         (ILL_BADSTK): Likewise.
30818         (FPE_INTDIV): Likewise.
30819         (FPE_INTOVF): Likewise.
30820         (FPE_FLTDIV): Likewise.
30821         (FPE_FLTOVF): Likewise.
30822         (FPE_FLTUND): Likewise.
30823         (FPE_FLTRES): Likewise.
30824         (FPE_FLTINV): Likewise.
30825         (FPE_FLTSUB): Likewise.
30826         (SEGV_MAPERR): Likewise.
30827         (SEGV_ACCERR): Likewise.
30828         (BUS_ADRALN): Likewise.
30829         (BUS_ADRERR): Likewise.
30830         (BUS_OBJERR): Likewise.
30831         (BUS_MCEERR_AR): Likewise.
30832         (BUS_MCEERR_AO): Likewise.
30833         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30834         (TRAP_TRACE): Likewise.
30835         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30836         __USE_XOPEN2K8].
30837         (CLD_KILLED): Likewise.
30838         (CLD_DUMPED): Likewise.
30839         (CLD_TRAPPED): Likewise.
30840         (CLD_STOPPED): Likewise.
30841         (CLD_CONTINUED): Likewise.
30842         (POLL_IN): Likewise.
30843         (POLL_OUT): Likewise.
30844         (POLL_MSG): Likewise.
30845         (POLL_ERR): Likewise.
30846         (POLL_PRI): Likewise.
30847         (POLL_HUP): Likewise.
30848         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30849         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30851         [BZ #16670]
30852         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30853         before #include of <time.h>.
30854         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30855         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30856         (test-xfail-UNIX98/sched.h/conform): Likewise.
30858 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30860         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30861         error absence of trapping exception support.
30862         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30864 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30866         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30867         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30868         * timezone/Makefile (testdata): Move definition above include of
30869         Rules.
30870         (test-zones): New variable.
30871         (tests-special): Add zone files.
30872         (build-testdata): Use $(evaluate-test).
30874         * elf/Makefile (tests-special): Rename tests to end with .out.
30875         ($(objpfx)noload-mem): Likewise.
30876         ($(objpfx)tst-leaks1-mem): Likewise.
30877         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30878         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30879         $(objpfx)test-iconvconfig.out.
30880         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30881         set -e inside subshell and redirect output to file.
30882         * iconvdata/Makefile (generated): Rename tests to end with .out.
30883         Correct type.
30884         (tests-special): Rename tests to end with .out.
30885         ($(objpfx)mtrace-tst-loading): Likewise.
30886         * intl/Makefile (generated): Likewise.
30887         (tests-special): Likewise.
30888         ($(objpfx)mtrace-tst-gettext): Likewise.
30889         * misc/Makefile (generated): Likewise.
30890         (tests-special): Likewise.
30891         ($(objpfx)tst-error1-mem): Likewise.
30892         * nptl/Makefile (tests-special): Likewise.
30893         ($(objpfx)tst-stack3-mem): Likewise.
30894         (generated): Likewise.
30895         * posix/Makefile (generated): Likewise.
30896         (tests-special): Likewise.
30897         (xtests-special): Likewise.
30898         ($(objpfx)tst-fnmatch-mem): Likewise.
30899         ($(objpfx)bug-regex2-mem): Likewise.
30900         ($(objpfx)bug-regex14-mem): Likewise.
30901         ($(objpfx)bug-regex21-mem): Likewise.
30902         ($(objpfx)bug-regex31-mem): Likewise.
30903         ($(objpfx)tst-vfork3-mem): Likewise.
30904         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30905         ($(objpfx)tst-pcre-mem): Likewise.
30906         ($(objpfx)tst-boost-mem): Likewise.
30907         ($(objpfx)bug-ga2-mem): Likewise.
30908         ($(objpfx)bug-glob2-mem): Likewise.
30909         * resolv/Makefile (generate): Likewise.
30910         (tests-special): Likewise.
30911         (xtests-special): Likewise.
30912         (generated): Likewise.
30913         ($(objpfx)mtrace-tst-leaks): Likewise.
30914         ($(objpfx)mtrace-tst-leaks2): Likewise.
30916         * scripts/merge-test-results.sh: New file.
30917         * Makefile (tests-special-notdir): New variable.
30918         (tests): Run merge-test-results.sh.
30919         (xtests): Likewise.
30920         * Rules (tests-special-notdir): New variable.
30921         (xtests-special-notdir): Likewise.
30922         (tests): Run merge-test-results.sh
30923         (xtests): Likewise.
30925         * Makeconfig (test-xfail-name): New variable.
30926         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30927         compute variable name for expected failures.
30928         * conform/Makefile (conformtest-headers-data): New variable.
30929         (conformtest-standards): Likewise.
30930         (conformtest-headers-ISO): Likewise.
30931         (conformtest-headers-ISO99): Likewise.
30932         (conformtest-headers-ISO11): Likewise.
30933         (conformtest-headers-POSIX): Likewise.
30934         (conformtest-headers-XPG3): Likewise.
30935         (conformtest-headers-XPG4): Likewise.
30936         (conformtest-headers-UNIX98): Likewise.
30937         (conformtest-headers-XOPEN2K): Likewise.
30938         (conformtest-headers-POSIX2008): Likewise.
30939         (conformtest-headers-XOPEN2K8): Likewise.
30940         (conformtest-header-list-base): Likewise.
30941         (conformtest-header-list-tests): Likewise.
30942         (conformtest-header-base): Likewise.
30943         (conformtest-header-tests): Likewise.
30944         (tests-special): Add $(conformtest-header-list-tests).  If
30945         [$(fast-check) && !$(cross-compiling)], add
30946         $(conformtest-header-tests) instead of
30947         $(objpfx)run-conformtest.out.
30948         (generated): Add $(conformtest-header-list-base).  If
30949         [$(fast-check) && !$(cross-compiling)], add
30950         $(conformtest-header-base).  Remove previous setting.
30951         ($(conformtest-header-list-tests)): New target.
30952         (test-xfail-run-conformtest): Remove variable.
30953         ($(objpfx)run-conformtest.out): Remove target.
30954         (test-xfail-ISO11/complex.h/conform): New variable.
30955         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30956         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30957         (test-xfail-XPG3/varargs.h/conform): Likewise.
30958         (test-xfail-XPG4/varargs.h/conform): Likewise.
30959         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30960         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30961         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30962         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30963         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30964         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30965         (test-xfail-XPG3/ftw.h/conform): Likewise.
30966         (test-xfail-XPG3/grp.h/conform): Likewise.
30967         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30968         (test-xfail-XPG3/limits.h/conform): Likewise.
30969         (test-xfail-XPG3/pwd.h/conform): Likewise.
30970         (test-xfail-XPG3/search.h/conform): Likewise.
30971         (test-xfail-XPG3/signal.h/conform): Likewise.
30972         (test-xfail-XPG3/stdio.h/conform): Likewise.
30973         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30974         (test-xfail-XPG3/string.h/conform): Likewise.
30975         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30976         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30977         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30978         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30979         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30980         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30981         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30982         (test-xfail-XPG3/termios.h/conform): Likewise.
30983         (test-xfail-XPG3/time.h/conform): Likewise.
30984         (test-xfail-XPG3/unistd.h/conform): Likewise.
30985         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30986         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30987         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30988         (test-xfail-XPG4/netdb.h/conform): Likewise.
30989         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30990         (test-xfail-XPG4/signal.h/conform): Likewise.
30991         (test-xfail-XPG4/stdio.h/conform): Likewise.
30992         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30993         (test-xfail-XPG4/stropts.h/conform): Likewise.
30994         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30995         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30996         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30997         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30998         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30999         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31000         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31001         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31002         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31003         (test-xfail-XPG4/termios.h/conform): Likewise.
31004         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31005         (test-xfail-XPG4/unistd.h/conform): Likewise.
31006         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31007         (test-xfail-POSIX/sched.h/conform): Likewise.
31008         (test-xfail-POSIX/signal.h/conform): Likewise.
31009         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31010         (test-xfail-POSIX/tar.h/conform): Likewise.
31011         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31012         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31013         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31014         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31015         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31016         (test-xfail-UNIX98/sched.h/conform): Likewise.
31017         (test-xfail-UNIX98/signal.h/conform): Likewise.
31018         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31019         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31020         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31021         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31022         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31023         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31024         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31025         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31026         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31027         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31028         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31029         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31030         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31031         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31032         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31033         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31034         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31035         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31036         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31037         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31038         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31039         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31040         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31041         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31042         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31043         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31044         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31045         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31046         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31047         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31048         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31049         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31050         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31051         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31052         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31053         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31054         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31055         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31056         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31057         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31058         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31059         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31060         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31061         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31062         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31063         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31064         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31065         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31066         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31067         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31068         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31069         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31070         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31071         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31072         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31073         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31074         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31075         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31076         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31077         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31078         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31079         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31080         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31081         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31082         (conformtest-cc-flags): Likewise.
31083         ($(conformtest-header-tests): New target.
31084         * conform/check-header-lists.sh: New file.
31085         * conform/run-conformtest.sh: Remove.
31087         * conform/conformtest.pl: Allow ' and \ in values given for
31088         constants.
31089         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31090         inclusion.
31091         [POSIX] (sys/types.h): Likewise.
31092         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31093         inclusion.
31094         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31095         inclusion.
31096         * conform/data/signal.h-data (SIGIO): Remove expectation.
31097         [XPG3] (SIGBUS): Do not expect.
31098         [POSIX || XPG3] (SIGPOLL): Likewise.
31099         [POSIX || XPG3] (SIGPROF): Likewise.
31100         [POSIX || XPG3] (SIGSYS): Likewise.
31101         [XPG3] (SIGTRAP): Likewise.
31102         [POSIX || XPG3] (SIGURG): Likewise.
31103         [POSIX || XPG3] (SIGVTALRM): Likewise.
31104         [POSIX || XPG3] (SIGXCPU): Likewise.
31105         [POSIX || XPG3] (SIGXFSZ): Likewise.
31106         [POSIX] (SA_SIGINFO): Expect.
31107         [XPG3] (siginfo_t): Do not expect type or contents.
31108         [POSIX] (si_pid): Do not expect element.
31109         [POSIX] (si_uid): Likewise.
31110         [POSIX] (si_addr): Likewise.
31111         [POSIX] (si_status): Likewise.
31112         [POSIX] (si_band): Likewise.
31113         [XPG4] (si_value): Likewise.
31114         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31115         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31116         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31117         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31118         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31119         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31120         [POSIX || XPG3] (ILL_COPROC): Likewise.
31121         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31122         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31123         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31124         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31125         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31126         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31127         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31128         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31129         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31130         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31131         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31132         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31133         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31134         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31135         [POSIX || XPG3] (CLD_EXITED): Likewise.
31136         [POSIX || XPG3] (CLD_KILLED): Likewise.
31137         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31138         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31139         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31140         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31141         [POSIX || XPG3] (POLL_IN): Likewise.
31142         [POSIX || XPG3] (POLL_OUT): Likewise.
31143         [POSIX || XPG3] (POLL_MSG): Likewise.
31144         [POSIX || XPG3] (POLL_ERR): Likewise.
31145         [POSIX || XPG3] (POLL_PRI): Likewise.
31146         [POSIX || XPG3] (POLL_HUP): Likewise.
31147         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31148         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31149         (SIG*): Do not allow.
31150         [XPG3] (si_*): Likewise.
31151         [XPG3] (SI_*): Likewise.
31152         [XPG3 || XPG4] (sigev_*): Likewise.
31153         [XPG3 || XPG4] (SIGEV_*): Likewise.
31154         [XPG3 || XPG4] (sival_*): Likewise.
31155         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31156         [POSIX || XPG3] (BUS_*): Likewise.
31157         [POSIX || XPG3] (CLD_*): Likewise.
31158         [POSIX || XPG3] (FPE_*): Likewise.
31159         [POSIX || XPG3] (ILL_*): Likewise.
31160         [POSIX || XPG3] (POLL_*): Likewise.
31161         [POSIX || XPG3] (SEGV_*): Likewise.
31162         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31163         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31164         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31165         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31166         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31167         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31168         Specify type and value.
31169         (TVERSLEN): Likewise.
31170         (REGTYPE): Likewise.
31171         (AREGTYPE): Likewise.
31172         (LNKTYPE): Likewise.
31173         (SYMTYPE): Likewise.
31174         (CHRTYPE): Likewise.
31175         (BLKTYPE): Likewise.
31176         (DIRTYPE): Likewise.
31177         (FIFOTYPE): Likewise.
31178         (CONTTYPE): Likewise.
31179         (TSUID): Likewise.
31180         (TSGID): Likewise.
31181         (TSVTX): Likewise.
31182         (TUREAD): Likewise.
31183         (TUWRITE): Likewise.
31184         (TUEXEC): Likewise.
31185         (TGREAD): Likewise.
31186         (TGWRITE): Likewise.
31187         (TGEXEC): Likewise.
31188         (TOREAD): Likewise.
31189         (TOWRITE): Likewise.
31190         (TOEXEC): Likewise.
31191         [POSIX] (TSVTX): Expect constant.
31193 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31195         * Makefile (tests): Change dependencies to ....
31196         (tests-special): ... additions to this variable.
31197         (tests): Depend on $(tests-special).
31198         * Makerules (check-abi-list): New variable.
31199         (check-abi): Depend on $(check-abi-list).
31200         [$(subdir) = elf] (tests-special): Add
31201         $(objpfx)check-abi-libc.out.
31202         [$(build-shared) = yes && subdir] (tests-special): Add
31203         $(check-abi-list).
31204         [$(build-shared) = yes && subdir] (tests): Do not depend on
31205         check-abi.
31206         * Rules (tests): Depend on $(tests-special).
31207         (xtests): Depend on $(xtests-special).
31208         * catgets/Makefile (tests): Change dependencies to ....
31209         (tests-special): ... additions to this variable.
31210         * conform/Makefile (tests): Change dependencies to ....
31211         (tests-special): ... additions to this variable.
31212         * elf/Makefile (tests): Change dependencies to ....
31213         (tests-special): ... additions to this variable.
31214         * grp/Makefile (tests): Change dependencies to ....
31215         (tests-special): ... additions to this variable.
31216         * iconv/Makefile (xtests): Change dependencies to ....
31217         (xtests-special): ... additions to this variable.
31218         * iconvdata/Makefile (tests): Change dependencies to ....
31219         (tests-special): ... additions to this variable.
31220         * intl/Makefile (tests): Change dependencies to ....
31221         (tests-special): ... additions to this variable.  Also add
31222         $(objpfx)tst-gettext.out.
31223         * io/Makefile (tests): Change dependencies to ....
31224         (tests-special): ... additions to this variable.
31225         * libio/Makefile (tests): Change dependencies to ....
31226         (tests-special): ... additions to this variable.
31227         * malloc/Makefile (tests): Change dependencies to ....
31228         (tests-special): ... additions to this variable.
31229         * misc/Makefile (tests): Change dependencies to ....
31230         (tests-special): ... additions to this variable.
31231         * nptl/Makefile (tests): Change dependencies to ....
31232         (tests-special): ... additions to this variable.
31233         * nptl_db/Makefile (tests): Change dependencies to ....
31234         (tests-special): ... additions to this variable.
31235         * posix/Makefile (tests): Change dependencies to ....
31236         (tests-special): ... additions to this variable.
31237         (xtests): Change dependencies to ....
31238         (xtests-special): ... additions to this variable.
31239         * resolv/Makefile (tests): Change dependencies to ....
31240         (tests-special): ... additions to this variable.
31241         (xtests): Change dependencies to ....
31242         (xtests-special): ... additions to this variable.
31243         * stdio-common/Makefile (tests): Change dependencies to ....
31244         (tests-special): ... additions to this variable.
31245         (do-tst-unbputc): Remove target.
31246         (do-tst-printf): Likewise.
31247         * stdlib/Makefile (tests): Change dependencies to ....
31248         (tests-special): ... additions to this variable.
31249         * string/Makefile (tests): Change dependencies to ....
31250         (tests-special): ... additions to this variable.
31251         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31252         (tests-special): ... additions to this variable.
31254         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31255         whole file.
31256         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31257         whole file.
31258         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31259         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31261         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31262         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31263         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31264         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31265         * conform/data/libgen.h-data [XPG3]: Likewise.
31266         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31267         * conform/data/ndbm.h-data [XPG3]: Likewise.
31268         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31269         * conform/data/netdb.h-data [XPG3]: Likewise.
31270         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31271         * conform/data/poll.h-data [XPG3]: Likewise.
31272         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31273         * conform/data/strings.h-data [XPG3]: Likewise.
31274         * conform/data/stropts.h-data [XPG3]: Likewise.
31275         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31276         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31277         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31278         Likewise.
31279         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31280         * conform/data/sys/time.h-data [XPG3]: Likewise.
31281         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31282         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31283         * conform/data/sys/un.h-data [XPG3]: Likewise.
31284         * conform/data/syslog.h-data [XPG3]: Likewise.
31285         * conform/data/ucontext.h-data [XPG3]: Likewise.
31286         * conform/data/utmpx.h-data [XPG3]: Likewise.
31287         * conform/data/varargs.h-data [UNIX98]: Enable file.
31289         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31291         * math/libm-test.inc (struct test_f_f_data): Move expected results
31292         into structure for each rounding mode.
31293         (struct test_ff_f_data): Likewise.
31294         (struct test_ff_f_data_nexttoward): Likewise.
31295         (struct test_fi_f_data): Likewise.
31296         (struct test_fl_f_data): Likewise.
31297         (struct test_if_f_data): Likewise.
31298         (struct test_fff_f_data): Likewise.
31299         (struct test_c_f_data): Likewise.
31300         (struct test_f_f1_data): Likewise.
31301         (struct test_fF_f1_data): Likewise.
31302         (struct test_ffI_f1_data): Likewise.
31303         (struct test_c_c_data): Likewise.
31304         (struct test_cc_c_data): Likewise.
31305         (struct test_f_i_data): Likewise.
31306         (struct test_ff_i_data): Likewise.
31307         (struct test_f_l_data): Likewise.
31308         (struct test_f_L_data): Likewise.
31309         (struct test_fFF_11_data): Likewise.
31310         (RM_): New macro.
31311         (RM_FE_DOWNWARD): Likewise.
31312         (RM_FE_TONEAREST): Likewise.
31313         (RM_FE_TOWARDZERO): Likewise.
31314         (RM_FE_UPWARD): Likewise.
31315         (RUN_TEST_LOOP_f_f): Update references to expected results.
31316         (RUN_TEST_LOOP_2_f): Likewise.
31317         (RUN_TEST_LOOP_fff_f): Likewise.
31318         (RUN_TEST_LOOP_c_f): Likewise.
31319         (RUN_TEST_LOOP_f_f1): Likewise.
31320         (RUN_TEST_LOOP_fF_f1): Likewise.
31321         (RUN_TEST_LOOP_fI_f1): Likewise.
31322         (RUN_TEST_LOOP_ffI_f1): Likewise.
31323         (RUN_TEST_LOOP_c_c): Likewise.
31324         (RUN_TEST_LOOP_cc_c): Likewise.
31325         (RUN_TEST_LOOP_f_i): Likewise.
31326         (RUN_TEST_LOOP_f_i_tg): Likewise.
31327         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31328         (RUN_TEST_LOOP_f_b): Likewise.
31329         (RUN_TEST_LOOP_f_b_tg): Likewise.
31330         (RUN_TEST_LOOP_f_l): Likewise.
31331         (RUN_TEST_LOOP_f_L): Likewise.
31332         (RUN_TEST_LOOP_fFF_11): Likewise.
31333         * math/gen-libm-test.pl (parse_args): Output four copies of
31334         expected results for each test.
31336         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31337         (__ASSUME_UTIMES): Remove.
31338         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31339         (__ASSUME_UTIMES): Likewise.
31341         * math/gen-auto-libm-tests.c: Update comment on output format.
31342         (output_for_one_input_case): Generate before-rounding and
31343         after-rounding information as conditions on output flags not
31344         floating-point format.
31345         * math/auto-libm-test-out: Regenerated.
31346         * math/gen-libm-test.pl (cond_value): New function.
31347         (or_cond_value): Use cond_value.
31348         (generate_testfile): Handle conditional exceptions.
31350 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31352         * math/libm-test.inc (max_valid_error): New variable.
31353         (init_max_error): Take new argument specifying whether function
31354         results are exactly determined.  Set max_valid_error and bound
31355         other variables for errors based on this argument.
31356         (set_max_error): Do not record results above max_valid_error.
31357         (check_float_internal): Only accept errors of up to 0.5ulps if
31358         also at most max_valid_error.
31359         (START): Take new argument EXACT and pass it to init_max_error.
31360         (acos_test): Update call to START.
31361         (acos_test_tonearest): Likewise.
31362         (acos_test_towardzero): Likewise.
31363         (acos_test_downward): Likewise.
31364         (acos_test_upward): Likewise.
31365         (acosh_test): Likewise.
31366         (asin_test): Likewise.
31367         (asin_test_tonearest): Likewise.
31368         (asin_test_towardzero): Likewise.
31369         (asin_test_downward): Likewise.
31370         (asin_test_upward): Likewise.
31371         (asinh_test): Likewise.
31372         (atan_test): Likewise.
31373         (atanh_test): Likewise.
31374         (atan2_test): Likewise.
31375         (cabs_test): Likewise.
31376         (cacos_test): Likewise.
31377         (cacosh_test): Likewise.
31378         (carg_test): Likewise.
31379         (casin_test): Likewise.
31380         (casinh_test): Likewise.
31381         (catan_test): Likewise.
31382         (catanh_test): Likewise.
31383         (cbrt_test): Likewise.
31384         (ccos_test): Likewise.
31385         (ccosh_test): Likewise.
31386         (ceil_test): Likewise.
31387         (cexp_test): Likewise.
31388         (cimag_test): Likewise.
31389         (clog_test): Likewise.
31390         (clog10_test): Likewise.
31391         (conj_test): Likewise.
31392         (copysign_test): Likewise.
31393         (cos_test): Likewise.
31394         (cos_test_tonearest): Likewise.
31395         (cos_test_towardzero): Likewise.
31396         (cos_test_downward): Likewise.
31397         (cos_test_upward): Likewise.
31398         (cosh_test): Likewise.
31399         (cosh_test_tonearest): Likewise.
31400         (cosh_test_towardzero): Likewise.
31401         (cosh_test_downward): Likewise.
31402         (cosh_test_upward): Likewise.
31403         (cpow_test): Likewise.
31404         (cproj_test): Likewise.
31405         (creal_test): Likewise.
31406         (csin_test): Likewise.
31407         (csinh_test): Likewise.
31408         (csqrt_test): Likewise.
31409         (ctan_test): Likewise.
31410         (ctan_test_tonearest): Likewise.
31411         (ctan_test_towardzero): Likewise.
31412         (ctan_test_downward): Likewise.
31413         (ctan_test_upward): Likewise.
31414         (ctanh_test): Likewise.
31415         (ctanh_test_tonearest): Likewise.
31416         (ctanh_test_towardzero): Likewise.
31417         (ctanh_test_downward): Likewise.
31418         (ctanh_test_upward): Likewise.
31419         (erf_test): Likewise.
31420         (erfc_test): Likewise.
31421         (exp_test): Likewise.
31422         (exp_test_tonearest): Likewise.
31423         (exp_test_towardzero): Likewise.
31424         (exp_test_downward): Likewise.
31425         (exp_test_upward): Likewise.
31426         (exp10_test): Likewise.
31427         (exp10_test_tonearest): Likewise.
31428         (exp10_test_towardzero): Likewise.
31429         (exp10_test_downward): Likewise.
31430         (exp10_test_upward): Likewise.
31431         (pow10_test): Likewise.
31432         (exp2_test): Likewise.
31433         (expm1_test): Likewise.
31434         (expm1_test_tonearest): Likewise.
31435         (expm1_test_towardzero): Likewise.
31436         (expm1_test_downward): Likewise.
31437         (expm1_test_upward): Likewise.
31438         (fabs_test): Likewise.
31439         (fdim_test): Likewise.
31440         (floor_test): Likewise.
31441         (fma_test): Likewise.
31442         (fma_test_towardzero): Likewise.
31443         (fma_test_downward): Likewise.
31444         (fma_test_upward): Likewise.
31445         (fmax_test): Likewise.
31446         (fmin_test): Likewise.
31447         (fmod_test): Likewise.
31448         (fpclassify_test): Likewise.
31449         (frexp_test): Likewise.
31450         (hypot_test): Likewise.
31451         (ilogb_test): Likewise.
31452         (isfinite_test): Likewise.
31453         (finite_test): Likewise.
31454         (isgreater_test): Likewise.
31455         (isgreaterequal_test): Likewise.
31456         (isinf_test): Likewise.
31457         (isless_test): Likewise.
31458         (islessequal_test): Likewise.
31459         (islessgreater_test): Likewise.
31460         (isnan_test): Likewise.
31461         (isnormal_test): Likewise.
31462         (issignaling_test): Likewise.
31463         (isunordered_test): Likewise.
31464         (j0_test): Likewise.
31465         (j1_test): Likewise.
31466         (jn_test): Likewise.
31467         (ldexp_test): Likewise.
31468         (lgamma_test): Likewise.
31469         (gamma_test): Likewise.
31470         (lrint_test): Likewise.
31471         (lrint_test_tonearest): Likewise.
31472         (lrint_test_towardzero): Likewise.
31473         (lrint_test_downward): Likewise.
31474         (lrint_test_upward): Likewise.
31475         (llrint_test): Likewise.
31476         (llrint_test_tonearest): Likewise.
31477         (llrint_test_towardzero): Likewise.
31478         (llrint_test_downward): Likewise.
31479         (llrint_test_upward): Likewise.
31480         (log_test): Likewise.
31481         (log10_test): Likewise.
31482         (log1p_test): Likewise.
31483         (log2_test): Likewise.
31484         (logb_test): Likewise.
31485         (logb_test_downward): Likewise.
31486         (lround_test): Likewise.
31487         (llround_test): Likewise.
31488         (modf_test): Likewise.
31489         (nearbyint_test): Likewise.
31490         (nextafter_test): Likewise.
31491         (nexttoward_test): Likewise.
31492         (pow_test): Likewise.
31493         (pow_test_tonearest): Likewise.
31494         (pow_test_towardzero): Likewise.
31495         (pow_test_downward): Likewise.
31496         (pow_test_upward): Likewise.
31497         (remainder_test): Likewise.
31498         (drem_test): Likewise.
31499         (remainder_test_tonearest): Likewise.
31500         (drem_test_tonearest): Likewise.
31501         (remainder_test_towardzero): Likewise.
31502         (drem_test_towardzero): Likewise.
31503         (remainder_test_downward): Likewise.
31504         (drem_test_downward): Likewise.
31505         (remainder_test_upward): Likewise.
31506         (drem_test_upward): Likewise.
31507         (remquo_test): Likewise.
31508         (rint_test): Likewise.
31509         (rint_test_tonearest): Likewise.
31510         (rint_test_towardzero): Likewise.
31511         (rint_test_downward): Likewise.
31512         (rint_test_upward): Likewise.
31513         (round_test): Likewise.
31514         (scalb_test): Likewise.
31515         (scalbn_test): Likewise.
31516         (scalbln_test): Likewise.
31517         (signbit_test): Likewise.
31518         (sin_test): Likewise.
31519         (sin_test_tonearest): Likewise.
31520         (sin_test_towardzero): Likewise.
31521         (sin_test_downward): Likewise.
31522         (sin_test_upward): Likewise.
31523         (sincos_test): Likewise.
31524         (sinh_test): Likewise.
31525         (sinh_test_tonearest): Likewise.
31526         (sinh_test_towardzero): Likewise.
31527         (sinh_test_downward): Likewise.
31528         (sinh_test_upward): Likewise.
31529         (sqrt_test): Likewise.
31530         (sqrt_test_tonearest): Likewise.
31531         (sqrt_test_towardzero): Likewise.
31532         (sqrt_test_downward): Likewise.
31533         (sqrt_test_upward): Likewise.
31534         (tan_test): Likewise.
31535         (tan_test_tonearest): Likewise.
31536         (tan_test_towardzero): Likewise.
31537         (tan_test_downward): Likewise.
31538         (tan_test_upward): Likewise.
31539         (tanh_test): Likewise.
31540         (tgamma_test): Likewise.
31541         (trunc_test): Likewise.
31542         (y0_test): Likewise.
31543         (y1_test): Likewise.
31544         (yn_test): Likewise.
31545         (significand_test): Likewise.
31547         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31548         individual tests in comment.
31549         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31550         (prev_max_error): New variable.
31551         (prev_real_max_error): Likewise.
31552         (prev_imag_max_error): Likewise.
31553         (compare_ulp_data): Don't refer to test names in comment.
31554         (find_test_ulps): Remove function.
31555         (find_function_ulps): Likewise.
31556         (find_complex_function_ulps): Likewise.
31557         (init_max_error): Take function name as argument.  Look up ulps
31558         for that function.
31559         (print_ulps): Remove function.
31560         (print_max_error): Use prev_max_error instead of calling
31561         find_function_ulps.
31562         (print_complex_max_error): Use prev_real_max_error and
31563         prev_imag_max_error instead of calling find_complex_function_ulps.
31564         (check_float_internal): Take max_ulp parameter instead of calling
31565         find_test_ulps.  Don't call print_ulps.
31566         (check_float): Update call to check_float_internal.
31567         (check_complex): Update calls to check_float_internal.
31568         (START): Pass argument to init_max_error.
31569         * math/gen-libm-test.pl (%results): Don't include "kind"
31570         information.
31571         (parse_ulps): Don't handle ulps of individual tests.
31572         (print_ulps_file): Likewise.
31573         (output_ulps): Likewise.
31574         * math/README.libm-test: Update.
31575         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31576         individual tests.
31577         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31578         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31579         * sysdeps/arm/libm-test-ulps: Likewise.
31580         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31581         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31582         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31583         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31584         * sysdeps/microblaze/libm-test-ulps: Likewise.
31585         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31586         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31587         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31588         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31589         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31590         * sysdeps/sh/libm-test-ulps: Likewise.
31591         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31592         * sysdeps/tile/libm-test-ulps: Likewise.
31593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31595 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31597         * math/libm-test.inc (print_complex_max_error): Check separately
31598         whether real and imaginary errors are within allowed range and
31599         pass 0 to print_complex_function_ulps instead of value within
31600         allowed range.
31602 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31604         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31605         formatting.
31606         (get_handles_fopen): Likewise.
31607         (do_write_test): Likewise.
31609         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31611         * libio/fileops.c (do_ftell): Use cached offset when
31612         available.
31613         * libio/iofwide.c (do_ftell_wide): Likewise.
31614         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31615         _IO_file_attach.
31616         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31618         [BZ #16532]
31619         * libio/libioP.h (get_file_offset): New function.
31620         * libio/fileops.c (get_file_offset): Likewise.
31621         (do_ftell): Likewise.
31622         (_IO_new_file_seekoff): Split out ftell logic.
31623         * libio/wfileops.c (do_ftell_wide): Likewise.
31624         (_IO_wfile_seekoff): Split out ftell logic.
31625         * libio/tst-ftell-active-handler.c: New test case.
31626         * libio/Makefile (tests): Add it.
31628 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31630         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31631         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31633 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31635         [BZ #16639]
31636         * nscd/connections.c (nscd_init): Call do_exit.
31637         (start_threads): Call do_exit and notify_parent.
31638         (begin_drop_privileges): Call do_exit.
31639         (finish_drop_privileges): Likewise.
31640         * nscd/selinux.c (preserve_capabilities): Likewise.
31641         (install_real_capabilities): Likewise.
31642         (nscd_selinux_enabled): Likewise.
31643         (avc_create_thread): Likewise.
31644         (avc_alloc_lock): Likewise.
31645         (nscd_avc_init): Likewise.
31646         * nscd/nscd.c (parent_fd): New static variable.
31647         (main): Create a pipe between parent and child processes.
31648         Skip closing parent_fd.
31649         (monitor_child): New function.
31650         (do_exit): Likewise.
31651         (notify_parent): Likewise.
31652         * nscd/nscd.h (notify_parent): Likewise.
31653         (do_exit): Likewise.
31655 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31657         * malloc/malloc.c (__libc_calloc): Revert last change.
31659 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31663 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31665         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31667         implementation.
31668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31669         (__libc_ifunc_impl_list): Likewise.
31670         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31671         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31672         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31673         * string/strrchr.c: Define STRRCHR.
31675 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31677         * benchtest/bench-strtok.c (simple_strtok): Delete.
31678         (strtok_string): Use as benchmark.
31679         * string/strtok (STRTOK): New macro.
31681 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31683         * manual/threads.texi: Add header and standard comments to all
31684         functions.
31686         * elf/dl-lookup.c (check_match): New function.
31687         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31688         (do_lookup_x): Remove nested function check_match. Use non-nested
31689         function check_match.
31691 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31693         * csu/Makefile (generated, before-compile): Use += rather than =.
31694         * catgets/Makefile (generated, generated-dirs): Likewise.
31695         * debug/Makefile (generated): Likewise.
31696         * dlfcn/Makefile (generated): Likewise.
31697         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31698         * iconvdata/Makefile (before-compile, generated): Likewise.
31699         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31700         * libio/Makefile (generated): Likewise.
31701         * malloc/Makefile (generated): Likewise.
31702         * manual/Makefile (generated, generated-dirs): Likewise.
31703         * misc/Makefile (generated): Likewise.
31704         * posix/Makefile (generated): Likewise.
31705         * resolv/Makefile (generated): Likewise.
31706         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31707         * timezone/Makefile (generated, generated-dirs): Likewise.
31709         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31711 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31714         power8 implementation.
31715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31716         file: POWER8 llround ifunc implementation.
31717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31718         (__lllround): Add POWER8 implementation.
31719         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31720         POWER8 llround implementation.
31722         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31723         power8 implementation.
31724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31725         file: POWER8 llrint ifunc implementation.
31726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31727         Add POWER8 implementation.
31728         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31729         POWER8 llrint implementation.
31731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31732         power8 implementation.
31733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31734         file: POWER8 finite ifunc implementation.
31735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31736         Add POWER8 implementation.
31737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31738         Likewise.
31739         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31740         POWER8 finite implementation.
31741         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31743         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31744         power8 implementation.
31745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31746         file: POWER8 isinf ifunc implementation.
31747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31748         POWER8 implementation.
31749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31750         Likewise.
31751         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31752         isinf implementation.
31753         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31755         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31756         (INIT_ARCH): Add hwcap2 initialization.
31757         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31758         power8 implementation.
31759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31760         file: POWER8 isnan ifunc implementation.
31761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31762         POWER8 implementation.
31763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31764         Likewise.
31765         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31766         isnan implementation.
31767         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31769 2014-02-27  Joey Ye  <joey.ye@arm.com>
31771         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31772         (_FP_NANFRAC_Q): Set to zero.
31774 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31776         [BZ #16623]
31777         * math/auto-libm-test-in: New test inputs.
31778         * math/auto-libm-test-out: Regenerate.
31779         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31780         and DA.
31781         (__cos): Likewise.
31782         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31784 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31786         * scripts/evaluate-test.sh: Take new argument indicating whether
31787         failure is expected.
31788         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31789         indicating whether failure is expected.
31790         * conform/Makefile (test-xfail-run-conformtest): New variable.
31791         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31792         level.
31793         * posix/Makefile (test-xfail-annexc): New variable.
31794         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31796 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31798         * argp/Makefile: Include Makeconfig immediately after defining
31799         subdir.
31800         * assert/Makefile: Likewise.
31801         * benchtests/Makefile: Likewise.
31802         * catgets/Makefile: Likewise.
31803         * conform/Makefile: Likewise.
31804         * crypt/Makefile: Likewise.
31805         * csu/Makefile: Likewise.
31806         (all): Remove target.
31807         * ctype/Makefile: Include Makeconfig immediately after defining
31808         subdir.
31809         * debug/Makefile: Likewise.
31810         * dirent/Makefile: Likewise.
31811         * dlfcn/Makefile: Likewise.
31812         * gmon/Makefile: Likewise.
31813         * gnulib/Makefile: Likewise.
31814         * grp/Makefile: Likewise.
31815         * gshadow/Makefile: Likewise.
31816         * hesiod/Makefile: Likewise.
31817         * hurd/Makefile: Likewise.
31818         (all): Remove target.
31819         * iconvdata/Makefile: Include Makeconfig immediately after
31820         defining subdir.
31821         * inet/Makefile: Likewise.
31822         * intl/Makefile: Likewise.
31823         * io/Makefile: Likewise.
31824         * libio/Makefile: Likewise.
31825         (all): Remove target.
31826         * locale/Makefile: Include Makeconfig immediately after defining
31827         subdir.
31828         * login/Makefile: Likewise.
31829         * mach/Makefile: Likewise.
31830         (all): Remove target.
31831         * malloc/Makefile: Include Makeconfig immediately after defining
31832         subdir.
31833         (all): Remove target.
31834         * manual/Makefile: Include Makeconfig immediately after defining
31835         subdir.
31836         * math/Makefile: Likewise.
31837         * misc/Makefile: Likewise.
31838         * nis/Makefile: Likewise.
31839         * nss/Makefile: Likewise.
31840         * po/Makefile: Likewise.
31841         (all): Remove target.
31842         * posix/Makefile: Include Makeconfig immediately after defining
31843         subdir.
31844         * pwd/Makefile: Likewise.
31845         * resolv/Makefile: Likewise.
31846         * resource/Makefile: Likewise.
31847         * rt/Makefile: Likewise.
31848         * setjmp/Makefile: Likewise.
31849         * shadow/Makefile: Likewise.
31850         * signal/Makefile: Likewise.
31851         * socket/Makefile: Likewise.
31852         * soft-fp/Makefile: Likewise.
31853         * stdio-common/Makefile: Likewise.
31854         * stdlib/Makefile: Likewise.
31855         * streams/Makefile: Likewise.
31856         * string/Makefile: Likewise.
31857         * sunrpc/Makefile: Likewise.
31858         (all): Remove target.
31859         * sysvipc/Makefile: Include Makeconfig immediately after defining
31860         subdir.
31861         * termios/Makefile: Likewise.
31862         * time/Makefile: Likewise.
31863         * timezone/Makefile: Likewise.
31864         (all): Remove target.
31865         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31866         subdir.
31867         * wctype/Makefile: Likewise.
31869 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31871         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31872         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31873         (libc_feholdexcept_setround_mips): Ditto.
31874         (libc_feholdsetround): New.
31875         (libc_feholdsetroundf): New.
31876         (libc_feholdsetroundl): New.
31877         (libc_feupdateenv_test_mips): New.
31878         (libc_feupdateenv_test): New.
31879         (libc_feupdateenv_testf): New.
31880         (libc_feupdateenv_testl): New.
31881         (libc_feresetround): New.
31882         (libc_feresetroundf): New.
31883         (libc_feresetroundl): New.
31884         (libc_fetestexcept_mips): New.
31885         (libc_fetestexcept): New.
31886         (libc_fetestexceptf): New.
31887         (libc_fetestexceptl): New.
31888         (HAVE_RM_CTX): New.
31889         (libc_feholdexcept_setround_mips_ctx): New.
31890         (libc_feholdexcept_setround_ctx): New.
31891         (libc_feholdexcept_setroundf_ctx): New.
31892         (libc_feholdexcept_setroundl_ctx): New.
31893         (libc_fesetenv_mips_ctx): New.
31894         (libc_fesetenv_ctx): New.
31895         (libc_fesetenv_ctxf): New.
31896         (libc_fesetenv_ctxl): New.
31897         (libc_feupdateenv_mips_ctx): New.
31898         (libc_feupdateenv_ctx): New.
31899         (libc_feupdateenvf_ctx): New.
31900         (libc_feupdateenvl_ctx): New.
31901         (libc_feholdsetround_mips_ctx): New.
31902         (libc_feholdsetround_ctx): New.
31903         (libc_feholdsetroundf_ctx): New.
31904         (libc_feholdsetroundl_ctx): New.
31905         (libc_feresetround_mips_ctx): New.
31906         (libc_feresetround_ctx): New.
31907         (libc_feresetroundf_ctx): New.
31908         (libc_feresetroundl_ctx): New.
31910 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31912         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31914         * manual/ipc.texi: New file.
31915         * manual/Makefile (chapters): Add ipc.
31916         * manual/job.texi: Add "Inter-Process Communication" to next.
31917         * manual/process.texi: Add "Inter-Process Communication" to prev.
31919 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31923 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31925         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31927         * manual/arith.texi: Fix spaces after sentences.
31928         * manual/charset.texi: Likewise.
31929         * manual/errno.texi: Likewise.
31930         * manual/install.texi: Likewise.
31931         * manual/llio.texi: Likewise.
31932         * manual/locale.texi: Likewise.
31933         * manual/maint.texi: Likewise.
31934         * manual/math.texi: Likewise.
31935         * manual/memory.texi: Likewise.
31936         * manual/message.texi: Likewise.
31937         * manual/probes.texi: Likewise.
31938         * manual/resource.texi: Likewise.
31939         * manual/signal.texi: Likewise.
31940         * manual/socket.texi: Likewise.
31941         * manual/stdio.texi: Likewise.
31942         * manual/string.texi: Likewise.
31943         * manual/time.texi: Likewise.
31944         * manual/users.texi: Likewise.
31946 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31948         [BZ #16632]
31949         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31950         _DEFAULT_SOURCE is defined.
31952 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31953             Carlos O'Donell  <carlos@redhat.com>
31955         [BZ #16613]
31956         * elf/dl-tls.c (_dl_count_modids): New function.
31957         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31958         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31959         audit library and increment generation counter.
31960         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31961         * elf/tst-audit9.c: New file.
31962         * elf/tst-auditmod9a.c: New file.
31963         * elf/tst-auditmod9b.c: New file.
31964         * elf/Makefile: Add rules to build and run tst-audit9.
31966 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31968         [BZ #15347]
31969         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31971 2014-02-25  Will Newton  <will.newton@linaro.org>
31973         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31974         (__longjmp): Restore sp and lr before restoring callee
31975         saved registers.  Add longjmp and longjmp_target
31976         SystemTap probe point.
31977         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31978         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31979         Define to zero to match jmpbuf layout.
31980         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31981         (__sigsetjmp): Save sp and lr before saving callee
31982         saved registers.  Add setjmp SystemTap probe point.
31984 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31986         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31988 2014-02-24  Andreas Schwab  <schwab@suse.de>
31990         [BZ #15804]
31991         * elf/pldd.c (wait_for_ptrace_stop): New function.
31992         (main): Call it after attaching.
31994 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31996         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31997         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31998         Versions files is now verboten.
31999         * hurd/Versions (libc: GLIBC_2.0):
32000         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32001         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32002         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32003         * mach/Versions: Likewise.
32005         * csu/Versions: Remove unused %include.
32006         * resolv/Versions: Likewise.
32008 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32010         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32011         ($(objpfx)check-local-headers.out): Likewise.
32012         ($(objpfx)begin-end-check.out): Likewise.
32013         * Makerules (check-abi-%.out): Likewise.
32014         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32015         ($(objpfx)test2.cat): Likewise.
32016         ($(objpfx)de/libc.cat): Likewise.
32017         ($(objpfx)test-gencat.out): Likewise.
32018         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32019         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32020         ($(objpfx)noload-mem): Likewise.
32021         ($(objpfx)tst-pathopt.out): Likewise.
32022         ($(objpfx)tst-rtld-load-self.out): Likewise.
32023         ($(objpfx)tst-array1-cmp.out): Likewise.
32024         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32025         ($(objpfx)tst-array2-cmp.out): Likewise.
32026         ($(objpfx)tst-array3-cmp.out): Likewise.
32027         ($(objpfx)tst-array4-cmp.out): Likewise.
32028         ($(objpfx)tst-array5-cmp.out): Likewise.
32029         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32030         ($(objpfx)check-textrel.out): Likewise.
32031         ($(objpfx)check-execstack.out): Likewise.
32032         ($(objpfx)check-localplt.out): Likewise.
32033         ($(objpfx)order2-cmp.out): Likewise.
32034         ($(objpfx)tst-leaks1-mem): Likewise.
32035         ($(objpfx)tst-leaks1-static-mem): Likewise.
32036         ($(objpfx)tst-initorder-cmp.out): Likewise.
32037         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32038         ($(objpfx)tst-unused-dep.out): Likewise.
32039         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32040         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32041         * iconv/Makefile (test-iconvconfig): Likewise.
32042         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32043         ($(objpfx)iconv-test.out): Likewise.
32044         ($(objpfx)tst-tables.out): Likewise.
32045         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32046         ($(objpfx)tst-gettext.out): Likewise.
32047         ($(objpfx)tst-translit.out): Likewise.
32048         ($(objpfx)tst-gettext2.out): Likewise.
32049         ($(objpfx)tst-gettext4.out): Likewise.
32050         ($(objpfx)tst-gettext6.out): Likewise.
32051         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32052         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32053         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32054         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32055         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32056         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32057         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32058         ($(objpfx)wordexp-tst.out): Likewise.
32059         ($(objpfx)annexc.out): Likewise.
32060         ($(objpfx)tst-fnmatch-mem): Likewise.
32061         ($(objpfx)bug-regex2-mem): Likewise.
32062         ($(objpfx)bug-regex14-mem): Likewise.
32063         ($(objpfx)bug-regex21-mem): Likewise.
32064         ($(objpfx)bug-regex31-mem): Likewise.
32065         ($(objpfx)tst-vfork3-mem): Likewise.
32066         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32067         ($(objpfx)tst-pcre-mem): Likewise.
32068         ($(objpfx)tst-boost-mem): Likewise.
32069         ($(objpfx)tst-getconf.out): Likewise.
32070         ($(objpfx)bug-ga2-mem): Likewise.
32071         ($(objpfx)bug-glob2-mem): Likewise.
32072         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32073         ($(objpfx)mtrace-tst-leaks2): Likewise.
32074         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32075         ($(objpfx)tst-printf.out): Likewise.
32076         ($(objpfx)tst-setvbuf1.out): Likewise.
32077         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32078         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32079         ($(objpfx)tst-fmtmsg.out): Likewise.
32080         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32081         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32083         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32084         * bits/sigaction.h [__USE_MISC]: Likewise.
32085         * bits/waitstatus.h: Update #endif comments.
32086         * ctype/ctype.h: Likewise.
32087         * dirent/dirent.h: Likewise.
32088         [__USE_MISC]: Remove redundant conditionals.
32089         * grp/grp.h: Update #endif comments.
32090         [__USE_GNU]: Remove redundant conditionals.
32091         [__USE_MISC]: Likewise.
32092         * inet/netinet/in.h [__USE_GNU]: Likewise.
32093         * io/sys/stat.h [__USE_MISC]: Likewise.
32094         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32095         * libio/bits/stdio.h: Update #endif comments.
32096         [__USE_MISC]: Remove redundant conditionals.
32097         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32098         * libio/stdio.h: Update #endif comments.
32099         [__USE_MISC]: Remove redundant conditionals.
32100         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32101         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32102         * math/math.h: Update #else and #endif comments.
32103         [__USE_MISC]: Remove redundant conditionals.
32104         * misc/sys/uio.h: Update #endif comments.
32105         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32106         * posix/glob.h [__USE_MISC]: Likewise.
32107         * posix/sys/types.h: Update #endif comments.
32108         [__USE_MISC]: Remove redundant conditionals.
32109         * posix/sys/wait.h: Update #endif comments.
32110         [__USE_MISC]: Remove redundant conditionals.
32111         * posix/unistd.h: Update #endif comments.
32112         [__USE_MISC]: Remove redundant conditionals.
32113         * pwd/pwd.h [__USE_GNU]: Likewise.
32114         [__USE_MISC]: Likewise.
32115         * resolv/netdb.h [__USE_GNU]: Likewise.
32116         * signal/signal.h: Update #endif comments.
32117         [__USE_MISC]: Remove redundant conditionals.
32118         * stdlib/stdlib.h: Update #else and #endif comments.
32119         [__USE_MISC]: Remove redundant conditionals.
32120         [__USE_GNU]: Likewise.
32121         * string/bits/string2.h [__USE_MISC]: Likewise.
32122         * string/string.h: Update #endif comments.
32123         [__USE_MISC]: Remove redundant conditionals.
32124         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32125         Likewise.
32126         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32127         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32128         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32129         Likewise.
32130         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32131         Likewise.
32132         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32133         comments.
32134         [__USE_MISC]: Remove redundant conditionals.
32135         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32136         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32137         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32138         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32139         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32140         Likewise.
32141         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32142         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32143         Likewise.
32144         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32145         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32146         Likewise.
32147         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32148         Likewise.
32149         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32150         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32151         Likewise.
32152         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32153         Likewise.
32154         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32155         * sysdeps/x86/bits/string.h: Update #endif comments.
32156         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32157         conditionals.
32158         * time/sys/time.h: Update #endif comments.
32159         * time/time.h: Likewise.
32160         [__USE_MISC]: Remove redundant conditionals.
32162 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32164         [BZ #16600]
32165         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32167 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32169         * Versions.def (librt): Add GLIBC_2.17.
32171 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32173         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32174         synonym for _SYS_AUXV_H to allow direct inclusion.
32175         * sysdeps/sparc/bits/hwcap.h: Likewise.
32176         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32177         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32178         * sysdeps/sparc/sysdep.h: Likewise.
32180 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32182         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32184 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32186         * benchtests/bench-strrchr.c: Print length instead of position.
32188 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32190         [BZ #16611]
32191         * sysdeps/unix/sysv/linux/kernel-features.h
32192         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32193         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32194         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32195         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32196         Likewise.
32197         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32198         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32199         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32200         (__ASSUME_SENDMMSG): Define instead of using previous
32201         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32202         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32203         (__ASSUME_SENDMMSG_SYSCALL): Define.
32204         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32205         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32206         Likewise.
32207         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32208         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32209         Likewise.
32210         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32211         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32212         Likewise.
32213         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32214         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32215         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32216         [__ASSUME_SENDMMSG]: Change conditionals to
32217         [__ASSUME_SENDMMSG_SOCKETCALL].
32218         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32219         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32220         Define.
32221         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32222         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32223         Likewise.
32224         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32225         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32226         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32227         [!__ASSUME_SENDMMSG]: Change conditional to
32228         [!__ASSUME_SENDMMSG_SOCKETCALL].
32229         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32230         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32231         Define.
32233         [BZ #16610]
32234         * sysdeps/unix/sysv/linux/kernel-features.h
32235         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32236         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32237         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32238         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32239         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32240         [__i386__ || __sparc__]
32241         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32242         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32243         (__ASSUME_RECVMMSG): Define instead of using previous
32244         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32245         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32246         (__ASSUME_RECVMMSG_SYSCALL): Define.
32247         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32248         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32249         Likewise.
32250         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32251         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32252         Likewise.
32253         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32254         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32255         Likewise.
32256         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32257         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32258         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32259         [__ASSUME_RECVMMSG]: Change condition to
32260         [__ASSUME_RECVMMSG_SOCKETCALL].
32261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32262         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32263         Define.
32264         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32265         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32266         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32267         Likewise.
32268         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32269         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32270         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32271         [!__ASSUME_RECVMMSG]: Change condition to
32272         [!__ASSUME_RECVMMSG_SOCKETCALL].
32273         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32274         (__ASSUME_RECVMMSG_SYSCALL): Define.
32276         [BZ #16609]
32277         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32278         __powerpc__ || __s390__ || __sh__ || __sparc__]
32279         (__ASSUME_SOCKETCALL): Define.
32280         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32281         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32282         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32283         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32284         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32285         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32286         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32287         (__ASSUME_ACCEPT4): Define instead of using previous
32288         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32289         __powerpc__ || __sparc__ || __s390__)] condition.
32290         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32291         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32292         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32293         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32294         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32295         [!__ASSUME_ACCEPT4]: Change condition to
32296         [!__ASSUME_ACCEPT4_SOCKETCALL].
32297         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32298         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32299         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32300         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32301         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32302         __ASSUME_ACCEPT4_SYSCALL.
32303         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32304         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32305         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32306         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32307         __ASSUME_ACCEPT4_SYSCALL.
32308         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32309         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32310         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32311         [__ASSUME_ACCEPT4]: Change condition to
32312         [__ASSUME_ACCEPT4_SOCKETCALL].
32313         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32314         (__ASSUME_SOCKETCALL): Define.
32315         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32317         (__ASSUME_SOCKETCALL): Define.
32318         (__ASSUME_ACCEPT4): Remove.
32319         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32320         Define.
32321         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32322         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32323         Likewise.
32324         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32325         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32327         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32328         macro.
32329         (HWCAP_ARM_LPAE): Likewise.
32330         (HWCAP_ARM_EVTSTRM): Likewise.
32331         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32332         Add vpfd32, lpae and evtstrm.
32333         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32334         Increase to 22.
32336 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32338         * math/auto-libm-test-in: Add tests of clog10.
32339         * math/auto-libm-test-out: Regenerated.
32340         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32341         * sysdeps/i386/fpu/libm-test-ulps: Update.
32342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32344 2014-02-18  Andreas Schwab  <schwab@suse.de>
32346         [BZ #16574]
32347         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32348         Store non-zero if the second buffer was newly allocated.
32349         (send_dg): Likewise.
32350         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32351         to send_vc and send_dg.
32352         (res_nsend): Pass NULL for ansp2_malloced.
32353         * resolv/res_query.c (__libc_res_nquery): Add parameter
32354         answerp2_malloced and pass it down to __libc_res_nsend.
32355         (res_nquery): Pass additional NULL to __libc_res_nquery.
32356         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32357         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32358         second answer buffer if answerp2_malloced was set.
32359         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32360         (__libc_res_nquerydomain): Add parameter
32361         answerp2_malloced and pass it down to __libc_res_nquery.
32362         (res_nquerydomain): Pass additional NULL to
32363         __libc_res_nquerydomain.
32364         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32365         additional NULL to __libc_res_nsend and __libc_res_nquery.
32366         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32367         additional NULL to __libc_res_nsearch.
32368         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32369         parameter of __libc_res_nsearch to check for separately allocated
32370         second buffer.
32371         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32372         __libc_res_nquery.
32373         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32374         additional NULL to __libc_res_nquery.
32375         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32376         __libc_res_nsearch.
32377         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32378         * include/resolv.h: Update prototypes of __libc_res_nquery,
32379         __libc_res_nsearch, __libc_res_nsend.
32381 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32383         * math/auto-libm-test-in: Add tests of fma.
32384         * math/auto-libm-test-out: Regenerated.
32385         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32386         (fma_towardzero_test_data): Likewise.
32387         (fma_downward_test_data): Likewise.
32388         (fma_upward_test_data): Likewise.
32389         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32390         mpc_mode.
32391         (rounding_modes): Add values for new field.
32392         (func_calc_method): Add value mpfr_fff_f.
32393         (func_calc_desc): Add mpfr_fff_f union field.
32394         (test_function): Add field exact_args.
32395         (FUNC): Add macro argument EXACT_ARGS.
32396         (FUNC_mpfr_f_f): Update call to FUNC.
32397         (FUNC_mpfr_f_f): Likewise.
32398         (FUNC_mpfr_ff_f): Likewise.
32399         (FUNC_mpfr_if_f): Likewise.
32400         (FUNC_mpc_c_f): Likewise.
32401         (FUNC_mpc_c_c): Likewise.
32402         (test_functions): Add fma.  Update calls to FUNC.
32403         (handle_input_arg): Add argument exact_args.
32404         (add_test): Update call to handle_input_arg.
32405         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32406         (output_for_one_input_case): Update call to calc_generic_results.
32407         Recalculate exact zero results in each rounding mode.
32409         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32410         non-negative before setting low bit.
32411         * math/auto-libm-test-in: Mark one asin test possibly having
32412         spurious underflow.
32413         * math/auto-libm-test-out: Regenerated.
32414         * sysdeps/i386/fpu/libm-test-ulps: Update.
32415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32417 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32419         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32420         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32421         ports/sysdeps/unix/sysv/linux/microblaze.
32422         * README: Add missing listing for microblaze*-*-linux-gnu.
32424 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32426         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32427         duplicate code
32429 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32431         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32432         * sysdeps/unix/sysv/linux/ia64: Move directory from
32433         ports/sysdeps/unix/sysv/linux/ia64.
32434         * README: Update listing for ia64-*-linux-gnu.
32436 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32437             Joseph Myers  <joseph@codesourcery.com>
32439         * Makeconfig (test-name): New variable.
32440         (evaluate-test): Likewise.
32441         * Makerules (do-test-clean): Remove .test-result files.
32442         (common-mostlyclean): Likewise.
32443         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32444         * scripts/evaluate-test.sh: New file.
32446 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32448         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32449         separate $(objpfx)tst-fopenloc-cmp.out and
32450         $(objpfx)tst-fopenloc-mem.out targets.
32451         (tests): Update dependencies.
32452         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32453         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32454         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32455         (tst-rxspencer-no-utf8-ARGS): New variable.
32456         (tst-rxspencer-no-utf8-ENV): Likewise.
32457         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32458         instead of $(objpfx)tst-rxspencer-mem.
32459         ($(objpfx)tst-rxspencer-mem): Change target to
32460         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32461         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32462         * posix/tst-rxspencer-no-utf8.c: New file.
32464         * elf/Makefile ($(objpfx)order.out): Remove rule.
32465         [$(run-built-tests) = yes] (tests): Depend on
32466         $(objpfx)order-cmp.out.
32467         ($(objpfx)order-cmp.out): New rule.
32468         [$(run-built-tests) = yes] (tests): Depend on
32469         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32470         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32471         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32472         $(objpfx)tst-array5-static-cmp.out.
32473         ($(objpfx)tst-array1.out): Remove rule.
32474         ($(objpfx)tst-array1-cmp.out): New rule.
32475         ($(objpfx)tst-array1-static.out): Remove rule.
32476         ($(objpfx)tst-array1-static-cmp.out): New rule.
32477         ($(objpfx)tst-array2.out): Remove rule.
32478         ($(objpfx)tst-array2-cmp.out): New rule.
32479         ($(objpfx)tst-array3.out): Remove rule.
32480         ($(objpfx)tst-array3-cmp.out): New rule.
32481         ($(objpfx)tst-array4.out): Remove rule.
32482         ($(objpfx)tst-array4-cmp.out): New rule.
32483         ($(objpfx)tst-array5.out): Remove rule.
32484         ($(objpfx)tst-array5-cmp.out): New rule.
32485         ($(objpfx)tst-array5-static.out): Remove rule.
32486         ($(objpfx)tst-array5-static-cmp.out): New rule.
32487         [$(run-built-tests) = yes] (tests): Depend on
32488         $(objpfx)order2-cmp.out.
32489         ($(objpfx)order2.out): Remove rule.
32490         ($(objpfx)order2-cmp.out): New rule.
32491         ($(objpfx)tst-initorder.out): Remove rule.
32492         [$(run-built-tests) = yes] (tests): Depend on
32493         $(objpfx)tst-initorder-cmp.out.
32494         ($(objpfx)tst-initorder-cmp.out): New rule.
32495         ($(objpfx)tst-initorder2.out): Remove rule.
32496         [$(run-built-tests) = yes] (tests): Depend on
32497         $(objpfx)tst-initorder2-cmp.out.
32498         ($(objpfx)tst-initorder2-cmp.out): New rule.
32499         [$(run-built-tests) = yes] (tests): Depend on
32500         $(objpfx)tst-unused-dep-cmp.out.
32501         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32502         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32503         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32504         on $(objpfx)tst-setvbuf1-cmp.out.
32505         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32506         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32507         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32508         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32509         ($(objpfx)tst-svc.out): Remove rule.
32510         ($(objpfx)tst-svc-cmp.out): New rule.
32512 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32514         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32515         * ctype/ctype.h [__USE_MISC]: Likewise.
32516         * dirent/dirent.h [__USE_MISC]: Likewise.
32517         * grp/grp.h [__USE_MISC]: Likewise.
32518         * io/fcntl.h [__USE_MISC]: Likewise.
32519         * io/sys/stat.h [__USE_MISC]: Likewise.
32520         * libio/stdio.h [__USE_MISC]: Likewise.
32521         * posix/unistd.h [__USE_MISC]: Likewise.
32522         * pwd/pwd.h [__USE_MISC]: Likewise.
32523         * stdlib.h [__USE_MISC]: Likewise.
32524         * string/bits/string2.h [__USE_MISC]: Likewise.
32525         * string/string.h [__USE_MISC]: Likewise.
32526         * time/time.h [__USE_MISC]: Likewise.
32528 2014-02-13  Andreas Schwab  <schwab@suse.de>
32530         [BZ #16574]
32531         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32532         second answer buffer if it was separately allocated.
32534 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32536         * sysdeps/mips/math-tests.h: Include <features.h>.
32537         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32538         (ROUNDING_TESTS_long_double): Do not define.
32539         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32540         (EXCEPTION_TESTS_long_double): Likewise.
32541         * sysdeps/mips/mips64/libm-test-ulps: Update.
32543         * include/features.h (__USE_BSD): Remove macro definitions.
32544         (__USE_SVID): Likewise.
32545         (_BSD_SOURCE): Likewise.
32546         (_SVID_SOURCE): Likewise.
32547         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32548         from definition of _DEFAULT_SOURCE.
32549         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32550         [_DEFAULT_SOURCE].
32551         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32552         * bits/mman.h [__USE_BSD]: Likewise.
32553         * bits/termios.h [__USE_BSD]: Likewise.
32554         * bits/waitstatus.h [__USE_BSD]: Likewise.
32555         * ctype/ctype.h [__USE_SVID]: Likewise.
32556         * dirent/dirent.h [__USE_BSD]: Likewise.
32557         * grp/grp.h [__USE_SVID]: Likewise.
32558         [__USE_BSD]: Likewise.
32559         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32560         * io/fcntl.h [__USE_BSD]: Likewise.
32561         * io/ftw.h [__USE_BSD]: Likewise.
32562         * io/sys/stat.h [__USE_BSD]: Likewise.
32563         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32564         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32565         * libio/stdio.h [__USE_SVID]: Likewise.
32566         [__USE_BSD]: Likewise.
32567         * math/math.h [__USE_SVID]: Likewise.
32568         [__USE_BSD]: Likewise.
32569         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32570         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32571         * misc/search.h [__USE_SVID]: Likewise.
32572         * misc/sys/mman.h [__USE_BSD]: Likewise.
32573         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32574         * misc/sys/uio.h [__USE_BSD]: Likewise.
32575         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32576         * posix/glob.h [__USE_BSD]: Likewise.
32577         * posix/regex.h [__USE_BSD]: Likewise.
32578         * posix/sys/types.h [__USE_BSD]: Likewise.
32579         [__USE_SVID]: Likewise.
32580         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32581         * posix/sys/wait.h [__USE_BSD]: Likewise.
32582         [__USE_SVID]: Likewise.
32583         * posix/unistd.h [__USE_BSD]: Likewise.
32584         [__USE_SVID]: Likewise.
32585         * pwd/pwd.h [__USE_SVID]: Likewise.
32586         * resolv/netdb.h [__USE_BSD]: Likewise.
32587         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32588         * signal/signal.h [__USE_BSD]: Likewise.
32589         [__USE_SVID]: Likewise.
32590         * socket/sys/socket.h [__USE_BSD]: Likewise.
32591         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32592         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32593         [__USE_SVID]: Likewise.
32594         * string/bits/string2.h [__USE_BSD]: Likewise.
32595         [__USE_SVID]: Likewise.
32596         * string/bits/string3.h [__USE_BSD]: Likewise.
32597         * string/endian.h [__USE_BSD]: Likewise.
32598         * string/string.h [__USE_SVID]: Likewise.
32599         [__USE_BSD]: Likewise.
32600         * string/strings.h [__USE_BSD]: Likewise.
32601         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32602         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32603         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32604         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32605         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32606         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32607         Likewise.
32608         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32609         Likewise.
32610         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32611         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32612         Likewise.
32613         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32614         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32615         Likewise.
32616         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32617         Likewise.
32618         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32619         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32620         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32621         Likewise.
32622         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32623         Likewise.
32624         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32625         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32626         * termios/termios.h [__USE_BSD]: Likewise.
32627         * time/sys/time.h [__USE_BSD]: Likewise.
32628         * time/time.h [__USE_BSD]: Likewise.
32629         [__USE_SVID]: Likewise.
32631         * Makefile (subdir_targets): Remove subdir_lint.out.
32633         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32634         (do-tst-printf): Likewise.
32635         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32636         $(objpfx)tst-printf.out.
32638         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32640         * Makerules (check-abi-%): Change target to
32641         $(objpfx)check-abi-%.out.
32642         (check-abi target): Update dependencies.
32643         (check-abi-pattern variable): Redirect output of diff to $@.
32644         (check-abi variable): Likewise.
32645         * elf/Makefile (check-abi): Update dependencies.
32647         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32648         unused.
32649         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32650         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32651         subnormal range.
32652         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32653         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32654         value has largest subnormal exponent.
32655         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32656         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32657         * sysdeps/aarch64/soft-fp/sfp-machine.h
32658         (_FP_TININESS_AFTER_ROUNDING): New macro.
32659         * sysdeps/alpha/soft-fp/sfp-machine.h
32660         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32661         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32662         Likewise.
32663         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32664         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32665         * sysdeps/mips/soft-fp/sfp-machine.h
32666         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32667         * sysdeps/powerpc/soft-fp/sfp-machine.h
32668         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32669         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32670         Likewise.
32671         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32672         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32673         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32674         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32675         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32676         Likewise.
32678 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32680         [BZ #16545]
32681         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32682         model 1.
32684 2014-02-12  Richard Henderson  <rth@redhat.com>
32686         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32687         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32688         * sysdeps/unix/sysv/linux/alpha: Move directory from
32689         ports/sysdeps/unix/sysv/linux/alpha.
32690         * README: Update listing for alpha-*-linux-gnu.
32692 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32694         * include/features.h: Update comment documenting feature test
32695         macros.
32696         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32697         _DEFAULT_SOURCE.
32698         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32699         (_SVID_SOURCE): Likewise.
32700         (_DEFAULT_SOURCE): Update description of default features.
32701         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32702         with _GNU_SOURCE.
32703         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32704         (S_ISVTX): Likewise.
32705         * manual/math.texi (Mathematical Constants): Likewise.
32706         * manual/signal.texi (Interrupted Primitives): Likewise.
32707         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32708         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32709         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32710         Don't refer to _SVID_SOURCE in warning text.
32712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32714         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32715         already defined.
32716         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32717         * sysdeps/mips/dl-lookup.c: Remove.
32718         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32720 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32722         [BZ #16447]
32723         * math/auto-libm-test-in: Add testcase for expl.
32724         * math/auto-libm-test-out: Regenerate.
32725         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32726         calculation of unsafe.
32727         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32729 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32731         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32732         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32733         ports/sysdeps/unix/sysv/linux/aarch64.
32734         * README: Update listing for aarch64*-*-linux-gnu.
32736 2014-02-11  Will Newton  <will.newton@linaro.org>
32738         * manual/probes.texi (Mathematical Function Probes): Use
32739         "triggered" instead of "hit".
32741         * manual/probes.texi (Internal Probes): Add documentation
32742         of setjmp, longjmp and longjmp_target probes.
32744         * include/stap-probe.h: Add comment about probe argument
32745         format.
32747         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32748         definition.  (tr_where, tr_freehook, tr_mallochook,
32749         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32751 2014-02-11  David S. Miller  <davem@davemloft.net>
32753         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32754         processing int_tests.
32756 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32758         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32759         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32760         * sysdeps/unix/sysv/linux/mips: Move directory from
32761         ports/sysdeps/unix/sysv/linux/mips.
32762         * README: Update listing for mips-*-linux-gnu and
32763         mips64-*-linux-gnu.
32765 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32767         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32768         * sysdeps/unix/sysv/linux/m68k: Move directory from
32769         ports/sysdeps/unix/sysv/linux/m68k.
32770         * README: Update listing for m68k-*-linux-gnu.
32772 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32774         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32775         * sysdeps/unix/sysv/linux/generic: Move directory from
32776         ports/sysdeps/unix/sysv/linux/generic.
32777         * sysdeps/unix/sysv/linux/tile: Move directory from
32778         ports/sysdeps/unix/sysv/linux/tile.
32779         * README: Update listing for tile*-*-linux-gnu.
32781 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32783         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32784         __builtin_expect.
32785         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32786         * catgets/open_catalog.c (__open_catalog): Likewise.
32787         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32788         * debug/confstr_chk.c: Likewise.
32789         * debug/fread_chk.c (__fread_chk): Likewise.
32790         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32791         * debug/getgroups_chk.c: Likewise.
32792         * debug/mbsnrtowcs_chk.c: Likewise.
32793         * debug/mbsrtowcs_chk.c: Likewise.
32794         * debug/mbstowcs_chk.c: Likewise.
32795         * debug/memcpy_chk.c: Likewise.
32796         * debug/memmove_chk.c: Likewise.
32797         * debug/mempcpy_chk.c: Likewise.
32798         * debug/memset_chk.c: Likewise.
32799         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32800         * debug/strcat_chk.c (__strcat_chk): Likewise.
32801         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32802         * debug/strncat_chk.c (__strncat_chk): Likewise.
32803         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32804         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32805         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32806         * debug/wcpncpy_chk.c: Likewise.
32807         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32808         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32809         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32810         * debug/wcsncpy_chk.c: Likewise.
32811         * debug/wcsnrtombs_chk.c: Likewise.
32812         * debug/wcsrtombs_chk.c: Likewise.
32813         * debug/wcstombs_chk.c: Likewise.
32814         * debug/wmemcpy_chk.c: Likewise.
32815         * debug/wmemmove_chk.c: Likewise.
32816         * debug/wmempcpy_chk.c: Likewise.
32817         * debug/wmemset_chk.c: Likewise.
32818         * dirent/scandirat.c (SCANDIRAT): Likewise.
32819         * dlfcn/dladdr1.c (dladdr1): Likewise.
32820         * dlfcn/dladdr.c (dladdr): Likewise.
32821         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32822         * dlfcn/dlerror.c (__dlerror): Likewise.
32823         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32824         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32825         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32826         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32827         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32828         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32829         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32830         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32831         Likewise.
32832         * elf/dl-conflict.c: Likewise.
32833         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32834         * elf/dl-dst.h: Likewise.
32835         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32836         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32837         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32838         * elf/dl-init.c (call_init, _dl_init): Likewise.
32839         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32840         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32841         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32842         Likewise.
32843         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32844         Likewise.
32845         * elf/dl-minimal.c (__libc_memalign): Likewise.
32846         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32847         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32848         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32849         * elf/dl-sym.c (do_sym): Likewise.
32850         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32851         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32852         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32853         * elf/dl-writev.h (_dl_writev): Likewise.
32854         * elf/ldconfig.c (search_dir): Likewise.
32855         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32856         (dl_main): Likewise.
32857         * elf/setup-vdso.h (setup_vdso): Likewise.
32858         * grp/compat-initgroups.c (compat_call): Likewise.
32859         * grp/fgetgrent.c (fgetgrent): Likewise.
32860         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32861         * grp/putgrent.c (putgrent): Likewise.
32862         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32863         Likewise.
32864         * hurd/hurdinit.c: Likewise.
32865         * iconvdata/8bit-gap.c (struct): Likewise.
32866         * iconvdata/ansi_x3.110.c : Likewise.
32867         * iconvdata/big5.c : Likewise.
32868         * iconvdata/big5hkscs.c : Likewise.
32869         * iconvdata/cp1255.c: Likewise.
32870         * iconvdata/cp1258.c : Likewise.
32871         * iconvdata/cp932.c : Likewise.
32872         * iconvdata/euc-cn.c: Likewise.
32873         * iconvdata/euc-jisx0213.c : Likewise.
32874         * iconvdata/euc-jp.c: Likewise.
32875         * iconvdata/euc-jp-ms.c : Likewise.
32876         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32877         * iconvdata/gb18030.c : Likewise.
32878         * iconvdata/gbbig5.c (const): Likewise.
32879         * iconvdata/gbgbk.c: Likewise.
32880         * iconvdata/gbk.c : Likewise.
32881         * iconvdata/ibm1364.c : Likewise.
32882         * iconvdata/ibm930.c : Likewise.
32883         * iconvdata/ibm932.c: Likewise.
32884         * iconvdata/ibm933.c : Likewise.
32885         * iconvdata/ibm935.c : Likewise.
32886         * iconvdata/ibm937.c : Likewise.
32887         * iconvdata/ibm939.c : Likewise.
32888         * iconvdata/ibm943.c: Likewise.
32889         * iconvdata/iso_11548-1.c: Likewise.
32890         * iconvdata/iso-2022-cn.c : Likewise.
32891         * iconvdata/iso-2022-cn-ext.c : Likewise.
32892         * iconvdata/iso-2022-jp-3.c: Likewise.
32893         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32894         * iconvdata/iso-2022-kr.c : Likewise.
32895         * iconvdata/iso646.c (gconv_end): Likewise.
32896         * iconvdata/iso_6937-2.c : Likewise.
32897         * iconvdata/iso_6937.c : Likewise.
32898         * iconvdata/iso8859-1.c: Likewise.
32899         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32900         * iconvdata/shift_jisx0213.c : Likewise.
32901         * iconvdata/sjis.c : Likewise.
32902         * iconvdata/t.61.c : Likewise.
32903         * iconvdata/tcvn5712-1.c : Likewise.
32904         * iconvdata/tscii.c: Likewise.
32905         * iconvdata/uhc.c : Likewise.
32906         * iconvdata/unicode.c (gconv_end): Likewise.
32907         * iconvdata/utf-16.c (gconv_end): Likewise.
32908         * iconvdata/utf-32.c (gconv_end): Likewise.
32909         * iconvdata/utf-7.c (base64): Likewise.
32910         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32911         * iconv/gconv_close.c (__gconv_close): Likewise.
32912         * iconv/gconv_open.c (__gconv_open): Likewise.
32913         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32914         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32915         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32916         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32917         (ucs4le_internal_loop_single): Likewise.
32918         * iconv/iconv.c (iconv): Likewise.
32919         * iconv/iconv_close.c: Likewise.
32920         * iconv/loop.c (SINGLE): Likewise.
32921         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32922         * include/atomic.h: Likewise.
32923         * inet/inet6_option.c (option_alloc): Likewise.
32924         * intl/bindtextdom.c (set_binding_values): Likewise.
32925         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32926         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32927         * intl/localealias.c (read_alias_file): Likewise.
32928         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32929         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32930         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32931         * libio/fmemopen.c (fmemopen): Likewise.
32932         * libio/iofgets.c (_IO_fgets): Likewise.
32933         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32934         * libio/iofgetws.c (fgetws): Likewise.
32935         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32936         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32937         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32938         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32939         * locale/findlocale.c (_nl_find_locale): Likewise.
32940         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32941         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32942         Likewise.
32943         * locale/setlocale.c (setlocale): Likewise.
32944         * login/programs/pt_chown.c (main): Likewise.
32945         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32946         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32947         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32948         (mmap, mmap64, mremap, munmap): Likewise.
32949         * math/e_exp2l.c: Likewise.
32950         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32951         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32952         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32953         * math/s_catan.c (__catan): Likewise.
32954         * math/s_catanf.c (__catanf): Likewise.
32955         * math/s_catanh.c (__catanh): Likewise.
32956         * math/s_catanhf.c (__catanhf): Likewise.
32957         * math/s_catanhl.c (__catanhl): Likewise.
32958         * math/s_catanl.c (__catanl): Likewise.
32959         * math/s_ccosh.c (__ccosh): Likewise.
32960         * math/s_ccoshf.c (__ccoshf): Likewise.
32961         * math/s_ccoshl.c (__ccoshl): Likewise.
32962         * math/s_cexp.c (__cexp): Likewise.
32963         * math/s_cexpf.c (__cexpf): Likewise.
32964         * math/s_cexpl.c (__cexpl): Likewise.
32965         * math/s_clog10.c (__clog10): Likewise.
32966         * math/s_clog10f.c (__clog10f): Likewise.
32967         * math/s_clog10l.c (__clog10l): Likewise.
32968         * math/s_clog.c (__clog): Likewise.
32969         * math/s_clogf.c (__clogf): Likewise.
32970         * math/s_clogl.c (__clogl): Likewise.
32971         * math/s_csin.c (__csin): Likewise.
32972         * math/s_csinf.c (__csinf): Likewise.
32973         * math/s_csinh.c (__csinh): Likewise.
32974         * math/s_csinhf.c (__csinhf): Likewise.
32975         * math/s_csinhl.c (__csinhl): Likewise.
32976         * math/s_csinl.c (__csinl): Likewise.
32977         * math/s_csqrt.c (__csqrt): Likewise.
32978         * math/s_csqrtf.c (__csqrtf): Likewise.
32979         * math/s_csqrtl.c (__csqrtl): Likewise.
32980         * math/s_ctan.c (__ctan): Likewise.
32981         * math/s_ctanf.c (__ctanf): Likewise.
32982         * math/s_ctanh.c (__ctanh): Likewise.
32983         * math/s_ctanhf.c (__ctanhf): Likewise.
32984         * math/s_ctanhl.c (__ctanhl): Likewise.
32985         * math/s_ctanl.c (__ctanl): Likewise.
32986         * math/w_pow.c: Likewise.
32987         * math/w_powf.c: Likewise.
32988         * math/w_powl.c: Likewise.
32989         * math/w_scalb.c (sysv_scalb): Likewise.
32990         * math/w_scalbf.c (sysv_scalbf): Likewise.
32991         * math/w_scalbl.c (sysv_scalbl): Likewise.
32992         * misc/error.c (error_tail): Likewise.
32993         * misc/pselect.c (__pselect): Likewise.
32994         * nis/nis_callback.c (__nis_create_callback): Likewise.
32995         * nis/nis_call.c (__nisfind_server): Likewise.
32996         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32997         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32998         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32999         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33000         * nis/nis_lookup.c (nis_lookup): Likewise.
33001         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33002         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33003         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33004         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33005         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33006         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33007         * nis/nss_compat/compat-initgroups.c (add_group)
33008         (internal_getgrent_r): Likewise.
33009         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33010         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33011         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33012         (internal_getspnam_r): Likewise.
33013         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33014         (_nss_nis_getaliasbyname_r): Likewise.
33015         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33016         (_nss_nis_getntohost_r): Likewise.
33017         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33018         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33019         (_nss_nis_getgrgid_r): Likewise.
33020         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33021         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33022         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33023         (_nss_nis_gethostbyname4_r): Likewise.
33024         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33025         (initgroups_netid): Likewise.
33026         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33027         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33028         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33029         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33030         (_nss_nis_getprotobynumber_r): Likewise.
33031         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33032         (_nss_nis_getsecretkey): Likewise.
33033         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33034         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33035         (_nss_nis_getpwuid_r): Likewise.
33036         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33037         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33038         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33039         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33040         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33041         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33042         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33043         Likewise.
33044         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33045         (_nss_nisplus_getntohost_r): Likewise.
33046         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33047         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33048         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33049         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33050         Likewise.
33051         * nis/nss_nisplus/nisplus-initgroups.c
33052         (_nss_nisplus_initgroups_dyn): Likewise.
33053         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33054         (_nss_nisplus_getnetbyaddr_r): Likewise.
33055         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33056         (_nss_nisplus_getprotobynumber_r): Likewise.
33057         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33058         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33059         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33060         Likewise.
33061         * nis/nss_nisplus/nisplus-service.c
33062         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33063         (_nss_nisplus_getservbyport_r): Likewise.
33064         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33065         (_nss_nisplus_getspnam_r): Likewise.
33066         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33067         Likewise.
33068         * nscd/aicache.c (addhstaiX): Likewise.
33069         * nscd/cache.c (cache_search, prune_cache): Likewise.
33070         * nscd/connections.c (register_traced_file, send_ro_fd)
33071         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33072         (main_loop_epoll): Likewise.
33073         * nscd/grpcache.c (addgrbyX): Likewise.
33074         * nscd/hstcache.c (addhstbyX): Likewise.
33075         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33076         * nscd/mem.c (gc, mempool_alloc): Likewise.
33077         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33078         (addinnetgrX): Likewise.
33079         * nscd/nscd-client.h (__nscd_acquire_maplock)
33080         (__nscd_drop_map_ref): Likewise.
33081         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33082         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33083         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33084         Likewise.
33085         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33086         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33087         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33088         (__nscd_get_map_ref): Likewise.
33089         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33090         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33091         Likewise.
33092         * nscd/pwdcache.c (addpwbyX): Likewise.
33093         * nscd/selinux.c (preserve_capabilities): Likewise.
33094         * nscd/servicescache.c (addservbyX): Likewise.
33095         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33096         * posix/fnmatch.c (fnmatch): Likewise.
33097         * posix/getopt.c (_getopt_internal_r): Likewise.
33098         * posix/glob.c (glob, glob_in_dir): Likewise.
33099         * posix/wordexp.c (exec_comm_child): Likewise.
33100         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33101         (getanswer_r, gaih_getanswer_slice): Likewise.
33102         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33103         * resolv/res_init.c: Likewise.
33104         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33105         * resolv/res_query.c (__libc_res_nquery): Likewise.
33106         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33107         Likewise.
33108         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33109         * stdio-common/perror.c (perror): Likewise.
33110         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33111         * stdio-common/tmpnam.c (tmpnam): Likewise.
33112         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33113         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33114         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33115         Likewise.
33116         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33117         * stdlib/putenv.c (putenv): Likewise.
33118         * stdlib/setenv.c (__add_to_environ): Likewise.
33119         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33120         * stdlib/strtol_l.c (INTERNAL): Likewise.
33121         * string/memmem.c (memmem): Likewise.
33122         * string/strerror.c (strerror): Likewise.
33123         * string/strnlen.c (__strnlen): Likewise.
33124         * string/test-memmem.c (simple_memmem): Likewise.
33125         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33126         * sunrpc/pm_getport.c (__get_socket): Likewise.
33127         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33128         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33129         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33130         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33131         Likewise.
33132         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33133         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33134         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33135         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33136         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33137         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33138         Likewise.
33139         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33140         Likewise.
33141         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33142         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33143         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33144         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33145         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33147         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33148         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33149         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33150         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33151         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33152         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33153         Likewise.
33154         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33155         Likewise.
33156         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33157         Likewise.
33158         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33160         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33161         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33162         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33163         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33164         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33165         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33166         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33167         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33168         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33169         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33170         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33171         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33172         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33173         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33174         Likewise.
33175         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33176         Likewise.
33177         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33178         Likewise.
33179         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33180         Likewise.
33181         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33182         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33183         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33184         Likewise.
33185         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33186         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33187         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33188         * sysdeps/posix/sleep.c: Likewise.
33189         * sysdeps/posix/tempname.c: Likewise.
33190         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33191         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33192         Likewise.
33193         * sysdeps/powerpc/powerpc32/dl-machine.h
33194         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33195         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33196         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33197         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33198         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33199         Likewise.
33200         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33201         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33202         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33203         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33204         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33205         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33206         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33207         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33208         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33209         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33210         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33211         (elf_machine_lazy_rel): Likewise.
33212         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33213         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33214         (elf_machine_lazy_rel): Likewise.
33215         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33216         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33217         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33218         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33219         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33220         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33221         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33222         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33223         Likewise.
33224         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33225         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33226         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33227         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33228         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33229         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33230         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33231         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33232         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33233         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33234         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33235         Likewise.
33236         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33237         (__posix_fallocate64_l64): Likewise.
33238         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33239         (posix_fallocate): Likewise.
33240         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33241         Likewise.
33242         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33243         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33244         (getifaddrs_internal): Likewise.
33245         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33246         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33247         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33248         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33249         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33250         (__posix_fallocate64_l64): Likewise.
33251         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33252         Likewise.
33253         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33254         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33255         (__get_clockfreq): Likewise.
33256         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33257         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33258         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33261         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33262         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33263         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33264         Likewise.
33265         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33266         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33267         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33268         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33269         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33270         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33271         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33272         Likewise.
33273         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33274         (posix_fallocate): Likewise.
33275         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33276         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33277         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33278         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33279         (elf_machine_rela, elf_machine_rela_relative)
33280         (elf_machine_lazy_rel): Likewise.
33281         * time/asctime.c (asctime_internal): Likewise.
33282         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33283         * time/tzset.c (__tzset_parse_tz): Likewise.
33284         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33285         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33286         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33287         * wcsmbs/wcsmbsload.h: Likewise.
33289         [BZ #15894]
33290         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33292         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33293         (arena_get2): Remove THREAD_STATS conditionals.
33294         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33295         (__malloc_stats, int): Likewise.
33297 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33299         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33300         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33302         * manual/setjmp.texi: Fix typos/grammar errors.
33304         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33305         Only return early when n is <= 0.  Delete unused return statement.
33307         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33308         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33309         * debug/tst-longjmp_chk3.c: New file.
33311         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33312         (test_main): Replace code with set_fortify_handler call.
33313         * debug/test-strcpy_chk.c: Likewise.
33314         * debug/tst-chk1.c: Likewise.
33315         * debug/tst-longjmp_chk.c: Likewise.
33316         * test-skeleton.c: Include fcntl.h & paths.h
33317         (set_fortify_handler): Define.
33319         * debug/tst-longjmp_chk.c: Add header comment and include
33320         ../test-skeleton.c.
33321         (do_test): Mark static.
33322         (TEST_FUNCTION): Define.
33324         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33325         (IP_PMTUDISC_INTERFACE): Likewise.
33326         (IP_MULTICAST_IF): Likewise.
33327         (IP_MULTICAST_TTL): Likewise.
33328         (IP_MULTICAST_LOOP): Likewise.
33329         (IP_ADD_MEMBERSHIP): Likewise.
33330         (IP_DROP_MEMBERSHIP): Likewise.
33331         (IP_UNBLOCK_SOURCE): Likewise.
33332         (IP_BLOCK_SOURCE): Likewise.
33333         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33334         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33335         (IP_MSFILTER): Likewise.
33336         (MCAST_JOIN_GROUP): Likewise.
33337         (MCAST_BLOCK_SOURCE): Likewise.
33338         (MCAST_UNBLOCK_SOURCE): Likewise.
33339         (MCAST_LEAVE_GROUP): Likewise.
33340         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33341         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33342         (MCAST_MSFILTER): Likewise.
33343         (IP_MULTICAST_ALL): Likewise.
33344         (IP_UNICAST_IF): Likewise.
33346         * timezone/Makefile: Delete $(have-ksh) check.
33347         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33348         * timezone/tzselect.ksh: Add +x mode bits.
33350         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33351         (ANON_INODE_FS_MAGIC): Likewise.
33352         (BDEVFS_MAGIC): Likewise.
33353         (BINFMTFS_MAGIC): Likewise.
33354         (BTRFS_TEST_MAGIC): Likewise.
33355         (CRAMFS_MAGIC_WEND): Likewise.
33356         (DEBUGFS_MAGIC): Likewise.
33357         (ECRYPTFS_SUPER_MAGIC): Likewise.
33358         (EXT3_SUPER_MAGIC): Likewise.
33359         (EXT4_SUPER_MAGIC): Likewise.
33360         (FUTEXFS_SUPER_MAGIC): Likewise.
33361         (HOSTFS_SUPER_MAGIC): Likewise.
33362         (HUGETLBFS_MAGIC): Likewise.
33363         (MINIX3_SUPER_MAGIC): Likewise.
33364         (MTD_INODE_FS_MAGIC): Likewise.
33365         (NILFS_SUPER_MAGIC): Likewise.
33366         (OPENPROM_SUPER_MAGIC): Likewise.
33367         (PIPEFS_MAGIC): Likewise.
33368         (PSTOREFS_MAGIC): Likewise.
33369         (QNX6_SUPER_MAGIC): Likewise.
33370         (RAMFS_MAGIC): Likewise.
33371         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33372         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33373         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33374         (SECURITYFS_MAGIC): Likewise.
33375         (SELINUX_MAGIC): Likewise.
33376         (SMACK_MAGIC): Likewise.
33377         (SOCKFS_MAGIC): Likewise.
33378         (SQUASHFS_MAGIC): Likewise.
33379         (STACK_END_MAGIC): Likewise.
33380         (TMPFS_MAGIC): Likewise.
33381         (USBDEVICE_SUPER_MAGIC): Likewise.
33382         (V9FS_MAGIC): Likewise.
33383         (XENFS_SUPER_MAGIC): Likewise.
33384         (CRAMFS_MAGIC): Fix typo in comment.
33385         (EXT2_SUPER_MAGIC): Update comment.
33386         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33388 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33390         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33391         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33392         * sysdeps/unix/sysv/linux/arm: Move directory from
33393         ports/sysdeps/unix/sysv/linux/arm.
33394         * README: Update listing for arm-*-linux-gnueabi.
33396         * README: Remove mention of am33.
33398 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33400         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33401         than the comma operator, to avoid "rhs of comma has no effect"
33402         compiler warnings.
33403         (__sigfillset, __sigandset, __sigorset): Likewise.
33404         * include/signal.h (__sigemptyset): Likewise.
33405         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33407 2014-02-07  Allan McRae  <allan@archlinux.org>
33409         * version.h (RELEASE): Set to "development".
33410         (VERSION): Set to "2.19.90"
33411         * NEWS: Add 2.20 section.
33413 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33415         [BZ #16529]
33416         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33418 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33420         * manual/contrib.texi: Update entry for Carlos O'Donell,
33421         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33423 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33425         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33427         * sysdeps/unix/sysv/linux/kernel-features.h
33428         [__LINUX_KERNEL_VERSION >= 0x020621]
33429         (__ASSUME_PROC_PID_TASK_COMM): Define.
33431 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33433         [BZ #16398]
33434         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33435         conversion when destination buffer does not have enough space.
33436         * libio/tst-ftell-partial-wide.c: New test case.
33437         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33439         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33440         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33441         Leonard and Allan McRae.
33443 2014-02-04  David S. Miller  <davem@davemloft.net>
33445         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33446         32-bit.
33448 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33451         New file
33452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33453         New file
33454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33455         New file.
33456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33457         New file.
33458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33459         New file.
33460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33461         New file.
33462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33463         New file.
33464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33465         New file.
33466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33467         New file.
33468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33469         New file.
33470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33471         New file.
33472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33473         New file.
33474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33475         New file.
33477 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33479         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33480         * shlib-versions: Likewise.
33482 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33483             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33485         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33486         (abilist-pattern): New variable, set to %-le.abilist.
33488         * Makerules (abilist-pattern): New variable.
33489         (vpath): Use $(abilist-pattern) in place of %.abilist.
33490         (check-abi-% pattern rule): Likewise.
33491         (check-abi, update-abi): Likewise.
33493 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33497 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33499         * manual/startup.texi: Add next, previous, and top entries for
33500         the `Program Arguments' and `Environment Variables' nodes.
33502 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33504         * manual/macros.texi: Add comments before MTASC-safety macros.
33506         * manual/users.texi: Document MTASC-safety properties.
33508         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33509         (pthread_getspecific, pthread_setspecific): Format with
33510         @deftypefun, and add @safety note.
33511         * manual/signal.texi: Move comments that analyze the above
33512         functions to their home place.
33514 2014-02-03  Allan McRae  <allan@archlinux.org>
33516         * po/sl.po: Update Slovenian translation from translation project.
33518 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33520         * manual/time.texi (timegm): Add missing blank after @c.
33521         Reported by Joseph Myers <joseph@codesourcery.com>.
33523 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33525         * manual/check-safety.sh: New.
33526         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33528         * manual/terminal.texi: Document MTASC-safety properties.
33530         * manual/filesys.texi: Document MTASC-safety properties.
33532         * manual/errno.texi: Document MTASC-safety properties.
33534         * manual/intro.texi: Document safety identifiers and
33535         conditionals.
33537         * manual/string.texi (wcstok): Fix prototype.
33538         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33540         * manual/time.texi: Document MTASC-safety properties.
33542         * manual/string.texi: Document MTASC-safety properties.
33544         * manual/threads.texi: Document MTASC-safety properties.
33546         * manual/stdio.texi: Document MTASC-safety properties.
33548         * manual/syslog.texi: Document MTASC-safety properties.
33550         * manual/sysinfo.texi: Document MTASC-safety properties.
33552         * manual/startup.texi: Document MTASC-safety properties.
33554         * manual/socket.texi: Document MTASC-safety properties.
33556         * manual/signal.texi: Document MTASC-safety properties.
33558 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33560         * manual/setjmp.texi: Document MTASC-safety properties.
33562         * manual/search.texi: Document MTASC-safety properties.
33564         * manual/resource.texi: Document MTASC-safety properties.
33566         * manual/process.texi: Document MTASC-safety properties.
33568         * manual/platform.texi: Document MTASC-safety properties.
33570         * manual/pipe.texi: Document MTASC-safety properties.
33572         * manual/pattern.texi: Document MTASC-safety properties.
33574         * manual/message.texi: Document MTASC-safety properties.
33576         [BZ #12751]
33577         * manual/memory.texi: Document MTASC-safety properties.
33579         * manual/math.texi: Document MTASC-safety properties.
33581         * manual/locale.texi: Document MTASC-safety properties.
33583         * manual/llio.texi: Document MTASC-safety properties.
33585         * manual/libdl.texi: New.
33587         * manual/lang.texi: Document MTASC-safety properties.
33589         * manual/job.texi: Document MTASC-safety properties.
33591         * manual/getopt.texi: Document MTASC-safety properties.
33593         * manual/ctype.texi: Document MTASC-safety properties.
33595 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33597         [BZ #16046]
33598         * csu/libc-tls.c (static_map): Remove variable.
33599         (__libc_setup_tls): Use main executable's link map for TLS data.
33600         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33601         casing for LM_ID_BASE and GL(dl_nns).
33602         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33603         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33604         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33605         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33606         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33607         member.
33608         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33609         l_phnum members.
33611 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33613         * manual/debug.texi: Document MTASC-safety properties.
33615 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33617         [BZ #16510]
33618         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33619         of __x86_64__ when disabling x87 inline functions.
33621 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33623         * manual/charset.texi: Document MTASC-safety properties.
33625         * manual/crypt.texi: Document MTASC-safety properties.
33627         * manual/conf.texi: Document MTASC-safety properties.
33629         * manual/arith.texi: Document MTASC-safety properties.
33631         * manual/argp.texi: Document MTASC-safety properties.
33633         * manual/macros.texi: Introduce macros to document multi
33634         thread, asynchronous signal and asynchronous cancellation
33635         safety properties.
33636         * manual/intro.texi: Introduce the properties themselves.
33638 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33640         * sysdeps/sh/sh4/Makefile: New file.
33642 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33644         * math/gen-libm-test.pl ($srcdir): New variable.
33645         ($auto_input): Use it.
33647 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33649         [BZ #16506]
33650         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33651         access beyond array bounds when parsing netgroups file.
33653         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33654         the old buffer before realloc.
33656 2014-01-27  Allan McRae  <allan@archlinux.org>
33658         * po/fr.po: Update French translation from translation project.
33660 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33662         * sysdeps/sh/libm-test-ulps: Regenerate.
33664 2014-01-24  David S. Miller  <davem@davemloft.net>
33666         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33668 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33670         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33671         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33673 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33675         [BZ #16474]
33676         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33677         string pointers after reallocation.
33679 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33681         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33682         __SH4A__ instead of __SH_FPU_ANY__.
33684 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33686         * sysdeps/sh/fpu_control.h: New file.
33687         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33688         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33689         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33690         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33691         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33692         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33693         * sysdeps/sh/sys/ucontext.h: Remove.
33694         * sysdeps/sh/sys: Remove directory.
33696 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33698         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33699         s390/sys/ucontext.h.
33700         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33701         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33703 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33705         [BZ #15605]
33706         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33708 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33710         [BZ#16431]
33711         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33712         Adjust the vDSO correctly for internal calls.
33713         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33715 2014-01-20  Allan McRae  <allan@archlinux.org>
33717         * po/ca.po: Update Catalan translation from translation project.
33719 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33721         * sysdeps/s390/sotruss-lib.c: New file.
33723 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33725         [BZ#16430]
33726         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33727         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33728         local calls issues by not having a PLT stub required for IFUNC calls.
33729         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33731 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33733         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33734         * math/test-fpucw-static.c: Likewise.
33736 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33738         [BZ #16453]
33739         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33741 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33743         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33744         implementation for powerpc.
33746 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33748         [BZ #14782]
33749         * sysdeps/posix/system.c (__libc_system): Do not enable
33750         asynchronous cancellation.
33752 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33754         [BZ #16427]
33755         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33756         handling only for numbers special also in the IEEE case.
33758 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33760         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33762 2014-01-11  Allan McRae  <allan@archlinux.org>
33764         * po/bg.po: Update Bulgarian translation from translation project.
33766         * po/de.po: Update German translation from translation project.
33768 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33770         * sysdeps/generic/gcc-compat.h: New file.
33772 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33774         * benchtests/asin-inputs: Correct slow inputs.
33775         * benchtests/acos-inputs: Likewise.
33777 2014-01-10  Allan McRae  <allan@archlinux.org>
33779         * po:sv.po: Update Swedish translation from translation project.
33781         * po/vi.po: Update Vietnamese translation from translation project.
33783         * po/eo.po: Update Esperanto translation from translation project.
33785         * po/cs.po: Update Czech translation from translation project.
33787         * po/nl.po: Update Dutch translation from translation project.
33789         * po/pl.po: Update Polish translation from translation project.
33791         * po/ru.po: Update Russian translation from translation project.
33793         * po/uk.po: Update Ukrainian translation from translation project.
33795 2014-01-08  Brooks Moses  <bmoses@google.com>
33797         * elf/dl-load.c: Fix comment typo.
33799 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33801         * po/header.pot: Rename to...
33802         * po/pot.header: ... this.
33803         * po/Makefile: Use pot.header.
33805 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33806             Maxim Kuvyrkov  <maxim@kugelworks.com>
33808         [BZ #16394]
33809         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33810         SRC and DEST against LEN.
33812 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33814         [BZ #16414]
33815         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33816         implementation.
33817         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33819 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33823 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33825         [BZ #16408]
33826         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33827         for large positive arguments.
33829 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33831         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33833         * math/auto-libm-test-in: Mark various tests with
33834         xfail-rounding:ldbl-128ibm.
33835         * math/auto-libm-test-out: Regenerated.
33837         [BZ #16407]
33838         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33839         Increase overflow threshold.
33841 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33843         [BZ #14286]
33844         * stdio-common/vfprintf.c: Check for integer overflow.
33846 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33848         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33849         the first argument and return value of __tls_get_addr_internal.
33851 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33853         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33854         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33856 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33858         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33859         * sysdeps/s390/rtld-global-offsets.sym: New file.
33860         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33861         GLIBC_2.19 symbol.
33862         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33863         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33864         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33865         ... this.
33866         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33867         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33868         ... this.
33869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33870         Regenerate.
33871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33872         Regenerate.
33873         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33874         halfs of GPRs for high_gprs contexts.
33875         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33876         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33877         field.
33878         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33879         uc_flags field.
33880         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33881         64 bit versions:
33882         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33883         for high GPRs (uc_high_gprs) and for future extensions
33884         (__reserved).
33885         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33886         for future extensions (__reserved).
33887         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33888         64 bit versions:
33889         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33890         SC_HIGHGPRS offset definition.
33891         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33892         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33894         * Versions.def: Add GLIBC_2.19 for libpthread.
33895         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33896         siglongjmp for libpthread with GLIBC_2.19 symver.
33897         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33898         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33899         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33900         * sysdeps/s390/__longjmp.c: New file.
33901         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33902         * sysdeps/s390/longjmp.c: New file.
33903         * sysdeps/s390/setjmp.S: New file.
33904         * sysdeps/s390/sigjmp.S: New file.
33905         * sysdeps/s390/v1-longjmp.c: New file.
33906         * sysdeps/s390/v1-setjmp.h: New file.
33907         * sysdeps/s390/v1-sigjmp.c: New file.
33908         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33909         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33910         GLIBC_2.19 version.
33911         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33912         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33913         versioned symbols for ____longjmp_chk.
33914         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33915         Likewise.
33916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33917         Regenerate.
33918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33919         Regenerate.
33920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33921         Regenerate.
33922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33923         Regenerate.
33924         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33925         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33926         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33927         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33928         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33929         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33930         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33931         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33932         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33933         * sysdeps/s390/rtld-__longjmp.c: New file.
33934         * sysdeps/s390/rtld-setjmp.S: New file.
33936 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33938         [BZ #16400]
33939         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33940         Return -__logl (x) for small positive arguments without evaluating
33941         a polynomial.
33943 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33945         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33946         Rename to ...
33947         (__ptrace_peeksiginfo_args): ... this.
33948         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33949         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33950         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33952 2014-01-06  Allan McRae  <allan@archlinux.org>
33954         * inet/netinet/in.h: Fix typo in comment.
33956 2014-01-05  Andreas Jaeger  <aj@suse.de>
33958         * sysdeps/i386/fpu/libm-test-ulps: Update.
33960 2014-01-05  Allan McRae  <allan@archlinux.org>
33962         * po/libc.pot: Regenerated.
33964         * malloc/memusagestat.c: Fix gettext call formatting.
33966 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33968         * nscd/nscd.c: Improve usage() output.
33970 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33972         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33973         * sysdeps/unix/sysv/linux/configure: Regenerated.
33974         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33975         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33977 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33979         [BZ #16390]
33980         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33981         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33983 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33985         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33986         extra tokens at end of #undef directive.
33987         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33988         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33989         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33991 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33993         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33995         * math/auto-libm-test-in: Mark various tests with
33996         xfail-rounding:ldbl-128ibm.
33997         * math/auto-libm-test-out: Regenerated.
33999 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34001         [BZ #16386]
34002         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34003         numbers with subnormal high part when calculating exponent.
34005         [BZ #16385]
34006         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34007         fabs.
34009         [BZ #16384]
34010         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34011         M_LN2l.
34012         (__ieee754_acoshl): Use __log1pl not __log1p.
34014 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34016         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34017         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34018         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34019         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34020         (reused_arena, arena_get2): Convert to GNU style.
34021         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34022         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34023         (memalign_check, __malloc_set_state): Likewise.
34024         * malloc/mallocbug.c (main): Likewise.
34025         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34026         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34027         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34028         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34029         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34030         (__posix_memalign, malloc_info): Likewise.
34031         * malloc/malloc.h: Likewise.
34032         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34033         (mallochook, memalignhook, reallochook, mabort): Likewise.
34034         * malloc/mcheck.h: Likewise.
34035         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34036         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34037         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34038         * malloc/morecore.c (__default_morecore): Likewise.
34039         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34040         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34041         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34042         (print_and_abort): Likewise.
34043         * malloc/obstack.h: Likewise.
34044         * malloc/set-freeres.c (__libc_freeres): Likewise.
34045         * malloc/tst-mallocstate.c (main): Likewise.
34046         * malloc/tst-mtrace.c (main): Likewise.
34047         * malloc/tst-realloc.c (do_test): Likewise.
34049 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34051         [BZ #16366]
34052         * nscd/netgroupcache.c (do_notfound): New function.
34053         (addgetnetgrentX): Use it.
34055         [BZ # 16365]
34056         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34057         NSS_STATUS_NOTFOUND.
34059 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34061         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34064 2014-01-01  Allan McRae  <allan@archlinux.org>
34066         * scripts/update-copyrights: Update configure input file suffix.
34068         * NEWS: Update copyright year.
34069         * catgets/gencat.c: Likewise.
34070         * csu/version.c: Likewise.
34071         * debug/catchsegv.sh: Likewise.
34072         * debug/pcprofiledump.c: Likewise.
34073         * debug/xtrace.sh: Likewise.
34074         * elf/ldconfig.c: Likewise.
34075         * elf/ldd.bash.in: Likewise.
34076         * elf/pldd.c: Likewise.
34077         * elf/sotruss.ksh: Likewise.
34078         * elf/sprof.c: Likewise.
34079         * iconv/iconv_prog.c: Likewise.
34080         * iconv/iconvconfig.c: Likewise.
34081         * locale/programs/locale.c: Likewise.
34082         * locale/programs/localedef.c: Likewise.
34083         * login/programs/pt_chown.c: Likewise.
34084         * malloc/memusage.sh: Likewise.
34085         * malloc/memusagestat.c: Likewise.
34086         * malloc/mtrace.pl: Likewise.
34087         * manual/libc.texinfo: Likewise.
34088         * nscd/nscd.c: Likewise.
34089         * nss/getent.c: Likewise.
34090         * nss/makedb.c: Likewise.
34091         * posix/getconf.c: Likewise.
34092         * scripts/test-installation.pl: Likewise.
34094         * All files with FSF copyright notices: Update copyright dates
34095         using scripts/update-copyrights.
34096         * intl/plural.c: Regenerated.
34097         * locale/programs/charmap-kw.h: Likewise.
34098         * locale/programs/locfile-kw.h: Likewise.
34100 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34102         * sysdeps/unix/sysv/linux/configure: Regenerated.
34103         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34104         the linux/fanotify.h header.
34105         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34106         HAVE_LINUX_FANOTIFY_H is defined.
34108 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34110         * benchtests/cos-inputs: New inputs.
34111         * benchtests/sin-inputs: Likewise.
34113         * benchtests/atan-inputs: New inputs. Fix name of multiple
34114         precision fallback inputs.
34116         * benchtests/atanh-inputs: New inputs.
34117         * benchtests/tanh-inputs: Likewise.
34119         * benchtests/acosh-inputs: New inputs.
34120         * benchtests/asinh-inputs: Likewise.
34122         * benchtests/cosh-inputs: New inputs.
34123         * benchtests/sinh-inputs: Likewise.
34125         * benchtests/acos-inputs: Add more inputs.
34126         * benchtests/asin-inputs: Likewise.
34128 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34130         [BZ #16375]
34131         * manual/arith.texi: Fix spelling.
34132         * manual/charset.texi: Likewise.
34133         * manual/errno.texi: Likewise.
34134         * manual/filesys.texi: Likewise.
34135         * manual/lang.texi: Likewise.
34136         * manual/llio.texi: Likewise.
34137         * manual/locale.texi: Likewise.
34138         * manual/message.texi: Likewise.
34139         * manual/resource.texi: Likewise.
34140         * manual/search.texi: Likewise.
34141         * manual/setjmp.texi: Likewise.
34142         * manual/stdio.texi: Likewise.
34143         * manual/string.texi: Likewise.
34144         * manual/sysinfo.texi: Likewise.
34145         * manual/time.texi: Likewise.
34147 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34149         * po/sl.po: New file.
34151 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34153         * .gitignore: Add core/.gdbinit/.gdb_history.
34155 2013-12-27  Allan McRae  <allan@archlinux.org>
34157         [BZ #16369]
34158         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34159         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34161 2013-12-24  Brooks Moses  <bmoses@google.com>
34163         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34164         all compilers that claim C++98 compliance, not just GCC.
34165         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34166         Likewise.
34168 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34170         * NEWS: Restore accidentally deleted bug-fix entries.
34172 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34173             Ondřej Bílka  <neleai@seznam.cz>
34175         [BZ #15073]
34176         * malloc/malloc.c (_int_free): Perform sanity check only if we
34177         have_lock.
34179 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34181         [BZ #12986]
34182         * manual/stdio.texi (String Input Conversions): Clarify that character
34183         classes are not supported.
34185 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34189 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34191         [BZ #16337]
34192         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34193         Calculate results for small negative arguments directly rather
34194         than using reflection formula with special underflow handling.
34196         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34197         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34198         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34199         (fchflags): Likewise.
34200         (revoke): Likewise.
34201         (setlogin): Likewise.
34202         (sigaltstack): Likewise.
34203         (wait4): Likewise.
34204         (sigblock): Remove.
34205         (sigsetmask): Likewise.
34206         (wait3): Likewise.
34207         (waitpid): Likewise.
34208         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34209         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34210         file.
34211         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34212         * sysdeps/unix/bsd/Makefile: ... here.
34213         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34214         * sysdeps/unix/bsd/Versions: ... here.
34215         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34216         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34217         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34218         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34219         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34220         * sysdeps/unix/bsd/sigblock.c: ... here.
34221         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34222         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34223         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34224         * sysdeps/unix/bsd/sigvec.c: ... here.
34225         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34226         * sysdeps/unix/bsd/tcdrain.c: ... here.
34227         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34228         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34229         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34230         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34231         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34232         * sysdeps/unix/bsd/wait.c: ... here.
34233         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34234         * sysdeps/unix/bsd/wait3.c: ... here.
34235         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34236         * sysdeps/unix/bsd/waitpid.c: ... here.
34238 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34240         [BZ #16356]
34241         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34242         round-to-nearest for [!USE_AS_EXPM1L].
34243         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34244         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34245         more tests of exp and exp10.  Expect some exp10 tests to miss
34246         exceptions or fail in directed rounding modes.
34247         * math/auto-libm-test-out: Regenerated.
34248         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34249         (exp10_test_tonearest): New function.
34250         (exp10_towardzero_test_data): New array.
34251         (exp10_test_towardzero): New function.
34252         (exp10_downward_test_data): New array.
34253         (exp10_test_downward): New function.
34254         (exp10_upward_test_data): New array.
34255         (exp10_test_upward): New function.
34256         (main): Call the new functions.
34257         * sysdeps/i386/fpu/libm-test-ulps: Update.
34258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34260 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34262         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34263         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34264         * math/auto-libm-test-out: Regenerated.
34265         * math/libm-test.inc (acosh_test_data): Add more tests.
34266         (atanh_test_data): Likewise.
34267         (ceil_test_data): Likewise.
34268         (copysign_test_data): Likewise.
34269         * sysdeps/i386/fpu/libm-test-ulps: Update.
34270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34272         * timezone/checktab.awk: Update from tzcode 2013i.
34273         * timezone/private.h: Likewise.
34274         * timezone/scheck.c: Likewise.
34275         * timezone/tzfile.h: Likewise.
34276         * timezone/tzselect.ksh: Likewise.
34277         * timezone/zdump.c: Likewise.
34278         * timezone/zic.c: Likewise.
34280         * math/auto-libm-test-in: Add tests of cpow.
34281         * math/auto-libm-test-out: Regenerated.
34282         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34283         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34284         mpc_cc_c.
34285         (func_calc_desc): Add mpc_cc_c union field.
34286         (test_functions): Add cpow.
34287         (special_fill_2pi): New function.
34288         (special_real_inputs): Add 2pi.
34289         (calc_generic_results): Handle mpc_cc_c.
34290         * sysdeps/i386/fpu/libm-test-ulps: Update.
34291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34293         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34294         csqrt, ctan and ctanh.
34295         * math/auto-libm-test-out: Regenerated.
34296         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34297         (TEST_COND_x86): Likewise.
34298         (ccos_test_data): Use AUTO_TESTS_c_c.
34299         (ccosh_test_data): Likewise.
34300         (cexp_test_data): Likewise.
34301         (clog_test_data): Likewise.
34302         (csqrt_test_data): Likewise.
34303         (ctan_test_data): Likewise.
34304         (ctan_tonearest_test_data): Likewise.
34305         (ctan_towardzero_test_data): Likewise.
34306         (ctan_downward_test_data): Likewise.
34307         (ctan_upward_test_data): Likewise.
34308         (ctanh_test_data): Likewise.
34309         (ctanh_tonearest_test_data): Likewise.
34310         (ctanh_towardzero_test_data): Likewise.
34311         (ctanh_downward_test_data): Likewise.
34312         (ctanh_upward_test_data): Likewise.
34313         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34314         mpc_c_c.
34315         (func_calc_desc): Add mpc_c_c union field.
34316         (FUNC_mpc_c_c): New macro.
34317         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34318         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34319         ctanh.
34320         (special_fill_min_subnorm_p120): New function.
34321         (special_real_inputs): Add min_subnorm_p120.
34322         (calc_generic_results): Handle mpc_c_c.
34323         * sysdeps/i386/fpu/libm-test-ulps: Update.
34324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34326 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34328         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34329         (do_sin_slow): New functions.
34330         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34331         (cslow2, csloww1, csloww2): Use the new functions.
34333         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34334         Use M to change sign of result instead of X.  Assume X is
34335         positive.
34336         (csloww1): Likewise.
34337         (__sin): Adjust.
34338         (__cos): Adjust.
34340         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34341         arguments A and DA.
34342         (__sin): Adjust.
34343         (__cos): Likewise.
34345         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34346         (__cos): Likewise.
34347         (sloww1): Don't adjust sign of DX.
34348         (csloww1): Likewise.
34349         (sloww2): Use X directly and don't adjust sign of DX.
34350         (csloww2): Likewise.
34352 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34354         * math/auto-libm-test-in: Add tests of cabs and carg.
34355         * math/auto-libm-test-out: Regenerated.
34356         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34357         (carg_test_data): Likewise.
34358         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34359         mpc_c_f.
34360         (func_calc_desc): Add mpc_c_f union field.
34361         (test_functions): Add cabs and carg.
34362         (calc_generic_results): Handle mpc_c_f.
34364         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34365         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34366         as a macro and a compat symbol.
34367         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34368         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34369         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34370         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34371         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34372         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34373         not use .hidden.
34374         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34375         Likewise.
34376         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34377         Likewise.
34378         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34379         Likewise.
34380         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34381         Likewise.
34382         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34383         Likewise.
34384         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34385         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34386         from GLIBC_2.3.2.
34388 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34392 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34394         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34395         trailing whitespace removed.
34396         * scripts/config.guess: Update to version 2013-11-29.
34397         * scripts/config.sub: Update to version 2013-10-01.
34399         * math/auto-libm-test-in: Add tests of sincos.
34400         * math/auto-libm-test-out: Regenerated.
34401         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34402         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34403         mpfr_f_11.
34404         (func_calc_desc): Add mpfr_f_11 union field.
34405         (test_functions): Add sincos.
34406         (calc_generic_results): Handle mpfr_f_11.
34407         * sysdeps/i386/fpu/libm-test-ulps: Update.
34408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34410 2013-12-19  Andreas Schwab  <schwab@suse.de>
34412         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34413         CALL_MCOUNT.
34414         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34415         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34416         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34418 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34420         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34421         * sysdeps/i386/fpu/libm-test-ulps: Update.
34422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34424         [BZ #16293]
34425         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34426         round-to-nearest mode when using frndint.
34427         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34428         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34429         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34430         Likewise.
34431         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34432         sinh test to fail.
34433         * math/auto-libm-test-out: Regenerated.
34434         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34435         (TEST_COND_x86): Likewise.
34436         (expm1_tonearest_test_data): New array.
34437         (expm1_test_tonearest): New function.
34438         (expm1_towardzero_test_data): New array.
34439         (expm1_test_towardzero): New function.
34440         (expm1_downward_test_data): New array.
34441         (expm1_test_downward): New function.
34442         (expm1_upward_test_data): New array.
34443         (expm1_test_upward): New function.
34444         (main): Run the new test functions.
34445         * sysdeps/i386/fpu/libm-test-ulps: Update.
34446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34448         * include/features.h: Update comment documenting feature test
34449         macros.  Mention _DEFAULT_SOURCE in comment.
34450         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34451         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34452         _BSD_SOURCE and _SVID_SOURCE.
34453         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34454         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34455         !_SVID_SOURCE]: Likewise.
34456         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34457         (__USE_POSIX_IMPLICITLY): Define.
34458         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34459         (_POSIX_SOURCE): Undefine and redefine.
34460         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34461         (_POSIX_C_SOURCE): Likewise.
34462         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34463         (Feature Test Macros): Update documentation of default features.
34465 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34467         * benchtests/Makefile: Add bench-strtok.
34468         * benchtests/bench-strtok.c: New file: strtok benchtest.
34470 2013-12-19  Allan McRae  <allan@archlinux.org>
34472         * manual/install.texi: Suppress menu for plain text output.
34473         * INSTALL: Regenerated.
34475 2013-12-18  Brooks Moses  <bmoses@google.com>
34477         [BZ #15846]
34478         * misc/getauxval.c: Include errno.h.
34479         (__getauxval): Set errno to ENOENT if the requested type is not
34480         found.
34481         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34482         don't declare with __attribute_const__.
34483         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34484         * manual/startup.texi: Document that getauxval sets errno.
34486 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34488         * math/auto-libm-test-in: Add tests of jn and yn.
34489         * math/auto-libm-test-out: Regenerated.
34490         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34491         (yn_test_data): Likewise.
34492         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34493         mpfr_if_f.
34494         (func_calc_desc): Add mpfr_if_f union field.
34495         (FUNC_mpfr_if_f): New macro.
34496         (test_functions): Add jn and yn.
34497         (calc_generic_results): Assert type of second input for
34498         mpfr_ff_f.  Handle mpfr_if_f.
34499         (output_for_one_input_case): Disable all checking for arguments
34500         fitting floating-point types in case of an integer argument.
34501         * sysdeps/i386/fpu/libm-test-ulps: Update.
34502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34505         Don't expect fegetround reference in libm.so.
34507 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34509         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34510         $(config-cflags-nofma).
34512 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34514         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34515         * math/auto-libm-test-out: Regenerated.
34517         [BZ #16338]
34518         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34519         to determine exponent and adjust argument to have exponent of -1.
34520         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34521         log2.
34522         * math/auto-libm-test-out: Regenerated.
34523         * sysdeps/i386/fpu/libm-test-ulps: Update.
34524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34526 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34528         * manual/probes.texi: Remove cases when per-thread arenas are
34529         disabled.
34531 2013-12-18  Andreas Schwab  <schwab@suse.de>
34533         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34534         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34535         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34536         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34537         * sysdeps/i386/i686/multiarch/Makefile: Update.
34538         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34540 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34542         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34543         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34545 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34547         [BZ #15968]
34548         Support TZ transition times < 00:00:00.
34549         This is needed for version-3 tz-format files; it supports time
34550         stamps past 2037 for America/Godthab (the only entry in the tz
34551         database for which this change is relevant).
34552         * manual/time.texi (TZ Variable): Document transition times
34553         from -167:59:59 through -00:00:01.
34554         * time/tzset.c (tz_rule): Time of day is now signed.
34555         (__tzset_parse_tz): Parse negative time of day.
34557         Document TZ transition times >= 25:00:00.
34558         * manual/time.texi (TZ Variable): Document transition times from
34559         25:00:00 through 167:59:59.  These are already supported, and this
34560         support will help with version-3 tz-format files.
34562         * manual/time.texi (TZ Variable): Modernize North America example
34563         to reflect current (i.e., 2007-and-later) daylight saving rules.
34565         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34567 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34569         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34570         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34571         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34572         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34573         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34574         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34575         * sysdeps/unix/bsd/clock.c: Likewise.
34576         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34577         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34578         * sysdeps/unix/bsd/init-posix.c: Likewise.
34579         * sysdeps/unix/bsd/poll.c: Likewise.
34580         * sysdeps/unix/bsd/ptsname.c: Likewise.
34581         * sysdeps/unix/bsd/seekdir.c: Likewise.
34582         * sysdeps/unix/bsd/setegid.c: Likewise.
34583         * sysdeps/unix/bsd/seteuid.c: Likewise.
34584         * sysdeps/unix/bsd/setgid.c: Likewise.
34585         * sysdeps/unix/bsd/setrgid.c: Likewise.
34586         * sysdeps/unix/bsd/setruid.c: Likewise.
34587         * sysdeps/unix/bsd/setsid.c: Likewise.
34588         * sysdeps/unix/bsd/setuid.c: Likewise.
34589         * sysdeps/unix/bsd/sigaction.c: Likewise.
34590         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34591         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34592         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34593         * sysdeps/unix/bsd/telldir.c: Likewise.
34594         * sysdeps/unix/bsd/times.c: Likewise.
34595         * sysdeps/unix/bsd/usleep.c: Likewise.
34597         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34598         ($(objpfx)libbsd-compat.a): Remove rule.
34600         * include/features.h (__FAVOR_BSD): Do not define.
34601         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34602         features conflicting with POSIX.
34603         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34604         (_BSD_SOURCE): Remove description of not being a subset of other
34605         feature test macros.
34606         * manual/job.texi (getpgrp): Do not document BSD version.
34607         (getpgid): Do not document by reference to BSD getpgrp.
34608         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34609         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34610         * signal/signal.h [__FAVOR_BSD]: Likewise.
34611         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34612         instead of making contents conditional on [__FAVOR_BSD].
34613         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34615 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34619 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34621         [BZ #16314]
34622         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34623         values below 2**-450, not 2**-500.
34624         * math/auto-libm-test-in: Don't allow spurious underflow from
34625         hypot.
34626         * math/auto-libm-test-out: Regenerated.
34628         [BZ #16316]
34629         [BZ #16330]
34630         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34631         values of ha and hb and sort them after adjusting subnormal
34632         arguments.
34633         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34634         Likewise.
34635         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34636         values of ea and eb and sort them after adjusting subnormal
34637         arguments.
34638         * math/auto-libm-test-in: Do not expect some hypot tests of
34639         subnormals to fail.  Add more hypot tests.
34640         * math/auto-libm-test-out: Regenerated.
34642 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34644         [BZ #13304]
34645         * sysdeps/sh/s_fma.c: New file.
34646         * sysdeps/sh/s_fmaf.c: New file.
34647         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34648         version.
34649         * sysdeps/sh/Implies: Add sh/soft-fp.
34651 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34653         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34654         level of indirection to members `objname', `errstring', `malloced'.
34655         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34656         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34657         it as the __longjmp argument (just pass 1 instead).
34658         (_dl_catch_error): Initialize C with argument pointers and address of
34659         volatile local ERRCODE rather than copying values out of C at return.
34661 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34663         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34664         * math/auto-libm-test-out: Regenerated.
34665         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34666         (hypot_test_data): Likewise.
34667         (pow_test_data): Likewise.
34668         (pow_tonearest_test_data): Likewise.
34669         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34670         mpfr_ff_f.
34671         (func_calc_desc): Add mpfr_ff_f union field.
34672         (FUNC_mpfr_ff_f): New macro.
34673         (test_functions): Add atan2, hypot and pow.
34674         (special_fill_min): New function.
34675         (special_fill_minus_min): Likewise.
34676         (special_fill_min_subnorm): Likewise.
34677         (special_fill_minus_min_subnorm): Likewise.
34678         (special_real_inputs): Add min, -min, min_subnorm and
34679         -min_subnorm.
34680         (calc_generic_results): Handle mpfr_ff_f.
34681         * sysdeps/i386/fpu/libm-test-ulps: Update.
34682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34684 2013-12-16  Will Newton  <will.newton@linaro.org>
34686         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34687         (Aligned Memory Blocks): Add documentation for aligned_alloc
34688         and suggest it as an alternative to posix_memalign.
34689         (Hooks for Malloc): Document __memalign_hook is also called
34690         for aligned_alloc.  (Summary of Malloc): Add summary for
34691         aligned alloc.  Document __memalign_hook is also called
34692         for aligned_alloc.
34694 2013-12-16  Will Newton  <will.newton@linaro.org>
34696         * manual/memory.texi (Malloc Examples): Clarify default
34697         alignment documentation.  Suggest posix_memalign rather
34698         than memalign or valloc.
34699         (Aligned Memory Blocks): Remove suggestion to use memalign
34700         or valloc.  Remove obsolete comment about BSD.
34701         Document memalign errno values and mark the function obsolete.
34702         Document posix_memalign returned error codes.  Mark valloc
34703         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34704         called for posix_memalign and valloc.
34705         (Summary of Malloc): Add posix_memalign to function summary.
34706         __memalign_hook is also called for posix_memalign and valloc.
34708 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34710         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34711         TAYLOR_SIN.
34712         (__sin): Adjust.
34713         (__cos): Likewise.
34714         (sloww): Use mynumber union.  Expand ternary operator into
34715         if-else statements.
34716         (cslow): use mynumber union.
34718 2013-12-16  Allan McRae  <allan@archlinux.org>
34720         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34721         * configure: Regenerated.
34723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34725         [BZ #14120]
34726         * configure.ac: Added --enable-maintainer-mode. Check for
34727         autoconf when enabled.
34728         * configure: Regenerated.
34730         * nscd/nscd.service: New file.
34731         * nscd/nscd.tmpfiles: New file.
34733 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34735         [BZ #12100]
34736         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34737         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34738         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34739         (strstr): Add __strstr_sse2_unaligned ifunc.
34740         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34741         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34742         (strcasestr): Remove __strcasestr_sse42 ifunc.
34743         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34747 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34749         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34750         * sysdeps/sh/bits/fenv.h: ... here.
34751         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34753 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34755         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34757         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34758         hypotf multiarch implementations.
34759         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34760         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34761         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34762         multiarch hypot for PPC64.
34763         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34764         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34765         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34766         multiarch hypotf for PPC64.
34768         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34769         modff multiarch implementations.
34770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34773         multiarch modf for PPC64.
34774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34777         multiarch modff for PPC64.
34779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34780         and logl multiarch implementations.
34781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34784         multiarch logb for PPC64.
34785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34788         multiarch logb for PPC64.
34789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34792         multiarch logb for PPC64.
34794         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34795         isinff multiarch implementation.
34796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34797         file.
34798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34800         multiarch isinf for PPC64.
34801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34802         file.
34803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34804         multiarch isinff for PPC64.
34806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34807         finitef multiarch implementation.
34808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34809         file.
34810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34812         multiarch finite for PPC64.
34813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34814         file.
34815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34816         multiarch finitef for PPC64.
34818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34819         lrint multiarch implementation.
34820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34821         file.
34822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34824         multiarch llrint for PPC64.
34825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34826         multiarch lrint for PPC64.
34828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34829         copysignf multiarch implementation.
34830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34831         file.
34832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34833         file.
34834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34835         multiarch copysign for PPC64.
34836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34837         multiarch copysignf for PPC64.
34839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34840         multiarch implementation.
34841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34842         file.
34843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34844         file.
34845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34846         file.
34847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34848         file.
34849         multiarch llround for PPC64.
34850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34851         multiarch trunc for PPC64.
34852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34853         multiarch truncf for PPC64.
34855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34856         multiarch implementation.
34857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34858         file.
34859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34860         file.
34861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34862         file.
34863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34864         file.
34865         multiarch llround for PPC64.
34866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34867         multiarch round for PPC64.
34868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34869         multiarch roundf for PPC64.
34871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34872         multiarch implementation.
34873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34874         file.
34875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34876         file.
34877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34878         file.
34879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34880         file.
34881         multiarch llround for PPC64.
34882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34883         multiarch floor for PPC64.
34884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34885         multiarch floorf for PPC64.
34887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34888         multiarch implementation.
34889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34890         file.
34891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34892         file.
34893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34894         file.
34895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34896         file.
34897         multiarch llround for PPC64.
34898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34899         multiarch ceil for PPC64.
34900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34901         multiarch ceilf for PPC64.
34903         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34904         multiarch implementation.
34905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34906         file.
34907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34908         file.
34909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34910         file.
34911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34912         multiarch llround for PPC64.
34913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34914         multiarch lround for PPC64.
34916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34917         multiarch implementation.
34918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34921         file.
34922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34925         multiarch isnan for PPC64.
34926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34927         multiarch isnanf for PPC64.
34929         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34930         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34931         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34932         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34933         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34936         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34937         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34938         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34939         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34942         multiarch implementations.
34943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34944         (__libc_ifunc_impl_list): Likewise.
34945         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34946         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34947         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34948         multiarch stpcpy for PPC64.
34950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34951         multiarch implementations.
34952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34953         (__libc_ifunc_impl_list): Likewise.
34954         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34955         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34956         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34957         multiarch strcpy for PPC64.
34959         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34960         redefine function name.
34961         (_wordcopy_fwd_dest_aligned): Likewise.
34962         (_wordcopy_bwd_aligned): Likewise.
34963         (_wordcopy_bwd_dest_aligned): Likewise.
34964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34965         multiarch implementations.
34966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34967         (__libc_ifunc_impl_list): Likewise.
34968         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34969         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34970         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34971         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34972         multiarch wcscpy for PPC64.
34974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34975         multiarch implementations.
34976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34977         (__libc_ifunc_impl_list): Likewise.
34978         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34979         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34980         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34981         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34982         multiarch wcscpy for PPC64.
34984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34985         multiarch implementations.
34986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34987         (__libc_ifunc_impl_list): Likewise.
34988         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34989         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34990         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34991         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34992         multiarch wcsrchr for PPC64.
34994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34995         multiarch implementations.
34996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34997         (__libc_ifunc_impl_list): Likewise.
34998         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34999         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35000         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35001         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35002         multiarch wcschr for PPC64.
35004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35005         multiarch implementations.
35006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35007         (__libc_ifunc_impl_list): Likewise.
35008         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35009         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35010         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35011         multiarch strchrnul for PPC64.
35013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35014         implementations.
35015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35016         (__libc_ifunc_impl_list): Likewise.
35017         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35018         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35019         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35020         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35021         strchr for PPC64.
35023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35024         implementations.
35025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35026         (__libc_ifunc_impl_list): Likewise.
35027         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35028         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35029         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35030         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35031         strncmp for PPC64.
35033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35034         multiarch implementations.
35035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35036         (__libc_ifunc_impl_list): Likewise.
35037         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35038         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35039         strncasecmp for PPC64.
35040         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35041         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35042         multiarch strncasecmp_l for PPC64.
35044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35045         multiarch implementations.
35046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35047         (__libc_ifunc_impl_list): Likewise.
35048         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35049         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35050         multiarch strcasecmp for PPC64.
35051         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35052         file.
35053         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35054         multiarch strcasecmp_l for PPC64.
35056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35057         implementations.
35058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35059         (__libc_ifunc_impl_list): Likewise.
35060         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35061         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35062         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35063         strnlen for PPC64.
35065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35066         implementations.
35067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35068         (__libc_ifunc_impl_list): Likewise.
35069         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35070         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35071         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35072         strlen for PPC64.
35074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35075         implementations.
35076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35077         (__libc_ifunc_impl_list): Likewise.
35078         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35079         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35080         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35081         rawmemrchr for PPC64.
35083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35084         implementation.
35085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35086         (__libc_ifunc_impl_list): Likewise.
35087         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35088         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35089         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35090         memrchr for PPC64.
35092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35093         implementation.
35094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35095         (__libc_ifunc_impl_list): Likewise.
35096         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35097         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35098         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35099         memchr for PPC64.
35101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35102         implementation.
35103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35104         (__libc_ifunc_impl_list): Likewise.
35105         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35106         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35107         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35108         mempcpy for PPC64.
35110         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35111         avoid cretion of __bzero symbol.
35112         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35113         Likewise.
35114         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35115         Likewise.
35116         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35117         Likewise.
35118         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35119         multiarch implementations.
35120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35121         (__libc_ifunc_impl_list): Likewise.
35122         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35123         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35124         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35125         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35126         bzero for PPC32.
35127         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35128         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35129         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35130         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35131         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35132         memset for PPC64.
35133         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35135         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35137         implementations.
35138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35139         (__libc_ifunc_impl_list): Likewise.
35140         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35141         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35142         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35143         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35144         memcmp for PPC64.
35146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35147         multiarch for POWER/PPC64.
35148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35149         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35151         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35152         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35153         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35154         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35155         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35156         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35157         memcpy for PPC64.
35159         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35160         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35161         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35162         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35163         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35164         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35165         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35166         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35167         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35168         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35169         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35170         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35171         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35172         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35173         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35182 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35184         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35186 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35188         * benchtests/Makefile (bench): Add exp2 and log2.
35189         (LDLIBS-bench-exp2): Add -lm.
35190         (LDLIBS-bench-log2): Likewise.
35191         * benchtests/exp2-inputs: New inputs file.
35192         * benchtests/log2-inputs: New inputs file.
35193         * benchtests/log-inputs: Add new inputs.
35194         * benchtests/tan-inputs: Likewise.
35196 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35198         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35199         definition...
35200         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35201         (csloww2): ... from here.
35203         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35204         instead of structures.
35205         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35206         (POLYNOMIAL): Likewise.
35207         (TAYLOR_SLOW): Likewise.
35208         (__sin): Likewise.
35209         (__cos): Likewise.
35210         (slow1): Likewise.
35211         (slow2): Likewise.
35212         (sloww): Likewise.
35213         (sloww1); Likewise.
35214         (sloww2): Likewise.
35215         (bsloww1): Likewise.
35216         (bsloww2): Likewise.
35217         (cslow2): Likewise.
35218         (csloww): Likewise.
35219         (csloww1): Likewise.
35220         (csloww2): Likewise.
35222 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35224         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35225         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35226         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35227         * malloc/hooks.c (realloc_check): Likewise.
35229         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35230         * malloc/arena.c: Remove PER_THREAD conditional.
35231         [!PER_THREAD]: Remove code.
35232         (ptmalloc_unlock_all2): Likewise.
35233         (ptmalloc_init): Likewise.
35234         (_int_new_arena): Likewise.
35235         (arena_get2): Likewise.
35236         * malloc/hooks.c (__malloc_get_state): Likewise.
35237         (__malloc_set_state): Likewise.
35238         * malloc/malloc.c: Likewise.
35239         (struct malloc_state): Likewise.
35240         (struct malloc_par): Likewise.
35241         (__libc_realloc): Likewise.
35242         (__libc_mallopt): Likewise.
35244 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35246         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35248 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35250         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35251         macro to a function.  Check for zero perturb_byte.
35252         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35254         * malloc/malloc.c: (force_reg): Remove.
35255         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35256         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35257         force_reg by atomic_forced_read.
35258         * malloc/arena.c (ptmalloc_init): Likewise.
35259         * malloc/hooks.c (top_check): Likewise.
35261 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35265 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35269 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35271         * math/auto-libm-test-in: Add tests of lgamma.
35272         * math/auto-libm-test-out: Regenerated.
35273         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35274         (M_LOG_2_SQRT_PIl): Likewise.
35275         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35276         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35277         mpfr_f_f1.
35278         (func_calc_desc): Add mpfr_f_f1 union field.
35279         (ARGS1): New macro.
35280         (ARGS2): Likewise.
35281         (ARGS3): Likewise.
35282         (ARGS4): Likewise.
35283         (RET1): Likewise.
35284         (RET2): Likewise.
35285         (CALC): Likewise.
35286         (FUNC): Likewise.
35287         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35288         (test_functions): Add lgamma.
35289         (calc_generic_results): Handle mpfr_f_f1.
35290         * sysdeps/i386/fpu/libm-test-ulps: Update.
35291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35293 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35295         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35296         __mpn_add_n for PowerPC64/POWER7.
35297         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35298         __mpn_sub_n for PowerPC64/POWER7.
35300         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35301         __mpn_addmul_1 for PowerPC64.
35302         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35303         __mpn_submul_1 for PowerPC64.
35304         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35305         for PowerPC64.
35306         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35307         for PowerPC64.
35309 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35311         [BZ #15089]
35312         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35314 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35316         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35318         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35319         add multiarch folders.
35320         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35321         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35322         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35323         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35324         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35325         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35326         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35327         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35328         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35329         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35330         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35339         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35341         New file.
35342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35343         New file.
35344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35345         multiarch __ieee754_hypot for PowerPC32.
35346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35347         New file.
35348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35349         New file.
35350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35351         multiarch __ieee754_hypotf for PowerPC32.
35353         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35354         long_double_symbol only if __logbl is defined.
35355         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35356         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35358         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35360         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35361         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35362         path for implementation.
35363         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35364         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35366         logb, and logbl multiarch implementations for PowerPC32.
35367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35368         file.
35369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35370         file.
35371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35372         multiarch logb for PowerPC32.
35373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35374         file.
35375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35376         file.
35377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35378         multiarch logbf for PowerPC32.
35379         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35381         file.
35382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35383         multiarch logbl implementation for PowerPC32.
35385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35386         and modff multiarch implementations.
35387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35388         New file.
35389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35390         New file.
35391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35392         multiarch modf for PowerPC32.
35393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35394         New file.
35395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35396         New file.
35397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35398         multiarch modff for PowerPC32.
35400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35401         and lrintf multiarch implementations.
35402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35403         New file.
35404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35405         New file.
35406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35407         multiarch lrint for PowerPC32.
35408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35409         file: multiarch lrintf for PowerPC32.
35411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35412         and lroundf multiarch implementations.
35413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35414         New file.
35415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35416         New file.
35417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35418         New file.
35419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35420         multiarch lround for PowerPC32.
35421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35422         file: multiarch lroundf for PowerPC32.
35424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35425         copysign and copysignf multiarch implementations.
35426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35427         New file.
35428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35429         New file.
35430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35431         file: multiarch copysign for PowerPC32.
35432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35433         file: multiarch copysignf for PowerPC32.
35435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35436         and truncf multiarch implementations.
35437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35438         New file.
35439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35440         file.
35441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35442         multiarch trunc for PowerPC32.
35443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35444         New file.
35445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35446         New file.
35447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35448         multiarch truncf for PowerPC32.
35450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35451         and roundf multiarch implementations.
35452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35453         New file.
35454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35455         file.
35456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35457         multiarch round for PowerPC32.
35458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35459         New file.
35460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35461         New file.
35462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35463         multiarch roundf for PowerPC32.
35465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35466         and floorf multiarch implementations.
35467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35468         New file.
35469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35470         file.
35471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35472         multiarch floor for PowerPC32.
35473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35474         New file.
35475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35476         New file.
35477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35478         multiarch floorf for PowerPC32.
35480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35481         and ceilf multiarch implementations.
35482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35483         New file.
35484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35485         file.
35486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35487         multiarch ceil for PowerPC32.
35488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35489         New file.
35490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35491         file.
35492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35493         multiarch ceilf for PowerPC32.
35495         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35496         is defined.
35497         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35498         FINITEF is defined.
35499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35500         and finitef multiarch implementations.
35501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35502         New file.
35503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35504         file.
35505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35506         multiarch finite for PowerPC32.
35507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35508         New file.
35509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35510         file: multiarch finitef for PowerPC32.
35512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35513         and isinff multiarch implementations.
35514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35515         file.
35516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35517         file.
35518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35519         multiarch isinf for PowerPC32.
35520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35521         New file.
35522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35523         multiarch isinff for PowerPC32.
35525         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35526         alias when __isnan is defined.
35527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35528         and isnanf multiarch implementations.
35529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35530         file.
35531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35532         file.
35533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35534         file.
35535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35536         file.
35537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35538         multiarch isnan for PowerPC32.
35539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35540         New file.
35541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35542         New file.
35543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35544         multiarch isnanf for PowerPC32.
35546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35547         and sqrtf multiarch implementations.
35548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35549         file.
35550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35551         file.
35552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35553         multiarch sqrt for PowerPC32.
35554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35555         file.
35556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35557         file.
35558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35559         multiarch sqrtf for PowerPC32.
35561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35562         and llroundf multiarch implementations.
35563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35564         New file.
35565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35566         New file.
35567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35568         New file.
35569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35570         file: multiarch llround for PowerPC32.
35571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35572         file: multiarch llroundf for PowerPC32.
35574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35575         multiarch PowerPC32 fpu implementations.
35576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35577         New file.
35578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35579         New file.
35580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35581         multiarch llrint for PowerPC32.
35582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35583         New file.
35584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35585         New file.
35586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35587         file.
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35591         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35592         file.
35593         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35594         file.
35595         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35596         file.
35597         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35598         multiarch wordcopy for PPC32.
35599         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35600         wordcopy objects.
35601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35602         (__libc_ifunc_impl_list): Likewise.
35603         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35604         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35605         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35606         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35607         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35608         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35610         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35612         file.
35613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35614         file.
35615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35616         file.
35617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35618         multiarch wcscpy for PPC32.
35619         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35620         multiarch objects.
35621         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35622         (__libc_ifunc_impl_list): Likewise.
35623         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35624         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35625         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35626         sysdeps/powerpc/power6/wcscpy.c.
35628         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35630         file.
35631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35632         file.
35633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35634         file.
35635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35636         multiarch wcsrchr for PPC32.
35637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35638         multiarch objects.
35639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35640         (__libc_ifunc_impl_list): Likewise.
35641         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35642         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35643         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35644         sysdeps/powerpc/power6/wcsrchr.c.
35646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35647         file.
35648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35649         file.
35650         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35652         multiarch wcschr for PPc32.
35653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35654         multiarch objects.
35655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35656         (__libc_ifunc_impl_list): Likewise.
35657         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35658         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35659         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35660         sysdeps/powerpc/power6/wcschr.c.
35662         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35663         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35664         file.
35665         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35666         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35667         file: multiarch strchr for PPC32.
35668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35669         multiarch objects.
35670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35671         (__libc_ifunc_impl_list): Likewise.
35673         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35674         name.
35675         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35676         file.
35677         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35678         file.
35679         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35680         multiarch strchrnul for PPC32.
35681         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35682         multiarch objects.
35683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35684         (__libc_ifunc_impl_list): Likewise.
35686         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35687         file.
35688         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35689         multiarch strncasecmp for PPC32.
35690         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35691         file.
35692         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35693         multiarch strncasecmp_l for PPC32.
35694         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35695         strncasecmp multiarch objects.
35696         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35697         (__libc_ifunc_impl_list): Likewise.
35699         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35700         file.
35701         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35702         multiarch strncasecmp for PPC32.
35703         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35704         New file.
35705         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35706         multiarch strcasecmp_l for PPC32.
35707         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35708         multiarch objects.
35709         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35710         (__libc_ifunc_impl_list): Likewise.
35712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35713         file.
35714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35715         file.
35716         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35717         multiarch strncmp for PPC32.
35718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35719         multiarch objects.
35720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35721         (__libc_ifunc_impl_list): Likewise.
35723         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35724         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35725         file.
35726         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35727         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35729         multiarch objects.
35730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35731         (__libc_ifunc_impl_list): Likewise.
35733         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35734         file.
35735         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35736         file.
35737         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35739         multiarch objects.
35740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35741         (__libc_ifunc_impl_list): Likewise.
35743         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35744         file.
35745         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35746         file.
35747         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35748         multiarch rawmemchr for PPC32.
35749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35750         multiarch objects.
35751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35752         (__libc_ifunc_impl_list): Likewise.
35754         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35755         file.
35756         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35757         file.
35758         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35759         file: memrchr multiarch for PPC32.
35760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35761         multiarch objects.
35762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35763         (__libc_ifunc_impl_list): Likewise.
35765         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35766         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35767         file.
35768         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35769         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35770         multiarch memchr for PPC32.
35771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35772         multiarch objects.
35773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35774         (__libc_ifunc_impl_list): Likewise.
35776         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35777         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35778         file.
35779         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35780         file.
35781         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35782         file: multiarch mempcpy for PPC32.
35783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35784         multiarch objects.
35785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35786         (__libc_ifunc_impl_list): Likewise.
35788         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35789         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35790         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35791         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35792         multiarch bzero for PPC32.
35793         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35794         file.
35795         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35796         file.
35797         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35798         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35799         file: multiarch memset for PPC32.
35800         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35802         memset multiarch objects.
35803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35804         (__libc_ifunc_impl_list): Likewise.
35806         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35807         file.
35808         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35809         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35810         memcmp for PPC32.
35811         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35813         multiarch objects.
35814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35815         (__libc_ifunc_impl_list): Likewise.
35817         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35818         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35819         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35820         file.
35821         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35822         file.
35823         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35824         file.
35825         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35826         multiarch memcpy for PPC32.
35827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35828         multiarch objects.
35829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35830         (__libc_ifunc_impl_list): Likewise.
35832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35833         support multiarch for POWER/PPC32.
35834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35835         Likewise.
35836         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35838         Implies file to make multiarch folder appers before the fpu and
35839         default folder for power4 configuration.
35841 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35843         * scripts/bench.pl: Append volatile keyword to type.
35845 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35847         * sysdeps/sh/sotruss-lib.c: New file.
35848         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35850 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35854 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35856         [BZ #6810]
35857         * math/w_tgamma.c: Include <errno.h>.
35858         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35859         * math/w_tgammaf.c: Include <errno.h>.
35860         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35861         * math/w_tgammal.c: Include <errno.h>.
35862         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35863         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35864         underflow.  Add more tgamma tests.
35865         * math/auto-libm-test-out: Regenerated.
35866         * sysdeps/i386/fpu/libm-test-ulps: Update.
35867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35869         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35870         sin, sinh, tan, tanh, tgamma, y0 and y1.
35871         * math/auto-libm-test-out: Regenerated.
35872         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35873         (TEST_COND_x86): Likewise.
35874         (M_E2l): Remove macro.
35875         (M_E3l): Likewise.
35876         (M_2_SQRT_PIl): Likewise.
35877         (M_SQRT_PIl): Likewise.
35878         (M_1_DIV_El): Likewise.
35879         (log_test_data): Use AUTO_TESTS_f_f.
35880         (log10_test_data): Likewise.
35881         (log1p_test_data): Likewise.
35882         (log2_test_data): Likewise.
35883         (sin_test_data): Likewise.
35884         (sin_tonearest_test_data): Likewise.
35885         (sin_towardzero_test_data): Likewise.
35886         (sin_downward_test_data): Likewise.
35887         (sin_upward_test_data): Likewise.
35888         (sinh_test_data): Likewise.
35889         (sinh_tonearest_test_data): Likewise.
35890         (sinh_towardzero_test_data): Likewise.
35891         (sinh_downward_test_data): Likewise.
35892         (sinh_upward_test_data): Likewise.
35893         (tan_test_data): Likewise.
35894         (tan_tonearest_test_data): Likewise.
35895         (tan_towardzero_test_data): Likewise.
35896         (tan_downward_test_data): Likewise.
35897         (tan_upward_test_data): Likewise.
35898         (tanh_test_data): Likewise.
35899         (tgamma_test_data): Likewise.
35900         (y0_test_data): Likewise.
35901         (y1_test_data): Likewise.
35902         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35903         (special_real_inputs): Add pi/4.
35904         * sysdeps/i386/fpu/libm-test-ulps: Update.
35905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35907 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35909         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35910         "longjmp_target" static probes.
35911         (__longjmp): Rename to __longjmp_symbol.
35912         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35913         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35914         on which longjmp to generate.
35915         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35916         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35917         probe.
35918         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35919         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35920         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35921         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35922         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35923         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35925         __longjmp_symbol based on which __longjmp to generate.
35926         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35927         probe.
35928         (setjmp): Rename to setjmp_symbol.
35929         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35930         (_setjmp): Rename to _setjmp_symbol.
35931         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35932         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35933         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35934         which setjmp to generate.
35935         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35936         "longjmp_target" static probes.
35938 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35940         * benchtests/README: Add note about output arguments.
35941         * benchtests/bench-sincos.c: Remove file.
35942         * benchtests/sincos-inputs: New file.
35943         * scripts/bench.pl: Identify output arguments and define
35944         static variables for them.
35946         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35948         [BZ #15941]
35949         * Makefile (INSTALL): Add install-plain.texi as the primary
35950         dependency.
35951         * manual/install-plain.texi: New file.
35952         * manual/install.texi: Include node directive only for
35953         non-plaintext output.
35955 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35957         * stdlib/longlong.h: Update from GCC.
35959         [BZ #6807]
35960         [BZ #15901]
35961         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35962         * math/w_j0f.c (y0f): Likewise.
35963         * math/w_j0l.c (__y0l): Likewise.
35964         * math/w_j1.c (y1): Likewise.
35965         * math/w_j1f.c (y1f): Likewise.
35966         * math/w_j1l.c (__y1l): Likewise
35967         * math/w_jn.c (yn): Likewise.
35968         * math/w_jnf.c (ynf): Likewise.
35969         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35970         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35971         value for Bessel function domain errors outside _SVID_ mode.
35972         Adjust sign of return value for yn (negative integer, 0).
35973         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35974         by zero in return for negative x and set sign appropriately for
35975         negative n.
35976         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35977         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35978         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35979         expectations in error cases.
35980         (y1_test_data): Likewise.
35981         (yn_test_data): Likewise.
35982         * sysdeps/i386/fpu/libm-test-ulps: Update.
35983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35985 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35987         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35988         "64" to "64-v1".  Add "64-v2".
35989         (abi-64-options): Rename to ...
35990         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35991         (abi-64-condition): Rename to ...
35992         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35993         (abi-64-ld-soname): Rename to ...
35994         (abi-64-v1-ld-soname): ... this.
35995         (abi-64-v2-options): Define.
35996         (abi-64-v2-condition): Likewise.
35997         (abi-64-v2-ld-soname): Likewise.
35998         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35999         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36004 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36005             Alan Modra  <amodra@gmail.com>
36007         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36008         New versions for use with the ELFv2 ABI.
36009         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36010         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36011         declaration.
36012         (struct La_ppc64v2_retval): Likewise.
36013         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36014         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36015         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36016         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36017         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36018         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36019         Do not save or restore CR.
36020         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36021         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36022         return values for ELFv2 ABI.  Fix location of FPR return registers.
36023         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36024         updated values for _CALL_ELF == 2.
36025         (La_regs, La_retval, int_retval): Likewise.
36027 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36029         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36030         (FRAME_MIN_SIZE_PARM): Likewise.
36031         (FRAME_BACKCHAIN): Likewise.
36032         (FRAME_CR_SAVE): Likewise.
36033         (FRAME_LR_SAVE): Likewise.
36034         (FRAME_TOC_SAVE): Likewise.
36035         (FRAME_PARM_SAVE): Likewise.
36036         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36037         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36038         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36039         (call_mcount_parm_offset): New macro.
36040         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36041         (PROF): Use symbolic stack frame offsets.
36042         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36043         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36044         Redefine in terms of FRAME_MIN_SIZE.
36045         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36046         (_dl_profile_resolve): Likewise.  Update comment.
36047         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36048         symbols stack frame offsets.
36049         (__sigsetjmp): Likewise.
36050         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36051         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36052         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36053         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36056         (FRAME_BACKCHAIN): Remove.
36057         (FRAME_CR_SAVE): Likewise.
36058         (FRAME_LR_SAVE): Likewise.
36059         (FRAME_COMPILER_DW): Likewise.
36060         (FRAME_LINKER_DW): Likewise.
36061         (FRAME_TOC_SAVE): Likewise.
36062         (FRAME_PARM_SAVE): Likewise.
36063         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36064         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36065         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36067         (CHECK_SP): Use symbolic stack frame offsets.
36068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36069         zone" instead of caller's parameter save area for temp storage.
36070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36071         Likewise.  Also, use symbolic stack frame offsets.
36072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36073         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36074         our own stack frame instead of the caller's.
36075         (__socket): Use symbolic stack frame offsets.
36077 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36078             Alan Modra  <amodra@gmail.com>
36080         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36081         Define.
36082         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36083         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36084         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36085         New function.
36086         (elf_machine_fixup_plt): Call it.
36087         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36088         reloc arguments.
36089         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36090         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36091         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36092         r2 before calling target.
36094 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36095             Alan Modra  <amodra@gmail.com>
36097         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36098         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36099         versions of macros to support ELFv2 ABI.
36100         (LOCALENTRY): New macro.
36101         (ENTRY, EALIGN): Use it.
36102         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36103         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36104         fall through into ENTRY entry point.
36105         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36106         Only define if _CALL_ELF != 2.
36108         (elf_machine_matches_host): Verify ABI version matches.
36109         (RTLD_START): Use LOCALENTRY.
36110         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36111         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36112         (PLT_ENTRY_WORDS): New macro.
36113         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36114         (elf_machine_runtime_setup): Support ELFv2 ABI.
36115         (elf_machine_fixup_plt): Likewise.
36116         (elf_machine_plt_conflict): Likewise.
36117         (resolve_ifunc): Likewise.
36118         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36119         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36120         Likewise.
36121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36122         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36124         (makecontext): Support ELFv2 ABI.
36125         * elf/elf.h (EF_PPC64_ABI): Define.
36127 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36129         * sysdeps/powerpc/powerpc64/sysdep.h
36130         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36131         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36132         (ENTRY) [ASSEMBLER]: ... but instead here ...
36133         (EALIGN) [ASSEMBLER]: ... and here.
36134         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36135         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36136         (ENTRY_2) [!ASSEMBLER]: Use it.
36137         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36138         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36139         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36140         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36141         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36143         Use PPC64_LOAD_FUNCPTR.
36145         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36147 2013-12-04  Alan Modra  <amodra@gmail.com>
36149         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36150         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36151         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36152         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36154         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36155         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36156         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36157         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36158         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36159         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36161 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36164         (__makecontext): Fix incorrect CFI when backtracing out of
36165         context created via makecontext.
36166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36167         (__setcontext): Fix incorrect CFI during switch to new context.
36168         (__novec_setcontext): Likewise.
36170 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36172         [BZ #4772]
36173         * time/strptime_l.c (__strptime_internal): Allow modifiers
36174         in strptime.
36175         * time/tst-strptime.c (day_tests): Add testcase.
36177 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36179         * scripts/bench.pl: Skip over blank lines.
36181 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36183         [BZ #926]
36184         * manual/time.texi (Calendar Time): Clarify what timezone functions
36185         use.
36187 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36191 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36193         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36194         implementation.
36195         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36196         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36197         * debug/memset_chk.c (__memset_chk): Likewise.
36198         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36199         * debug/strncpy_chk.c: Likewise.
36201 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36203         [BZ #15268]
36204         [BZ #15425]
36205         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36206         (__ieee754_exp): For possibly underflowing results, check size of
36207         result and force underflow exception if required.
36208         * math/auto-libm-test-in: Add more tests of exp.
36209         * math/auto-libm-test-out: Regenerated.
36210         * sysdeps/i386/fpu/libm-test-ulps: Update.
36211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36213         [BZ #16283]
36214         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36215         * math/w_exp2f.c (__exp2f): Likewise.
36216         * math/w_exp2l.c (__exp2l): Likewise.
36217         * math/auto-libm-test-in: Do not allow missing errno on exp2
36218         underflow.
36219         * math/auto-libm-test-out: Regenerated.
36221 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36223         [BZ #16274]
36224         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36225         handle filename validation.
36226         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36227         (do_open): Delete.
36229 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36231         [BZ #6786]
36232         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36233         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36234         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36235         <float.h>.
36236         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36237         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36238         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36239         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36240         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36241         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36242         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36243         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36244         Add more erfc tests.
36245         * math/auto-libm-test-out: Regenerated.
36246         * sysdeps/i386/fpu/libm-test-ulps: Update.
36247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36249         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36250         exp2, expm1, j0 and j1.
36251         * math/auto-libm-test-out: Regenerated.
36252         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36253         (erfc_test_data): Likewise.
36254         (exp_test_data): Likewise.
36255         (exp_tonearest_test_data): Likewise.
36256         (exp_towardzero_test_data): Likewise.
36257         (exp_downward_test_data): Likewise.
36258         (exp_upward_test_data): Likewise.
36259         (exp10_test_data): Likewise.
36260         (exp2_test_data): Likewise.
36261         (expm1_test_data): Likewise.
36262         (j0_test_data): Likewise.
36263         (j1_test_data): Likewise.
36264         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36265         (input_flag_type): Add flag_xfail_rounding.
36266         (input_flags): Add xfail-rounding.
36267         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36268         (output_for_one_input_case): Handle flag_xfail_rounding.
36269         * sysdeps/i386/fpu/libm-test-ulps: Update.
36270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36272 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36274         [BZ #16289]
36275         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36276         division by 0.
36278 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36280         [BZ #16195]
36281         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36282         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36283         (STAP_PROBE0): New macro.
36284         (STAP_PROBE1): Likewise.
36285         (STAP_PROBE2): Likewise.
36286         (STAP_PROBE3): Likewise.
36287         (STAP_PROBE4): Likewise.
36289 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36291         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36293 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36295         * benchtests/Makefile (bench): Add sqrt.
36296         (LDLIBS-bench-sqrt): New.
36297         * benchtests/sqrt-input: New.
36299 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36301         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36302         (GAIH_EAI): Likewise.
36303         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36304         (gaih_inet): Likewise.
36305         (getaddrinfo): Don't use GAIH_EAI.
36307         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36308         (struct gaih): Remove definition.
36310 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36312         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36313         Use HERRNOP directly.
36315 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36319 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36321         * math/gen-auto-libm-tests.c (test_functions): Add more
36322         single-argument functions.
36323         (special_fill_pi_2): New function.
36324         (special_fill_minus_pi_2): Likewise.
36325         (special_fill_pi_6): Likewise.
36326         (special_fill_minus_pi_6): Likewise.
36327         (special_fill_pi_3): Likewise.
36328         (special_fill_2pi_3): Likewise.
36329         (special_fill_e): Likewise.
36330         (special_fill_1_e): Likewise.
36331         (special_fill_e_minus_1): Likewise.
36332         (special_real_inputs): Add more special inputs.
36333         (output_for_one_input_case): Do not require ERANGE on underflow to
36334         zero if round-to-nearest result does not underflow to zero, unless
36335         exact results required.
36336         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36337         atan, atanh, cbrt, cos and cosh.
36338         * math/auto-libm-test-out: Regenerated.
36339         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36340         (acos_tonearest_test_data): Likewise.
36341         (acos_towardzero_test_data): Likewise.
36342         (acos_downward_test_data): Likewise.
36343         (acos_upward_test_data): Likewise.
36344         (acosh_test_data): Likewise.
36345         (asin_test_data): Likewise.
36346         (asin_tonearest_test_data): Likewise.
36347         (asin_towardzero_test_data): Likewise.
36348         (asin_upward_test_data): Likewise.
36349         (asinh_test_data): Likewise.
36350         (atan_test_data): Likewise.
36351         (atanh_test_data): Likewise.
36352         (cbrt_test_data): Likewise.
36353         (cos_test_data): Likewise.
36354         (cos_tonearest_test_data): Likewise.
36355         (cos_towardzero_test_data): Likewise.
36356         (cos_downward_test_data): Likewise.
36357         (cos_upward_test_data): Likewise.
36358         (cosh_test_data): Likewise.
36359         (cosh_tonearest_test_data): Likewise.
36360         (cosh_towardzero_test_data): Likewise.
36361         (cosh_downward_test_data): Likewise.
36362         (cosh_upward_test_data): Likewise.
36363         * sysdeps/i386/fpu/libm-test-ulps: Update.
36364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36366 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36368         [BZ #6787]
36369         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36370         * math/w_exp10f.c (__exp10f): Likewise.
36371         * math/w_exp10l.c (__exp10l): Likewise.
36372         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36373         errno settings in existing tests.
36375         [BZ #14032]
36376         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36377         precision control set to double precision.
36378         * sysdeps/i386/fpu/w_sqrt.c: New file.
36379         * math/auto-libm-test-in: Add more tests.
36380         * math/auto-libm-test-out: Update.
36382         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36383         (sqrt_test_tonearest): New function.
36384         (sqrt_towardzero_test_data): New variable.
36385         (sqrt_test_towardzero): New function.
36386         (sqrt_downward_test_data): New variable.
36387         (sqrt_test_downward): New function.
36388         (sqrt_upward_test_data): New variable.
36389         (sqrt_test_upward): New function.
36390         (main): Call the new functions.
36392         * math/gen-auto-libm-tests.c: New file.
36393         * math/auto-libm-test-in: Likewise.
36394         * math/auto-libm-test-out: New generated file.
36395         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36396         variables.
36397         (%beautify): Add generated representations of zero.
36398         (top level): Set $auto_input and call parse_auto_input.
36399         (beautify): Remove trailing "f" from hex float constants.
36400         (parse_args): Handle XFAIL_TEST.
36401         (convert_condition): New function.
36402         (or_value): Likewise.
36403         (or_cond_value): Likewise.
36404         (generate_testfile): Handle AUTO_TESTS_* lines.
36405         (parse_auto_input): New function.
36406         * math/libm-test.inc (XFAIL_TEST): New macro.
36407         (ERRNO_UNCHANGED): Update value.
36408         (ERRNO_EDOM): Likewise.
36409         (ERRNO_ERANGE): Likewise.
36410         (IGNORE_RESULT): Likewise.
36411         (TEST_COND_flt_32): New macro.
36412         (TEST_COND_dbl_64): Likewise.
36413         (TEST_COND_ldbl_96_intel): Likewise.
36414         (TEST_COND_ldbl_96_m68k): Likewise.
36415         (TEST_COND_ldbl_128): Likewise.
36416         (TEST_COND_ldbl_128ibm): Likewise.
36417         (TEST_COND_long32): Likewise.
36418         (TEST_COND_long64): Likewise.
36419         (TEST_COND_before_rounding): Likewise.
36420         (TEST_COND_after_rounding): Likewise.
36421         (enable_test): Handle XFAIL_TEST flag.
36422         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36423         with finite results.
36424         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36425         auto-libm-test-out.
36427 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36428             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36430         [BZ #16214]
36431         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36432         __tls_get_addr_internal instead of __tls_get_offset in order to
36433         avoid GOT pointer dependency.  Make rtld export
36434         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36435         __tls_get_addr since we are a __tls_get_offset platform.
36436         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36437         GOT pointer being set up before.
36438         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36440 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36442         * manual/math.texi (Errors in Math Functions): Document accuracy
36443         goals.
36445         [BZ #15004]
36446         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36447         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36448         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36449         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36450         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36451         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36452         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36453         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36454         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36455         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36456         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36457         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36458         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36459         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36460         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36461         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36463         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36464         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36465         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36466         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36467         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36468         Likewise.
36469         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36470         Likewise.
36471         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36472         Likewise.
36473         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36474         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36475         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36476         atomic-feupdateenv and flt-rounds.
36477         * sysdeps/powerpc/nofpu/Versions (libc): Add
36478         __atomic_feholdexcept, __atomic_feclearexcept,
36479         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36480         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36481         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36482         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36483         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36484         here.
36485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36486         Update.
36488         * manual/arith.texi (FP Exceptions): Document that exceptions may
36489         not be raised when matherr is used.
36490         (Math Error Reporting): Document overflow in directed rounding
36491         modes.  Document that errno may not be set when finite values are
36492         returned on overflow.  Document intent to set errno on underflow
36493         only for underflow to zero.
36495         [BZ #16271]
36496         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36497         round-to-nearest then adjust result for other rounding modes.
36498         * include/fenv.h (fegetround): Use libm_hidden_proto.
36499         * math/fegetround.c (fegetround): Use libm_hidden_def.
36500         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36501         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36502         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36503         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36504         Likewise.
36505         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36506         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36507         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36508         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36510 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36512         [BZ #16077]
36513         * nss/Versions (libnss_files): Add
36514         _nss_files_gethostbyname3_r.
36515         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36516         New function.
36517         (HOST_DB_LOOKUP): Remove macro.
36518         (_nss_files_gethostbyname_r): Implement function without the
36519         HOST_DB_LOOKUP macro.
36520         (_nss_files_gethostbyname2_r): Likewise.
36522 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36524         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36526 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36528         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36529         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36530         warning.
36532 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36534         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36535         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36536         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36537         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36538         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36539         __fe_nomask_env_priv and attribute_hidden.
36540         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36541         (libc_feupdateenv_test_ppc): Likewise.
36542         (libc_feresetround_ppc): Likewise.
36543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36544         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36545         compat_symbol macro.
36546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36547         (__fe_nomask_env): Likewise.
36548         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36550 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36552         * string/Makefile: Remove ifunc tests.
36553         * string/test-string.h: Define TEST_IFUNC.
36554         * string/test-bcopy-ifunc.c: Remove.
36555         * string/test-bzero-ifunc.c: Likewise.
36556         * string/test-memccpy-ifunc.c: Likewise.
36557         * string/test-memchr-ifunc.c: Likewise.
36558         * string/test-memcmp-ifunc.c: Likewise.
36559         * string/test-memcpy-ifunc.c: Likewise.
36560         * string/test-memmem-ifunc.c: Likewise.
36561         * string/test-memmove-ifunc.c: Likewise.
36562         * string/test-mempcpy-ifunc.c: Likewise.
36563         * string/test-memrchr-ifunc.c: Likewise.
36564         * string/test-memset-ifunc.c: Likewise.
36565         * string/test-rawmemchr-ifunc.c: Likewise.
36566         * string/test-stpcpy-ifunc.c: Likewise.
36567         * string/test-stpncpy-ifunc.c: Likewise.
36568         * string/test-strcasecmp-ifunc.c: Likewise.
36569         * string/test-strcasestr-ifunc.c: Likewise.
36570         * string/test-strcat-ifunc.c: Likewise.
36571         * string/test-strchr-ifunc.c: Likewise.
36572         * string/test-strchrnul-ifunc.c: Likewise.
36573         * string/test-strcmp-ifunc.c: Likewise.
36574         * string/test-strcpy-ifunc.c: Likewise.
36575         * string/test-strcspn-ifunc.c: Likewise.
36576         * string/test-strlen-ifunc.c: Likewise.
36577         * string/test-strncasecmp-ifunc.c: Likewise.
36578         * string/test-strncat-ifunc.c: Likewise.
36579         * string/test-strncmp-ifunc.c: Likewise.
36580         * string/test-strncpy-ifunc.c: Likewise.
36581         * string/test-strnlen-ifunc.c: Likewise.
36582         * string/test-strpbrk-ifunc.c: Likewise.
36583         * string/test-strrchr-ifunc.c: Likewise.
36584         * string/test-strspn-ifunc.c: Likewise.
36585         * string/test-strstr-ifunc.c: Likewise.
36587 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36589         * benchtests/Makefile: Remove ifunc tests.
36590         * benchtests/bench-string.h: Define TEST_IFUNC.
36591         * benchtests/bench-bcopy-ifunc.c: Remove.
36592         * benchtests/bench-bzero-ifunc.c: Likewise.
36593         * benchtests/bench-memccpy-ifunc.c: Likewise.
36594         * benchtests/bench-memchr-ifunc.c: Likewise.
36595         * benchtests/bench-memcmp-ifunc.c: Likewise.
36596         * benchtests/bench-memcpy-ifunc.c: Likewise.
36597         * benchtests/bench-memmem-ifunc.c: Likewise.
36598         * benchtests/bench-memmove-ifunc.c: Likewise.
36599         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36600         * benchtests/bench-memrchr-ifunc.c: Likewise.
36601         * benchtests/bench-memset-ifunc.c: Likewise.
36602         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36603         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36604         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36605         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36606         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36607         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36608         * benchtests/bench-strcat-ifunc.c: Likewise.
36609         * benchtests/bench-strchr-ifunc.c: Likewise.
36610         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36611         * benchtests/bench-strcmp-ifunc.c: Likewise.
36612         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36613         * benchtests/bench-strcpy-ifunc.c: Likewise.
36614         * benchtests/bench-strcspn-ifunc.c: Likewise.
36615         * benchtests/bench-strlen-ifunc.c: Likewise.
36616         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36617         * benchtests/bench-strncat-ifunc.c: Likewise.
36618         * benchtests/bench-strncmp-ifunc.c: Likewise.
36619         * benchtests/bench-strncpy-ifunc.c: Likewise.
36620         * benchtests/bench-strnlen-ifunc.c: Likewise.
36621         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36622         * benchtests/bench-strrchr-ifunc.c: Likewise.
36623         * benchtests/bench-strsep-ifunc.c: Likewise.
36624         * benchtests/bench-strspn-ifunc.c: Likewise.
36625         * benchtests/bench-strstr-ifunc.c: Likewise.
36627 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36629         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36631 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36633         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36634         * rt/aio.h: Likewise.
36635         * sysdeps/gnu/bits/utmp.h: Likewise.
36636         * sysdeps/gnu/bits/utmpx.h: Likewise.
36637         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36638         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36639         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36640         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36641         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36642         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36643         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36644         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36645         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36646         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36647         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36648         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36649         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36651         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36652         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36653         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36654         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36655         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36656         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36657         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36658         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36659         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36660         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36661         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36662         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36663         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36664         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36665         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36666         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36667         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36668         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36669         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36670         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36671         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36672         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36673         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36674         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36675         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36676         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36677         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36678         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36680 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36682         [BZ #16245]
36683         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36684         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36686 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36688         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36689         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36690         Likewise.
36692 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36694         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36695         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36696         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36697         (__fesetround): Remove define.
36698         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36699         rounding and exceptions handling.
36700         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36701         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36702         (__fe_nomask_env): Likewise.
36703         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36704         __fegetround instead of fegetround.
36705         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36706         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36708 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36710         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36711         it's there.
36713         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36715 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36717         [BZ #11157]
36718         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36719         (encrypt_r): Likewise.
36720         * malloc/obstack.h (obstack_free): Likewise.
36721         * posix/unistd.h (encrypt): Likewise.
36723 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36725         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36726         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36727         DL_CALL_DT_FINI() that call the functions directly.
36728         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36729         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36730         * elf/dl-fini.c: Likewise.
36732 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36734         * malloc/hooks.c (memalign_check): Add alignment rounding.
36735         * malloc/malloc.c (_mid_memalign): New function.
36736         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36737         Implement by calling _mid_memalign.
36738         * manual/probes.texi (Memory Allocation Probes): Remove
36739         memory_valloc_retry and memory_pvalloc_retry.
36741 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36743         * locale/programs/locarchive.c (open_archive): Add const
36744         qualifier to ARCHIVEFNAME and copy default fname to
36745         DEFAULT_FNAME.
36747         [BZ #15601]
36748         * libio/tst-widetext.input: Rename Oriya to Odia.
36749         * locale/iso-639.def: Likewise.
36751         * manual/probes.texi (Mathematical Function Probes): Add
36752         documentation for sin, cos, asin and acos probes.
36753         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36754         (__sin32): Add slowasin probe.
36755         (__cos32): Add slowacos probe.
36756         (__mpsin): Add slowsin probe.
36757         (__mpcos): Add slowcos probe.
36759 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36761         [BZ #15483]
36762         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36763         thread-local __sim_exceptions_thread and global
36764         __sim_exceptions_global.
36765         (__sim_disabled_exceptions): Change to thread-local
36766         __sim_disabled_exceptions_thread and global
36767         __sim_disabled_exceptions_global.
36768         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36769         and global __sim_round_mode_global.
36770         (__simulate_exceptions): Use thread-local floating-point state and
36771         set global state from it as needed.
36772         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36773         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36774         __sim_round_mode_thread.
36775         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36776         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36777         and global __sim_exceptions_global.
36778         (__sim_disabled_exceptions): Change to thread-local
36779         __sim_disabled_exceptions_thread and global
36780         __sim_disabled_exceptions_global.
36781         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36782         and global __sim_round_mode_global.
36783         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36784         (SIM_SET_GLOBAL): Likewise.
36785         * sysdeps/powerpc/soft-fp/sfp-machine.h
36786         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36787         __sim_round_mode_thread.
36788         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36789         __sim_disabled_exceptions_thread.
36790         (__sim_exceptions): Change to __sim_exceptions_thread.
36791         (__sim_disabled_exceptions): Change to
36792         __sim_disabled_exceptions_thread.
36793         (__sim_round_mode): Change to __sim_round_mode_thread.
36794         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36795         thread-local floating-point state and set global state from it as
36796         needed.
36797         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36798         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36799         (__sim_disabled_exceptions): Remove extern declaration.
36800         (feenableexcept): Use thread-local floating-point state and set
36801         global state from it as needed.
36802         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36803         extern declaration.
36804         (__sim_disabled_exceptions): Likewise.
36805         (__sim_round_mode): Likewise.
36806         (__fegetenv): Use thread-local floating-point state.
36807         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36808         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36809         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36810         floating-point state and set global state from it as needed.
36811         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36812         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36813         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36814         Likewise.
36815         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36816         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36817         Likewise.
36818         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36819         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36820         Use __sim_round_mode_thread.
36821         * math/test-fenv-tls.c: New file.
36822         * math/Makefile (tests): Add test-fenv-tls.
36823         ($(objpfx)test-fenv-tls): Depend on
36824         $(common-objpfx)nptl/libpthread.so.
36826 2013-11-19  Andreas Schwab  <schwab@suse.de>
36828         * locale/programs/locale.c (show_info): Decode wordarray elements.
36829         * locale/categories.def (LC_MONETARY): Add element for
36830         _NL_MONETARY_CRNCYSTR.
36831         * locale/C-monetary.c (conversion_rate): New variable.
36832         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36833         element.
36835 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36837         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36838         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36840 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36842         * elf/Makefile (tst-auxv): New test.
36843         * elf/tst-auxv.c: New
36844         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36846 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36848         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36849         (hidden_proto): Caller changed.
36850         (hidden_tls_proto): New macro.
36851         (libc_hidden_tls_proto): Likewise.
36852         (rtld_hidden_tls_proto): Likewise.
36853         (libm_hidden_tls_proto): Likewise.
36854         (libresolv_hidden_tls_proto): Likewise.
36855         (librt_hidden_tls_proto): Likewise.
36856         (libdl_hidden_tls_proto): Likewise.
36857         (libnss_files_hidden_tls_proto): Likewise.
36858         (libnsl_hidden_tls_proto): Likewise.
36859         (libnss_nisplus_hidden_tls_proto): Likewise.
36860         (libutil_hidden_tls_proto): Likewise.
36862 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36864         [BZ #10253]
36865         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36866         (decompose_rpath): Defer expansion to fillin_rpath.
36867         (_dl_init_paths): Pass linkmap to fillin_rpath.
36869 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36871         * benchtests/Makefile: Add strsep.
36872         * benchtests/bench-strsep.c: New file: strsep benchtest.
36873         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36875 2013-11-18  Andreas Schwab  <schwab@suse.de>
36877         * locale/programs/locale.c (show_info) [case byte]: Check for
36878         '\377' instead of '\177'.
36879         * locale/C-monetary.c (not_available): Always use "\377".
36880         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36881         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36882         detect unavailable sign_posn locale elements.
36883         * locale/localeconv.c (__localeconv): For grouping and
36884         mon_grouping handle "\177" and "\377" like no grouping.
36885         (INT_ELEM): New macro.  Use it to set all numeric members.
36886         * locale/programs/ld-monetary.c (monetary_read)
36887         <tok_mon_grouping>: Normalize single -1 to the empty string.
36888         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36889         Likewise.
36891 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36893         [BZ #16055]
36894         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36895         when we match (nil).
36896         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36898 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36900         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36901         (NO_TEST_INLINE): Update value.
36902         (ERRNO_UNCHANGED): Likewise.
36903         (ERRNO_EDOM): Likewise.
36904         (ERRNO_ERANGE): Likewise.
36905         (IGNORE_RESULT): Likewise.
36906         (check_float_internal): Check signs of NaN results if
36907         TEST_NAN_SIGN used.
36908         (check_complex): Pass TEST_NAN_SIGN flag through to second
36909         check_float_internal call.
36910         (copysign_test_data): Add tests with quiet NaNs as second
36911         argument.  Use TEST_NAN_SIGN.
36912         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36913         TEST_NAN_SIGN.
36914         (signbit_test_data): Add tests of quiet NaN argument.
36915         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36917         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36918         $ignore_result.
36919         (parse_args): Handle function results specified as IGNORE.
36920         * math/libm-test.inc (IGNORE_RESULT): New macro.
36921         (check_float_internal): Do not check numerical result if flag
36922         IGNORE_RESULT set.
36923         (check_complex): Pass through IGNORE_RESULT to second
36924         check_float_internal call.
36925         (check_int): Do not check numerical result if flag IGNORE_RESULT
36926         set.
36927         (check_long): Likewise.
36928         (check_bool): Likewise.
36929         (check_longlong): Likewise.
36930         (lrint_test_data): Add tests of infinite and NaN arguments.
36931         (lrint_tonearest_test_data): Likewise.
36932         (lrint_towardzero_test_data): Likewise.
36933         (lrint_downward_test_data): Likewise.
36934         (lrint_upward_test_data): Likewise.
36935         (llrint_test_data): Likewise.
36936         (llrint_tonearest_test_data): Likewise.
36937         (llrint_towardzero_test_data): Likewise.
36938         (llrint_downward_test_data): Likewise.
36939         (llrint_upward_test_data): Likewise.
36940         (lround_test_data): Likewise.
36941         (llround_test_data): Likewise.
36943         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36944         (ERRNO_UNCHANGED): Update value.
36945         (ERRNO_EDOM): Likewise.
36946         (ERRNO_ERANGE): Likewise.
36947         (NO_TEST_INLINE_FLOAT): New macro.
36948         (NO_TEST_INLINE_DOUBLE): Likewise.
36949         (enable_test): New function.
36950         (RUN_TEST_f_f): Check enable_test before running test.
36951         (RUN_TEST_2_f): Likewise.
36952         (RUN_TEST_fff_f): Likewise.
36953         (RUN_TEST_c_f): Likewise.
36954         (RUN_TEST_f_f1): Likewise.
36955         (RUN_TEST_fF_f1): Likewise.
36956         (RUN_TEST_fI_f1): Likewise.
36957         (RUN_TEST_ffI_f1): Likewise.
36958         (RUN_TEST_c_c): Likewise.
36959         (RUN_TEST_cc_c): Likewise.
36960         (RUN_TEST_f_i): Likewise.
36961         (RUN_TEST_f_i_tg): Likewise.
36962         (RUN_TEST_ff_i_tg): Likewise.
36963         (RUN_TEST_f_b): Likewise.
36964         (RUN_TEST_f_b_tg): Likewise.
36965         (RUN_TEST_f_l): Likewise.
36966         (RUN_TEST_f_L): Likewise.
36967         (RUN_TEST_fFF_11): Likewise.
36968         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36969         conditionals.
36970         (cosh_test_data): Likewise.
36971         (exp_test_data): Likewise.
36972         (expm1_test_data): Likewise.
36973         (hypot_test_data): Likewise.
36974         (pow_test_data): Likewise.
36975         (sinh_test_data): Likewise.
36976         (tanh_test_data): Likewise.
36977         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36978         flags argument.
36980         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36981         tests with quiet NaN input and output.
36982         (acosh_test_data): Likewise.
36983         (asin_test_data): Likewise.
36984         (asinh_test_data): Likewise.
36985         (atan_test_data): Likewise.
36986         (atanh_test_data): Likewise.
36987         (atan2_test_data): Likewise.
36988         (cbrt_test_data): Likewise.
36989         (cos_test_data): Likewise.
36990         (cosh_test_data): Likewise.
36991         (erf_test_data): Likewise.
36992         (erfc_test_data): Likewise.
36993         (exp_test_data): Likewise.
36994         (exp10_test_data): Likewise.
36995         (exp2_test_data): Likewise.
36996         (expm1_test_data): Likewise.
36997         (hypot_test_data): Likewise.
36998         (j0_test_data): Likewise.
36999         (j1_test_data): Likewise.
37000         (jn_test_data): Likewise.
37001         (lgamma_test_data): Likewise.
37002         (log_test_data): Likewise.
37003         (log10_test_data): Likewise.
37004         (log1p_test_data): Likewise.
37005         (log2_test_data): Likewise.
37006         (pow_test_data): Likewise.
37007         (scalb_test_data): Likewise.
37008         (sin_test_data): Likewise.
37009         (sincos_test_data): Likewise.
37010         (sinh_test_data): Likewise.
37011         (tan_test_data): Likewise.
37012         (tanh_test_data): Likewise.
37013         (tgamma_test_data): Likewise.
37014         (y0_test_data): Likewise.
37015         (y1_test_data): Likewise.
37016         (yn_test_data): Likewise.
37018         [BZ #16167]
37019         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37020         argument being NaN and avoid computations with second argument in
37021         that case.
37022         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37023         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37024         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37026 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37028         * locale/iso-639.def: Add Chitwani Tharu (the).
37030 2013-11-14  Andreas Schwab  <schwab@suse.de>
37032         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37033         word instead of empty string.
37035 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37038         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37040         (__fe_nomask_env): Likewise.
37042 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37044         * benchtests/bench-timing.h: Include time.h.
37046 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37048         [BZ #15997]
37049         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37050         to 3.4.0 for x32.
37051         * sysdeps/unix/sysv/linux/configure: Regenerated.
37053 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37055         [BZ #16151]
37056         * stdlib/strtod_l.c (round_and_return): Do not consider
37057         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37058         exponent one less than half the least subnormal exponent.
37059         * stdlib/test-strtod-round-data: Add more tests.
37060         * stdlib/tst-strtod-round.c (tests): Regenerated.
37062 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37064         [BZ #14143]
37065         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37066         (__fe_mask_env): Likewise.
37067         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37068         libm_hidden_proto and add function prototype.
37069         (__fe_mask_env): Add function prototype.
37070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37071         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37073         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37075         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37077 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37079         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37080         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37082 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37084         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37085         of htab_find_slot().
37087 2013-11-11  David S. Miller  <davem@davemloft.net>
37089         [BZ #16150]
37090         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37091         symbol in the non-vis3 case in static builds.
37092         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37093         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37094         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37095         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37097 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37099         [BZ #387]
37100         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37101         it is empty.
37103 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37105         * benchtests/Makefile: Add bench-strtod.
37106         * benchtests/bench-strtod.c: New file: strtod benchtest
37108 2013-11-11  Andreas Schwab  <schwab@suse.de>
37110         [BZ #16153]
37111         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37112         terminating NUL in key length.
37114 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37116         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37117         Add artificial ODP entry for vDSO symbol for PPC64.
37118         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37119         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37121 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37123         [BZ #15374]
37124         * nss/getent.c (services_keys): Recognize services starting with digit.
37126 2013-11-06  David S. Miller  <davem@davemloft.net>
37128         [BZ #15985]
37129         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37130         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37132 2013-11-06  Will Newton  <will.newton@linaro.org>
37134         * manual/memory.texi (Malloc Examples): Remove register
37135         keyword from examples.
37137 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37139         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37141 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37143         [BZ #6981]
37144         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37145         depending on [__GCC_IEC_559 > 0].
37146         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37147         depending on [__GCC_IEC_559_COMPLEX > 0].
37149 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37151         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37152         to iso-639.def.
37154 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37156         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37158 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37160         [BZ #16112]
37161         * malloc/malloc (malloc_info): Do not handle first bin as
37162         special case.
37164 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37166         * locale/iso-639.def: Add Central Nahuatl (nhn).
37168 2013-11-01  Bruno Haible  <bruno@clisp.org>
37170         [BZ #7003]
37171         * manual/math.texi (BSD Random): Specify range upper bound as
37172         in POSIX.
37174 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37176         * locale/iso-639.def: Add Meadow Mari (mhr).
37178 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37180         [BZ #14752], [BZ #15763]
37181         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37182         Validate name.
37183         * rt/tst_shm.c: Add test for escaping directory.
37185 2013-10-31  Andreas Schwab  <schwab@suse.de>
37187         [BZ #15917]
37188         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37189         followed by 'x' as part of digit sequence.
37190         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37192 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37194         [BZ #16037]
37195         * configure.ac: allow GNU Make 4.0 and greater.
37196         * configure: Regenerated.
37198 2013-10-30  Will Newton  <will.newton@linaro.org>
37200         [BZ #16038]
37201         * malloc/hooks.c (memalign_check): Limit alignment to the
37202         maximum representable power of two.
37203         * malloc/malloc.c (__libc_memalign): Likewise.
37204         * malloc/tst-memalign.c (do_test): Add test for very
37205         large alignment values.
37206         * malloc/tst-posix_memalign.c (do_test): Likewise.
37208 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37210         [BZ #11087]
37211         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37212         (munmap_chunk): Likewise.
37213         (mremap_chunk): Likewise.
37215 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37217         [BZ #15799]
37218         * stdlib/div.c (div): Remove obsolete code.
37219         * stdlib/ldiv.c (ldiv): Likewise.
37220         * stdlib/lldiv.c (lldiv): Likewise.
37222 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37224         [BZ #16071]
37225         * nss/nss_files/files-XXX.c (get_contents_ret): New
37226         enumerator.
37227         (get_contents): New function.
37228         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37230 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37232         * configure.in: Moved to ...
37233         * configure.ac: ... here. Change reference to configure.in
37234         to configure.ac.
37235         * sysdeps/arm/preconfigure.ac: ... here.
37236         configure.in to configure.ac.
37237         * sysdeps/gnu/configure.in: Moved to ...
37238         * sysdeps/gnu/configure.ac: ... here.
37239         * sysdeps/i386/configure.in: Moved to ...
37240         * sysdeps/i386/configure.ac: ... here.
37241         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37242         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37243         * sysdeps/mach/configure.in: Moved to ...
37244         * sysdeps/mach/configure.ac: ... here.
37245         * sysdeps/mach/hurd/configure.in: Moved to ...
37246         * sysdeps/mach/hurd/configure.ac: ... here.
37247         * sysdeps/powerpc/configure.in: Moved to ...
37248         * sysdeps/powerpc/configure.ac: ... here.
37249         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37250         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37251         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37252         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37253         * sysdeps/s390/s390-32/configure.in: Moved to ...
37254         * sysdeps/s390/s390-32/configure.ac: ... here.
37255         * sysdeps/s390/s390-64/configure.in: Moved to ...
37256         * sysdeps/s390/s390-64/configure.ac: ... here.
37257         * sysdeps/sh/configure.in: Moved to ...
37258         * sysdeps/sh/configure.ac: ... here.
37259         * sysdeps/sparc/configure.in: Moved to ...
37260         * sysdeps/sparc/configure.ac: ... here.
37261         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37262         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37263         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37264         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37265         * sysdeps/x86_64/configure.in: Moved to ...
37266         * sysdeps/x86_64/configure.ac: ... here.
37267         * sysdeps/x86_64/preconfigure.in: Moved to ...
37268         * sysdeps/x86_64/preconfigure.ac: ... here.
37269         * aclocal.m4: Change reference to configure.in to configure.ac.
37270         * config.h.in: Likewise.
37271         * manual/install.texi: Likewise.
37272         * manual/maint.texi: Likewise.
37273         * Makefile: Likewise.
37274         * malloc/Makefile: Likewise.
37275         * nscd/Makefile: Likewise.
37276         * Makeconfig: Change reference to configure.in and
37277         preconfigure.in to configure.ac and preconfigure.ac
37278         respectively.
37279         * INSTALL: Regenerated.
37280         * configure: Likewise.
37281         * sysdeps/gnu/configure: Likewise.
37282         * sysdeps/i386/configure: Likewise.
37283         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37284         * sysdeps/mach/configure: Likewise.
37285         * sysdeps/mach/hurd/configure: Likewise.
37286         * sysdeps/powerpc/configure: Likewise.
37287         * sysdeps/powerpc/powerpc32/configure: Likewise.
37288         * sysdeps/powerpc/powerpc64/configure: Likewise.
37289         * sysdeps/s390/s390-32/configure: Likewise.
37290         * sysdeps/s390/s390-64/configure: Likewise.
37291         * sysdeps/sh/configure: Likewise.
37292         * sysdeps/sparc/configure: Likewise.
37293         * sysdeps/unix/sysv/linux/configure: Likewise.
37294         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37295         * sysdeps/x86_64/configure: Likewise.
37296         * sysdeps/x86_64/preconfigure: Likewise.
37298 2013-10-29  Andreas Schwab  <schwab@suse.de>
37300         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37302 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37304         * benchtests/pow-inputs: Add new inputs.
37306         * benchtests/exp-inputs: Add new inputs.
37308         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37309         conditional check for return value.
37310         (__cos32): Likewise.
37312 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37314         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37315         to provide a boost for large inputs with word alignment.
37316         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37317         implementation based on optimized PPC64 strcpy.
37318         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37319         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37320         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37321         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37323 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37325         [BZ #2801]
37326         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37328 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37330         [BZ #14876]
37331         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37332         * time/tst-strptime.c (day_tests): Add testcase.
37334 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37336         [BZ #14029]
37337         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37339 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37341         [BZ #16074]
37342         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37343         MAP_FAILED on error.
37345 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37347         [BZ #16072]
37348         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37349         heap for large requests.
37351 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37353         [BZ #9954]
37354         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37355         result if the result has no associated interface.
37356         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37357         interface for all 127.X.Y.Z addresses.
37359 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37361         * locale/iso-639.def: Add Ligurian (lij)
37363 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37365         [BZ #15825]
37366         * sunrpc/rpc_main.c: Document rpcgen -5.
37368 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37370         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37372 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37374         [BZ #10278]
37375         * posix/glob.c: Match only directories when trailing slash is present.
37376         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37377         (main): Add testcase.
37379 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37381         [BZ #15670]
37382         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37384 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37386         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37387         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37388         AUTH_DES and cindex for FIPS 140-2.
37389         (DES Encryption): Add cindex FIPS 46-3.
37391         * locale/locarchive.h (struct locarhandle): Add fname.
37392         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37393         if an optional argument was specified to --list-archive,
37394         otherwise NULL.
37395         * locale/programs/locarchive.c (show_archive_content): Take new
37396         argument fname and pass it via ah.fname to open_archive.
37397         * locale/programs/localedef.h: Update decl.
37398         (open_archive): If AH->fname is non-null, open that file
37399         rather than the default file name, and don't ignore ENOENT.
37400         (create_archive): Set AH.fname to NULL.
37401         (delete_locales_from_archive): Likewise.
37402         (add_locales_to_archive): Likewise.
37403         * locale/programs/locfile.c (write_all_categories): Likewise.
37405 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37406             Aldy Hernandez  <aldyh@redhat.com>
37408         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37409         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37410         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37411         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37412         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37413         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37414         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37415         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37416         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37417         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37418         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37419         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37420         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37421         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37422         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37423         Likewise.
37424         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37425         Likewise.
37426         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37427         Likewise.
37428         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37429         Likewise.
37430         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37431         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37432         Likewise.
37433         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37434         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37435         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37436         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37437         Likewise.
37438         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37439         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37440         * sysdeps/powerpc/preconfigure: Likewise.
37441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37442         Likewise.
37443         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37444         Replace contents of file by #include of <fenv_libc.h>.
37445         * sysdeps/powerpc/soft-fp/sfp-machine.h
37446         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37447         and <sys/prctl.h>.
37448         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37449         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37450         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37451         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37452         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37453         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37455         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37456         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37457         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37458         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37459         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37461         Allow copysignl PLT reference to be missing.
37463 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37464             Joseph Myers  <joseph@codesourcery.com
37466         [BZ #15948]
37467         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37468         single character.
37469         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37471 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37473         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37474         * elf/tst-tls1.c: Likewise.
37475         * elf/tst-tls10.h: Likewise.
37476         * elf/tst-tls14.c: Likewise.
37477         * elf/tst-tls2.c: Likewise.
37478         * elf/tst-tls3.c: Likewise.
37479         * elf/tst-tls4.c: Likewise.
37480         * elf/tst-tls5.c: Likewise.
37481         * elf/tst-tls6.c: Likewise.
37482         * elf/tst-tls7.c: Likewise.
37483         * elf/tst-tls8.c: Likewise.
37484         * elf/tst-tls9.c: Likewise.
37485         * elf/tst-tlsmod1.c: Likewise.
37486         * elf/tst-tlsmod13.c: Likewise.
37487         * elf/tst-tlsmod13a.c: Likewise.
37488         * elf/tst-tlsmod14a.c: Likewise.
37489         * elf/tst-tlsmod16a.c: Likewise.
37490         * elf/tst-tlsmod16b.c: Likewise.
37491         * elf/tst-tlsmod2.c: Likewise.
37492         * elf/tst-tlsmod3.c: Likewise.
37493         * elf/tst-tlsmod4.c: Likewise.
37494         * elf/tst-tlsmod5.c: Likewise.
37495         * elf/tst-tlsmod6.c: Likewise.
37497 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37499         [BZ #12486]
37500         * malloc/malloc.c: remove checks for statistics.
37502 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37504         [BZ #15277]
37505         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37506         * inet/tst-network.c: Add testcase.
37508 2013-10-17  Andreas Schwab  <schwab@suse.de>
37510         [BZ #15218]
37511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37512         to determine canonical name.
37514 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37516         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37517         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37518         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37519         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37520         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37521         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37522         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37523         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37524         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37525         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37526         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37527         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37528         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37529         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37530         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37531         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37532         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37533         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37534         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37535         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37536         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37537         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37538         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37539         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37540         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37541         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37542         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37543         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37544         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37545         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37546         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37547         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37548         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37549         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37550         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37551         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37552         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37553         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37554         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37555         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37556         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37557         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37558         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37559         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37560         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37561         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37562         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37563         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37564         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37565         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37566         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37567         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37568         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37569         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37570         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37571         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37572         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37573         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37575 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37577         [BZ #16041]
37578         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37579         make result into a quiet NaN.
37581 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37583         * soft-fp/adddf3.c: Fix horizontal whitespace.
37584         * soft-fp/addsf3.c: Likewise.
37585         * soft-fp/addtf3.c: Likewise.
37586         * soft-fp/divdf3.c: Likewise.
37587         * soft-fp/divsf3.c: Likewise.
37588         * soft-fp/divtf3.c: Likewise.
37589         * soft-fp/double.h: Likewise.
37590         * soft-fp/eqdf2.c: Likewise.
37591         * soft-fp/eqsf2.c: Likewise.
37592         * soft-fp/eqtf2.c: Likewise.
37593         * soft-fp/extenddftf2.c: Likewise.
37594         * soft-fp/extended.h: Likewise.
37595         * soft-fp/extendsfdf2.c: Likewise.
37596         * soft-fp/extendsftf2.c: Likewise.
37597         * soft-fp/extendxftf2.c: Likewise.
37598         * soft-fp/fixdfdi.c: Likewise.
37599         * soft-fp/fixdfsi.c: Likewise.
37600         * soft-fp/fixdfti.c: Likewise.
37601         * soft-fp/fixsfdi.c: Likewise.
37602         * soft-fp/fixsfsi.c: Likewise.
37603         * soft-fp/fixsfti.c: Likewise.
37604         * soft-fp/fixtfdi.c: Likewise.
37605         * soft-fp/fixtfsi.c: Likewise.
37606         * soft-fp/fixtfti.c: Likewise.
37607         * soft-fp/fixunsdfdi.c: Likewise.
37608         * soft-fp/fixunsdfsi.c: Likewise.
37609         * soft-fp/fixunsdfti.c: Likewise.
37610         * soft-fp/fixunssfdi.c: Likewise.
37611         * soft-fp/fixunssfsi.c: Likewise.
37612         * soft-fp/fixunssfti.c: Likewise.
37613         * soft-fp/fixunstfdi.c: Likewise.
37614         * soft-fp/fixunstfsi.c: Likewise.
37615         * soft-fp/fixunstfti.c: Likewise.
37616         * soft-fp/floatdidf.c: Likewise.
37617         * soft-fp/floatdisf.c: Likewise.
37618         * soft-fp/floatditf.c: Likewise.
37619         * soft-fp/floatsidf.c: Likewise.
37620         * soft-fp/floatsisf.c: Likewise.
37621         * soft-fp/floatsitf.c: Likewise.
37622         * soft-fp/floattidf.c: Likewise.
37623         * soft-fp/floattisf.c: Likewise.
37624         * soft-fp/floattitf.c: Likewise.
37625         * soft-fp/floatundidf.c: Likewise.
37626         * soft-fp/floatundisf.c: Likewise.
37627         * soft-fp/floatunditf.c: Likewise.
37628         * soft-fp/floatunsidf.c: Likewise.
37629         * soft-fp/floatunsisf.c: Likewise.
37630         * soft-fp/floatunsitf.c: Likewise.
37631         * soft-fp/floatuntidf.c: Likewise.
37632         * soft-fp/floatuntisf.c: Likewise.
37633         * soft-fp/floatuntitf.c: Likewise.
37634         * soft-fp/fmadf4.c: Likewise.
37635         * soft-fp/fmasf4.c: Likewise.
37636         * soft-fp/fmatf4.c: Likewise.
37637         * soft-fp/gedf2.c: Likewise.
37638         * soft-fp/gesf2.c: Likewise.
37639         * soft-fp/getf2.c: Likewise.
37640         * soft-fp/ledf2.c: Likewise.
37641         * soft-fp/lesf2.c: Likewise.
37642         * soft-fp/letf2.c: Likewise.
37643         * soft-fp/muldf3.c: Likewise.
37644         * soft-fp/mulsf3.c: Likewise.
37645         * soft-fp/multf3.c: Likewise.
37646         * soft-fp/negdf2.c: Likewise.
37647         * soft-fp/negsf2.c: Likewise.
37648         * soft-fp/negtf2.c: Likewise.
37649         * soft-fp/op-1.h: Likewise.
37650         * soft-fp/op-2.h: Likewise.
37651         * soft-fp/op-4.h: Likewise.
37652         * soft-fp/op-8.h: Likewise.
37653         * soft-fp/op-common.h: Likewise.
37654         * soft-fp/quad.h: Likewise.
37655         * soft-fp/single.h: Likewise.
37656         * soft-fp/soft-fp.h: Likewise.
37657         * soft-fp/sqrtdf2.c: Likewise.
37658         * soft-fp/sqrtsf2.c: Likewise.
37659         * soft-fp/sqrttf2.c: Likewise.
37660         * soft-fp/subdf3.c: Likewise.
37661         * soft-fp/subsf3.c: Likewise.
37662         * soft-fp/subtf3.c: Likewise.
37663         * soft-fp/truncdfsf2.c: Likewise.
37664         * soft-fp/trunctfdf2.c: Likewise.
37665         * soft-fp/trunctfsf2.c: Likewise.
37666         * soft-fp/trunctfxf2.c: Likewise.
37667         * soft-fp/unorddf2.c: Likewise.
37668         * soft-fp/unordsf2.c: Likewise.
37669         * soft-fp/unordtf2.c: Likewise.
37671 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37673         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37674         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37676 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37678         * elf/dl-libc.c: Clear initfini list after freeing.
37680 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37682         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37683         * soft-fp/addsf3.c: Likewise.
37684         * soft-fp/addtf3.c: Likewise.
37685         * soft-fp/divdf3.c: Likewise.
37686         * soft-fp/divsf3.c: Likewise.
37687         * soft-fp/divtf3.c: Likewise.
37688         * soft-fp/double.h: Likewise.
37689         * soft-fp/eqdf2.c: Likewise.
37690         * soft-fp/eqsf2.c: Likewise.
37691         * soft-fp/eqtf2.c: Likewise.
37692         * soft-fp/extenddftf2.c: Likewise.
37693         * soft-fp/extended.h: Likewise.
37694         * soft-fp/extendsfdf2.c: Likewise.
37695         * soft-fp/extendsftf2.c: Likewise.
37696         * soft-fp/extendxftf2.c: Likewise.
37697         * soft-fp/fixdfdi.c: Likewise.
37698         * soft-fp/fixdfsi.c: Likewise.
37699         * soft-fp/fixdfti.c: Likewise.
37700         * soft-fp/fixsfdi.c: Likewise.
37701         * soft-fp/fixsfsi.c: Likewise.
37702         * soft-fp/fixsfti.c: Likewise.
37703         * soft-fp/fixtfdi.c: Likewise.
37704         * soft-fp/fixtfsi.c: Likewise.
37705         * soft-fp/fixtfti.c: Likewise.
37706         * soft-fp/fixunsdfdi.c: Likewise.
37707         * soft-fp/fixunsdfsi.c: Likewise.
37708         * soft-fp/fixunsdfti.c: Likewise.
37709         * soft-fp/fixunssfdi.c: Likewise.
37710         * soft-fp/fixunssfsi.c: Likewise.
37711         * soft-fp/fixunssfti.c: Likewise.
37712         * soft-fp/fixunstfdi.c: Likewise.
37713         * soft-fp/fixunstfsi.c: Likewise.
37714         * soft-fp/fixunstfti.c: Likewise.
37715         * soft-fp/floatdidf.c: Likewise.
37716         * soft-fp/floatdisf.c: Likewise.
37717         * soft-fp/floatditf.c: Likewise.
37718         * soft-fp/floatsidf.c: Likewise.
37719         * soft-fp/floatsisf.c: Likewise.
37720         * soft-fp/floatsitf.c: Likewise.
37721         * soft-fp/floattidf.c: Likewise.
37722         * soft-fp/floattisf.c: Likewise.
37723         * soft-fp/floattitf.c: Likewise.
37724         * soft-fp/floatundidf.c: Likewise.
37725         * soft-fp/floatundisf.c: Likewise.
37726         * soft-fp/floatunsidf.c: Likewise.
37727         * soft-fp/floatunsisf.c: Likewise.
37728         * soft-fp/floatuntidf.c: Likewise.
37729         * soft-fp/floatuntisf.c: Likewise.
37730         * soft-fp/floatuntitf.c: Likewise.
37731         * soft-fp/fmadf4.c: Likewise.
37732         * soft-fp/fmasf4.c: Likewise.
37733         * soft-fp/fmatf4.c: Likewise.
37734         * soft-fp/gedf2.c: Likewise.
37735         * soft-fp/gesf2.c: Likewise.
37736         * soft-fp/getf2.c: Likewise.
37737         * soft-fp/ledf2.c: Likewise.
37738         * soft-fp/lesf2.c: Likewise.
37739         * soft-fp/letf2.c: Likewise.
37740         * soft-fp/muldf3.c: Likewise.
37741         * soft-fp/mulsf3.c: Likewise.
37742         * soft-fp/multf3.c: Likewise.
37743         * soft-fp/negdf2.c: Likewise.
37744         * soft-fp/negsf2.c: Likewise.
37745         * soft-fp/negtf2.c: Likewise.
37746         * soft-fp/op-1.h: Likewise.
37747         * soft-fp/op-2.h: Likewise.
37748         * soft-fp/op-4.h: Likewise.
37749         * soft-fp/op-8.h: Likewise.
37750         * soft-fp/op-common.h: Likewise.
37751         * soft-fp/quad.h: Likewise.
37752         * soft-fp/single.h: Likewise.
37753         * soft-fp/soft-fp.h: Likewise.
37754         * soft-fp/sqrtdf2.c: Likewise.
37755         * soft-fp/sqrtsf2.c: Likewise.
37756         * soft-fp/sqrttf2.c: Likewise.
37757         * soft-fp/subdf3.c: Likewise.
37758         * soft-fp/subsf3.c: Likewise.
37759         * soft-fp/subtf3.c: Likewise.
37760         * soft-fp/truncdfsf2.c: Likewise.
37761         * soft-fp/trunctfdf2.c: Likewise.
37762         * soft-fp/trunctfsf2.c: Likewise.
37763         * soft-fp/trunctfxf2.c: Likewise.
37764         * soft-fp/unorddf2.c: Likewise.
37765         * soft-fp/unordsf2.c: Likewise.
37766         * soft-fp/unordtf2.c: Likewise.
37768 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37770         [BZ #15672]
37771         * misc/error.c (error_tail): Fix possible buffer overflow.
37773 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37775         [BZ #13028]
37776         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37777         address.
37779 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37781         [BZ #832]
37782         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37783         testing pipefail option.
37785 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37787         * soft-fp/double.h: Indent preprocessor directives inside #if.
37788         * soft-fp/extended.h: Likewise.
37789         * soft-fp/op-2.h: Likewise.
37790         * soft-fp/op-4.h: Likewise.
37791         * soft-fp/op-common.h: Likewise.
37792         * soft-fp/quad.h: Likewise.
37793         * soft-fp/single.h: Likewise.
37794         * soft-fp/soft-fp.h: Likewise.
37796 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37798         * iconv/iconv_prog.c: Fix typos.
37799         * stdio-common/psiginfo-data.h: Likewise.
37801 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37803         [BZ #15764]
37804         * locale/setlocale.c: Fix typo.
37806 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37808         [BZ #16036]
37809         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37810         signaling NaN arguments.
37811         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37812         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37814         [BZ #14910]
37815         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37816         unordered operands.
37817         * soft-fp/gesf2.c (__gesf2): Likewise.
37818         * soft-fp/getf2.c (__getf2): Likewise.
37819         * soft-fp/ledf2.c (__ledf2): Likewise.
37820         * soft-fp/lesf2.c (__lesf2): Likewise.
37821         * soft-fp/letf2.c (__letf2): Likewise.
37823         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37824         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37825         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37826         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37827         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37828         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37829         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37830         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37831         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37832         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37833         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37834         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37835         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37836         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37837         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37838         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37839         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37840         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37841         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37842         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37843         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37844         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37845         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37846         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37847         * soft-fp/floattidf.c (__floattidf): Likewise.
37848         * soft-fp/floattisf.c (__floattisf): Likewise.
37849         * soft-fp/floattitf.c (__floattitf): Likewise.
37850         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37851         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37852         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37853         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37854         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37855         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37856         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37857         * soft-fp/gesf2.c (__gesf2): Likewise.
37858         * soft-fp/getf2.c (__getf2): Likewise.
37859         * soft-fp/ledf2.c (__ledf2): Likewise.
37860         * soft-fp/lesf2.c (__lesf2): Likewise.
37861         * soft-fp/letf2.c (__letf2): Likewise.
37863         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37864         Undefine and redefine.
37865         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37866         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37867         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37868         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37869         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37870         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37871         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37872         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37873         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37874         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37875         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37876         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37877         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37878         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37879         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37881         [BZ #16032]
37882         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37883         without decrementing exponent if mantissa >= that for the
37884         denominator, not >.
37885         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37886         denominator, not >.  Decrement exponent in < case instead of
37887         incrementing in >= case.
37888         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37889         without decrementing exponent if mantissa >= that for the
37890         denominator, not >.
37892         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37893         computing saturated result for unsigned overflow.
37895 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37896             Jeff Law  <law@redhat.com>
37898         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37899         (atan2Mp): Add systemtap probe marker.
37900         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37901         (__ieee754_log): Add systemtap probe marker.
37902         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37903         (atanMp): Add systemtap probe marker.
37904         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37905         (tanMp): Add systemtap probe marker.
37906         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37907         (__slowexp): Add systemtap probe marker.
37908         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37909         (__slowpow): Add systemtap probe marker.
37910         * manual/probes.texi: Document probes.
37912 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37914         [BZ #15362]
37915         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37916         written.
37917         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37918         written.
37919         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37920         written to buffer but not flushed.
37921         * libio/iofwrite_u.c:  Likewise.
37922         * libio/iopadn.c:  Return bytes returned even if EOF was
37923         encountered.
37924         * libio/iowpadn.c:  Likewise.
37925         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37926         if _IO_padn does not write the whole buffer.
37927         [!COMPILE_WPRINTF] (PAD): Likewise.
37929 2013-10-10  David S. Miller  <davem@davemloft.net>
37931         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37932         directory block.
37934 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37936         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37937         instead of FSF address.
37938         * soft-fp/fixdfti.c: Likewise.
37939         * soft-fp/fixsfti.c: Likewise.
37940         * soft-fp/fixtfti.c: Likewise.
37941         * soft-fp/fixunsdfti.c: Likewise.
37942         * soft-fp/fixunssfti.c: Likewise.
37943         * soft-fp/fixunstfti.c: Likewise.
37944         * soft-fp/floattidf.c: Likewise.
37945         * soft-fp/floattisf.c: Likewise.
37946         * soft-fp/floattitf.c: Likewise.
37947         * soft-fp/floatuntidf.c: Likewise.
37948         * soft-fp/floatuntisf.c: Likewise.
37949         * soft-fp/floatuntitf.c: Likewise.
37950         * soft-fp/trunctfxf2.c: Likewise.
37952         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37953         * soft-fp/fixdfti.c: Likewise.
37954         * soft-fp/fixsfti.c: Likewise.
37955         * soft-fp/fixtfti.c: Likewise.
37956         * soft-fp/fixunsdfti.c: Likewise.
37957         * soft-fp/fixunssfti.c: Likewise.
37958         * soft-fp/fixunstfti.c: Likewise.
37959         * soft-fp/floattidf.c: Likewise.
37960         * soft-fp/floattisf.c: Likewise.
37961         * soft-fp/floattitf.c: Likewise.
37962         * soft-fp/floatuntidf.c: Likewise.
37963         * soft-fp/floatuntisf.c: Likewise.
37964         * soft-fp/floatuntitf.c: Likewise.
37965         * soft-fp/trunctfxf2.c: Likewise.
37967 2013-10-10  David S. Miller  <davem@davemloft.net>
37969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37971 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37973         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37974         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37975         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37976         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37977         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37978         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37979         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37981         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37982         for NaNs before doing comparisons on argument.
37983         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37984         Likewise.
37986 2013-10-10  Will Newton  <will.newton@linaro.org>
37988         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37989         passed to _int_memalign does not overflow.
37991 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37993         * scripts/bench.pl: Add include-sources directive.
37994         * benchtests/README: Update documentation.
37996 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37998         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37999         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38000         instead of FP_INIT_ROUNDMODE.
38001         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38002         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38004         [BZ #16034]
38005         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38006         copy class of input value.
38007         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38008         not handle exceptions.
38009         * soft-fp/negsf2.c (__negsf2): Likewise.
38010         * soft-fp/negtf2.c (__negtf2): Likewise.
38011         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38013 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38015         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38016         semicolon.  From Linux kernel.
38018 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38020         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38022 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38024         [BZ #156]
38025         * manual/socket.texi: Added statement about buffer
38026         for gethostbyname2_r.
38028 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38030         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38031         Use .p2align directive instead, throughout.
38032         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38033         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38034         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38035         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38036         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38037         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38038         * sysdeps/x86_64/strchr.S: Likewise.
38039         * sysdeps/x86_64/strrchr.S: Likewise.
38041 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38043         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38045         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38047         * sysdeps/generic/math_private.h (__mpsin1): Remove
38048         declaration.
38049         (__mpcos1): Likewise.
38050         (__mpsin): New argument __range_reduce.
38051         (__mpcos): Likewise.
38052         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38053         (slow): Use __mpsin and __mpcos.
38054         (slow1): Likewise.
38055         (slow2): Likewise.
38056         (sloww): Likewise.
38057         (sloww1): Likewise.
38058         (sloww2): Likewise.
38059         (bsloww): Likewise.
38060         (bsloww1): Likewise.
38061         (bsloww2): Likewise.
38062         (cslow2): Likewise.
38063         (csloww): Likewise.
38064         (csloww1): Likewise.
38065         (csloww2): Likewise.
38066         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38067         range_reduce.  Merge in __mpsin1.
38068         (__mpcos): Likewise.
38069         (__mpsin1): Remove.
38070         (__mpcos1): Likewise.
38072 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38074         * locale/loadlocale.c (_nl_intern_locale_data): Use
38075         LOCFILE_ALIGNED_P.
38076         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38077         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38078         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38079         obstack data is appropriately aligned.
38080         (obstack_int32_grow_fast): Likewise.
38081         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38082         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38083         (add_locale_uint32_array): Likewise.
38085 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38087         * benchtests/Makefile: Remove ARGLIST and RET variables.
38088         ($(objpfx)bench-%.c): Pass only function name to the script.
38089         * benchtests/README: Update documentation.
38090         * benchtests/acos-inputs: Add new directives.
38091         * benchtests/acosh-inputs: Likewise.
38092         * benchtests/asin-inputs: Likewise.
38093         * benchtests/asinh-inputs: Likewise.
38094         * benchtests/atan-inputs: Likewise.
38095         * benchtests/atanh-inputs: Likewise.
38096         * benchtests/cos-inputs: Likewise.
38097         * benchtests/cosh-inputs: Likewise.
38098         * benchtests/exp-inputs: Likewise.
38099         * benchtests/log-inputs: Likewise.
38100         * benchtests/pow-inputs: Likewise.
38101         * benchtests/rint-inputs: Likewise.
38102         * benchtests/sin-inputs: Likewise.
38103         * benchtests/sinh-inputs: Likewise.
38104         * benchtests/tan-inputs: Likewise.
38105         * benchtests/tanh-inputs: Likewise.
38106         * scripts/bench.pl: Add support for new directives.
38108 2013-10-07  Alan Modra  <amodra@gmail.com>
38110         * README: Fix careless merge.
38112 2013-10-05  Alan Modra  <amodra@gmail.com>
38114         * NEWS: Mention powerpc64le support and bugs fixed.
38115         * README: Both big-endian and little-endian powerpc64 supported.
38117 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38119         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38120         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38121         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38122         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38124 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38126         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38127         match prototype.
38129 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38131         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38132         Move -mhard-float appending from
38133         ports/sysdeps/powerpc/powerpc32/Makefile.
38134         [$(with-fp) = yes] (ASFLAGS): Likewise.
38135         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38136         * sysdeps/powerpc/nofpu: Move directory from
38137         ports/sysdeps/powerpc/nofpu.
38138         * sysdeps/powerpc/soft-fp: Move directory from
38139         ports/sysdeps/powerpc/soft-fp.
38140         * sysdeps/powerpc/powerpc32/405: Move directory from
38141         ports/sysdeps/powerpc/powerpc32/405.
38142         * sysdeps/powerpc/powerpc32/440: Move directory from
38143         ports/sysdeps/powerpc/powerpc32/440.
38144         * sysdeps/powerpc/powerpc32/464: Move directory from
38145         ports/sysdeps/powerpc/powerpc32/464.
38146         * sysdeps/powerpc/powerpc32/476: Move directory from
38147         ports/sysdeps/powerpc/powerpc32/476.
38148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38149         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38151         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38153         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38155         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38157         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38158         * README: Update for powerpc-*-linux-gnu software floating point
38159         support in libc.
38161         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38162         case to powerpc/powerpc32*.
38163         * sysdeps/unix/sysv/linux/configure: Regenerated.
38165         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38166         (_FPU_MASK_OM): Define as 0x04.
38167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38169         0x00c10080.
38170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38171         0x0000003c.
38172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38175         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38176         getcontext_e500.
38177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38178         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38179         setcontext_e500.
38180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38181         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38182         and setcontext_e500.
38184 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38186         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38188 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38190         * manual/threads.texi (Default Thread Attributes): Fix typo.
38192 2013-10-04  Will Newton  <will.newton@linaro.org>
38194         * malloc/Makefile: Add tst-memalign.
38195         * malloc/tst-memalign.c: New file.
38197         * malloc/tst-posix_memalign.c: Add comments.
38198         (do_test): Add comments and call free on all potentially
38199         allocated pointers. Add space after cast.
38201         * malloc/tst-pvalloc.c: Add comments.
38202         (do_test): Add comments and call free on all potentially
38203         allocated pointers. Remove duplicate check for NULL pointer.
38204         Add space after cast.
38206         * malloc/tst-valloc.c: Add comments.
38207         (do_test): Add comments and call free on all potentially
38208         allocated pointers. Remove duplicate check for NULL pointer.
38209         Add space after cast.
38211 2013-10-04  Alan Modra  <amodra@gmail.com>
38213         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38214         Use stdint types in rather than __attribute__((mode())).
38215         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38217 2013-10-04  Alan Modra  <amodra@gmail.com>
38219         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38220         Correct handling of unaligned relocs for little-endian.
38221         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38223 2013-10-04  Alan Modra  <amodra@gmail.com>
38225         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38226         * configure: Regenerate.
38227         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38228         * shlib-versions: Likewise.
38230 2013-10-04  Alan Modra  <amodra@gmail.com>
38232         * string/tester.c (test_memrchr): Increment reported test cycle.
38234 2013-10-04  Alan Modra  <amodra@gmail.com>
38236         * string/test-memcpy.c (do_one_test): When reporting errors, print
38237         string address and don't overrun end of string.
38239 2013-10-04  Alan Modra  <amodra@gmail.com>
38241         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38242         insrdi.  Make better use of reg selection to speed exit slightly.
38243         Schedule entry path a little better.  Remove useless "are we done"
38244         checks on entry to main loop.  Handle wrapping around zero address.
38245         Correct main loop count.  Handle single left-over word from main
38246         loop inline rather than by using loop_small.  Remove extra word
38247         case in loop_small caused by wrong loop count.  Add little-endian
38248         support.
38249         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38250         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38251         cache hint.
38252         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38253         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38254         support.  Avoid rlwimi.
38255         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38257 2013-10-04  Alan Modra  <amodra@gmail.com>
38259         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38260         insrdi.  Formatting.
38261         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38262         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38263         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38264         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38265         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38266         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38268 2013-10-04  Alan Modra  <amodra@gmail.com>
38270         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38271         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38272         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38273         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38274         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38275         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38276         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38277         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38278         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38279         use of regs.  Use power7 mtocrf.  Tidy function tails.
38281 2013-10-04  Alan Modra  <amodra@gmail.com>
38283         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38284         Formatting.  Consistently use rXXX register defines or rN defines.
38285         Use early exit labels that avoid restoring unused non-volatile regs.
38286         Make cr field use more consistent with rWORDn compares.  Rename
38287         regs used as shift registers for unaligned loop, using rN defines
38288         for short lifetime/multiple use regs.
38289         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38290         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38291         addi 1,1,64 to pop stack frame.  Simplify return value code.
38292         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38294 2013-10-04  Alan Modra  <amodra@gmail.com>
38296         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38297         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38298         rather than rlwimi.
38299         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38300         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38301         little-endian support.  Correct typos.
38302         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38303         rather than rlwimi.
38304         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38305         in loop and entry code to keep "and." results.
38306         (strchr): Add little-endian support.  Comment.  Move cntlzd
38307         earlier in tail.
38308         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38310 2013-10-04  Alan Modra  <amodra@gmail.com>
38312         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38313         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38314         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38315         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38317 2013-10-04  Alan Modra  <amodra@gmail.com>
38319         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38320         (rTMP): Define as r11.
38321         (strcmp): Add little-endian support.  Optimise tail.
38322         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38323         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38324         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38325         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38326         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38327         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38328         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38330 2013-10-04  Alan Modra  <amodra@gmail.com>
38332         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38333         little-endian support.  Remove unnecessary "are we done" tests.
38334         Handle "s" wrapping around zero and extremely large "size".
38335         Correct main loop count.  Handle single left-over word from main
38336         loop inline rather than by using small_loop.  Correct comments.
38337         Delete "zero" tail, use "end_max" instead.
38338         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38340 2013-10-04  Alan Modra  <amodra@gmail.com>
38342         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38343         support.  Don't branch over align.
38344         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38345         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38346         support.  Rearrange tmp reg use to suit.  Comment.
38347         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38349 2013-10-04  Alan Modra  <amodra@gmail.com>
38351         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38353 2013-10-04  Alan Modra  <amodra@gmail.com>
38355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38356         conditional form of branch and link when obtaining pc.
38357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38359 2013-10-04  Alan Modra  <amodra@gmail.com>
38361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38362         HIWORD/LOWORD.
38363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38366 2013-10-04  Alan Modra  <amodra@gmail.com>
38368         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38369         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38370         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38371         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38372         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38373         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38374         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38375         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38376         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38377         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38379 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38380             Alistair Popple <alistair@ozlabs.au.ibm.com>
38381             Alan Modra <amodra@gmail.com>
38383         [BZ #15723]
38384         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38385         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38386         _dl_hwcap access for little-endian.
38387         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38388         destroy vmx regs when saving unaligned.
38389         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38390         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38391         destroy vmx regs when saving unaligned.
38393 2013-10-04  Alan Modra  <amodra@gmail.com>
38395         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38396         Don't use a union to pack hi/low value.
38398 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38400         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38401         for little-endian.
38402         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38403         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38404         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38405         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38406         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38408 2013-10-04  Alan Modra  <amodra@gmail.com>
38410         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38411         constants to usual value for .cst8 section, and remove redundant
38412         high address load.
38413         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38414         constant for 0x1p52.  Load little-endian words of double from
38415         correct stack offsets.
38417 2013-10-04  Alan Modra  <amodra@gmail.com>
38419         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38420         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38421         words of double from correct stack offsets.
38422         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38423         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38424         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38425         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38426         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38427         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38428         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38429         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38430         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38431         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38432         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38433         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38434         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38435         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38436         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38437         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38438         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38440 2013-10-04  Alan Modra  <amodra@gmail.com>
38442         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38443         64-bit int/double union.
38444         (_FPU_SETCW): Likewise.
38445         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38446         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38448 2013-10-04  Alan Modra  <amodra@gmail.com>
38450         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38451         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38453 2013-10-04  Alan Modra  <amodra@gmail.com>
38455         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38456         use vector int constants.
38457         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38459 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38461         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38462         array with long long.
38463         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38464         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38465         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38466         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38467         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38468         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38469         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38470         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38471         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38472         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38473         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38474         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38475         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38477 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38479         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38480         (__signbit): Likewise.  Correct for little-endian.
38481         (__signbitl): Call __signbit.
38482         (lrint): Correct for little-endian.
38483         (lrintf): Call lrint.
38485 2013-10-04  Alan Modra  <amodra@gmail.com>
38487         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38488         union 32-bit int array member with 64-bit int array.
38489         (t515, tm256): Double rather than long double.
38490         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38492 2013-10-04  Alan Modra  <amodra@gmail.com>
38494         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38495         Delete.
38496         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38497         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38498         version of math_ldbl.h.
38500 2013-10-04  Alan Modra  <amodra@gmail.com>
38502         [BZ #15734], [BZ #15735]
38503         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38504         all uses of ieee875 long double macros and unions.  Simplify test
38505         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38506         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38507         normalize after ldbl_extract_mantissa, and don't add hidden bit
38508         already handled.  Don't treat low word of ieee854 mantissa like
38509         low word of IBM long double and mask off bit when testing for
38510         zero.
38511         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38512         all uses of ieee875 long double macros and unions.  Simplify tests
38513         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38514         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38515         two1022, instead use their values.  Recognise that tests for large
38516         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38517         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38518         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38519         test for 0.0L and nan.  Correct negation.
38520         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38521         ieee875 long double macros and unions.  Correct output for large
38522         magnitude x.  Correct absolute value calculation.
38523         (__erfcl): Likewise.
38524         * math/libm-test.inc: Add tests for errors discovered in IBM long
38525         double versions of fmodl, remainderl, erfl and erfcl.
38527 2013-10-04  Alan Modra  <amodra@gmail.com>
38529         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38530         all uses of ieee854 long double macros and unions.  Simplify tests
38531         for long doubles that are fully specified by the high double.
38532         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38533         Likewise.
38534         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38535         Remove dead code too.
38536         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38537         (__ieee754_ynl): Likewise.
38538         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38539         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38540         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38541         Remove dead code too.
38542         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38543         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38544         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38545         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38546         Simplify.
38547         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38548         Simplify.
38549         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38550         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38551         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38552         Comment on variable precision.
38553         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38554         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38555         Likewise.
38556         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38557         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38558         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38559         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38560         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38562 2013-10-04  Alan Modra  <amodra@gmail.com>
38564         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38565         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38566         all uses of ieee854 long double macros and unions.
38567         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38568         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38569         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38570         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38571         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38572         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38573         Likewise.
38574         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38575         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38576         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38577         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38578         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38579         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38580         Simplify sign and nan test too.
38581         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38582         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38583         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38584         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38585         Likewise.
38586         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38587         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38588         Likewise.
38589         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38590         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38591         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38592         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38593         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38594         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38596 2013-10-04  Alan Modra  <amodra@gmail.com>
38598         * stdio-common/printf_size.c (__printf_size): Don't use
38599         union ieee854_long_double in fpnum union.
38600         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38601         signbit macro to retrieve sign from long double.
38602         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38603         retrieve sign from long double.
38604         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38605         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38606         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38607         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38608         * math/test-misc.c (main): Don't use union ieee854_long_double.
38610 2013-10-04  Alan Modra  <amodra@gmail.com>
38612         [BZ #15680]
38613         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38614         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38615         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38616         calculation.  Remove unnecessary test for denormal exponent.
38617         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38618         Correct handling of denormals.  Avoid undefined shift behaviour.
38619         Correct normalisation of low mantissa when low double is denormal.
38620         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38621         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38622         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38623         Correct normalisation of low mantissa.  Test for overflow of high
38624         mantissa and normalise.
38625         (ldbl_nearbyint): Use more readable constant for two52.
38626         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38627         (__mpn_construct_long_double): Fix test for overflow of high
38628         mantissa and correct normalisation.  Avoid undefined shift.
38630 2013-10-04  Alan Modra  <amodra@gmail.com>
38632         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38633         (union ibm_extended_long_double): Define as an array of ieee754_double.
38634         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38635         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38636         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38637         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38638         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38639         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38640         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38641         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38642         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38643         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38644         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38646 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38648         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38649         page size instead of calling getpagesize.
38651         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38652         (LOCFILE_ALIGN_MASK): Likewise.
38653         (LOCFILE_ALIGN_UP): Likewise.
38654         (LOCFILE_ALIGNED_P): Likewise.
38655         * locale/programs/ld-collate.c (collate_output): Use the new
38656         macros instead of __alignof__ (int32_t).
38657         * locale/weight.h (findidx): Likewise.
38659 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38661         [BZ #431]
38662         * manual/string.texi: Fix strncat and wcsncat.
38664 2013-10-03  Brooks Moses  <bmoses@google.com>
38666         [BZ #15915]
38667         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38668         * Makerules: ...here, and adjust associated comments.
38670 2013-10-02  Will Newton  <will.newton@linaro.org>
38672         * malloc/Makefile: Add tst-pvalloc.
38673         * malloc/tst-pvalloc.c: New file.
38675 2013-10-02  Will Newton  <will.newton@linaro.org>
38677         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38678         improve test coverage.
38680 2013-10-02  Will Newton  <will.newton@linaro.org>
38682         * malloc/Makefile: Add tst-posix_memalign.
38683         * malloc/tst-posix_memalign.c: New file.
38685 2013-10-01  Eric Blake  <eblake@redhat.com>
38687         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38688         Use __THROWNL rather than __THROW on static functions.
38690 2013-09-30  Petr Machata  <pmachata@redhat.com>
38692         * elf/elf.h (R_AARCH64_ABS16): New macro.
38693         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38694         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38695         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38696         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38697         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38698         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38699         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38700         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38701         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38702         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38703         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38704         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38705         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38706         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38707         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38708         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38709         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38710         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38711         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38712         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38713         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38714         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38715         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38716         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38717         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38718         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38719         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38720         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38721         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38722         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38723         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38724         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38725         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38726         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38727         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38728         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38729         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38730         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38731         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38732         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38733         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38734         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38735         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38736         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38737         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38738         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38739         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38740         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38741         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38742         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38743         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38744         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38745         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38746         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38747         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38748         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38749         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38750         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38751         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38752         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38753         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38754         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38755         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38756         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38757         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38758         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38759         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38760         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38761         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38762         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38763         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38764         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38765         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38766         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38767         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38768         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38769         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38770         (R_AARCH64_TLSDESC_LDR): Likewise.
38771         (R_AARCH64_TLSDESC_ADD): Likewise.
38772         (R_AARCH64_TLSDESC_CALL): Likewise.
38774 2013-09-30  Andreas Schwab  <schwab@suse.de>
38776         [BZ #15048]
38777         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38778         the nss database lookup.
38779         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38782 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38784         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38786 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38788         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38789         ${Bash-specific parameter/pattern/string} parameter expansion.
38790         * sysdeps/unix/make-syscalls.sh: Likewise.
38792 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38794         * sysdeps/sh/stackguard-macros.h: New file.
38796 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38798         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38799         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38800         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38801         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38802         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38803         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38805 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38807         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38808         Fix thread ID register.
38810 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38812         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38813         [POSIX || UNIX98]: Require rather than permitting all symbols from
38814         <time.h>.
38815         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38816         element of struct sched_param.
38817         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38818         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38819         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38820         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38821         constant.
38823 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38825         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38826         argument calculation.
38828 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38830         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38831         Expect macro.
38832         [POSIX] (pthread_attr_t): Do not require type.
38833         [POSIX] (pthread_cond_t): Likewise.
38834         [POSIX] (pthread_condattr_t): Likewise.
38835         [POSIX] (pthread_key_t): Likewise.
38836         [POSIX] (pthread_mutex_t): Likewise.
38837         [POSIX] (pthread_mutexattr_t): Likewise.
38838         [POSIX] (pthread_once_t): Likewise.
38839         [POSIX] (pthread_t): Likewise.
38840         [POSIX-based standards] (pthread_atfork): Expect function.
38842 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38843             Richard Sandiford  <richard@codesourcery.com>
38845         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38846         (swap_endianness_p): New extern variable.
38847         (set_big_endian): New inline function.
38848         (maybe_swap_uint32): Likewise.
38849         (maybe_swap_uint32_array): Likewise.
38850         (maybe_swap_uint32_obstack): Likewise.
38851         * locale/programs/locfile.c: Include <stdbool.h>.
38852         (swap_endianness_p): New variable.
38853         (add_locale_uint32): Call maybe_swap_uint32.
38854         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38855         (write_locale_data): Call maybe_swap_uint32_array.
38856         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38857         maybe_swap_uint32.
38858         (obstack_int32_grow_fast): Likewise.
38859         (output_weightwc): Call maybe_swap_uint32_obstack.
38860         (collate_output): Likewise.
38861         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38862         (OPT_LITTLE_ENDIAN): Likewise.
38863         (options): Add --little-endian and --big-endian options.
38864         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38865         * locale/programs/locarchive.c: Include "locfile.h".
38866         (GET): New macro.
38867         (SET): Likewise.
38868         (INC): Likewise.
38869         (create_archive): Use the new macros to access fields of
38870         structures directly mapped from or written to locale archives.
38871         (oldlocrecentcmp): Likewise.
38872         (enlarge_archive): Likewise.
38873         (insert_name): Likewise.
38874         (add_alias): Likewise.
38875         (add_locale): Likewise.
38876         (delete_locales_from_archive): Likewise.
38877         (show_archive_content): Likewise.
38878         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38879         locale data.
38881 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38883         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38884         http://www.gnu.org/doc/freemanuals.texi.
38885         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38887 2013-09-24  Will Newton  <will.newton@linaro.org>
38889         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38890         macro.
38892 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38894         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38895         unsigned char.
38897 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38899         * manual/threads.texi (POSIX Threads): Fix a typo.
38901 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38903         [BZ #14547]
38904         * string/tst-strcoll-overflow.c: New test case.
38905         * string/Makefile (xtests): Add tst-strcoll-overflow.
38906         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38907         cache if string sizes may cause integer overflow.
38909         [BZ #14547]
38910         * string/strcoll_l.c (coll_seq): New members rule, idx,
38911         save_idx and back_us.
38912         (get_next_seq_nocache): New function.
38913         (do_compare_nocache): New function.
38914         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38915         when malloc fails.
38917 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38919         [BZ #15754]
38920         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38921         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38922         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38924         [BZ #15754]
38925         * elf/Makefile (tests): Add tst-ptrguard1.
38926         (tests-static): Add tst-ptrguard1-static.
38927         (tst-ptrguard1-ARGS): Define.
38928         (tst-ptrguard1-static-ARGS): Define.
38929         * elf/tst-ptrguard1.c: New file.
38930         * elf/tst-ptrguard1-static.c: New file.
38931         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38932         * sysdeps/i386/stackguard-macros.h: Likewise.
38933         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38934         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38935         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38936         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38937         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38938         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38940 2013-09-23  Hector Marco  <hecmargi@upv.es>
38941             Ismael Ripoll  <iripoll@disca.upv.es>
38942             Carlos O'Donell  <carlos@redhat.com>
38944         [BZ #15754]
38945         * sysdeps/generic/stackguard-macros.h: Define
38946         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38947         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38948         Define __pointer_chk_guard_local.
38949         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38950         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38952 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38954         [BZ #15859]
38955         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38957 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38959         * include/string.h (__ffs): Declare as hidden.
38960         * string/ffs.c (__ffs): Define as hidden.
38961         * sysdeps/i386/ffs.c (__ffs): Likewise.
38962         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38963         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38964         * sysdeps/s390/ffs.c (__ffs): Likewise.
38965         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38967 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38969         * NEWS: Mention malloc probes.
38971         * malloc/arena.c (new_heap): New memory_heap_new probe.
38972         (grow_heap): New memory_heap_more probe.
38973         (shrink_heap): New memory_heap_less probe.
38974         (heap_trim): New memory_heap_free probe.
38975         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38976         (systrim): New memory_sbrk_less probe.
38977         * manual/probes.texi: Document them.
38979         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38980         * manual/probes.texi: Document it.
38982         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38983         (__libc_realloc): Add memory_realloc_retry probe.
38984         (__libc_memalign): Add memory_memalign_retry probe.
38985         (__libc_valloc): Add memory_valloc_retry probe.
38986         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38987         (__libc_calloc): Add memory_calloc_retry probe.
38988         * manual/probes.texi: Document them.
38990         * malloc/arena.c (get_free_list): Add probe
38991         memory_arena_reuse_free_list.
38992         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38993         and memory_arena_reuse.
38994         (arena_get2) [!PER_THREAD]: Likewise.
38995         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38996         memory_arena_reuse_realloc.
38997         * manual/probes.texi: Document them.
38999         * malloc/malloc.c (__libc_free): Add
39000         memory_mallopt_free_dyn_thresholds probe.
39001         (__libc_mallopt): Add multiple memory_mallopt probes.
39002         * manual/probes.texi: Document them.
39004         * malloc/malloc.c: Include stap-probe.h.
39005         (__libc_mallopt): Add memory_mallopt probe.
39006         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39007         * manual/probes.texi: New.
39008         * manual/Makefile (chapters): Add probes.
39009         * manual/threads.texi: Set next node.
39011 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39013         [BZ #15963, #13985]
39014         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39015         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39016         Add `Chinese' to `nan' entry name.
39018 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39020         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39021         (POLYNOMIAL): Likewise.
39022         (TAYLOR_SINCOS): Likewise.
39023         (TAYLOR_SLOW): Likewise.
39024         (__sin): Use TAYLOR_SINCOS.
39025         (__cos): Likewise.
39026         (slow): Use TAYLOR_SLOW.
39027         (sloww): Likewise.
39028         (bsloww): Likewise.
39029         (csloww): Likewise.
39031 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39033         * stdlib/strtod_l.c: Fix buffer overrun.
39035 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39037         * benchtests/Makefile (bench): Add sincos.
39038         * benchtests/bench-sincos.c: New file.
39040         * math/libm-test.inc (cos_test_data): New test inputs.
39041         (sin_test_data): Likewise.
39043         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39044         macro.
39045         (__sin): Use it.
39046         (__cos): Likewise.
39047         (slow1): Likewise.
39048         (slow2): Likewise.
39049         (sloww1): Likewise.
39050         (sloww2): Likewise.
39051         (bsloww1): Likewise.
39052         (bsloww2): Likewise.
39053         (cslow2): Likewise.
39054         (csloww1): Likewise.
39055         (csloww2): Likewise.
39057         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39058         function.
39059         (__sin): Use it.
39060         (__cos): Likewise.
39062         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39063         gotos.
39064         (__cos): Likewise.
39066 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39068         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39069         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39070         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39071         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39072         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39073         * elf/cache.c (print_entry): Handle the new cache flags.
39075 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39076             Aldy Hernandez  <aldyh@redhat.com>
39078         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39079         Change condition to [_SOFT_FLOAT].
39080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39089         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39092         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39093         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39094         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39095         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39096         declaration.
39098 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39100         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39101         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39102         (__longjmp): Use LOAD_GP to load saved GPRs.
39103         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39104         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39105         (__sigsetjmp): Use SAVE_GP to save GPRs.
39107         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39108         Do not append -msoft-float.
39109         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39111 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39113         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39115 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39117         [BZ #15966]
39118         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39119         (_FPU_GETCW): Use initial "__" on variable and field names but not
39120         on macro parameter name.
39121         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39122         parentheses around reference to macro parameter.
39124 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39126         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39127         prototype.
39128         (ctype_startup): Use uint32_t in cast and sizeof for
39129         ctype->charnames.
39131 2013-09-11  Jia Liu  <proljc@gmail.com>
39133         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39134         __daddr_t_defined.
39135         [__FreeBSD__]: Likewise.
39137 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39139         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39140         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39141         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39142         (strchr): Remove __strchr_sse42 ifunc selection.
39143         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39144         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39146 2013-09-11  Will Newton  <will.newton@linaro.org>
39148         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39149         parameter to RES. Remove hardcoded 1000 value.
39150         * benchtests/bench-skeleton.c (main): Pass RES parameter
39151         to TIMING_INIT and multiply result by 1000.
39153 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39157 2013-09-11  Andreas Schwab  <schwab@suse.de>
39159         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39160         if not defined.
39161         (O_TMPFILE) [__USE_GNU]: Define.
39162         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39163         Define.
39165 2013-09-11  Will Newton  <will.newton@linaro.org>
39167         [BZ #15857]
39168         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39169         does not overflow.
39171 2013-09-11  Will Newton  <will.newton@linaro.org>
39173         [BZ #15856]
39174         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39175         does not overflow.
39177 2013-09-11  Will Newton  <will.newton@linaro.org>
39179         [BZ #15855]
39180         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39181         does not overflow.
39183 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39185         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39186         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39187         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39188         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39189         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39191 2013-09-10  Allan McRae  <allan@archlinux.org>
39193         [BZ #15748]
39194         * manual/arith.texi (Parsing of Floats): Clarify
39195         cross-reference.
39197         [BZ #15849]
39198         * manual/install.texi (Running make install): Mention
39199         --enable-pt-chown.
39200         * INSTALL: Regenerated.
39202 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39204         * csu/init-first.c (_init): Remove the !SHARED condition around
39205         FPU control word initialization.
39206         * elf/dl-support.c (_dl_fpu_control): New variable.
39207         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39208         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39209         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39210         * math/test-fpucw-static.c: New file.
39211         * math/test-fpucw-ieee.c: New file.
39212         * math/test-fpucw-ieee-static.c: New file.
39213         * math/Makefile (tests): Add `test-fpucw-ieee' and
39214         `$(tests-static)'.
39215         (tests-static): New variable.
39216         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39217         dependency to...
39218         [($(build-shared),yes)]
39219         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39220         ... this.
39221         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39222         New dependency.
39224 2013-09-09  Allan McRae  <allan@archlinux.org>
39226         [BZ #15939]
39227         * manual/string.texi (Collation Functions): Fix typo in
39228         strcoll example.
39229         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39231         [BZ #15893]
39232         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39234         [BZ #15892]
39235         * libio/memstream.c (open_memstream): Fix memory leak.
39236         * libio/wmemstream.c (open_wmemstream): Likewise.
39238         [BZ #15895]
39239         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39241 2013-09-09  Will Newton  <will.newton@linaro.org>
39243         * malloc/Makefile: Add tst-realloc to tests.
39244         * malloc/tst-realloc.c: New file.
39246 2013-09-09  Allan McRae  <allan@archlinux.org>
39248         [BZ #15844]
39249         * COPYING: Update from GNU website to fix FSF address.
39250         * COPYING.LIB: Likewise.
39252 2013-09-06  David S. Miller  <davem@davemloft.net>
39254         * po/zh_TW.po: Update Chinese (traditional) translation from
39255         translation project.
39257 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39258             Joseph Myers  <joseph@codesourcery.com>
39260         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39261         "localeinfo.h".
39262         (obstack_chunk_alloc): New macro.
39263         (obstack_chunk_free): Likewise.
39264         (record_offset): New function.
39265         (init_locale_data): Likewise.
39266         (align_locale_data): Likewise.
39267         (add_locale_empty): Likewise.
39268         (add_locale_raw_data): Likewise.
39269         (add_locale_raw_obstack): Likewise.
39270         (add_locale_string): Likewise.
39271         (add_locale_wstring): Likewise.
39272         (add_locale_uint32): Likewise.
39273         (add_locale_uint32_array): Likewise.
39274         (add_locale_char): Likewise.
39275         (start_locale_structure): Likewise.
39276         (end_locale_structure): Likewise.
39277         (start_locale_prelude): Likewise.
39278         (end_locale_prelude): Likewise.
39279         (write_locale_data): Take locale_file structure rather than an
39280         iovec.
39281         * locale/programs/locfile.h: Include "obstack.h".
39282         (struct locale_file): Change to store locale file contents instead
39283         of header.
39284         (init_locale_data): New prototype.
39285         (align_locale_data): Likewise.
39286         (add_locale_empty): Likewise.
39287         (add_locale_raw_data): Likewise.
39288         (add_locale_raw_obstack): Likewise.
39289         (add_locale_string): Likewise.
39290         (add_locale_wstring): Likewise.
39291         (add_locale_uint32): Likewise.
39292         (add_locale_uint32_array): Likewise.
39293         (add_locale_char): Likewise.
39294         (start_locale_structure): Likewise.
39295         (end_locale_structure): Likewise.
39296         (start_locale_prelude): Likewise.
39297         (end_locale_prelude): Likewise.
39298         (write_locale_data): Update prototype.
39299         * locale/programs/3level.h (struct TABLE): Remove result field.
39300         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39301         Use new locale_file interface.
39302         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39303         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39304         * locale/programs/ld-address.c (address_output): Use new
39305         locale_file interface.
39306         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39307         NO_ADD_LOCALE.
39308         (collate_finish): Don't call collseq_table_finalize.
39309         (collate_output): Use new locale_file interface.
39310         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39311         in file.
39312         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39313         (TABLE): Move defines earlier in file.
39314         (ELEMENT): Likewise.
39315         (DEFAULT): Likewise.
39316         (wctrans_table_add): Move macro and inline function earlier in
39317         file.
39318         (struct wctype_table): Move type earlier in file.
39319         (add_locale_wctype_table): New static prototype.
39320         (struct locale_ctype_t): Use logical types instead of struct iovec
39321         pointers for members.
39322         (ctype_output): Use new locale_file interface.
39323         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39324         new locale_file interface.
39325         (allocate_arrays): Update for use of new locale_file interface.
39326         * locale/programs/ld-identification.c (identification_output): Use
39327         new locale_file interface.
39328         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39329         * locale/programs/ld-messages.c (messages_output): Likewise.
39330         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39331         * locale/programs/ld-name.c (name_output): Likewise.
39332         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39333         * locale/programs/ld-paper.c (paper_output): Likewise.
39334         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39335         * locale/programs/ld-time.c (time_output): Likewise.
39337 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39339         * benchtests/Makefile: Add memrchr benchmark.
39340         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39341         benchmark as memrchr.
39342         * benchtests/bench-memrchr-ifunc.c: New file.
39343         * benchtests/bench-memrchr.c: New file.
39345 2013-09-06   Will Newton  <will.newton@linaro.org>
39347         * benchtests/Makefile (string-bench): Add memcpy.
39349 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39350             Cong Wang  <amwang@redhat.com>
39352         [BZ #15850]
39353         * sysdeps/unix/sysv/linux/bits/in.h
39354         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39355         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39356         before __USE_KERNEL_IPV6_DEFS uses.
39357         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39358         IPPROTO_BEETPH.
39359         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39360         sockaddr_in6, or ipv6_mreq.
39362 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39364         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39365         memory access for final bytes in some large inputs.
39366         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39368 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39370         * string/test-memrchr.c: New file.
39371         * string/test-memrchr-ifunc.c: New file.
39372         * string/Makefile: Add new memrchr testcase.
39374 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39376         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39377         fanotify_init returns EPERM.
39379 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39381         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39382         errors.
39383         (top level): Treat second token from macro or constant entries for
39384         allowed headers as allowed.
39385         * include/complex.h: Condition internal declarations on
39386         [!_ISOMAC].
39387         * include/fenv.h: Condition include of <stdbool.h> and internal
39388         declarations on [!_ISOMAC].
39390 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39392         [BZ #15923]
39393         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39395 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39397         * configure.in (--enable-versioning): Remove configure option.
39398         (libc_cv_asm_symver_directive): Remove configure test.
39399         (libc_cv_ld_version_script_option): Likewise.
39400         (VERSIONING): Remove variable and AC_SUBST.
39401         (DO_VERSIONING): Remove AC_DEFINE.
39402         * configure: Regenerated.
39403         * config.h.in (DO_VERSIONING): Remove macro.
39404         * Makerules [$(versioning) = yes]: Change conditionals to
39405         [$(build-shared) = yes].
39406         * config.make.in (versioning): Remove variable.
39407         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39408         [$(build-shared) = yes].
39409         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39410         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39411         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39412         [$(build-shared) = yes].
39413         * extra-lib.mk [$(versioning) = yes]: Likewise.
39414         * hurd/Makefile [$(versioning) = yes]: Likewise.
39415         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39416         [SHARED].
39417         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39418         [SHARED].
39419         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39420         [SHARED && !NO_HIDDEN].
39421         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39422         [SHARED].
39423         [SHARED && DO_VERSIONING]: Likewise..
39424         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39425         [$(build-shared) = yes].
39426         * manual/install.texi (--disable-versioning): Remove
39427         documentation.
39428         * INSTALL: Regenerated.
39429         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39430         to [SHARED].
39431         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39432         [$(build-shared) = yes].
39433         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39434         * sysdeps/i386/i686/multiarch/strstr-c.c
39435         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39436         [SHARED && !NO_HIDDEN].
39437         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39438         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39439         * sysdeps/powerpc/powerpc32/dl-machine.c
39440         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39441         * sysdeps/powerpc/powerpc32/sysdep.h
39442         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39443         to [SHARED && PIC && !NO_HIDDEN].
39444         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39445         conditional to [SHARED].
39447 2013-09-04   Will Newton  <will.newton@linaro.org>
39449         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39450         * benchtests/bench-string.h: Include bench-timing.h instead
39451         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39452         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39453         call to HP_TIMING_DIFF_INIT.
39454         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39455         instead of hp-timing.h macros.
39456         * benchtests/bench-memchr.c: Likewise.
39457         * benchtests/bench-memcmp.c: Likewise.
39458         * benchtests/bench-memcpy.c: Likewise.
39459         * benchtests/bench-memmem.c: Likewise.
39460         * benchtests/bench-memmove.c: Likewise.
39461         * benchtests/bench-memset.c: Likewise.
39462         * benchtests/bench-rawmemchr.c: Likewise.
39463         * benchtests/bench-strcasecmp.c: Likewise.
39464         * benchtests/bench-strcasestr.c: Likewise.
39465         * benchtests/bench-strcat.c: Likewise.
39466         * benchtests/bench-strchr.c: Likewise.
39467         * benchtests/bench-strcmp.c: Likewise.
39468         * benchtests/bench-strcpy.c: Likewise.
39469         * benchtests/bench-strcpy_chk.c: Likewise.
39470         * benchtests/bench-strlen.c: Likewise.
39471         * benchtests/bench-strncasecmp.c: Likewise.
39472         * benchtests/bench-strncat.c: Likewise.
39473         * benchtests/bench-strncmp.c: Likewise.
39474         * benchtests/bench-strncpy.c: Likewise.
39475         * benchtests/bench-strnlen.c: Likewise.
39476         * benchtests/bench-strpbrk.c: Likewise.
39477         * benchtests/bench-strrchr.c: Likewise.
39478         * benchtests/bench-strspn.c: Likewise.
39479         * benchtests/bench-strstr.c: Likewise.
39481 2013-09-04  Will Newton  <will.newton@linaro.org>
39483         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39485 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39487         [BZ #15427]
39488         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39489         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39490         * math/libm-test.inc (lgamma_test_data): Add more tests.
39491         * sysdeps/i386/fpu/libm-test-ulps: Update.
39492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39494 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39496         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39498         Add ifunc.
39499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39500         Add strcmp-sse2-unaligned
39501         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39503 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39505         * Versions.def (libc): Add GLIBC_2.19.
39507 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39509         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39510         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39512 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39514         [BZ #14155]
39515         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39516         intermediate calculations in recurrence.
39517         (__ieee754_ynf): Likewise.
39518         * math/libm-test.inc (jn_test_data): Do not allow spurious
39519         underflow exception.  Add more tests.
39520         (yn_test_data): Add more tests.
39521         * sysdeps/i386/fpu/libm-test-ulps: Update.
39522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39524 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39526         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39528 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39530         * csu/init-first.c: Fix then/than typos.
39531         * locale/programs/ld-collate.c: Likewise.
39532         * locale/programs/linereader.h: Likewise.
39533         * manual/charset.texi: Likewise.
39534         * manual/filesys.texi: Likewise.
39535         * manual/stdio.texi: Likewise.
39536         * manual/string.texi: Likewise.
39537         * stdlib/fmtmsg.c: Likewise.
39538         * sysdeps/i386/stpncpy.S: Likewise.
39539         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39540         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39541         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39542         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39544 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39546         * elf/dl-open.c: Fix typos.
39547         * iconvdata/gbbig5.c: Likewise.
39548         * iconvdata/iso-2022-jp.c: Likewise.
39549         * iconv/gconv_int.h: Likewise.
39550         * iconv/loop.c: Likewise.
39551         * nis/rpcsvc/nis.h: Likewise.
39552         * resolv/ns_name.c: Likewise.
39553         * stdio-common/vfscanf.c: Likewise.
39554         * streams/stropts.h: Likewise.
39555         * sunrpc/rpc_thread.c: Likewise.
39556         * sysdeps/i386/strpbrk.S: Likewise.
39557         * sysdeps/ieee754/k_standard.c: Likewise.
39558         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39559         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39560         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39561         * sysdeps/mach/hurd/profil.c: Likewise.
39562         * sysdeps/s390/dl-procinfo.h: Likewise.
39563         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39564         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39565         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39566         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39567         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39569 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39571         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39574 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39576         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39577         aix specific files.
39578         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39579         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39580         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39581         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39582         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39583         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39584         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39585         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39587 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39588             Roland McGrath  <roland@hack.frob.com>
39590         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39591         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39593 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39595         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39596         __executable_start symbol instead of _start.
39598 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39600         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39601         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39602         Move macros to...
39603         * sysdeps/gnu/ldsodefs.h: ... this new file.
39605         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39606         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39607         instead of ELFOSABI_LINUX.
39609         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39610         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39611         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39612         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39613         Likewise.
39614         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39615         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39616         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39617         Likewise.
39618         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39619         (ibm_extended_long_double): Add ieee_nan member.
39620         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39621         (do_test): New function.
39623         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39624         TEST_TRUNC.
39625         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39626         functions, renamed from truncdfsf_test, trunctfsf_test,
39627         trunctfdf_test.
39628         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39629         functions.
39630         (do_test): Run all these.
39632 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39634         * argp/argp-help.c: Fix typos.
39635         * argp/argp-parse.c: Likewise.
39636         * debug/backtracesyms.c: Likewise.
39637         * elf/elf.h: Likewise.
39638         * malloc/malloc.c: Likewise.
39639         * nis/nis_print.c: Likewise.
39640         * resolv/res_comp.c: Likewise.
39641         * stdlib/stdlib.h: Likewise.
39642         * sunrpc/clnt_tcp.c: Likewise.
39643         * sunrpc/clnt_udp.c: Likewise.
39644         * sunrpc/clnt_unix.c: Likewise.
39645         * sysdeps/unix/bsd/ptsname.c: Likewise.
39646         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39647         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39649         Likewise.
39650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39651         Likewise.
39652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39653         Likewise.
39654         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39656 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39658         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39661 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39663         [BZ #15897]
39664         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39665         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39666         ($(objpfx)bug-dl-leaf): New rule.
39667         ($(objpfx)bug-dl-leaf.so): Likewise.
39668         ($(objpfx)bug-dl-leaf.out): Likewise.
39669         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39670         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39671         * dlfcn/bug-dl-leaf.c: New test.
39672         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39673         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39674         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39675         (dlclose): Likewise.
39676         (dlmopen): Likewise.
39678 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39680         * include/netdb.h [!_ISOMAC]:
39681         Don't include <tls.h>.
39682         (h_errno, __libc_h_errno): Move declaration and macros out of
39683         [_LIBC_REENTRANT].
39685         * include/resolv.h [_RESOLV_H_]:
39686         Don't include <tls.h>.
39687         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39688         * resolv/res_libc.c: Don't include <tls.h>.
39689         (_res): Use __attribute__ ((nocommon)) in place of
39690         __attribute__ ((section (".bss"))).
39692         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39693         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39695         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39697         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39698         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39700         * resolv/res_mkquery.c: Include <sys/time.h>.
39702         * inet/ifreq.c: Moved to ...
39703         * sysdeps/unix/ifreq.c: ... here.
39704         * inet/ifreq.c: New file, true stub version.
39706         * socket/sa_len.c: New file.
39707         * socket/Makefile (aux): Add it.
39708         * sysdeps/unix/sysv/linux/Makefile
39709         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39710         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39711         and #include <socket/sa_len.c>.
39712         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39713         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39715         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39716         * bits/socket.h: ... here.
39718         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39719         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39720         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39722 2013-08-27  Andreas Schwab  <schwab@suse.de>
39724         [BZ #15736]
39725         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39726         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39727         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39728         * string/test-strcasecmp.c (test_main): Run tests in several
39729         locales.
39730         * string/test-strncasecmp.c (test_main): Likewise.
39732         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39733         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39734         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39735         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39736         (__strncasecmp_ssse3) [PIC]: Likewise.
39738 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39740         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39742         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39743         instead of explicitly declaring xdecrypt.
39744         * nis/nss_nis/nis-publickey.c: Likewise.
39746 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39748         [BZ #15890]
39749         * nscd/aicache.c: Include res_hconf.h.
39750         (addhstaiX): Initialize res_hconf.
39752 2013-08-26  Andreas Schwab  <schwab@suse.de>
39754         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39755         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39757 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39759         * nscd/aicache.c (addhstaiX): Fix indentation.
39761 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39763         * configure.ac: Quote $build_pt_chown test.
39764         * configure: Regenerated.
39766 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39768         [BZ #15532]
39769         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39770         * math/s_cexpf.c (__cexpf): Likewise.
39771         * math/s_cexpl.c (__cexpl): Likewise.
39772         * math/libm-test.inc (cexp_test_data): Correct expected return
39773         value for NaN + i0.  Add another test.
39775 2013-08-22  David S. Miller  <davem@davemloft.net>
39777         * po/ca.po: Update Catalan translation from translation project.
39778         * po/uk.po: Add Ukrainian translations from translation project.
39780 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39782         [BZ #15797]
39783         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39784         is infinite, not alongside NaN test.
39785         * math/s_fdimf.c (__fdimf): Likewise.
39786         * math/s_fdiml.c (__fdiml): Likewise.
39787         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39788         errno is unchanged.
39790 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39792         * argp/argp-help.c: Fix typos.
39793         * crypt/speeds.c: Likewise.
39794         * csu/check_fds.c: Likewise.
39795         * elf/dl-load.c: Likewise.
39796         * elf/dl-open.c: Likewise.
39797         * elf/reldep3.c: Likewise.
39798         * elf/reldep.c: Likewise.
39799         * elf/sprof.c: Likewise.
39800         * iconv/iconv_charmap.c: Likewise.
39801         * iconv/skeleton.c: Likewise.
39802         * iconv/strtab.c: Likewise.
39803         * io/lockf64.c: Likewise.
39804         * libio/libioP.h: Likewise.
39805         * resolv/gai_notify.c: Likewise.
39806         * resolv/ns_name.c: Likewise.
39807         * resolv/ns_samedomain.c: Likewise.
39808         * resolv/res_send.c: Likewise.
39809         * stdlib/random.c: Likewise.
39810         * sunrpc/rpc/xdr.h: Likewise.
39811         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39812         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39813         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39814         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39815         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39816         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39817         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39818         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39819         * sysdeps/mach/hurd/check_fds.c: Likewise.
39820         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39821         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39822         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39823         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39824         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39825         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39826         * sysdeps/pthread/aio_notify.c: Likewise.
39827         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39828         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39829         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39830         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39831         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39833 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39835         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39836         version if bit_Slow_SSE4_2 is set.
39837         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39838         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39840 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39842         [BZ #15867]
39843         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39844         trampoline stack frame information.
39845         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39846         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39847         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39848         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39849         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39850         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39851         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39852         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39853         sa_flags value.
39854         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39855         interrupting a syscall and set with option SA_SIGINFO.
39857 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39859         [BZ #15531]
39860         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39861         argument is infinite.
39862         * math/s_cprojf.c (__cprojf): Likewise.
39863         * math/s_cprojl.c (__cprojl): Likewise.
39864         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39865         * math/libm-test.inc (cproj_test_data): Add more tests.
39867         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39869         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39870         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39871         size.  Use __ffs to determine corresponding shift.
39873 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39874             Roland McGrath  <roland@hack.frob.com>
39876         * Makefile (INSTALL): Remove trailing blank lines from output of
39877         makeinfo.
39879 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39881         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39882         Align 32 bit compat elf_greg to 8 bytes.
39884 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39886         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39888 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39890         * string/strcoll_l.c (coll_seq): New structure.
39891         (get_next_seq_cached): New function.
39892         (get_next_seq): New function.
39893         (do_compare): New function.
39894         (STRCOLL): Use GNU style definition.  Simplify implementation
39895         by using get_next_seq, get_next_seq_cached and do_compare.
39897 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39899         [BZ #14699]
39900         CVE-2013-4237
39901         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39902         member.
39903         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39904         member.
39905         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39906         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39907         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39908         conditional.
39909         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39910         GETDENTS_64BIT_ALIGNED.
39911         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39912         * manual/filesys.texi (Reading/Closing Directory): Document
39913         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39914         strongly.
39915         * manual/conf.texi (Limits for Files): Add portability note to
39916         NAME_MAX, PATH_MAX.
39917         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39919 2013-08-13  Andreas Schwab  <schwab@suse.de>
39921         [BZ #15749]
39922         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39923         of fabs.
39924         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39925         LDBL_MAX_EXP >= 16384]: Add tests for it.
39927 2013-08-12  David S. Miller  <davem@davemloft.net>
39929         * version.h (RELEASE): Set to "development".
39930         (VERSION): Set to "2.18.90".
39931         * NEWS: Add 2.19 section.
39933 2013-08-03  David S. Miller  <davem@davemloft.net>
39935         * po/ko.po: Update Korean translation from translation project.
39937 2013-08-01  David S. Miller  <davem@davemloft.net>
39939         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39940         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39941         Bilka.
39943 2013-07-30  David S. Miller  <davem@davemloft.net>
39945         * po/fr.po: Update French translation from translation project.
39947 2013-07-28  David S. Miller  <davem@davemloft.net>
39949         * po/cs.po: Update Czech translation from translation project.
39951         * po/sv.po: Update Swedish translation from translation project.
39953 2013-07-27  David S. Miller  <davem@davemloft.net>
39955         * po/eo.po: Update Esperanto translation from translation project.
39957         * po/vi.po: Update Vietnamese translation from translation project.
39959         * po/de.po: Update German translation from translation project.
39961 2013-07-26  David S. Miller  <davem@davemloft.net>
39963         * po/bg.po: Update Bulgarian translation from translation project.
39965         * po/nl.po: Update Dutch translation from translation project.
39966         * po/pl.po: Update Polish translation from translation project.
39967         * po/ru.po: Update Russian translation from translation project.
39969 2013-07-24  David S. Miller  <davem@davemloft.net>
39971         * po/libc.pot: Update.
39973 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39975         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39976         variable page size.
39977         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39978         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39979         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39981 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39983         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39985 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39986             Andreas Schwab  <schwab@suse.de>
39987             Roland McGrath  <roland@hack.frob.com>
39988             Joseph Myers  <joseph@codesourcery.com>
39989             Carlos O'Donell  <carlos@redhat.com>
39991         [BZ #15755]
39992         * config.h.in: Define HAVE_PT_CHOWN.
39993         * config.make.in (build-pt-chown): New variable.
39994         * configure.in (--enable-pt_chown): New configure option.
39995         * configure: Regenerate.
39996         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39997         build-pt-chown is enabled.
39998         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39999         pt_chown to fix pty ownership.
40000         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40001         CLOSE_ALL_FDS.
40002         * manual/install.texi (Configuring and compiling): Mention
40003         --enable-pt_chown. Add @findex for grantpt.
40004         * INSTALL: Regenerate.
40006 2013-07-20  David S. Miller  <davem@davemloft.net>
40008         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40009         difference between 32-bit and 64-bit.
40011 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40013         [BZ #15711]
40014         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40015         Avoid system header dependency with -ffreestanding.
40016         ($(objpfx)bits/syscall%d): Likewise.
40018 2013-07-13  David S. Miller  <davem@davemloft.net>
40020         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40021         underflows from atanl/atan2l due to bug 15319.
40022         (casinh_test_data): Likewise.
40024 2013-07-07  David S. Miller  <davem@davemloft.net>
40026         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40028 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40030         * sysdeps/i386/fpu/libm-test-ulps: Update.
40031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40033 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40035         * configure.in (--enable-lock-elision): Fix message text.
40036         * INSTALL: Regenerate.
40037         * configure: Regenerate.
40039 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40043 2013-07-03  Andreas Jaeger  <aj@suse.de>
40045         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40046         define.
40047         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40048         (ptrace_peeksiginfo_args): Add.
40049         (__ptrace_peeksiginfo_flags): Add.
40050         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40051         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40052         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40054 2013-07-03  Allan McRae  <allan@archlinux.org>
40056         * sysdeps/i386/fpu/libm-test-ulps: Update.
40058 2013-07-02  David S. Miller  <davem@davemloft.net>
40060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40062 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40066 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40068         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40071 2013-07-02  Andi Kleen <ak@linux.intel.com>
40073         * config.h.in (ENABLE_LOCK_ELISION): Add.
40074         * configure.in (--enable-lock-elision): Add option.
40075         * manual/install.texi: Document --enable lock elision.
40076         * configure: Regenerate
40077         * INSTALL: Regenerate.
40079 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40081         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40082         SSE4.2 strcasecmp for libc.a.
40083         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40085 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40087         [BZ #13304]
40088         * soft-fp/op-common.h (_FP_FMA): New macro.
40089         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40090         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40091         (_FP_MUL_MEAT_1_imm): ... here.
40092         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40093         (_FP_MUL_MEAT_1_wide): ... here.
40094         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40095         (_FP_MUL_MEAT_1_hard): ... here.
40096         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40097         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40098         (_FP_MUL_MEAT_2_wide): ... here.
40099         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40100         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40101         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40102         (_FP_MUL_MEAT_2_gmp): ... here.
40103         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40104         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40105         (_FP_MUL_MEAT_4_wide): ... here.
40106         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40107         (_FP_MUL_MEAT_4_gmp): ... here.
40108         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40109         (_FP_WFRACBITS_DW_S): Likewise.
40110         (_FP_WFRACXBITS_DW_S): Likewise.
40111         (_FP_HIGHBIT_DW_S): Likewise.
40112         (FP_FMA_S): Likewise.
40113         (_FP_FRAC_HIGH_DW_S): Likewise.
40114         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40115         (_FP_WFRACBITS_DW_D): Likewise.
40116         (_FP_WFRACXBITS_DW_D): Likewise.
40117         (_FP_HIGHBIT_DW_D): Likewise.
40118         (FP_FMA_D): Likewise.
40119         (_FP_FRAC_HIGH_DW_D): Likewise.
40120         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40121         (_FP_WFRACBITS_DW_E): Likewise.
40122         (_FP_WFRACXBITS_DW_E): Likewise.
40123         (_FP_HIGHBIT_DW_E): Likewise.
40124         (FP_FMA_E): Likewise.
40125         (_FP_FRAC_HIGH_DW_E): Likewise.
40126         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40127         (_FP_WFRACBITS_DW_Q): Likewise.
40128         (_FP_WFRACXBITS_DW_Q): Likewise.
40129         (_FP_HIGHBIT_DW_Q): Likewise.
40130         (FP_FMA_Q): Likewise.
40131         (_FP_FRAC_HIGH_DW_Q): Likewise.
40132         * soft-fp/fmasf4.c: New file.
40133         * soft-fp/fmadf4.c: Likewise.
40134         * soft-fp/fmatf4.c: Likewise.
40136 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40139         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40140         Silvermont.
40141         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40142         macro.
40143         (index_Slow_SSE4_2): Likewise.
40144         (index_Prefer_PMINUB_for_stringop): Likewise.
40145         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40146         bit_Slow_SSE4_2 is set.
40147         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40148         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40150 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40152         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40153         rtld_global._dl_hwcap2.
40154         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40155         POWER8.
40156         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40157         POWER8 feature descriptions defined in _dl_hwcap2.
40158         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40159         string handling for POWER8 feature bits.
40160         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40161         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40162         _dl_powerpc_cap_flags.
40163         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40164         * sysdeps/powerpc/rtld-global-offsets.sym
40165         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40166         _dl_hwcap2 in the rtld_global_ro structure.
40168 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40170         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40171         hardware capabilities in support of AT_HWCAP2.
40172         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40173         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40174         GLRO(dl_hwcap2).
40175         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40176         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40177         explicitly the unknown a_type display mechanism is used.
40178         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40179         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40180         struct member.
40181         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40182         to macro prototype for AT_HWCAP2 support.
40183         * sysdeps/i386/dl-procinfo.h: Likewise.
40184         * sysdeps/s390/dl-procinfo.h: Likewise.
40185         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40186         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40187         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40188         return -1 for unknown a_type display fallback.
40189         * sysdeps/sparc/dl-procinfo.h: Likewise.
40190         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40191         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40193 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40195         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40196         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40198 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40200         [BZ #12492]
40201         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40202         mprotect making __stack_prot writable.
40204 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40205             Joseph Myers  <joseph@codesourcery.com>
40207         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40208         as being properly aligned.
40210 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40212         * dlfcn/modstatic5.c: New file.
40213         * dlfcn/tststatic5.c: New file.
40214         * dlfcn/Makefile (tests): Add tststatic5.
40215         (tests-static): Likewise.
40216         (modules-names): Add modstatic5.
40217         (tststatic5-ENV): New variable.
40218         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40220         [BZ #15022]
40221         * elf/dl-support.c (_dl_main_map): New variable.
40222         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40223         (_dl_nns, _dl_load_adds): Set to 1.
40224         (_dl_initial_searchlist): Refer to _dl_main_map.
40225         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40226         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40227         call to _dl_get_origin.
40228         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40229         around call_map.
40230         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40231         * dlfcn/modstatic3.c: New file.
40232         * dlfcn/tststatic3.c: New file.
40233         * dlfcn/tststatic4.c: New file.
40234         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40235         (tests-static): Likewise.
40236         (modules-names): Add modstatic3.
40237         (tststatic3-ENV, tststatic4-ENV): New variables.
40238         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40239         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40241 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40243         * configure.in (CC): Require GCC version 4.4 or later.
40244         * configure: Regenerated.
40245         * manual/install.texi (Tools for Compilation): Update GCC version
40246         requirement.
40247         * INSTALL: Regenerated.
40249 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40251         [BZ #15674]
40252         * string/test-memcmp.c (check2): New.
40253         (main): Call check2.
40255         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40257 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40259         [BZ #15022]
40260         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40261         over to...
40262         (dl_open_worker) [!SHARED]: ... here.
40264 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40266         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40268 2013-06-25  Richard Henderson  <rth@redhat.com>
40270         * locale/programs/locarchive.c: Include <libc-internal.h>
40272 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40274         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40275         trailing whitespace removed.
40277 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40279         [BZ #10283]
40280         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40281         * locale/programs/locarchive.c: Include libc-mmap.h.
40282         (prepare_address_space): Take two new outputs (the mmap base and len).
40283         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40284         values.
40285         (create_archive): Declare new mmap base and len values for
40286         prepare_address_space, and store the result in ah.
40287         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40288         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40289         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40290         Declare new mmap base and len values for
40291         prepare_address_space, and store the result in new_ah.
40292         (open_archive): Declare new mmap base and len values for
40293         prepare_address_space, and store the result in ah.
40294         (close_archive): If ah->mmap_base is not NULL, use that and
40295         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40296         * sysdeps/generic/libc-mmap.h: New file.
40298 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40300         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40301         (ALIGN_UP): Likewise.
40302         (PTR_ALIGN_DOWN): Likewise.
40303         (PTR_ALIGN_UP): Likewise.
40305 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40307         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40308         entry mapped to PPC_PLATFORM_POWER8.
40309         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40310         POWER8.
40311         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40312         (_dl_string_platform): Add case for exporting platform position for
40313         POWER8.
40314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40315         search path to sysdeps/powerpc/powerpc32/power8 directory.
40316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40317         search path to sysdeps/powerpc/powerpc64/power8 directory.
40318         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40319         power7 directories.
40320         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40321         power7 directories.
40323 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40325         * INSTALL: Regenerate.
40327         * nscd/connections.c (nscd_init): Fix comment.
40329 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40331         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40333         [BZ #15667]
40334         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40335         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40337 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40339         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40340         DL_DST_REQ_STATIC.
40341         (DL_DST_REQ_STATIC): Remove macro.
40343 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40345         [BZ #7006]
40346         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40347         with a shift of 0 bits.
40349 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40351         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40352         $(tststatic-ENV).
40354 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40356         [BZ #15655]
40357         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40359 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40361         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40362         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40363         accepts -fno-tree-loop-distribute-patterns.
40364         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40365         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40366         recursive call.
40367         * string/memset.c (memset): Likewise.
40368         * string/test-memmove.c (simple_memmove): Disable loop transformation
40369         to library calls.
40370         * string/test-memset.c (simple_memset): Likewise.
40371         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40372         * benchtests/bench-memset.c (simple_memset): Likewise.
40373         * configure: Regenerated.
40375 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40377         * math/test-misc.c (main): Ignore fesetround failure when failures
40378         of subsequent rounding tests would be ignored.
40380         [BZ #15654]
40381         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40382         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40383         * math/fegetenv.c (__fegetenv): Return 0.
40384         * math/fegetexcept.c (fegetexcept): Return 0.
40385         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40386         FE_TONEAREST.
40387         * math/feholdexcpt.c (feholdexcept): Return 0.
40388         * math/fesetenv.c (__fesetenv): Return 0.
40389         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40390         argument FE_TONEAREST.
40391         * math/feupdateenv.c (__feupdateenv): Return 0.
40392         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40394 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40396         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40397         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40398         ($(objpfx)rtld-%.os rules): Use them.
40400 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40402         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40403         fields.
40405 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40407         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40408         length of target pattern, then descending length of dependency pattern.
40409         * configure.in (AWK): Require gawk 3.1.2 or newer.
40410         * manual/install.texi (Tools for Compilation): Say that we do.
40411         * configure: Regenerated.
40413         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40414         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40415         * scripts/sysd-rules.awk: ... this new script.
40416         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40417         than a glob-style pattern.
40419 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40421         * math/test-misc.c (main): Do not treat incorrectly rounded
40422         conversions as failure unless ROUNDING_TESTS passes.
40424 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40426         [BZ #15631]
40427         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40428         restore exception state around main square root computation, then
40429         check for inexactness explicitly.
40431         * math/libm-test.inc (fma_test_data): Add another test.
40433 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40435         * manual/threads.texi (Non-POSIX Extensions): New document
40436         node.  Document pthread_getattr_default_np and
40437         pthread_setattr_default_np.
40439         * Versions.def (libpthread): Add GLIBC_2.18.
40440         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40442         Likewise.
40443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40444         Likewise.
40445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40446         Likewise.
40447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40448         Likewise.
40449         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40450         Likewise.
40451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40452         Likewise.
40453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40454         Likewise.
40455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40456         Likewise.
40457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40458         Likewise.
40460 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40463         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40465 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40466             H.J. Lu  <hjl.tools@gmail.com>
40468         [BZ #15627]
40469         * sysdeps/x86_64/rtld-memset.c: Remove file.
40470         * sysdeps/x86_64/rtld-memset.S: New file.
40472 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40474         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40475         (test_in_one_mode): Take arguments for whether the rounding mode
40476         is supported for each floating-point type.
40477         (do_test): Pass new arguments to test_in_one_mode using
40478         ROUNDING_TESTS.
40480 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40482         * posix/tst-waitid.c (do_test): Distinguish different instances of
40483         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40484         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40485         before entering the kernel for waitpid.
40487 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40489         * NEWS: Fix note on clock function precision.  Text by Roland
40490         McGrath.
40492 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40494         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40495         it into place only when and if the sanity check passes.
40497 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40499         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40500         output for whether conversion result is exact.  Take argument
40501         indicating whether type is IBM long double.
40502         (round_for_all): Change need_exact field to ibm_ld.
40503         * stdlib/tst-strtod-round.c (struct exactness): New type.
40504         (struct test): Change bool ld_ok field to struct exactness exact.
40505         (TEST): Update all definitions for change to field.
40506         (tests): Regenerate array contents.
40507         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40508         field value.  Check for IBM long double here.
40509         (do_test): Update calls to test_in_one_mode.
40511 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40513         [BZ #12515]
40514         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40515         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40517 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40519         [BZ #15605]
40520         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40521         generated by the compiler on loop optimizations.
40522         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40523         general definitions.
40525 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40527         * math/bug-nextafter.c: Include <math-tests.h>.
40528         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40529         the relevant type.
40530         * math/bug-nexttoward.c: Include <math-tests.h>.
40531         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40532         the relevant type.
40533         * math/test-misc.c: Include <math-tests.h>.
40534         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40535         the relevant type.
40537 2013-06-12  Andreas Jaeger  <aj@suse.de>
40539         * po/ia.po: Update Interlingua translation from translation
40540         project.
40542 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40544         * include/fenv.h: Include stdbool.h.
40545         (struct rm_ctx): New structure.
40546         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40547         Define macro.
40548         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40549         (SET_RESTORE_ROUNDF): Likewise.
40550         (SET_RESTORE_ROUNDL): Likewise.
40551         (SET_RESTORE_ROUND_NOEX): Likewise.
40552         (SET_RESTORE_ROUND_NOEXF): Likewise.
40553         (SET_RESTORE_ROUND_NOEXL): Likewise.
40554         (SET_RESTORE_ROUND_53BIT): Likewise.
40555         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40556         (libc_feresetround_noexf_ctx): Likewise.
40557         (libc_feresetround_noexl_ctx): Likewise.
40558         (libc_feholdsetround_53bit_ctx): Likewise.
40559         (libc_feresetround_53bit_ctx): Likewise.
40560         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40561         (libc_feholdexcept_setround_sse_ctx): New function.
40562         (libc_fesetenv_sse_ctx): Likewise.
40563         (libc_feupdateenv_sse_ctx): Likewise.
40564         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40565         (libc_feholdexcept_setround_387_ctx): Likewise.
40566         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40567         (libc_feholdsetround_387_prec_ctx): Likewise.
40568         (libc_feholdsetround_387_ctx): Likewise.
40569         (libc_feholdsetround_387_53bit_ctx): Likewise.
40570         (libc_feholdsetround_sse_ctx): Likewise.
40571         (libc_feresetround_sse_ctx): Likewise.
40572         (libc_feresetround_387_ctx): Likewise.
40573         (libc_feupdateenv_387_ctx): Likewise.
40574         (libc_feholdexcept_setroundf_ctx): Define macro.
40575         (libc_fesetenvf_ctx): Likewise.
40576         (libc_feupdateenvf_ctx): Likewise.
40577         (libc_feholdsetroundf_ctx): Likewise.
40578         (libc_feresetroundf_ctx): Likewise.
40579         (libc_feholdexcept_setround_ctx): Likewise.
40580         (libc_fesetenv_ctx): Likewise.
40581         (libc_feupdateenv_ctx): Likewise.
40582         (libc_feholdsetround_ctx): Likewise.
40583         (libc_feresetround_ctx): Likewise.
40584         (libc_feholdexcept_setroundl_ctx): Likewise.
40585         (libc_feupdateenvl_ctx): Likewise.
40586         (libc_feholdsetroundl_ctx): Likewise.
40587         (libc_feresetroundl_ctx): Likewise.
40588         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40589         (libc_feresetround_53bit_ctx): Likewise.
40591 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40593         * locale/iso-639.def: Convert to UTF-8.
40595 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40597         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40598         (EXCEPTION_TESTS_double): Likewise.
40599         (EXCEPTION_TESTS_long_double): Likewise.
40600         (EXCEPTION_TESTS): Likewise.
40601         * math/libm-test.inc (test_exceptions): Only test exceptions if
40602         EXCEPTION_TESTS (FLOAT).
40604 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40606         * benchtests/Makefile (string-bench): Add strcpy_chk and
40607         stpcpy_chk.
40608         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40609         * benchtests/bench-stpcpy_chk.c: New file.
40610         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40611         * benchtests/bench-strcpy_chk.c: New file.
40612         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40613         code.
40614         (do_test): Likewise.
40616 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40618         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40619         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40620         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40621         with tabs where appropriate.
40622         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40623         dl-procinfo.h.
40624         [PPC_PLATFORM_PPC440]: Likewise.
40625         [PPC_PLATFORM_PPC464]: Likewise.
40626         [PPC_PLATFORM_PPC476]: Likewise.
40627         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40628         ppc464, and ppc476 platform strings merging from ports/
40629         dl-procinfo.h.
40631 2013-06-11  Andreas Schwab  <schwab@suse.de>
40633         [BZ #14991]
40634         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40635         (from_ucs4_idx): Regenerate.
40636         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40637         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40638         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40639         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40640         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40641         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40642         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40643         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40644         from FROM_LOOP and TO_LOOP specific macros.
40645         (BODY): Handle combining characters.
40646         * iconvdata/BIG5HKSCS.irreversible: Update.
40647         * iconvdata/BIG5HKSCS.precomposed: New file.
40648         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40649         characters.
40650         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40652 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40654         * include/sys/time.h: Fix indentation and add copyright header.
40656         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40657         (do_test): Likewise.
40658         * string/test-memchr.c (do_one_test): Likewise.
40659         (do_test): Likewise.
40660         * string/test-memcmp.c (do_one_test): Likewise.
40661         (do_test): Likewise.
40662         * string/test-memcpy.c (do_one_test): Likewise.
40663         (do_test): Likewise.
40664         * string/test-memmem.c (do_one_test): Likewise.
40665         (do_test): Likewise.
40666         (do_random_tests): Likewise.
40667         * string/test-memmove.c (do_one_test): Likewise.
40668         (do_test): Likewise.
40669         * string/test-memset.c (do_one_test): Likewise.
40670         (do_test): Likewise.
40671         * string/test-rawmemchr.c (do_one_test): Likewise.
40672         (do_test): Likewise.
40673         * string/test-strcasecmp.c (do_one_test): Likewise.
40674         (do_test): Likewise.
40675         * string/test-strcasestr.c (do_one_test): Likewise.
40676         (do_test): Likewise.
40677         * string/test-strcat.c (do_one_test): Likewise.
40678         (do_test): Likewise.
40679         * string/test-strchr.c (do_one_test): Likewise.
40680         (do_test): Likewise.
40681         * string/test-strcmp.c (do_one_test): Likewise.
40682         (do_test): Likewise.
40683         * string/test-strcpy.c (do_one_test): Likewise.
40684         (do_test): Likewise.
40685         * string/test-string.h: Likewise.
40686         (test_init): Likewise.
40687         * string/test-strlen.c (do_one_test): Likewise.
40688         (do_test): Likewise.
40689         * string/test-strncasecmp.c (do_one_test): Likewise.
40690         (do_test): Likewise.
40691         * string/test-strncat.c (do_one_test): Likewise.
40692         (do_test): Likewise.
40693         * string/test-strncmp.c (do_one_test): Likewise.
40694         (do_test_limit): Likewise.
40695         (do_test): Likewise.
40696         * string/test-strncpy.c (do_one_test): Likewise.
40697         (do_test): Likewise.
40698         * string/test-strnlen.c (do_one_test): Likewise.
40699         (do_test): Likewise.
40700         * string/test-strpbrk.c (do_one_test): Likewise.
40701         (do_test): Likewise.
40702         * string/test-strrchr.c (do_one_test): Likewise.
40703         (do_test): Likewise.
40704         * string/test-strspn.c (do_one_test): Likewise.
40705         (do_test): Likewise.
40706         * string/test-strstr.c (do_one_test): Likewise.
40707         (do_test): Likewise.
40709         * benchtests/Makefile (string-bench): Add string benchmarks.
40710         * benchtests/bench-bcopy-ifunc.c: New file.
40711         * benchtests/bench-bcopy.c: New file.
40712         * benchtests/bench-bzero-ifunc.c: New file.
40713         * benchtests/bench-bzero.c: New file.
40714         * benchtests/bench-memccpy-ifunc.c: New file.
40715         * benchtests/bench-memccpy.c: New file.
40716         * benchtests/bench-memchr-ifunc.c: New file.
40717         * benchtests/bench-memchr.c: New file.
40718         * benchtests/bench-memcmp-ifunc.c: New file.
40719         * benchtests/bench-memcmp.c: New file.
40720         * benchtests/bench-memmem-ifunc.c: New file.
40721         * benchtests/bench-memmem.c: New file.
40722         * benchtests/bench-memmove-ifunc.c: New file.
40723         * benchtests/bench-memmove.c: New file.
40724         * benchtests/bench-mempcpy-ifunc.c: New file.
40725         * benchtests/bench-mempcpy.c: New file.
40726         * benchtests/bench-memset-ifunc.c: New file.
40727         * benchtests/bench-memset.c: New file.
40728         * benchtests/bench-rawmemchr-ifunc.c: New file.
40729         * benchtests/bench-rawmemchr.c: New file.
40730         * benchtests/bench-stpcpy-ifunc.c: New file.
40731         * benchtests/bench-stpcpy.c: New file.
40732         * benchtests/bench-stpncpy-ifunc.c: New file.
40733         * benchtests/bench-stpncpy.c: New file.
40734         * benchtests/bench-strcasecmp-ifunc.c: New file.
40735         * benchtests/bench-strcasecmp.c: New file.
40736         * benchtests/bench-strcasestr-ifunc.c: New file.
40737         * benchtests/bench-strcasestr.c: New file.
40738         * benchtests/bench-strcat-ifunc.c: New file.
40739         * benchtests/bench-strcat.c: New file.
40740         * benchtests/bench-strchr-ifunc.c: New file.
40741         * benchtests/bench-strchr.c: New file.
40742         * benchtests/bench-strchrnul-ifunc.c: New file.
40743         * benchtests/bench-strchrnul.c: New file.
40744         * benchtests/bench-strcmp-ifunc.c: New file.
40745         * benchtests/bench-strcmp.c: New file.
40746         * benchtests/bench-strcpy-ifunc.c: New file.
40747         * benchtests/bench-strcpy.c: New file.
40748         * benchtests/bench-strcspn-ifunc.c: New file.
40749         * benchtests/bench-strcspn.c: New file.
40750         * benchtests/bench-strlen-ifunc.c: New file.
40751         * benchtests/bench-strlen.c: New file.
40752         * benchtests/bench-strncasecmp-ifunc.c: New file.
40753         * benchtests/bench-strncasecmp.c: New file.
40754         * benchtests/bench-strncat-ifunc.c: New file.
40755         * benchtests/bench-strncat.c: New file.
40756         * benchtests/bench-strncmp-ifunc.c: New file.
40757         * benchtests/bench-strncmp.c: New file.
40758         * benchtests/bench-strncpy-ifunc.c: New file.
40759         * benchtests/bench-strncpy.c: New file.
40760         * benchtests/bench-strnlen-ifunc.c: New file.
40761         * benchtests/bench-strnlen.c: New file.
40762         * benchtests/bench-strpbrk-ifunc.c: New file.
40763         * benchtests/bench-strpbrk.c: New file.
40764         * benchtests/bench-strrchr-ifunc.c: New file.
40765         * benchtests/bench-strrchr.c: New file.
40766         * benchtests/bench-strspn-ifunc.c: New file.
40767         * benchtests/bench-strspn.c: New file.
40768         * benchtests/bench-strstr-ifunc.c: New file.
40769         * benchtests/bench-strstr.c: New file.
40771         * benchtests/Makefile: Disable parallel execution of targets.
40772         (string-bench): Add memcpy.
40773         (benchset): New variable to store a list of benchmark sets.
40774         (bench-func): Renamed from bench.
40775         (bench-set): New target.
40776         (bench): Depend on bench-func and bench-set.
40777         * benchtests/README: Add section on benchmark sets.
40778         * benchtests/bench-memcpy-ifunc.c: New file.
40779         * benchtests/bench-memcpy.c: New file.
40780         * benchtests/bench-string.h: New file.
40782 2013-06-11  Andreas Schwab  <schwab@suse.de>
40784         [BZ #15577]
40785         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40786         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40787         values in the triple.
40788         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40789         terminator in the group key.
40791 2013-06-11  Andreas Jaeger  <aj@suse.de>
40793         * po/zh_TW.po: Update Chinese (traditional) translation from
40794         translation project.
40796 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40798         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40799         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40800         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40801         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40802         (clock_getcpuclockid): Likewise.
40803         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40804         Add weak_alias and libc_hidden_def.
40805         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40806         * rt/clock_gettime.c (clock_gettime): Rename to
40807         __clock_gettime.  Add weak_alias and libc_hidden_def.
40808         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40809         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40810         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40811         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40812         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40813         Likewise.
40814         * rt/clock_settime.c (clock_settime): Rename to
40815         __clock_settime.  Add weak_alias and libc_hidden_def.
40816         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40818 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40820         * mach/err_boot.sub: Remove trailing whitespace.
40821         * mach/err_ipc.sub: Likewise.
40822         * mach/err_mach.sub: Likewise.
40824         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40825         (ROUNDING_TESTS_double): Likewise.
40826         (ROUNDING_TESTS_long_double): Likewise.
40827         (ROUNDING_TESTS): Likewise.
40828         * math/libm-test.inc: Include <math-tests.h>.
40829         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40830         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40831         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40832         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40834 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40836         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40837         of assigning.
40839 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40841         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40842         otherwise empty TRANS lines.
40843         * sysdeps/gnu/errlist.c: Regenerated.
40845         * catgets/gencat.c (error_print): Use (void) in function
40846         definition.
40847         * crypt/crypt_util.c (__init_des): Likewise.
40848         * crypt/speeds.c (Stop): Likewise.
40849         (main): Likewise.
40850         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40851         * inet/ruserpass.c (token): Likewise.
40852         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40853         * intl/localealias.c (extend_alias_table): Likewise.
40854         * intl/plural-exp.c (init_germanic_plural): Likewise.
40855         * libio/fcloseall.c (__fcloseall): Likewise.
40856         * libio/genops.c (_IO_flush_all): Likewise.
40857         (_IO_flush_all_linebuffered): Likewise.
40858         (_IO_cleanup): Likewise.
40859         (_IO_iter_begin): Likewise.
40860         (_IO_iter_end): Likewise.
40861         (_IO_list_lock): Likewise.
40862         (_IO_list_unlock): Likewise.
40863         (_IO_list_resetlock): Likewise.
40864         * libio/getchar.c (getchar): Likewise.
40865         * libio/getchar_u.c (getchar_unlocked): Likewise.
40866         * libio/getwchar.c (getwchar): Likewise.
40867         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40868         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40869         * login/getpt.c (__getpt): Likewise.
40870         * login/tst-utmp.c (main): Likewise.
40871         * malloc/hooks.c (__malloc_check_init): Likewise.
40872         * malloc/malloc.c (__malloc_stats): Likewise.
40873         * malloc/mtrace.c (tr_break): Likewise.
40874         (mtrace): Likewise.
40875         (muntrace): Likewise.
40876         * misc/fstab.c (endfsent): Likewise.
40877         * misc/getclktck.c (__getclktck): Likewise.
40878         * misc/getdtsz.c (__getdtablesize): Likewise.
40879         * misc/gethostid.c (gethostid): Likewise.
40880         * misc/getpagesize.c (__getpagesize): Likewise.
40881         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40882         (__get_nprocs): Likewise.
40883         (__get_phys_pages): Likewise.
40884         (__get_avphys_pages): Likewise.
40885         * misc/getttyent.c (getttyent): Likewise.
40886         (setttyent): Likewise.
40887         (endttyent): Likewise.
40888         * misc/getusershell.c (getusershell): Likewise.
40889         (endusershell): Likewise.
40890         (setusershell): Likewise.
40891         (initshells): Likewise.
40892         * misc/hsearch.c (__hdestroy): Likewise.
40893         * misc/sync.c (sync): Likewise.
40894         * misc/syslog.c (closelog_internal): Likewise.
40895         (closelog): Likewise.
40896         * misc/ttyslot.c (ttyslot): Likewise.
40897         * misc/vhangup.c (vhangup): Likewise.
40898         * posix/fork.c (__fork): Likewise.
40899         * posix/getegid.c (__getegid): Likewise.
40900         * posix/geteuid.c (__geteuid): Likewise.
40901         * posix/getgid.c (__getgid): Likewise.
40902         * posix/getpid.c (__getpid): Likewise.
40903         * posix/getppid.c (__getppid): Likewise.
40904         * posix/getuid.c (__getuid): Likewise.
40905         * posix/pause.c (pause): Likewise.
40906         * posix/setpgrp.c (setpgrp): Likewise.
40907         * posix/setsid.c (__setsid): Likewise.
40908         * posix/test-vfork.c (noop): Likewise.
40909         * resolv/gethnamaddr.c (_endhtent): Likewise.
40910         (_gethtent): Likewise.
40911         (ht_endhostent): Likewise.
40912         (gethostent): Likewise.
40913         (dns_service): Likewise.
40914         * stdlib/drand48.c (drand48): Likewise.
40915         * stdlib/lrand48.c (lrand48): Likewise.
40916         * stdlib/mrand48.c (mrand48): Likewise.
40917         * stdlib/rand.c (rand): Likewise.
40918         * stdlib/random.c (__random): Likewise.
40919         * stdlib/setenv.c (clearenv): Likewise.
40920         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40921         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40922         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40923         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40924         (__get_nprocs): Likewise.
40925         (__get_phys_pages): Likewise.
40926         (__get_avphys_pages): Likewise.
40927         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40928         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40929         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40930         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40931         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40932         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40933         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40934         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40935         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40936         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40937         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40938         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40939         * sysdeps/posix/clock.c (clock): Likewise.
40940         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40941         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40942         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40943         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40944         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40945         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40946         (__get_nprocs_conf): Likewise.
40947         (__get_phys_pages): Likewise.
40948         (__get_avphys_pages): Likewise.
40949         * time/clock.c (clock): Likewise.
40950         * time/tzset.c (__tzname_max): Likewise.
40952 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40954         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40955         (__bswap_32): Do not use "register".
40956         * crypt/crypt.c (_ufc_doit_r): Likewise.
40957         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40958         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40959         * gmon/gmon.c (__monstartup): Likewise.
40960         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40961         * hurd/hurdmalloc.c (more_memory): Likewise.
40962         (malloc): Likewise.
40963         (free): Likewise.
40964         (realloc): Likewise.
40965         (malloc_fork_prepare): Likewise.
40966         (malloc_fork_parent): Likewise.
40967         (malloc_fork_child): Likewise.
40968         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40969         (_svcauth_des): Likewise.
40970         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40971         * inet/inet_net.c (inet_network): Likewise.
40972         * inet/inet_netof.c (inet_netof): Likewise.
40973         * inet/rcmd.c (__validuser2_sa): Likewise.
40974         * io/fts.c (fts_open): Likewise.
40975         (fts_load): Likewise.
40976         (fts_close): Likewise.
40977         (fts_read): Likewise.
40978         (fts_children): Likewise.
40979         (fts_build): Likewise.
40980         (fts_stat): Likewise.
40981         (fts_sort): Likewise.
40982         (fts_alloc): Likewise.
40983         (fts_lfree): Likewise.
40984         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40985         (_IO_file_xsgetn): Likewise.
40986         (_IO_file_xsgetn_mmap): Likewise.
40987         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40988         (_IO_cookie_write): Likewise.
40989         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40990         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40991         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40992         * malloc/obstack.c (_obstack_begin): Likewise.
40993         (_obstack_begin_1): Likewise.
40994         (_obstack_newchunk): Likewise.
40995         (_obstack_allocated_p): Likewise.
40996         (obstack_free): Likewise.
40997         (_obstack_memory_used): Likewise.
40998         * misc/getttyent.c (getttynam): Likewise.
40999         (getttyent): Likewise.
41000         (skip): Likewise.
41001         (value): Likewise.
41002         * misc/getusershell.c (initshells): Likewise.
41003         * misc/syslog.c (__vsyslog_chk): Likewise.
41004         * misc/ttyslot.c (ttyslot): Likewise.
41005         * nis/nis_hash.c (__nis_hash): Likewise.
41006         * posix/fnmatch_loop.c (FCT): Likewise.
41007         * posix/getconf.c (print_all): Likewise.
41008         (main): Likewise.
41009         * posix/getopt.c (exchange): Likewise.
41010         * posix/glob.c (globfree): Likewise.
41011         (prefix_array): Likewise.
41012         (__glob_pattern_type): Likewise.
41013         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41014         (NS_GET32): Likewise.
41015         (NS_PUT16): Likewise.
41016         (NS_PUT32): Likewise.
41017         * resolv/gethnamaddr.c (getanswer): Likewise.
41018         (gethostbyname2): Likewise.
41019         (gethostbyaddr): Likewise.
41020         (_gethtent): Likewise.
41021         (_gethtbyname2): Likewise.
41022         (_gethtbyaddr): Likewise.
41023         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41024         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41025         * resolv/res_init.c (__res_vinit): Likewise.
41026         (net_mask): Likewise.
41027         * resolv/res_mkquery.c (outchar): Likewise.
41028         (PRINT): Likewise.
41029         * stdio-common/printf_fp.c (outchar): Likewise.
41030         (PRINT): Likewise.
41031         * stdio-common/printf_fphex.c (outchar): Likewise.
41032         (PRINT): Likewise.
41033         * stdio-common/printf_size.c (outchar): Likewise.
41034         (PRINT): Likewise.
41035         * stdio-common/test_rdwr.c (main): Likewise.
41036         * stdio-common/tfformat.c (matches): Likewise.
41037         * stdio-common/vfprintf.c (outchar): Likewise.
41038         (printf_unknown): Likewise.
41039         (buffered_vfprintf): Likewise.
41040         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41041         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41042         (ReadFile): Likewise.
41043         * stdlib/qsort.c (SWAP): Likewise.
41044         (_quicksort): Likewise.
41045         * stdlib/setenv.c (__add_to_environ): Likewise.
41046         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41047         * stdlib/strtol_l.c (__strtol_l): Likewise.
41048         * stdlib/tst-strtod.c (main): Likewise.
41049         * stdlib/tst-strtol.c (main): Likewise.
41050         * stdlib/tst-strtoll.c (main): Likewise.
41051         * string/bits/string2.h (__strcmp_cc): Likewise.
41052         (__strcmp_cg): Likewise.
41053         (__strcspn_c1): Likewise.
41054         (__strcspn_c2): Likewise.
41055         (__strcspn_c3): Likewise.
41056         (__strspn_c1): Likewise.
41057         (__strspn_c2): Likewise.
41058         (__strspn_c3): Likewise.
41059         (__strsep_1c): Likewise.
41060         (__strsep_2c): Likewise.
41061         (__strsep_3c): Likewise.
41062         * string/memccpy.c (__memccpy): Likewise.
41063         * string/stpcpy.c (__stpcpy): Likewise.
41064         * string/strcmp.c (strcmp): Likewise.
41065         * string/strrchr.c (strrchr): Likewise.
41066         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41067         Likewise.
41068         * sysdeps/mach/hurd/getcwd.c
41069         (_hurd_canonicalize_directory_name_internal): Likewise.
41070         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41071         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41072         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41073         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41074         Likewise, in both definitions.
41075         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41076         definitions.
41077         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41078         64] (__bswap_64): Likewise.
41079         * time/test_time.c (main): Likewise.
41080         * time/tzfile.c (__tzfile_read): Likewise.
41081         (__tzfile_compute): Likewise.
41082         * time/tzset.c (__tzset_parse_tz): Likewise.
41083         (tzset_internal): Likewise.
41084         (compute_change): Likewise.
41085         * wcsmbs/wcscat.c (__wcscat): Likewise.
41086         * wcsmbs/wcschr.c (wcschr): Likewise.
41087         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41088         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41089         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41090         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41091         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41092         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41093         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41094         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41095         * wcsmbs/wmemset.c (wmemset): Likewise.
41097 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41099         * scripts/config.guess: Update to version 2013-05-16.
41100         * scripts/config.sub: Update to version 2013-04-24.
41101         * scripts/install-sh: Update to version 2011-11-20.07.
41102         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41103         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41105 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41107         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41108         * elf/sln.c: Likewise.
41109         * hurd/hurd/ioctl.h: Likewise.
41110         * hurd/hurdmalloc.c: Likewise.
41111         * hurd/xattr.c: Likewise.
41112         * include/shlib-compat.h: Likewise.
41113         * inet/ruserpass.c: Likewise.
41114         * libio/iofgets_u.c: Likewise.
41115         * libio/iofgetws_u.c: Likewise.
41116         * locale/programs/ld-identification.c: Likewise.
41117         * locale/programs/ld-time.c: Likewise.
41118         * mach/msg-destroy.c: Likewise.
41119         * nss/nss_files/files-netgrp.c: Likewise.
41120         * resolv/res_data.c: Likewise.
41121         * soft-fp/op-1.h: Likewise.
41122         * soft-fp/op-2.h: Likewise.
41123         * soft-fp/op-4.h: Likewise.
41124         * soft-fp/op-common.h: Likewise.
41125         * stdio-common/printf_fphex.c: Likewise.
41126         * stdlib/strtod_l.c: Likewise.
41127         * sunrpc/rpc/clnt.h: Likewise.
41128         * sysdeps/generic/framestate.c: Likewise.
41129         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41130         * sysdeps/i386/bsd-setjmp.S: Likewise.
41131         * sysdeps/i386/__longjmp.S: Likewise.
41132         * sysdeps/i386/setjmp.S: Likewise.
41133         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41134         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41135         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41136         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41137         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41138         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41139         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41140         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41141         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41142         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41143         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41144         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41145         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41146         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41147         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41148         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41149         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41150         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41151         * sysdeps/ieee754/support.c: Likewise.
41152         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41153         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41154         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41155         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41156         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41157         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41158         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41159         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41160         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41161         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41162         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41163         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41164         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41165         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41166         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41167         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41168         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41171 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41173         * posix/transbug.c: Remove executable mode.
41175 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41177         * crypt/speeds.c: Remove trailing whitespace.
41178         * dlfcn/default.c: Likewise.
41179         * elf/ifuncdep2.c: Likewise.
41180         * elf/ifuncmain1.c: Likewise.
41181         * elf/ifuncmain1vis.c: Likewise.
41182         * elf/testobj.h: Likewise.
41183         * elf/tst-stackguard1.c: Likewise.
41184         * gmon/sys/gmon.h: Likewise.
41185         * hurd/hurdmsg.c: Likewise.
41186         * hurd/new-fd.c: Likewise.
41187         * hurd/ports-get.c: Likewise.
41188         * iconvdata/ibm1008_420.c: Likewise.
41189         * inet/tst-getni1.c: Likewise.
41190         * inet/tst-getni2.c: Likewise.
41191         * libio/ioungetc.c: Likewise.
41192         * libio/wfiledoalloc.c: Likewise.
41193         * manual/libm-err-tab.pl: Likewise.
41194         * math/w_dremf.c: Likewise.
41195         * misc/ftruncate.c: Likewise.
41196         * posix/bug-glob2.c: Likewise.
41197         * posix/tst-pcre.c: Likewise.
41198         * posix/wait4.c: Likewise.
41199         * resolv/README: Likewise.
41200         * resolv/res_debug.h: Likewise.
41201         * resolv/tst-inet_ntop.c: Likewise.
41202         * setjmp/bug269-setjmp.c: Likewise.
41203         * soft-fp/extended.h: Likewise.
41204         * soft-fp/op-1.h: Likewise.
41205         * soft-fp/op-2.h: Likewise.
41206         * soft-fp/op-4.h: Likewise.
41207         * soft-fp/op-8.h: Likewise.
41208         * soft-fp/testit.c: Likewise.
41209         * stdio-common/bug16.c: Likewise.
41210         * stdlib/random.c: Likewise.
41211         * sunrpc/rpcsvc/rquota.x: Likewise.
41212         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41213         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41214         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41215         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41216         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41217         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41218         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41219         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41220         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41221         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41222         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41233         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41236         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41239         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41241         * sysdeps/ieee754/s_lib_version.c: Likewise.
41242         * sysdeps/mach/hurd/check_fds.c: Likewise.
41243         * sysdeps/mach/hurd/getsockname.c: Likewise.
41244         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41245         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41246         * sysdeps/powerpc/bits/link.h: Likewise.
41247         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41248         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41249         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41250         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41251         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41252         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41253         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41254         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41255         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41256         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41257         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41258         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41259         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41260         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41261         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41262         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41263         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41264         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41265         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41266         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41267         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41268         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41269         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41270         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41271         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41272         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41273         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41274         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41275         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41276         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41277         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41278         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41279         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41280         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41281         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41282         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41283         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41284         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41285         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41286         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41287         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41288         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41289         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41290         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41291         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41292         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41293         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41294         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41295         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41296         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41297         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41298         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41299         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41300         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41301         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41302         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41303         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41304         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41305         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41306         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41307         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41308         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41309         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41310         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41311         * sysdeps/powerpc/sysdep.h: Likewise.
41312         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41313         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41314         * sysdeps/sh/dl-trampoline.S: Likewise.
41315         * sysdeps/sh/memset.S: Likewise.
41316         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41317         * sysdeps/sh/strlen.S: Likewise.
41318         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41319         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41320         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41321         * sysdeps/sparc/sparc32/rem.S: Likewise.
41322         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41323         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41324         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41325         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41326         * sysdeps/sparc/sparc32/urem.S: Likewise.
41327         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41328         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41329         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41330         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41331         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41332         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41333         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41334         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41335         * sysdeps/unix/bsd/times.c: Likewise.
41336         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41337         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41341         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41342         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41343         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41344         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41345         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41346         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41347         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41348         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41349         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41350         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41351         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41352         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41353         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41354         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41355         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41356         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41357         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41358         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41359         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41360         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41361         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41362         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41363         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41364         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41365         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41366         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41367         * sysdeps/x86_64/strcspn.S: Likewise.
41369 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41371         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41372         generated file.  Regenerate properly from gen-translit.pl.
41373         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41374         locale/C-translit.h.
41376 2013-06-05  Andreas Schwab  <schwab@suse.de>
41378         [BZ #15100]
41379         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41380         week as 6 instead of -1.
41381         * time/tst-strptime.c (day_tests): Add test case.
41383 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41385         * sysdeps/generic/math_private.h
41386         (libc_feholdexcept_setround_53bit): Replace with
41387         libc_feholdsetround_53bit.
41388         (libc_feupdateenv_53bit): Replace with
41389         libc_feresetround_53bit.
41390         (SET_RESTORE_ROUND_53BIT): Adjust.
41392 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41394         * string/test-strchrnul.c: Add copyright header.
41396         * posix/tst-getaddrinfo4.c: Increase test timeout.
41398 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41400         [BZ #15536]
41401         * math/libm-test.inc (MAX_EXP): Remove
41402         (MIN_EXP): Define.
41403         (ulp): Use MIN_EXP - MANT_DIG.
41404         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41406 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41408         * po/be.po: Revert last change.
41409         * po/zh_CN.po: Likewise.
41410         * po/header.pot: Likewise.
41412 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41414         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41415         link-libc-deps to empty as target-specific variable.
41416         * Makerules (link-libc-args): New variable.
41417         (libc-for-link): Likewise.
41418         (link-libc-deps): Likewise.
41419         (lib%.so): Depend on $(link-libc-deps).  Link with
41420         $(link-libc-args).
41421         (build-module): Link with $(link-libc-args).
41422         (build-module-asneeded): Likewise.
41423         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41424         list of objects.
41425         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41426         target-specific variable.
41427         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41428         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41429         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41430         libc.
41431         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41432         libc and ld.so.
41433         ($(objpfx)libpcprofile.so): Likewise.
41434         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41435         libc_nonshared.a.
41436         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41437         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41438         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41439         $(link-libc-deps).
41440         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41441         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41442         * login/Makefile ($(objpfx)libutil.so): Likewise.
41443         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41444         * math/Makefile ($(objpfx)libm.so): Likewise.
41445         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41446         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41447         variable instead of depending directly on libc.
41448         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41449         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41450         $(link-libc-deps).
41451         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41452         libc.
41453         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41454         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41455         ($(objpfx)libanl.so): Likewise.
41456         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41457         ld.so.
41458         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41459         $(link-libc-deps).
41460         * sysdeps/i386/fpu/Makefile: Remove file.
41461         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41462         ($(objpfx)libm.so): Remove dependency on ld.so.
41464 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41466         [BZ # 15553]
41467         * nis/yp_xdr.c (XDRMAXNAME): Define.
41468         (XDRMAXRECORD): Define.
41469         (xdr_domainname): Use XDRMAXNAME.
41470         (xdr_mapname): Likewise.
41471         (xdr_peername): Likewise.
41472         (xdr_keydat): Use XDRMAXRECORD.
41473         (xdr_valdat): Likewise.
41475 2013-05-30  Jeff Law  <law@redhat.com>
41477         [BZ #14256]
41478         * manual/errno.texi (ESTALE): Update to account for more than
41479         just NFS file systems.
41480         * sysdeps/gnu/errlist.c: Regenerated.
41482 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41484         [BZ #15465]
41485         * elf/Makefile (tests): Add tst-null-argv.
41486         (modules-names):  Add tst-null-argv-lib.
41487         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41488         (tst-null-argv-ENV): Set environment for tst-null-argv.
41489         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41490         (RTLD_PROGNAME): New macro.
41491         * elf/tst-null-argv.c: New test case.
41492         * elf/tst-null-argv-lib.c: Library for test case.
41493         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41494         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41495         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41496         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41497         * elf/dl-init.c (call_init): Likewise.
41498         (_dl_init): Likewise.
41499         * elf/dl-load.c (print_search_path): Likewise.
41500         (_dl_map_object): Likewise.
41501         * elf/dl-lookup.c (do_lookup_x): Likewise.
41502         (add_dependency): Likewise.
41503         (_dl_lookup_symbol_x): Likewise.
41504         (_dl_debug_bindings): Likewise.
41505         * elf/dl-open.c (_dl_show_scope): Likewise.
41506         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41507         * elf/dl-version.c (match_symbol): Likewise.
41508         (_dl_check_map_versions): Likewise.
41509         * elf/rtld.c (dl_main): Likewise.
41510         (print_unresolved): Use RTLD_PROGNAME.
41511         (print_missing_version): Likewise.
41512         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41513         (elf_machine_rela): Likewise.
41514         * sysdeps/powerpc/powerpc32/dl-machine.c
41515         (__process_machine_rela): Likewise.
41516         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41517         Likewise.
41518         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41519         Likewise.
41520         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41521         Likewise.
41522         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41523         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41524         Likewise.
41525         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41526         Likewise.
41527         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41529 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41531         * po/be.po: Add descriptive title.
41532         * po/zh_CN.po: Likewise.
41533         * po/header.pot: Likewise.
41535 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41537         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41538         error message.
41539         (enlarge_archive): Likewise.
41541 2013-05-28  Ben North  <ben@redfrontdoor.org>
41543         * manual/arith.texi (frexp): It is the magnitude of the return
41544         value which lies in [0.5, 1), not the return value itself.
41546 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41550 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41552         * stdio-common/bug26.c (main): Correct fscanf template.
41554         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41555         declare _dl_skip_args.
41557         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41558         Don't declare.
41560         * manual/platform.texi: Add missing @end deftypefun.
41562 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41564         [BZ #15529]
41565         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41566         bit of mantissa of 2^16382.
41567         * math/libm-test.inc (hypot_test_data): Add more tests.
41569         * math/libm-test.inc: Add drem and pow10 to list of tested
41570         functions.
41571         (pow10_test): New function.
41572         (drem_test): Likewise.
41573         (drem_test_tonearest): Likewise.
41574         (drem_test_towardzero): Likewise.
41575         (drem_test_downward): Likewise.
41576         (drem_test_upward): Likewise.
41577         (main): Call the new functions.
41579         * math/libm-test.inc (finite_test_data): Remove.
41580         (finite_test): Run tests from isfinite_test_data.
41581         (gamma_test_data): Remove.
41582         (gamma_test): Run tests from lgamma_test_data.
41583         * sysdeps/i386/fpu/libm-test-ulps: Update.
41584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41586 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41588         * manual/platform.texi: Add PowerPC PPR function set documentation.
41589         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41590         implementation.
41592 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41594         * math/libm-test.inc (MAX_EXP): Define.
41595         (ULPDIFF): Define.
41596         (ulp): New function.
41597         (check_float_internal): Use ULPDIFF.
41598         (cpow_test): Disable failing test.
41599         (check_ulp): Test ulp() implemetnation.
41600         (main): Call check_ulp before starting tests.
41602 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41604         * math/gen-libm-test.pl (generate_testfile): Do not handle
41605         START_DATA and END_DATA.
41606         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41607         END_DATA.
41608         (acos_tonearest_test_data): Likewise.
41609         (acos_towardzero_test_data): Likewise.
41610         (acos_downward_test_data): Likewise.
41611         (acos_upward_test_data): Likewise.
41612         (acosh_test_data): Likewise.
41613         (asin_test_data): Likewise.
41614         (asin_tonearest_test_data): Likewise.
41615         (asin_towardzero_test_data): Likewise.
41616         (asin_downward_test_data): Likewise.
41617         (asin_upward_test_data): Likewise.
41618         (asinh_test_data): Likewise.
41619         (atan_test_data): Likewise.
41620         (atanh_test_data): Likewise.
41621         (atan2_test_data): Likewise.
41622         (cabs_test_data): Likewise.
41623         (cacos_test_data): Likewise.
41624         (cacosh_test_data): Likewise.
41625         (carg_test_data): Likewise.
41626         (casin_test_data): Likewise.
41627         (casinh_test_data): Likewise.
41628         (catan_test_data): Likewise.
41629         (catanh_test_data): Likewise.
41630         (cbrt_test_data): Likewise.
41631         (ccos_test_data): Likewise.
41632         (ccosh_test_data): Likewise.
41633         (ceil_test_data): Likewise.
41634         (cexp_test_data): Likewise.
41635         (cimag_test_data): Likewise.
41636         (clog_test_data): Likewise.
41637         (clog10_test_data): Likewise.
41638         (conj_test_data): Likewise.
41639         (copysign_test_data): Likewise.
41640         (cos_test_data): Likewise.
41641         (cos_tonearest_test_data): Likewise.
41642         (cos_towardzero_test_data): Likewise.
41643         (cos_downward_test_data): Likewise.
41644         (cos_upward_test_data): Likewise.
41645         (cosh_test_data): Likewise.
41646         (cosh_tonearest_test_data): Likewise.
41647         (cosh_towardzero_test_data): Likewise.
41648         (cosh_downward_test_data): Likewise.
41649         (cosh_upward_test_data): Likewise.
41650         (cpow_test_data): Likewise.
41651         (cproj_test_data): Likewise.
41652         (creal_test_data): Likewise.
41653         (csin_test_data): Likewise.
41654         (csinh_test_data): Likewise.
41655         (csqrt_test_data): Likewise.
41656         (ctan_test_data): Likewise.
41657         (ctan_tonearest_test_data): Likewise.
41658         (ctan_towardzero_test_data): Likewise.
41659         (ctan_downward_test_data): Likewise.
41660         (ctan_upward_test_data): Likewise.
41661         (ctanh_test_data): Likewise.
41662         (ctanh_tonearest_test_data): Likewise.
41663         (ctanh_towardzero_test_data): Likewise.
41664         (ctanh_downward_test_data): Likewise.
41665         (ctanh_upward_test_data): Likewise.
41666         (erf_test_data): Likewise.
41667         (erfc_test_data): Likewise.
41668         (exp_test_data): Likewise.
41669         (exp_tonearest_test_data): Likewise.
41670         (exp_towardzero_test_data): Likewise.
41671         (exp_downward_test_data): Likewise.
41672         (exp_upward_test_data): Likewise.
41673         (exp10_test_data): Likewise.
41674         (exp2_test_data): Likewise.
41675         (expm1_test_data): Likewise.
41676         (fabs_test_data): Likewise.
41677         (fdim_test_data): Likewise.
41678         (finite_test_data): Likewise.
41679         (floor_test_data): Likewise.
41680         (fma_test_data): Likewise.
41681         (fma_towardzero_test_data): Likewise.
41682         (fma_downward_test_data): Likewise.
41683         (fma_upward_test_data): Likewise.
41684         (fmax_test_data): Likewise.
41685         (fmin_test_data): Likewise.
41686         (fmod_test_data): Likewise.
41687         (fpclassify_test_data): Likewise.
41688         (frexp_test_data): Likewise.
41689         (gamma_test_data): Likewise.
41690         (hypot_test_data): Likewise.
41691         (ilogb_test_data): Likewise.
41692         (isfinite_test_data): Likewise.
41693         (isgreater_test_data): Likewise.
41694         (isgreaterequal_test_data): Likewise.
41695         (isinf_test_data): Likewise.
41696         (isless_test_data): Likewise.
41697         (islessequal_test_data): Likewise.
41698         (islessgreater_test_data): Likewise.
41699         (isnan_test_data): Likewise.
41700         (isnormal_test_data): Likewise.
41701         (issignaling_test_data): Likewise.
41702         (isunordered_test_data): Likewise.
41703         (j0_test_data): Likewise.
41704         (j1_test_data): Likewise.
41705         (jn_test_data): Likewise.
41706         (ldexp_test_data): Likewise.
41707         (lgamma_test_data): Likewise.
41708         (lrint_test_data): Likewise.
41709         (lrint_tonearest_test_data): Likewise.
41710         (lrint_towardzero_test_data): Likewise.
41711         (lrint_downward_test_data): Likewise.
41712         (lrint_upward_test_data): Likewise.
41713         (llrint_test_data): Likewise.
41714         (llrint_tonearest_test_data): Likewise.
41715         (llrint_towardzero_test_data): Likewise.
41716         (llrint_downward_test_data): Likewise.
41717         (llrint_upward_test_data): Likewise.
41718         (log_test_data): Likewise.
41719         (log10_test_data): Likewise.
41720         (log1p_test_data): Likewise.
41721         (log2_test_data): Likewise.
41722         (logb_test_data): Likewise.
41723         (logb_downward_test_data): Likewise.
41724         (lround_test_data): Likewise.
41725         (llround_test_data): Likewise.
41726         (modf_test_data): Likewise.
41727         (nearbyint_test_data): Likewise.
41728         (nextafter_test_data): Likewise.
41729         (nexttoward_test_data): Likewise.
41730         (pow_test_data): Likewise.
41731         (pow_tonearest_test_data): Likewise.
41732         (pow_towardzero_test_data): Likewise.
41733         (pow_downward_test_data): Likewise.
41734         (pow_upward_test_data): Likewise.
41735         (remainder_test_data): Likewise.
41736         (remainder_tonearest_test_data): Likewise.
41737         (remainder_towardzero_test_data): Likewise.
41738         (remainder_downward_test_data): Likewise.
41739         (remainder_upward_test_data): Likewise.
41740         (remquo_test_data): Likewise.
41741         (rint_test_data): Likewise.
41742         (rint_tonearest_test_data): Likewise.
41743         (rint_towardzero_test_data): Likewise.
41744         (rint_downward_test_data): Likewise.
41745         (rint_upward_test_data): Likewise.
41746         (round_test_data): Likewise.
41747         (scalb_test_data): Likewise.
41748         (scalbn_test_data): Likewise.
41749         (scalbln_test_data): Likewise.
41750         (signbit_test_data): Likewise.
41751         (sin_test_data): Likewise.
41752         (sin_tonearest_test_data): Likewise.
41753         (sin_towardzero_test_data): Likewise.
41754         (sin_downward_test_data): Likewise.
41755         (sin_upward_test_data): Likewise.
41756         (sincos_test_data): Likewise.
41757         (sinh_test_data): Likewise.
41758         (sinh_tonearest_test_data): Likewise.
41759         (sinh_towardzero_test_data): Likewise.
41760         (sinh_downward_test_data): Likewise.
41761         (sinh_upward_test_data): Likewise.
41762         (sqrt_test_data): Likewise.
41763         (tan_test_data): Likewise.
41764         (tan_tonearest_test_data): Likewise.
41765         (tan_towardzero_test_data): Likewise.
41766         (tan_downward_test_data): Likewise.
41767         (tan_upward_test_data): Likewise.
41768         (tanh_test_data): Likewise.
41769         (tgamma_test_data): Likewise.
41770         (trunc_test_data): Likewise.
41771         (y0_test_data): Likewise.
41772         (y1_test_data): Likewise.
41773         (yn_test_data): Likewise.
41774         (significand_test_data): Likewise.
41776         * math/gen-libm-test.pl (@functions): Remove variable.
41777         (generate_testfile): Don't handle START and END lines.
41778         * math/libm-test.inc (START): New macro.
41779         (END): Likewise.
41780         (END_COMPLEX): Likewise.
41781         (acos_test): Use END macro without arguments.
41782         (acos_test_tonearest): Likewise.
41783         (acos_test_towardzero): Likewise.
41784         (acos_test_downward): Likewise.
41785         (acos_test_upward): Likewise.
41786         (acosh_test): Likewise.
41787         (asin_test): Likewise.
41788         (asin_test_tonearest): Likewise.
41789         (asin_test_towardzero): Likewise.
41790         (asin_test_downward): Likewise.
41791         (asin_test_upward): Likewise.
41792         (asinh_test): Likewise.
41793         (atan_test): Likewise.
41794         (atanh_test): Likewise.
41795         (atan2_test): Likewise.
41796         (cabs_test): Likewise.
41797         (cacos_test): Use END_COMPLEX macro without arguments.
41798         (cacosh_test): Likewise.
41799         (carg_test): Use END macro without arguments.
41800         (casin_test): Use END_COMPLEX macro without arguments.
41801         (casinh_test): Likewise.
41802         (catan_test): Likewise.
41803         (catanh_test): Likewise.
41804         (cbrt_test): Use END macro without arguments.
41805         (ccos_test): Use END_COMPLEX macro without arguments.
41806         (ccosh_test): Likewise.
41807         (ceil_test): Use END macro without arguments.
41808         (cexp_test): Use END_COMPLEX macro without arguments.
41809         (cimag_test): Use END macro without arguments.
41810         (clog_test): Use END_COMPLEX macro without arguments.
41811         (clog10_test): Likewise.
41812         (conj_test): Likewise.
41813         (copysign_test): Use END macro without arguments.
41814         (cos_test): Likewise.
41815         (cos_test_tonearest): Likewise.
41816         (cos_test_towardzero): Likewise.
41817         (cos_test_downward): Likewise.
41818         (cos_test_upward): Likewise.
41819         (cosh_test): Likewise.
41820         (cosh_test_tonearest): Likewise.
41821         (cosh_test_towardzero): Likewise.
41822         (cosh_test_downward): Likewise.
41823         (cosh_test_upward): Likewise.
41824         (cpow_test): Use END_COMPLEX macro without arguments.
41825         (cproj_test): Likewise.
41826         (creal_test): Use END macro without arguments.
41827         (csin_test): Use END_COMPLEX macro without arguments.
41828         (csinh_test): Likewise.
41829         (csqrt_test): Likewise.
41830         (ctan_test): Likewise.
41831         (ctan_test_tonearest): Likewise.
41832         (ctan_test_towardzero): Likewise.
41833         (ctan_test_downward): Likewise.
41834         (ctan_test_upward): Likewise.
41835         (ctanh_test): Likewise.
41836         (ctanh_test_tonearest): Likewise.
41837         (ctanh_test_towardzero): Likewise.
41838         (ctanh_test_downward): Likewise.
41839         (ctanh_test_upward): Likewise.
41840         (erf_test): Use END macro without arguments.
41841         (erfc_test): Likewise.
41842         (exp_test): Likewise.
41843         (exp_test_tonearest): Likewise.
41844         (exp_test_towardzero): Likewise.
41845         (exp_test_downward): Likewise.
41846         (exp_test_upward): Likewise.
41847         (exp10_test): Likewise.
41848         (exp2_test): Likewise.
41849         (expm1_test): Likewise.
41850         (fabs_test): Likewise.
41851         (fdim_test): Likewise.
41852         (finite_test): Likewise.
41853         (floor_test): Likewise.
41854         (fma_test): Likewise.
41855         (fma_test_towardzero): Likewise.
41856         (fma_test_downward): Likewise.
41857         (fma_test_upward): Likewise.
41858         (fmax_test): Likewise.
41859         (fmin_test): Likewise.
41860         (fmod_test): Likewise.
41861         (fpclassify_test): Likewise.
41862         (frexp_test): Likewise.
41863         (gamma_test): Likewise.
41864         (hypot_test): Likewise.
41865         (ilogb_test): Likewise.
41866         (isfinite_test): Likewise.
41867         (isgreater_test): Likewise.
41868         (isgreaterequal_test): Likewise.
41869         (isinf_test): Likewise.
41870         (isless_test): Likewise.
41871         (islessequal_test): Likewise.
41872         (islessgreater_test): Likewise.
41873         (isnan_test): Likewise.
41874         (isnormal_test): Likewise.
41875         (issignaling_test): Likewise.
41876         (isunordered_test): Likewise.
41877         (j0_test): Likewise.
41878         (j1_test): Likewise.
41879         (jn_test): Likewise.
41880         (ldexp_test): Likewise.
41881         (lgamma_test): Likewise.
41882         (lrint_test): Likewise.
41883         (lrint_test_tonearest): Likewise.
41884         (lrint_test_towardzero): Likewise.
41885         (lrint_test_downward): Likewise.
41886         (lrint_test_upward): Likewise.
41887         (llrint_test): Likewise.
41888         (llrint_test_tonearest): Likewise.
41889         (llrint_test_towardzero): Likewise.
41890         (llrint_test_downward): Likewise.
41891         (llrint_test_upward): Likewise.
41892         (log_test): Likewise.
41893         (log10_test): Likewise.
41894         (log1p_test): Likewise.
41895         (log2_test): Likewise.
41896         (logb_test): Likewise.
41897         (logb_test_downward): Likewise.
41898         (lround_test): Likewise.
41899         (llround_test): Likewise.
41900         (modf_test): Likewise.
41901         (nearbyint_test): Likewise.
41902         (nextafter_test): Likewise.
41903         (nexttoward_test): Likewise.
41904         (pow_test): Likewise.
41905         (pow_test_tonearest): Likewise.
41906         (pow_test_towardzero): Likewise.
41907         (pow_test_downward): Likewise.
41908         (pow_test_upward): Likewise.
41909         (remainder_test): Likewise.
41910         (remainder_test_tonearest): Likewise.
41911         (remainder_test_towardzero): Likewise.
41912         (remainder_test_downward): Likewise.
41913         (remainder_test_upward): Likewise.
41914         (remquo_test): Likewise.
41915         (rint_test): Likewise.
41916         (rint_test_tonearest): Likewise.
41917         (rint_test_towardzero): Likewise.
41918         (rint_test_downward): Likewise.
41919         (rint_test_upward): Likewise.
41920         (round_test): Likewise.
41921         (scalb_test): Likewise.
41922         (scalbn_test): Likewise.
41923         (scalbln_test): Likewise.
41924         (signbit_test): Likewise.
41925         (sin_test): Likewise.
41926         (sin_test_tonearest): Likewise.
41927         (sin_test_towardzero): Likewise.
41928         (sin_test_downward): Likewise.
41929         (sin_test_upward): Likewise.
41930         (sincos_test): Likewise.
41931         (sinh_test): Likewise.
41932         (sinh_test_tonearest): Likewise.
41933         (sinh_test_towardzero): Likewise.
41934         (sinh_test_downward): Likewise.
41935         (sinh_test_upward): Likewise.
41936         (sqrt_test): Likewise.
41937         (tan_test): Likewise.
41938         (tan_test_tonearest): Likewise.
41939         (tan_test_towardzero): Likewise.
41940         (tan_test_downward): Likewise.
41941         (tan_test_upward): Likewise.
41942         (tanh_test): Likewise.
41943         (tgamma_test): Likewise.
41944         (trunc_test): Likewise.
41945         (y0_test): Likewise.
41946         (y1_test): Likewise.
41947         (yn_test): Likewise.
41948         (significand_test): Likewise.
41950 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41952         [BZ #15381]
41953         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41955 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41957         [BZ #14894]
41958         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41959         __ppc_mdoio and __ppc_mdoom.
41960         * manual/platform.texi: Document new functions __ppc_yield,
41961         __ppc_mdoio and __ppc_mdoom.
41963 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41965         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41966         (main): Mention "tls" pseudo-hwcap is legacy.
41967         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41969 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41971         * math/gen-libm-test.pl (parse_args): Output only string of
41972         arguments as text for test name, not full call or descriptions of
41973         tests for extra outputs.
41974         (generate_testfile): Do not pass function name to parse_args.
41975         Generate this_func variable from START.
41976         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41977         field to arg_str.
41978         (struct test_ff_f_data): Likewise.
41979         (test_ff_f_data_nexttoward): Likewise.
41980         (struct test_fi_f_data): Likewise.
41981         (struct test_fl_f_data): Likewise.
41982         (struct test_if_f_data): Likewise.
41983         (struct test_fff_f_data): Likewise.
41984         (struct test_c_f_data): Likewise.
41985         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41986         (struct test_fF_f1_data): Likewise.
41987         (struct test_ffI_f1_data): Likewise.
41988         (struct test_c_c_data): Rename test_name field to arg_str.
41989         (struct test_cc_c_data): Likewise.
41990         (struct test_f_i_data): Likewise.
41991         (struct test_ff_i_data): Likewise.
41992         (struct test_f_l_data): Likewise.
41993         (struct test_f_L_data): Likewise.
41994         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41995         and extra2_name.
41996         (COMMON_TEST_SETUP): New macro.
41997         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41998         (COMMON_TEST_CLEANUP): Likewise.
41999         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42000         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42001         macros.
42002         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42003         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42004         macros.
42005         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42006         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42007         cleanup macros.
42008         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42009         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42010         macros.
42011         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42012         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42013         macros.
42014         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42015         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42016         cleanup macros.
42017         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42018         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42019         cleanup macros.
42020         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42021         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42022         cleanup macros.
42023         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42024         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42025         macros.
42026         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42027         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42028         macros.
42029         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42030         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42031         macros.
42032         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42033         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42034         cleanup macros.
42035         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42036         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42037         cleanup macros.
42038         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42039         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42040         macros.
42041         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42042         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42043         cleanup macros.
42044         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42045         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42046         macros.
42047         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42048         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42049         macros.
42050         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42051         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42052         cleanup macros.
42053         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42055 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42057         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42058         to _sifields.sigfault.
42059         (si_addr_lsb): Define new macro.
42060         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42061         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42062         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42064 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42066         [BZ #15441]
42067         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42068         returns -1.
42069         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42070         null return -1.
42071         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42072         loading the domain.
42074 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42076         * math/gen-libm-test.pl (parse_args): Do not include expected
42077         result in test name.
42078         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42079         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42080         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42081         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42082         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42085 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42087         * benchtests/Makefile: Sort function entries.
42089         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42090         tanh, asinh, acosh, atanh.
42091         * benchtests/acos-inputs: New file.
42092         * benchtests/acosh-inputs: New file.
42093         * benchtests/asin-inputs: New file.
42094         * benchtests/asinh-inputs: New file.
42095         * benchtests/atanh-inputs: New file.
42096         * benchtests/cosh-inputs: New file.
42097         * benchtests/log-inputs: New file.
42098         * benchtests/sinh-inputs: New file.
42099         * benchtests/tanh-inputs: New file.
42101 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42103         [BZ #15339]
42104         * posix/tst-getaddrinfo4.c: New test.
42105         * posix/Makefile (tests): Add it.
42107 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42109         [BZ #15339]
42110         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42111         when no services were used.
42112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42113         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42115 2013-05-21  Andreas Schwab  <schwab@suse.de>
42117         [BZ #15014]
42118         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42119         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42120         successful.
42121         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42122         redundant variable declarations and reallocation of buffer when
42123         parsing as IPv6 address.  Always set NSS status when called from
42124         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42125         buffer too small.  Correct computation of needed size.
42126         * nss/Makefile (tests): Add test-digits-dots.
42127         * nss/test-digits-dots.c: New test.
42129 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42131         * benchtests/Makefile: Remove instructions for adding
42132         benchmark tests.
42133         * benchtests/README: New file to explain how to execute and
42134         enhance the benchmark tests.
42136 2013-05-21  Andreas Schwab  <schwab@suse.de>
42138         [BZ #15493]
42139         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42140         * setjmp/tst-sigsetjmp.c: New test.
42142 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42144         * sysdeps/x86_64/memset.S (memset): New implementation.
42145         (__bzero): Likewise.
42146         (__memset_tail): New function.
42148 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42150         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42151         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42152         __memcpy_sse2_unaligned ifunc selection.
42153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42154         Add memcpy-sse2-unaligned.S.
42155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42156         Add: __memcpy_sse2_unaligned.
42158 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42160         [BZ #15490]
42161         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42162         math_force_eval before restoring floating-point envrionment.
42163         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42164         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42165         Likewise.
42166         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42167         <math_private.h>.
42168         (__nearbyintl): Use math_force_eval before restoring
42169         floating-point environment.
42170         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42172         * math/gen-libm-test.pl (special_functions): Remove.
42173         (parse_args): Don't handle TEST_extra.  Handle functions with no
42174         return value.
42175         * math/libm-test.inc (struct test_sincos_data): Replace with
42176         struct test_fFF_11_data.
42177         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42178         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42179         (sincos_test_data): Change element type to struct
42180         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42181         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42182         RUN_TEST_LOOP_sincos.
42183         * math/README.libm-test: Don't mention special handling of
42184         individual functions.
42185         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42186         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42187         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42188         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42189         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42192         * math/gen-libm-test.pl (get_variable): Remove function.
42193         (parse_args): Don't show pointer parameters to call in test
42194         names.  Use "extra output N" in test names for extra outputs
42195         rather than naming variables.
42197 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42199         [BZ #15488]
42200         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42201         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42202         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42203         double tests.
42204         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42205         disable.
42206         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42207         check_long_double.
42209         * math/gen-libm-test.pl (@tests): Remove variable.
42210         ($count): Likewise.
42211         (new_test): Remove function.
42212         (show_exceptions): New function.
42213         (special_functions): Use show_exceptions instead of new_test.
42214         (parse_args): Likewise.
42215         (generate_testfile): Pass only function name in generated call to
42216         print_max_error or print_complex_max_error.
42217         (get_ulps): Do not handle complex tests specially.
42218         (output_test): Rename to ...
42219         (get_all_ulps_for_test): ... this.  Return a string rather than
42220         printing to a file.  Require ulps to be present.
42221         (output_ulps): Generate arrays rather than #defines.
42222         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42223         (struct ulp_data): New type.
42224         (BUILD_COMPLEX_ULP): Remove macro.
42225         (compare_ulp_data): New function.
42226         (find_ulps): Likewise.
42227         (find_test_ulps): Likewise.
42228         (find_function_ulps): Likewise.
42229         (find_complex_function_ulps): Likewise.
42230         (print_max_error): Determine allowed ulps using
42231         find_function_ulps.
42232         (print_complex_max_error): Determine allowed ulps using
42233         find_complex_function_ulps.
42234         (check_float_internal): Determine max ulps using find_test_ulps.
42235         (check_float): Do not take max_ulp parameter.  Update call to
42236         check_float_internal.
42237         (check_complex): Likewise.
42238         (check_int): Do not take max_ulp parameter.
42239         (check_long): Likewise.
42240         (check_bool): Likewise.
42241         (check_longlong): Likewise.
42242         (struct test_f_f_data): Remove max_ulp field.
42243         (struct test_ff_f_data): Likewise.
42244         (struct test_ff_f_data_nexttoward): Likewise.
42245         (struct test_fi_f_data): Likewise.
42246         (struct test_fl_f_data): Likewise.
42247         (struct test_if_f_data): Likewise.
42248         (struct test_fff_f_data): Likewise.
42249         (struct test_c_f_data): Likewise.
42250         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42251         (struct test_fF_f1_data): Likewise.
42252         (struct test_ffI_f1_data): Likewise.
42253         (struct test_c_c_data): Remove max_ulp field.
42254         (struct test_cc_c_data): Likewise.
42255         (struct test_f_i_data): Likewise.
42256         (struct test_ff_i_data): Likewise.
42257         (struct test_f_l_data): Likewise.
42258         (struct test_f_L_data): Likewise.
42259         (struct test_sincos_data): Likewise.
42260         (RUN_TEST_f_f): Do not handle ulps.
42261         (RUN_TEST_LOOP_f_f): Likewise.
42262         (RUN_TEST_2_f): Likewise.
42263         (RUN_TEST_LOOP_2_f): Likewise.
42264         (RUN_TEST_fff_f): Likewise.
42265         (RUN_TEST_LOOP_fff_f): Likewise.
42266         (RUN_TEST_c_f): Likewise.
42267         (RUN_TEST_LOOP_c_f): Likewise.
42268         (RUN_TEST_f_f1): Likewise.
42269         (RUN_TEST_LOOP_f_f1): Likewise.
42270         (RUN_TEST_fF_f1): Likewise.
42271         (RUN_TEST_LOOP_fF_f1): Likewise.
42272         (RUN_TEST_fI_f1): Likewise.
42273         (RUN_TEST_LOOP_fI_f1): Likewise.
42274         (RUN_TEST_ffI_f1): Likewise.
42275         (RUN_TEST_LOOP_ffI_f1): Likewise.
42276         (RUN_TEST_c_c): Likewise.
42277         (RUN_TEST_LOOP_c_c): Likewise.
42278         (RUN_TEST_cc_c): Likewise.
42279         (RUN_TEST_LOOP_cc_c): Likewise.
42280         (RUN_TEST_f_i): Likewise.
42281         (RUN_TEST_LOOP_f_i): Likewise.
42282         (RUN_TEST_f_i_tg): Likewise.
42283         (RUN_TEST_LOOP_f_i_tg): Likewise.
42284         (RUN_TEST_ff_i_tg): Likewise.
42285         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42286         (RUN_TEST_f_b): Likewise.
42287         (RUN_TEST_LOOP_f_b): Likewise.
42288         (RUN_TEST_f_b_tg): Likewise.
42289         (RUN_TEST_LOOP_f_b_tg): Likewise.
42290         (RUN_TEST_f_l): Likewise.
42291         (RUN_TEST_LOOP_f_l): Likewise.
42292         (RUN_TEST_f_L): Likewise.
42293         (RUN_TEST_LOOP_f_L): Likewise.
42294         (RUN_TEST_sincos): Likewise.
42295         (RUN_TEST_LOOP_sincos): Likewise.
42297 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42299         [BZ #15480]
42300         [BZ #15485]
42301         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42302         main case of finite arguments, set rounding mode to FE_TONEAREST
42303         and discard exceptions.
42304         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42305         exceptions.
42306         (remainder_tonearest_test_data): New variable.
42307         (remainder_test_tonearest): New function.
42308         (remainder_towardzero_test_data): New variable.
42309         (remainder_test_towardzero): New function.
42310         (remainder_downward_test_data): New variable.
42311         (remainder_test_downward): New function.
42312         (remainder_upward_test_data): New variable.
42313         (remainder_test_upward): New function.
42314         (main): Call the new test functions.
42316         * math/libm-test.inc (struct test_f_f1_data): Remove field
42317         extra_init.
42318         (struct test_fF_f1_data): Likewise.
42319         (struct test_ffI_f1_data): Likewise.
42320         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42321         based on value of EXTRA_EXPECTED.
42322         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42323         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42324         EXTRA_VAR based on value of EXTRA_EXPECTED.
42325         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42326         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42327         EXTRA_VAR based on value of EXTRA_EXPECTED.
42328         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42329         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42330         EXTRA_VAR based on value of EXTRA_EXPECTED.
42331         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42332         * math/gen-libm-test.pl (parse_args): Don't output initializers
42333         for extra output values.
42335         * math/libm-test.inc (check_int): Expect result to be exactly
42336         equal to expected value and do not handle ulps.
42337         (check_long): Likewise.
42338         (check_longlong): Likewise.
42340         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42341         exceptions.
42342         (cimag_test_data): Likewise.
42343         (conj_test_data): Likewise.
42344         (copysign_test_data): Likewise.
42345         (cproj_test_data): Likewise.
42346         (creal_test_data): Likewise.
42347         (fabs_test_data): Likewise.
42348         (fdim_test_data): Likewise.
42349         (finite_test_data): Likewise.
42350         (floor_test_data): Likewise.
42351         (fmax_test_data): Likewise.
42352         (fmin_test_data): Likewise.
42353         (fmod_test_data): Likewise.
42354         (fpclassify_test_data): Likewise.
42355         (frexp_test_data): Likewise.
42356         (ilogb_test_data): Likewise.
42357         (isfinite_test_data): Likewise.
42358         (isgreater_test_data): Likewise.
42359         (isgreaterequal_test_data): Likewise.
42360         (isinf_test_data): Likewise.
42361         (isless_test_data): Likewise.
42362         (islessequal_test_data): Likewise.
42363         (islessgreater_test_data): Likewise.
42364         (isnan_test_data): Likewise.
42365         (isnormal_test_data): Likewise.
42366         (issignaling_test_data): Likewise.
42367         (isunordered_test_data): Likewise.
42368         (ldexp_test_data): Likewise.
42369         (lrint_test_data): Likewise.
42370         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42371         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42372         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42373         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42374         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42375         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42376         test input.
42377         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42378         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42379         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42380         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42381         that test input.
42382         (lrint_downward_test_data): Test for "inexact" exceptions.
42383         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42384         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42385         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42386         test input.
42387         (lrint_upward_test_data): Test for "inexact" exceptions.
42388         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42389         test input.
42390         (llrint_test_data): Test for "inexact" exceptions.
42391         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42392         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42393         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42394         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42395         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42396         (llrint_downward_test_data): Test for "inexact" exceptions.
42397         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42398         (llrint_upward_test_data): Test for "inexact" exceptions.
42399         (logb_test_data): Likewise.
42400         (logb_downward_test_data): Likewise.
42401         (nextafter_test_data): Likewise.
42402         (nexttoward_test_data): Likewise.
42403         (remainder_test_data): Likewise.
42404         (remquo_test_data): Likewise.
42405         (scalbn_test_data): Likewise.
42406         (scalbln_test_data): Likewise.
42407         (signbit_test_data): Likewise.
42408         (sqrt_test_data): Likewise.
42409         (significand_test_data): Likewise.
42411 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42413         [BZ #15424]
42414         * benchtests/bench-modf.c (struct args): Mark arg0 as
42415         volatile.
42416         * scripts/bench.pl: Mark members of struct args as volatile.
42418 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42420         [BZ # 15497]
42421         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42422         negative infinity on POWER6 or lower.
42423         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42425 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42427         [BZ #15442]
42428         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42429         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42430         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42431         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42432         (_FP_SETQNAN): New macro.
42433         (_FP_SETQNAN_SEMIRAW): Likewise.
42434         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42435         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42436         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42437         (FP_EXTEND): Use _FP_FRAC_SNANP.
42438         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42439         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42440         into account.
42441         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42442         New macro.
42443         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42444         Likewise.
42446 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42448         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42449         with DIVIDE_BY_ZERO_EXCEPTION.
42450         (gamma_test_data): Likewise.
42451         (lgamma_test_data): Likewise.
42452         (log_test_data): Likewise.
42453         (log10_test_data): Likewise.
42454         (log2_test_data): Likewise.
42455         (tgamma_test_data): Likewise.
42457         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42458         (acos_test_tonearest): Likewise.
42459         (acos_test_towardzero): Likewise.
42460         (acos_test_downward): Likewise.
42461         (acos_test_upward): Likewise.
42462         (acosh_test): Likewise.
42463         (asin_test): Likewise.
42464         (asin_test_tonearest): Likewise.
42465         (asin_test_towardzero): Likewise.
42466         (asin_test_downward): Likewise.
42467         (asin_test_upward): Likewise.
42468         (asinh_test): Likewise.
42469         (atan_test): Likewise.
42470         (atanh_test): Likewise.
42471         (atan2_test): Likewise.
42472         (cabs_test): Likewise.
42473         (cacos_test): Likewise.
42474         (cacosh_test): Likewise.
42475         (casin_test): Likewise.
42476         (casinh_test): Likewise.
42477         (catan_test): Likewise.
42478         (catanh_test): Likewise.
42479         (cbrt_test): Likewise.
42480         (ccos_test): Likewise.
42481         (ccosh_test): Likewise.
42482         (cexp_test): Likewise.
42483         (clog_test): Likewise.
42484         (clog10_test): Likewise.
42485         (cos_test): Likewise.
42486         (cos_test_tonearest): Likewise.
42487         (cos_test_towardzero): Likewise.
42488         (cos_test_downward): Likewise.
42489         (cos_test_upward): Likewise.
42490         (cosh_test): Likewise.
42491         (cosh_test_tonearest): Likewise.
42492         (cosh_test_towardzero): Likewise.
42493         (cosh_test_downward): Likewise.
42494         (cosh_test_upward): Likewise.
42495         (cpow_test): Likewise.
42496         (csin_test): Likewise.
42497         (csinh_test): Likewise.
42498         (csqrt_test): Likewise.
42499         (ctan_test): Likewise.
42500         (ctan_test_tonearest): Likewise.
42501         (ctan_test_towardzero): Likewise.
42502         (ctan_test_downward): Likewise.
42503         (ctan_test_upward): Likewise.
42504         (ctanh_test): Likewise.
42505         (ctanh_test_tonearest): Likewise.
42506         (ctanh_test_towardzero): Likewise.
42507         (ctanh_test_downward): Likewise.
42508         (ctanh_test_upward): Likewise.
42509         (erf_test): Likewise.
42510         (erfc_test): Likewise.
42511         (exp_test): Likewise.
42512         (exp_test_tonearest): Likewise.
42513         (exp_test_towardzero): Likewise.
42514         (exp_test_downward): Likewise.
42515         (exp_test_upward): Likewise.
42516         (exp10_test): Likewise.
42517         (exp2_test): Likewise.
42518         (expm1_test): Likewise.
42519         (fmod_test): Likewise.
42520         (gamma_test): Likewise.
42521         (hypot_test): Likewise.
42522         (j0_test): Likewise.
42523         (j1_test): Likewise.
42524         (jn_test): Likewise.
42525         (lgamma_test): Likewise.
42526         (log_test): Likewise.
42527         (log10_test): Likewise.
42528         (log1p_test): Likewise.
42529         (log2_test): Likewise.
42530         (logb_test_downward): Likewise.
42531         (pow_test): Likewise.
42532         (pow_test_tonearest): Likewise.
42533         (pow_test_towardzero): Likewise.
42534         (pow_test_downward): Likewise.
42535         (pow_test_upward): Likewise.
42536         (remainder_test): Likewise.
42537         (remquo_test): Likewise.
42538         (sin_test): Likewise.
42539         (sin_test_tonearest): Likewise.
42540         (sin_test_towardzero): Likewise.
42541         (sin_test_downward): Likewise.
42542         (sin_test_upward): Likewise.
42543         (sincos_test): Likewise.
42544         (sinh_test): Likewise.
42545         (sinh_test_tonearest): Likewise.
42546         (sinh_test_towardzero): Likewise.
42547         (sinh_test_downward): Likewise.
42548         (sinh_test_upward): Likewise.
42549         (sqrt_test): Likewise.
42550         (tan_test): Likewise.
42551         (tan_test_tonearest): Likewise.
42552         (tan_test_towardzero): Likewise.
42553         (tan_test_downward): Likewise.
42554         (tan_test_upward): Likewise.
42555         (tanh_test): Likewise.
42556         (tgamma_test): Likewise.
42557         (y0_test): Likewise.
42558         (y1_test): Likewise.
42559         (yn_test): Likewise.
42561         * math/gen-libm-test.pl (adjust_arg): Remove function.
42562         (special_function): Remove argument $in_func.  Only handle
42563         generating output for tables of tests, not inside functions.
42564         (parse_args): Likewise.
42565         (generate_testfile): Remove variable $in_func.  Update call to
42566         parse_args.
42567         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42568         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42569         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42570         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42571         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42572         (MAX_VALUE_INIT): Rename macro to max_value.
42573         (MIN_VALUE_INIT): Rename macro to min_value.
42574         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42575         (plus_zero): Remove variable.
42576         (minus_zero): Likewise.
42577         (plus_infty): Likewise.
42578         (minus_infty): Likewise.
42579         (qnan_value): Likewise.
42580         (max_value): Likewise.
42581         (min_value): Likewise.
42582         (min_subnorm_value): Likewise.
42584 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42586         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42587         uint64_t or uint32_t usage.
42588         * crypt/sha256-block.c: Likewise.
42589         * crypt/sha256-crypt.c: Likewise.
42590         * crypt/sha256.c: Likewise.
42591         * crypt/sha512-block.c: Likewise.
42592         * crypt/sha512-crypt.c: Likewise.
42593         * crypt/sha512.c: Likewise.
42594         * debug/backtrace-tst.c: Likewise.
42595         * debug/pcprofiledump.c: Likewise.
42596         * elf/cache.c: Likewise.
42597         * elf/dl-cache.c: Likewise.
42598         * elf/dl-misc.c: Likewise.
42599         * elf/dl-profile.c: Likewise.
42600         * elf/dl-support.c: Likewise.
42601         * elf/ldconfig.c: Likewise.
42602         * elf/sprof.c: Likewise.
42603         * iconv/dummy-repertoire.c: Likewise.
42604         * iconv/iconv_charmap.c: Likewise.
42605         * iconv/skeleton.c: Likewise.
42606         * iconvdata/8bit-generic.c: Likewise.
42607         * iconvdata/cp737.h: Likewise.
42608         * iconvdata/cp775.h: Likewise.
42609         * iconvdata/ibm1008.h: Likewise.
42610         * iconvdata/ibm1025.h: Likewise.
42611         * iconvdata/ibm1046.h: Likewise.
42612         * iconvdata/ibm1097.h: Likewise.
42613         * iconvdata/ibm1112.h: Likewise.
42614         * iconvdata/ibm1122.h: Likewise.
42615         * iconvdata/ibm1123.h: Likewise.
42616         * iconvdata/ibm1124.h: Likewise.
42617         * iconvdata/ibm1129.h: Likewise.
42618         * iconvdata/ibm1130.h: Likewise.
42619         * iconvdata/ibm1132.h: Likewise.
42620         * iconvdata/ibm1133.h: Likewise.
42621         * iconvdata/ibm1137.h: Likewise.
42622         * iconvdata/ibm1140.h: Likewise.
42623         * iconvdata/ibm1141.h: Likewise.
42624         * iconvdata/ibm1142.h: Likewise.
42625         * iconvdata/ibm1143.h: Likewise.
42626         * iconvdata/ibm1144.h: Likewise.
42627         * iconvdata/ibm1145.h: Likewise.
42628         * iconvdata/ibm1146.h: Likewise.
42629         * iconvdata/ibm1147.h: Likewise.
42630         * iconvdata/ibm1148.h: Likewise.
42631         * iconvdata/ibm1149.h: Likewise.
42632         * iconvdata/ibm1153.h: Likewise.
42633         * iconvdata/ibm1154.h: Likewise.
42634         * iconvdata/ibm1155.h: Likewise.
42635         * iconvdata/ibm1156.h: Likewise.
42636         * iconvdata/ibm1157.h: Likewise.
42637         * iconvdata/ibm1158.h: Likewise.
42638         * iconvdata/ibm1160.h: Likewise.
42639         * iconvdata/ibm1161.h: Likewise.
42640         * iconvdata/ibm1162.h: Likewise.
42641         * iconvdata/ibm1163.h: Likewise.
42642         * iconvdata/ibm1164.h: Likewise.
42643         * iconvdata/ibm1166.h: Likewise.
42644         * iconvdata/ibm1167.h: Likewise.
42645         * iconvdata/ibm12712.h: Likewise.
42646         * iconvdata/ibm1390.h: Likewise.
42647         * iconvdata/ibm1399.h: Likewise.
42648         * iconvdata/ibm16804.h: Likewise.
42649         * iconvdata/ibm4517.h: Likewise.
42650         * iconvdata/ibm4899.h: Likewise.
42651         * iconvdata/ibm4909.h: Likewise.
42652         * iconvdata/ibm4971.h: Likewise.
42653         * iconvdata/ibm5347.h: Likewise.
42654         * iconvdata/ibm803.h: Likewise.
42655         * iconvdata/ibm856.h: Likewise.
42656         * iconvdata/ibm901.h: Likewise.
42657         * iconvdata/ibm902.h: Likewise.
42658         * iconvdata/ibm9030.h: Likewise.
42659         * iconvdata/ibm9066.h: Likewise.
42660         * iconvdata/ibm921.h: Likewise.
42661         * iconvdata/ibm922.h: Likewise.
42662         * iconvdata/ibm9448.h: Likewise.
42663         * iconvdata/isiri-3342.h: Likewise.
42664         * iconvdata/jis0201.h: Likewise.
42665         * include/link.h: Likewise.
42666         * include/netdb.h: Likewise.
42667         * inet/check_native.c: Likewise.
42668         * inet/check_pf.c: Likewise.
42669         * inet/getipv4sourcefilter.c: Likewise.
42670         * inet/getnameinfo.c: Likewise.
42671         * inet/getsourcefilter.c: Likewise.
42672         * inet/htonl.c: Likewise.
42673         * inet/setipv4sourcefilter.c: Likewise.
42674         * inet/setsourcefilter.c: Likewise.
42675         * inet/test-inet6_opt.c: Likewise.
42676         * inet/tst-network.c: Likewise.
42677         * locale/C-collate.c: Likewise.
42678         * locale/C-ctype.c: Likewise.
42679         * locale/C-time.c: Likewise.
42680         * locale/C-translit.h: Likewise.
42681         * locale/loadarchive.c: Likewise.
42682         * locale/programs/3level.h: Likewise.
42683         * locale/programs/charmap.c: Likewise.
42684         * locale/programs/charmap.h: Likewise.
42685         * locale/programs/ld-address.c: Likewise.
42686         * locale/programs/ld-collate.c: Likewise.
42687         * locale/programs/ld-ctype.c: Likewise.
42688         * locale/programs/ld-identification.c: Likewise.
42689         * locale/programs/ld-measurement.c: Likewise.
42690         * locale/programs/ld-messages.c: Likewise.
42691         * locale/programs/ld-monetary.c: Likewise.
42692         * locale/programs/ld-name.c: Likewise.
42693         * locale/programs/ld-numeric.c: Likewise.
42694         * locale/programs/ld-paper.c: Likewise.
42695         * locale/programs/ld-telephone.c: Likewise.
42696         * locale/programs/ld-time.c: Likewise.
42697         * locale/programs/linereader.c: Likewise.
42698         * locale/programs/locale.c: Likewise.
42699         * locale/programs/locarchive.c: Likewise.
42700         * locale/programs/locfile.h: Likewise.
42701         * locale/programs/repertoire.c: Likewise.
42702         * locale/programs/simple-hash.c: Likewise.
42703         * locale/programs/simple-hash.h: Likewise.
42704         * malloc/memusage.c: Likewise.
42705         * malloc/memusagestat.c: Likewise.
42706         * nis/nis_defaults.c: Likewise.
42707         * nis/nis_hash.c: Likewise.
42708         * nis/nis_print.c: Likewise.
42709         * nis/nis_xdr.c: Likewise.
42710         * nscd/connections.c: Likewise.
42711         * nscd/hstcache.c: Likewise.
42712         * nscd/nscd_gethst_r.c: Likewise.
42713         * nscd/nscd_getserv_r.c: Likewise.
42714         * nscd/nscd_helper.c: Likewise.
42715         * nscd/servicescache.c: Likewise.
42716         * nss/makedb.c: Likewise.
42717         * nss/nss_db/db-XXX.c: Likewise.
42718         * nss/nss_db/db-initgroups.c: Likewise.
42719         * nss/nss_db/db-netgrp.c: Likewise.
42720         * nss/nss_files/files-network.c: Likewise.
42721         * nss/nss_files/files-parse.c: Likewise.
42722         * posix/bug-regex5.c: Likewise.
42723         * posix/fnmatch_loop.c: Likewise.
42724         * posix/regcomp.c: Likewise.
42725         * posix/regexec.c: Likewise.
42726         * posix/tst-rfc3484-2.c: Likewise.
42727         * posix/tst-rfc3484-3.c: Likewise.
42728         * posix/tst-rfc3484.c: Likewise.
42729         * resolv/nss_dns/dns-canon.c: Likewise.
42730         * resolv/nss_dns/dns-network.c: Likewise.
42731         * resolv/res_init.c: Likewise.
42732         * resolv/res_mkquery.c: Likewise.
42733         * resolv/tst-aton.c: Likewise.
42734         * stdlib/cxa_atexit.c: Likewise.
42735         * stdlib/cxa_finalize.c: Likewise.
42736         * stdlib/gen-fpioconst.c: Likewise.
42737         * stdlib/strtol_l.c: Likewise.
42738         * string/tst-endian.c: Likewise.
42739         * sunrpc/auth_des.c: Likewise.
42740         * sunrpc/clnt_udp.c: Likewise.
42741         * sunrpc/rtime.c: Likewise.
42742         * sunrpc/svcauth_des.c: Likewise.
42743         * sunrpc/xdr.c: Likewise.
42744         * sunrpc/xdr_intXX_t.c: Likewise.
42745         * sunrpc/xdr_rec.c: Likewise.
42746         * sysdeps/generic/ldconfig.h: Likewise.
42747         * sysdeps/generic/ldsodefs.h: Likewise.
42748         * sysdeps/generic/memusage.h: Likewise.
42749         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42750         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42751         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42752         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42753         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42754         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42755         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42756         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42757         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42758         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42759         * sysdeps/posix/getaddrinfo.c: Likewise.
42760         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42761         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42762         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42763         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42764         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42765         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42766         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42767         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42768         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42769         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42770         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42771         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42772         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42773         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42774         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42775         * sysdeps/x86_64/dl-tls.h: Likewise.
42776         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42777         * time/alt_digit.c: Likewise.
42778         * time/era.c: Likewise.
42779         * wcsmbs/tst-c16c32-1.c: Likewise.
42781 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42783         * math/libm-test.inc (struct test_sincos_data): New type.
42784         (RUN_TEST_LOOP_sincos): New macro.
42785         (sincos_test_data): New variable.
42786         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42788 2013-05-16  Richard Henderson  <rth@redhat.com>
42790         * math/atest-exp2.c (LIMB64): New macro.
42791         (CONSTSZ): New macro.
42792         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42793         (hexdig): Move ...
42794         (print_mpn_fp): ... to function scope.
42795         (read_mpn_hex): Remove.
42796         (get_log2): Remove.
42797         (exp2_mpn): Use mp_log2.
42798         (main): Use mp_exp1.
42800 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42802         * math/libm-test.inc: Remove comment about not testing "inexact"
42803         exceptions.
42804         (INEXACT_EXCEPTION): New macro.
42805         (NO_INEXACT_EXCEPTION): Likewise.
42806         (INVALID_EXCEPTION_OK): Update value.
42807         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42808         (OVERFLOW_EXCEPTION_OK): Likewise.
42809         (UNDERFLOW_EXCEPTION_OK): Likewise.
42810         (IGNORE_ZERO_INF_SIGN): Likewise.
42811         (ERRNO_UNCHANGED): Likewise.
42812         (ERRNO_EDOM): Likewise.
42813         (ERRNO_ERANGE): Likewise.
42814         (test_exceptions): Handle testing "inexact" exceptions.
42815         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42816         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42817         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42818         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42819         INEXACT_EXCEPTION.
42820         (rint_towardzero_test_data): Likewise.
42821         (rint_downward_test_data): Likewise.
42822         (rint_upward_test_data): Likewise.
42824         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42825         with OVERFLOW_EXCEPTION.
42826         (exp10_test_data): Likewise.
42827         (exp2_test_data): Likewise.
42828         (expm1_test_data): Likewise.
42829         (lgamma_test_data): Likewise.
42830         (pow_test_data): Likewise.
42831         (tgamma_test_data): Likewise.
42832         (yn_test_data): Remove duplicate test of overflow.
42834         * math/libm-test.inc (struct test_cc_c_data): New type.
42835         (RUN_TEST_LOOP_cc_c): New macro.
42836         (cpow_test_data): New variable.
42837         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42839         * math/libm-test.inc (struct test_f_L_data): New type.
42840         (RUN_TEST_LOOP_f_L): New macro.
42841         (llrint_test_data): New variable.
42842         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42843         (llrint_tonearest_test_data): New variable.
42844         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42845         (llrint_towardzero_test_data): New variable.
42846         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42847         (llrint_downward_test_data): New variable.
42848         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42849         (llrint_upward_test_data): New variable.
42850         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42851         (llround_test_data): New variable.
42852         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42854 2013-05-13  Peter Collingbourne  <pcc@google.com>
42856         * math/atest-exp2.c (get_log2): Remove const attribute.
42858 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42860         * math/libm-test.inc (struct test_f_l_data): New type.
42861         (RUN_TEST_LOOP_f_l): New macro.
42862         (lrint_test_data): New variable.
42863         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42864         (lrint_tonearest_test_data): New variable.
42865         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42866         (lrint_towardzero_test_data): New variable.
42867         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42868         (lrint_downward_test_data): New variable.
42869         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42870         (lrint_upward_test_data): New variable.
42871         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42872         (lround_test_data): New variable.
42873         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42875 2013-05-15  Peter Collingbourne  <pcc@google.com>
42877         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42878         (EXTRACT_WORDS64) Use where appropriate.
42879         (INSERT_WORDS64) Likewise.
42881         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42882         constraints with x constraints.
42883         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42885         * malloc/obstack.c (_obstack_compat): Add initializer.
42887 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42889         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42890         si_trapno and add si_addr_lsb to _sifields.sigfault.
42891         (si_trapno): Remove macro.
42892         (si_addr_lsb): Define new macro.
42893         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42895 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42897         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42898         instead of TEST_f_l.
42899         (llrint_test_tonearest): Likewise.
42900         (llrint_test_towardzero): Likewise.
42901         (llrint_test_downward): Likewise.
42902         (llrint_test_upward): Likewise.
42903         (llround_test): Likewise.
42905         * math/libm-test.inc (struct test_f_i_data): Add comment.
42906         (RUN_TEST_LOOP_f_b): New macro.
42907         (RUN_TEST_LOOP_f_b_tg): Likewise.
42908         (finite_test_data): New variable.
42909         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42910         (isfinite_test_data): New variable.
42911         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42912         (isinf_test_data): New variable.
42913         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42914         (isnan_test_data): New variable.
42915         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42916         (isnormal_test_data): New variable.
42917         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42918         (issignaling_test_data): New variable.
42919         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42920         (signbit_test_data): New variable.
42921         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42923         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42924         with INVALID_EXCEPTION.
42925         (acosh_test_data): Likewise.
42926         (asin_test_data): Likewise.
42927         (atanh_test_data): Likewise.
42928         (fmod_test_data): Likewise.
42929         (log_test_data): Likewise.
42930         (log10_test_data): Likewise.
42931         (log2_test_data): Likewise.
42932         (pow_test_data): Likewise.
42933         (sqrt_test_data): Likewise.
42934         (y0_test_data): Likewise.
42935         (y1_test_data): Likewise.
42936         (yn_test_data): Likewise.
42938         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42939         function contents.
42941         * math/libm-test.inc (struct test_ff_i_data): New type.
42942         (RUN_TEST_LOOP_ff_i_tg): New macro.
42943         (isgreater_test_data): New variable.
42944         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42945         (isgreaterequal_test_data): New variable.
42946         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42947         (isless_test_data): New variable.
42948         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42949         (islessequal_test_data): New variable.
42950         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42951         (islessgreater_test_data): New variable.
42952         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42953         (isunordered_test_data): New variable.
42954         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42956 2013-05-14  David S. Miller  <davem@davemloft.net>
42958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42960 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42962         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42964         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42965         extra_test to int.
42966         (struct test_f_i_data): Change type of max_ulp to int.
42968         * math/libm-test.inc (test_ffI_f1_data): New type.
42969         (RUN_TEST_LOOP_ffI_f1): New macro.
42970         (remquo_test_data): New variable.
42971         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42973         * setjmp/tst-setjmp-fp.c: New file.
42974         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42975         (link-libm): New variable.
42976         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42978         * math/libm-test.inc (struct test_f_i_data): New type.
42979         (RUN_TEST_LOOP_f_i): New macro.
42980         (RUN_TEST_LOOP_f_i_tg): Likewise.
42981         (fpclassify_test_data): New variable.
42982         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42983         (ilogb_test_data): New variable.
42984         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42986         * math/libm-test.inc (scalbln_test): Correct function name in END
42987         call.
42989         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42990         (RUN_TEST_LOOP_fI_f1): New macro.
42991         (frexp_test_data): New variable.
42992         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42994         * math/libm-test.inc (struct test_fF_f1_data): New type.
42995         (RUN_TEST_LOOP_fF_f1): New macro.
42996         (modf_test_data): New variable.
42997         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42999         * math/libm-test.inc (struct test_f_f1_data): New type.
43000         (RUN_TEST_LOOP_f_f1): New macro.
43001         (gamma_test_data): New variable.
43002         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43003         (lgamma_test_data): New variable.
43004         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43006 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43008         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43009         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43010         (main): Comment "tls" pseudo-hwcap.
43012 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43014         * math/libm-test.inc (struct test_fl_f_data): New type.
43015         (RUN_TEST_LOOP_fl_f): New variable.
43016         (scalbln_test_data): New variable.
43017         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43019         * math/libm-test.inc (struct test_fi_f_data): New type.
43020         (RUN_TEST_LOOP_fi_f): New macro.
43021         (ldexp_test_data): New variable.
43022         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43023         (scalbn_test_data): New variable.
43024         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43026         * math/libm-test.inc (struct test_c_f_data): New type.
43027         (RUN_TEST_LOOP_c_f): New macro.
43028         (cabs_test_data): New variable.
43029         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43030         (carg_test_data): New variable.
43031         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43032         (cimag_test_data): New variable.
43033         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43034         (creal_test_data): New variable.
43035         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43037         * math/libm-test.inc (struct test_if_f_data): New type.
43038         (RUN_TEST_LOOP_if_f): New macro.
43039         (jn_test_data): New variable.
43040         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43041         (yn_test_data): New variable.
43042         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43044         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43046 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43048         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43049         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43051 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43053         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43054         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43055         (bench-deps): Add bench-timing.h.
43056         * benchtests-bench-skeleton.c: Include bench-timing.h.
43057         (main): Use TIMING_* macros instead of clock_gettime.
43058         * benchtests/bench-timing.h: New file.
43060         [BZ #14582]
43061         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43062         Renamed from _LIB_VERSION.
43063         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43065 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43067         * math/libm-test.inc (struct test_fff_f_data): New type.
43068         (RUN_TEST_LOOP_fff_f): New macro.
43069         (fma_test_data): New variable.
43070         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43071         (fma_towardzero_test_data): New variable.
43072         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43073         (fma_downward_test_data): New variable.
43074         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43075         (fma_upward_test_data): New variable.
43076         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43078         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43079         (struct test_c_c_data): New type.
43080         (RUN_TEST_LOOP_c_c): New macro.
43081         (cacos_test_data): New variable.
43082         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43083         (cacosh_test_data): New variable.
43084         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43085         (casin_test_data): New variable.
43086         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43087         (casinh_test_data): New variable.
43088         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43089         (catan_test_data): New variable.
43090         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43091         (catanh_test_data): New variable.
43092         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43093         (ccos_test_data): New variable.
43094         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43095         (ccosh_test_data): New variable.
43096         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43097         (cexp_test_data): New variable.
43098         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43099         (clog_test_data): New variable.
43100         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43101         (clog10_test_data): New variable.
43102         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43103         (conj_test_data): New variable.
43104         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43105         (cproj_test_data): New variable.
43106         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43107         (csin_test_data): New variable.
43108         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43109         (csinh_test_data): New variable.
43110         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43111         (csqrt_test_data): New variable.
43112         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43113         (ctan_test_data): New variable.
43114         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43115         (ctan_tonearest_test_data): New variable.
43116         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43117         (ctan_towardzero_test_data): New variable.
43118         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43119         (ctan_downward_test_data): New variable.
43120         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43121         (ctan_upward_test_data): New variable.
43122         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43123         (ctanh_test_data): New variable.
43124         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43125         (ctanh_tonearest_test_data): New variable.
43126         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43127         (ctanh_towardzero_test_data): New variable.
43128         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43129         (ctanh_downward_test_data): New variable.
43130         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43131         (ctanh_upward_test_data): New variable.
43132         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43133         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43134         of BUILD_COMPLEX.
43136         * math/libm-test.inc (struct test_ff_f_data): New type.
43137         (struct test_ff_f_data_nexttoward): Likewise.
43138         (RUN_TEST_LOOP_2_f): New macro.
43139         (RUN_TEST_LOOP_ff_f): Likewise.
43140         (atan2_test_data): New variable.
43141         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43142         (copysign_test_data): New variable.
43143         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43144         (fdim_test_data): New variable.
43145         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43146         (fmax_test_data): New variable.
43147         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43148         (fmin_test_data): New variable.
43149         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43150         (fmod_test_data): New variable.
43151         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43152         (hypot_test_data): New variable.
43153         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43154         (nextafter_test_data): New variable.
43155         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43156         (nexttoward_test_data): New variable.
43157         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43158         (pow_test_data): New variable.
43159         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43160         (pow_tonearest_test_data): New variable.
43161         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43162         (pow_towardzero_test_data): New variable.
43163         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43164         (pow_downward_test_data): New variable.
43165         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43166         (pow_upward_test_data): New variable.
43167         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43168         (remainder_test_data): New variable.
43169         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43170         (scalb_test_data): New variable.
43171         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43172         * sysdeps/i386/fpu/libm-test-ulps: Update.
43174 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43176         * math/libm-test.inc (fma_test): Use max_value instead of local
43177         variable fltmax.
43178         (nextafter_test): Likewise.
43180         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43181         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43182         (acos_downward_test_data): New variable.
43183         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43184         (acos_upward_test_data): New variable.
43185         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43186         (acosh_test_data): New variable.
43187         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43188         (asin_test_data): New variable.
43189         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43190         (asin_tonearest_test_data): New variable.
43191         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43192         (asin_towardzero_test_data): New variable.
43193         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43194         (asin_downward_test_data): New variable.
43195         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43196         (asin_upward_test_data): New variable.
43197         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43198         (asinh_test_data): New variable.
43199         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43200         (atan_test_data): New variable.
43201         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43202         (atanh_test_data): New variable.
43203         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43204         (cbrt_test_data): New variable.
43205         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43206         (ceil_test_data): New variable.
43207         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43208         (cos_test_data): New variable.
43209         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43210         (cos_tonearest_test_data): New variable.
43211         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43212         (cos_towardzero_test_data): New variable.
43213         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43214         (cos_downward_test_data): New variable.
43215         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43216         (cos_upward_test_data): New variable.
43217         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43218         (cosh_test_data): New variable.
43219         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43220         (cosh_tonearest_test_data): New variable.
43221         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43222         (cosh_towardzero_test_data): New variable.
43223         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43224         (cosh_downward_test_data): New variable.
43225         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43226         (cosh_upward_test_data): New variable.
43227         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43228         (erf_test_data): New variable.
43229         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43230         (erfc_test_data): New variable.
43231         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43232         (exp_test_data): New variable.
43233         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43234         (exp_tonearest_test_data): New variable.
43235         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43236         (exp_towardzero_test_data): New variable.
43237         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43238         (exp_downward_test_data): New variable.
43239         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43240         (exp_upward_test_data): New variable.
43241         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43242         (exp10_test_data): New variable.
43243         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43244         (exp2_test_data): New variable.
43245         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43246         (expm1_test_data): New variable.
43247         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43248         (fabs_test_data): New variable.
43249         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43250         (floor_test_data): New variable.
43251         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43252         (j0_test_data): New variable.
43253         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43254         (j1_test_data): New variable.
43255         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43256         (log_test_data): New variable.
43257         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43258         (log10_test_data): New variable.
43259         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43260         (log1p_test_data): New variable.
43261         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43262         (log2_test_data): New variable.
43263         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43264         (logb_test_data): New variable.
43265         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43266         (logb_downward_test_data): New variable.
43267         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43268         (nearbyint_test_data): New variable.
43269         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43270         (rint_test_data): New variable.
43271         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43272         (rint_tonearest_test_data): New variable.
43273         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43274         (rint_towardzero_test_data): New variable.
43275         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43276         (rint_downward_test_data): New variable.
43277         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43278         (rint_upward_test_data): New variable.
43279         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43280         (round_test_data): New variable.
43281         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43282         (sin_test_data): New variable.
43283         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43284         (sin_tonearest_test_data): New variable.
43285         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43286         (sin_towardzero_test_data): New variable.
43287         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43288         (sin_downward_test_data): New variable.
43289         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43290         (sin_upward_test_data): New variable.
43291         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43292         (sinh_test_data): New variable.
43293         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43294         (sinh_tonearest_test_data): New variable.
43295         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43296         (sinh_towardzero_test_data): New variable.
43297         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43298         (sinh_downward_test_data): New variable.
43299         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43300         (sinh_upward_test_data): New variable.
43301         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43302         (sqrt_test_data): New variable.
43303         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43304         (tan_test_data): New variable.
43305         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43306         (tan_tonearest_test_data): New variable.
43307         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43308         (tan_towardzero_test_data): New variable.
43309         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43310         (tan_downward_test_data): New variable.
43311         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43312         (tan_upward_test_data): New variable.
43313         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43314         (tanh_test_data): New variable.
43315         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43316         (tgamma_test_data): New variable.
43317         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43318         (trunc_test_data): New variable.
43319         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43320         (y0_test_data): New variable.
43321         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43322         (y1_test_data): New variable.
43323         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43324         (significand_test_data): New variable.
43325         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43327 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43329         [BZ #12387]
43330         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43332 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43334         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43336 2013-05-10  Andreas Jaeger  <aj@suse.de>
43338         [BZ #15448]
43339         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43340         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43342 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43344         * math/gen-libm-test.pl (adjust_arg): New function.
43345         (special_functions): Handle generating output in both functions
43346         and arrays.
43347         (parse_args): Likewise.
43348         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43349         $in_func argument to parse_args.
43350         * math/libm-test.inc (struct test_f_f_data): New type.
43351         (IF_ROUND_INIT_): New macro.
43352         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43353         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43354         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43355         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43356         (ROUND_RESTORE_): Likewise.
43357         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43358         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43359         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43360         (ROUND_RESTORE_FE_UPWARD): Likewise.
43361         (RUN_TEST_LOOP_f_f): New macro.
43362         (acos_test_data): New variable.
43363         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43364         (acos_tonearest_test_data): New variable.
43365         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43367 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43369         * benchtests/bench-skeleton.c (startup): Fix coding style.
43371 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43373         [BZ #6809]
43374         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43375         negative infinity argument.
43376         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43377         negative infinity argument.
43378         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43379         negative infinity argument.
43380         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43381         domain errors.
43383 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43385         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43386         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43387         * iconv/iconv_prog.c (main): Likewise.
43388         * locale/programs/charmap-dir.c (charmap_readdir)
43389         (fopen_uncompressed): Likewise.
43390         * locale/programs/locfile.c (siblings_uncached)
43391         (write_locale_data): Use lstat64 instead of lstat.
43392         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43393         stat.
43395 2013-05-10  Andreas Jaeger  <aj@suse.de>
43397         [BZ #15395]
43398         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43399         localization.
43400         Include <locale.h>.
43402 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43404         * elf/dl-close.c (_dl_close_worker): Add comments.
43406 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43408         [BZ #15359]
43409         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43410         high part of pi/2.
43411         (__ieee754_rem_pio2l): Update comments.
43413         [BZ #15429]
43414         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43415         high part of pi/2.
43416         (__ieee754_rem_pio2l): Update comments.
43418         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43419         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43421         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43422         M_PI_4l.
43424         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43425         (M_PI_34_LOG10El): Likewise.
43426         (M_PI2_LOG10El): Likewise.
43427         (M_PI4_LOG10El): Likewise.
43428         (M_PI_LOG10El): Likewise.
43430 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43434 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43436         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43437         (MINUS_ZERO_INIT): Likewise.
43438         (PLUS_INFTY_INIT): Likewise.
43439         (MINUS_INFTY_INIT): Likewise.
43440         (QNAN_VALUE_INIT): Likewise.
43441         (MAX_VALUE_INIT): Likewise.
43442         (MIN_VALUE_INIT): Likewise.
43443         (MIN_SUBNORM_VALUE_INIT): Likewise.
43444         (plus_zero): Initialize with PLUS_ZERO_INIT.
43445         (minus_zero): Initialize with MINUS_ZERO_INIT.
43446         (plus_infty): Initialize with PLUS_INFTY_INIT.
43447         (minus_infty): Initialize with MINUS_INFTY_INIT.
43448         (qnan_value): Initialize with QNAN_VALUE_INIT.
43449         (max_value): Initialize with MAX_VALUE_INIT.
43450         (min_value): Initialize with MIN_VALUE_INIT.
43451         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43453         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43454         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43455         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43456         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43458         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43459         (RUN_TEST_2_f): Likewise.
43460         (RUN_TEST_ff_f): Likewise.
43461         (RUN_TEST_fi_f): Likewise.
43462         (RUN_TEST_fl_f): Likewise.
43463         (RUN_TEST_fff_f): Likewise.
43464         (RUN_TEST_c_f): Likewise.
43465         (RUN_TEST_f_f1): Likewise.
43466         (RUN_TEST_fF_f1): Likewise.
43467         (RUN_TEST_fI_f1): Likewise.
43468         (RUN_TEST_ffI_f1): Likewise.
43469         (RUN_TEST_c_c): Likewise.
43470         (RUN_TEST_cc_c): Likewise.
43471         (RUN_TEST_f_i): Likewise.
43472         (RUN_TEST_f_i_tg): Likewise.
43473         (RUN_TEST_ff_i_tg): Likewise.
43474         (RUN_TEST_f_b): Likewise.
43475         (RUN_TEST_f_b_tg): Likewise.
43476         (RUN_TEST_f_l): Likewise.
43477         (RUN_TEST_f_L): Likewise.
43478         (RUN_TEST_sincos): Likewise.
43479         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43480         whether to show exceptions.  Do not include ");\n" in return
43481         value.
43482         (special_functions): Output call to RUN_TEST_sincos instead of
43483         check_float calls.  Update calls to new_test.
43484         (parse_args): Output call to single RUN_TEST_* macro instead of
43485         check_* calls and other assignments.  Update calls to new_test.
43487         [BZ #2546]
43488         [BZ #2560]
43489         [BZ #5159]
43490         [BZ #15426]
43491         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43492         input to result for tgamma overflow.
43493         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43494         (gamma_coeff): New variable.
43495         (NCOEFF): New macro.
43496         (gamma_positive): New function.
43497         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43498         underflow here.  Use gamma_positive instead of exp (lgamma) for
43499         other arguments.
43500         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43501         (gamma_coeff): New variable.
43502         (NCOEFF): New macro.
43503         (gammaf_positive): New function.
43504         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43505         underflow here.  Use gamma_positive instead of exp (lgamma) for
43506         other arguments.
43507         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43508         (gamma_coeff): New variable.
43509         (NCOEFF): New macro.
43510         (gammal_positive): New function.
43511         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43512         underflow here.  Use gamma_positive instead of exp (lgamma) for
43513         other arguments.
43514         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43515         (gamma_coeff): New variable.
43516         (NCOEFF): New macro.
43517         (gammal_positive): New function.
43518         (__ieee754_gammal_r): Handle positive infinity, overflow and
43519         underflow here.  Handle NaN the same as positive infinity.  Remove
43520         check x < 0xffffffff for negative integers.  Use gamma_positive
43521         instead of exp (lgamma) for other arguments.
43522         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43523         (gamma_coeff): New variable.
43524         (NCOEFF): New macro.
43525         (gammal_positive): New function.
43526         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43527         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43528         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43529         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43530         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43531         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43532         * sysdeps/generic/math_private.h (__gamma_productf): New
43533         prototype.
43534         (__gamma_product): Likewise.
43535         (__gamma_productl): Likewise.
43536         * math/Makefile (libm-calls): Add gamma_product.
43537         * math/libm-test.inc (tgamma_test): Add more tests.
43538         * sysdeps/i386/fpu/libm-test-ulps: Update.
43539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43541 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43543         * benchtests/bench-skeleton.c (main): Preheat CPU.
43545 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43547         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43549 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43551         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43552         and _dl_skip_args_internal.
43554 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43556         * manual/message.texi (Message Translation): Talk about users.
43557         Message to key mapping impacts design.
43559 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43561         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43563         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43565         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43566         * sysdeps/wordsize-64/glob64.c: ... here.
43568         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43569         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43570         New macros.
43572         * debug/getlogin_r_chk.c: Moved to ...
43573         * login/getlogin_r_chk.c: ... here.
43574         * debug/Makefile (routines): Move getlogin_r_chk to ...
43575         * login/Makefile (routines): ... here.
43576         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43577         * login/Versions (libc: GLIBC_2.4): ... here.
43579         * io/poll.c (__poll): Renamed from poll.
43580         Add libc_hidden_def.
43581         (poll): Define as weak alias.
43583         * debug/ptsname_r_chk.c: Moved to ...
43584         * login/ptsname_r_chk.c: ... here.
43585         * debug/Makefile (routines): Move ptsname_r_chk to ...
43586         * login/Makefile (routines): ... here.
43587         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43588         * login/Versions (libc: GLIBC_2.4): ... here.
43590         * posix/getlogin.c: Moved to ...
43591         * login/getlogin.c: ... here.
43592         * posix/getlogin_r.c: Moved to ...
43593         * login/getlogin_r.c: ... here.
43594         * posix/getlogin_r.c: Moved to ...
43595         * login/getlogin_r.c: ... here.
43596         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43597         * login/Makefile (routines): ... here.
43598         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43599         * login/Versions (libc: GLIBC_2.0): ... here.
43601         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43602         (setrlimit): Define as weak alias.
43604         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43605         Call __ names for open, ftruncate, and close.
43606         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43607         (truncate): Define as weak alias.
43609 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43611         * math/gen-libm-test.pl (parse_args): Initialize x before each
43612         test of frexp, modf and remquo.
43614         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43615         test signgam value.
43617 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43619         [BZ #15418]
43620         [BZ #15419]
43621         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43622         internal tests.
43623         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43625 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43627         * elf/dl-writev.h: New file.
43628         * elf/dl-misc.c: Include it.
43629         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43630         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43632 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43634         * math/libm-test.inc (noXFails): Remove variable.
43635         (noXPasses): Likewise.
43636         (BUILD_COMPLEX_INT): Remove macro.
43637         (print_screen): Remove xfail argument.
43638         (print_screen_max_error): Likewise.
43639         (update_stats): Likewise.
43640         (print_max_error): Likewise.  Update calls to other affected
43641         functions.
43642         (print_complex_max_error): Likewise.
43643         (test_single_exception): Update calls to print_screen.
43644         (test_single_errno): Likewise.
43645         (check_float_internal): Remove xfail argument.  Update calls to
43646         other affected functions.
43647         (check_float): Likewise.
43648         (check_complex): Likewise.
43649         (check_int): Likewise.
43650         (check_long): Likewise.
43651         (check_bool): Likewise.
43652         (check_longlong): Likewise.
43653         (main): Don't print noXFails and noXPasses.
43654         * math/gen-libm-test.pl (top level): Don't mention expected
43655         failure handling in comment.
43656         (new_test): Don't handle expected failures.
43657         (parse_args): Don't mention expected failure handling in comment.
43658         (generate_testfile): Don't handle expected failures.
43659         (parse_ulps): Likewise.
43660         (print_ulps_file): Likewise.
43661         (get_failure): Remove function.
43662         (output_test): Don't handle expected failures.
43663         * make/README.libm-test: Don't mention expected failure handling.
43665         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43666         (minus_zero): Likewise.
43667         (plus_infty): Likewise.
43668         (minus_infty): Likewise.
43669         (qnan_value): Likewise.
43670         (max_value): Likewise.
43671         (min_value): Likewise.
43672         (min_subnorm_value): Likewise.
43673         (initialize): Do not initialize those variables dynamically.
43675 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43677         * io/open.c (__open_2): Moved to ...
43678         * io/open_2.c: ... this new file.
43679         * io/open64.c (__open64_2): Moved to ...
43680         * io/open64_2.c: ... this new file.
43681         * io/openat.c (__openat_2): Moved to ...
43682         * io/openat_2.c: ... this new file.
43683         * io/openat64.c (__openat64_2): Moved to ...
43684         * io/openat64_2.c: ... this new file.
43685         * io/Makefile (routines): Add them.
43686         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43687         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43688         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43689         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43690         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43691         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43692         (__openat64): Add hidden_ver.
43693         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43694         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43696         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43697         Separately conditionalize setting of GLRO(dl_sysinfo) so
43698         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43699         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43701 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43703         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43704         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43705         definition.
43706         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43707         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43708         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43709         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43710         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43712 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43714         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43715         test signgam value.
43717         * math/libm-test.inc (hypot_test): Do not use
43718         IGNORE_ZERO_INF_SIGN.
43720 2013-05-03  Andreas Jaeger  <aj@suse.de>
43722         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43723         Linux 3.9.
43724         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43725         (PF_MAX): Adjust for VSOCK change.
43727 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43731 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43733         [BZ #15264]
43734         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43735         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43736         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43738 2013-05-02  David S. Miller  <davem@davemloft.net>
43740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43742 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43744         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43746 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43748         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43750 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43752         [BZ #14952]
43753         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43754         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43755         Use __attribute__ ((__gnu_inline__)).
43756         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43757         Don't use __attribute__ ((__gnu_inline__)).
43759 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43761         [BZ #15423]
43762         * math/s_catan.c (__catan): Handle small real or imaginary part of
43763         input specially to avoid spurious underflow.
43764         * math/s_catanf.c (__catanf): Likewise.
43765         * math/s_catanh.c (__catanh): Likewise.
43766         * math/s_catanhf.c (__catanhf): Likewise.
43767         * math/s_catanhl.c (__catanhl): Likewise.
43768         * math/s_catanl.c (__catanl): Likewise.
43769         * math/libm-test.inc (catan_test): Add more tests.
43770         (catanh_test): Likewise.
43771         * sysdeps/i386/fpu/libm-test-ulps: Update.
43772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43774 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43778 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43780         [BZ #15416]
43781         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43782         accurately for denominator in atan2.
43783         * math/s_catanf.c (__catanf): Likewise.
43784         * math/s_catanh.c (__catanh): Likewise.
43785         * math/s_catanhf.c (__catanhf): Likewise.
43786         * math/s_catanhl.c (__catanhl): Likewise.
43787         * math/s_catanl.c (__catanl): Likewise.
43788         * math/libm-test.inc (catan_test): Add more tests.
43789         (catanh_test): Likewise.
43790         * sysdeps/i386/fpu/libm-test-ulps: Update.
43791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43793 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43795         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43797         * benchtests/Makefile (bench): Remove slow benchmarks.
43798         * benchtests/atan-inputs: Add slow benchmark inputs.
43799         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43800         (BENCH_FUNC): Accept variant offset.
43801         (VARIANT): Define.
43802         * benchtests/bench-skeleton.c (main): Run benchmark for each
43803         variant.
43804         * benchtests/cos-inputs: Add slow benchmark inputs.
43805         * benchtests/exp-inputs: Likewise.
43806         * benchtests/pow-inputs: Likewise.
43807         * benchtests/sin-inputs: Likewise.
43808         * benchtests/slowatan-inputs: Remove.
43809         * benchtests/slowatan.c: Remove.
43810         * benchtests/slowcos-inputs: Remove.
43811         * benchtests/slowcos.c: Remove.
43812         * benchtests/slowexp-inputs: Remove.
43813         * benchtests/slowexp.c: Remove.
43814         * benchtests/slowpow-inputs: Remove.
43815         * benchtests/slowpow.c: Remove.
43816         * benchtests/slowsin-inputs: Remove.
43817         * benchtests/slowsin.c: Remove.
43818         * benchtests/slowtan-inputs: Remove.
43819         * benchtests/slowtan.c: Remove.
43820         * benchtests/tan-inputs: Add slow benchmark inputs.
43821         * scripts/bench.pl: Parse comments and directives.
43823         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43824         in CPPFLAGS.
43825         ($(objpfx)bench-%.c): Remove *-ITER.
43826         * benchtests/bench-modf.c: Remove definition of ITER.
43827         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43828         (main): Loop for DURATION seconds instead of fixed number of
43829         iterations.
43830         * scripts/bench.pl: Don't expect iterations in parameters.
43832 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43834         * io/fchdir.c (__fchdir): Renamed from fchdir.
43835         (fchdir): Define as weak alias.
43837 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43839         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43840         (ERRNO_EDOM): Likewise.
43841         (ERRNO_ERANGE): Likewise.
43842         (noErrnoTests): New variable.
43843         (init_max_error): Set errno to 0.
43844         (test_single_errno): New function.
43845         (test_errno): Likewise.
43846         (check_float_internal): Call test_errno.  Set errno to 0.
43847         (check_complex): Refer to errno tests in comment.
43848         (check_int): Call test_errno.  Set errno to 0.
43849         (check_long): Likewise.
43850         (check_bool): Likewise.
43851         (check_longlong): Likewise.
43852         (cos_test): Use ERRNO_* flags for errno tests instead of
43853         check_int.
43854         (expm1_test): Likewise.
43855         (fmod_test): Likewise.
43856         (ilogb_test): Likewise.
43857         (lgamma_test): Likewise.
43858         (pow_test): Likewise.
43859         (remainder_test): Likewise.
43860         (sin_test): Likewise.
43861         (tan_test): Likewise.
43862         (yn_test): Likewise.
43863         (initialize): Set errno to 0.
43864         (main): Print number of errno tests.
43865         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43867 2013-04-29  Andreas Jaeger  <aj@suse.de>
43869         [BZ #15084]
43870         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43871         and RES_USEVC.
43873         [BZ #15085]
43874         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43875         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43876         unimplemented.
43878         [BZ #15380]
43879         * stdlib/random.c (__initstate): Return NULL if
43880         __initstate fails.
43882         [BZ #15086]
43883         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43884         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43885         RES_SNGLKUPREOP.
43887 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43891 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43893         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43894         of individual tests.
43895         (casin_test): Likewise.
43896         (casinh_test): Likewise.
43898 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43900         [BZ #15409]
43901         * math/s_catan.c (__catan): Handle arguments with large real or
43902         imaginary part separately without squaring.
43903         * math/s_catanf.c (__catanf): Likewise.
43904         * math/s_catanh.c (__catanh): Likewise.
43905         * math/s_catanhf.c (__catanhf): Likewise.
43906         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43907         and redefine.
43908         (__catanhl): Handle arguments with large real or imaginary part
43909         separately without squaring.
43910         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43911         and redefine.
43912         (__catanl): Handle arguments with large real or imaginary part
43913         separately without squaring.
43914         * math/libm-test.inc (catan_test): Add more tests.
43915         (catanh_test): Likewise.
43916         * sysdeps/i386/fpu/libm-test-ulps: Update.
43917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43919 2013-04-27  Andreas Jaeger  <aj@suse.de>
43921         [BZ #15007]
43922         * stdlib/stdlib.h: Update guards for qecvt.
43923         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43924         <stdlib.h>.
43926 2013-04-27  Allan McRae  <allan@archlinux.org>
43928         * sysdeps/i386/fpu/libm-test-ulps: Update.
43930 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43932         [BZ #15406]
43933         * math/s_catan.c: Include <float.h>.
43934         (__catan): Ensure underflow exception occurs for underflowed
43935         result.
43936         * math/s_catanf.c: Include <float.h>.
43937         (__catanf): Ensure underflow exception occurs for underflowed
43938         result.
43939         * math/s_catanh.c: Include <float.h>.
43940         (__catanh): Ensure underflow exception occurs for underflowed
43941         result.
43942         * math/s_catanhf.c: Include <float.h>.
43943         (__catanhf): Ensure underflow exception occurs for underflowed
43944         result.
43945         * math/s_catanhl.c: Include <float.h>.
43946         (__catanhl): Ensure underflow exception occurs for underflowed
43947         result.
43948         * math/s_catanl.c: Include <float.h>.
43949         (__catanl): Ensure underflow exception occurs for underflowed
43950         result.
43951         * math/libm-test.inc (catan_test): Add more tests.
43952         (catanh_test): Likewise.
43954         [BZ #15405]
43955         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43956         underflowed result.
43957         * math/s_ccoshf.c (__ccoshf): Likewise.
43958         * math/s_ccoshl.c (__ccoshl): Likewise.
43959         * math/s_csin.c (__csin): Likewise.
43960         * math/s_csinf.c (__csinf): Likewise.
43961         * math/s_csinh.c (__csinh): Likewise.
43962         * math/s_csinhf.c (__csinhf): Likewise.
43963         * math/s_csinhl.c (__csinhl): Likewise.
43964         * math/s_csinl.c (__csinl): Likewise.
43965         * math/libm-test.inc (ccos_test): Add more tests.
43966         (ccosh_test): Likewise.
43967         (csin_test): Likewise.
43968         (csinh_test): Likewise.
43970 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43972         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43973         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43974         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43975         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43976         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43977         powerpc/power5+/fpu folders.
43978         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43981 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43985 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43987         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43988         additions to variable.
43989         [$(config-machine) = x86_64] (modules-names): Likewise.
43990         ($(objpfx)tst-audit3): Remove dependency.
43991         ($(objpfx)tst-audit3.out): Likewise.
43992         ($(objpfx)tst-audit4): Likewise.
43993         ($(objpfx)tst-audit4.out): Likewise.
43994         ($(objpfx)tst-audit5): Likewise.
43995         ($(objpfx)tst-audit5.out): Likewise.
43996         ($(objpfx)tst-audit6): Likewise.
43997         ($(objpfx)tst-audit6.out): Likewise.
43998         ($(objpfx)tst-audit7): Likewise.
43999         ($(objpfx)tst-audit7.out): Likewise.
44000         (tst-audit3-ENV): Remove variable.
44001         (tst-audit4-ENV): Likewise.
44002         (tst-audit5-ENV): Likewise.
44003         (tst-audit6-ENV): Likewise.
44004         (tst-audit7-ENV): Likewise.
44005         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44006         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44007         addition to variable.
44008         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44009         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44010         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44011         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44012         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44013         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44014         tst-audit3, tst-audit4 and tst-audit5.
44015         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44016         tst-audit6 and tst-audit7.
44017         [$(subdir) = elf] (modules-names): Add audit modules for those
44018         tests.
44019         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44020         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44021         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44022         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44023         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44024         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44025         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44026         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44027         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44028         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44029         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44030         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44031         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44032         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44033         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44034         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44035         Likewise.
44036         [$(subdir) = elf && $(config-cflags-avx) = yes]
44037         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44038         [$(subdir) = elf && $(config-cflags-avx) = yes]
44039         (CFLAGS-tst-auditmod4a.c): Likewise.
44040         [$(subdir) = elf && $(config-cflags-avx) = yes]
44041         (CFLAGS-tst-auditmod4b.c): Likewise.
44042         [$(subdir) = elf && $(config-cflags-avx) = yes]
44043         (CFLAGS-tst-auditmod6b.c): Likewise.
44044         [$(subdir) = elf && $(config-cflags-avx) = yes]
44045         (CFLAGS-tst-auditmod6c.c): Likewise.
44046         [$(subdir) = elf && $(config-cflags-avx) = yes]
44047         (CFLAGS-tst-auditmod7b.c): Likewise.
44048         * elf/tst-audit3.c: Move to ...
44049         * sysdeps/x86_64/tst-audit3.c: ... here.
44050         * elf/tst-audit4.c: Move to ...
44051         * sysdeps/x86_64/tst-audit4.c: ... here.
44052         * elf/tst-audit5.c: Move to ...
44053         * sysdeps/x86_64/tst-audit5.c: ... here.
44054         * elf/tst-audit6.c: Move to ...
44055         * sysdeps/x86_64/tst-audit6.c: ... here.
44056         * elf/tst-audit7.c: Move to ...
44057         * sysdeps/x86_64/tst-audit7.c: ... here.
44058         * elf/tst-auditmod3a.c: Move to ...
44059         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44060         * elf/tst-auditmod3b.c: Move to ...
44061         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44062         * elf/tst-auditmod4a.c: Move to ...
44063         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44064         * elf/tst-auditmod4b.c: Move to ...
44065         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44066         * elf/tst-auditmod5a.c: Move to ...
44067         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44068         * elf/tst-auditmod5b.c: Move to ...
44069         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44070         * elf/tst-auditmod6a.c: Move to ...
44071         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44072         * elf/tst-auditmod6b.c: Move to ...
44073         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44074         * elf/tst-auditmod6c.c: Move to ...
44075         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44076         * elf/tst-auditmod7a.c: Move to ...
44077         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44078         * elf/tst-auditmod7b.c: Move to ...
44079         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44081 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44083         [BZ #15366]
44084         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44085         define unconditionally.
44086         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44087         define unconditionally.
44088         (INT8_C, INT16_C, etc.): Likewise.
44090 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44092         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44093         __ehdr_start with hidden visibility.
44095         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44097 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44099         * math/libm-test.inc (cos_test): Use accurate hex constants.
44100         (sincost_test): Likewise.
44102 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44104         * math/libm-test.inc (catan_test): Add more tests.
44105         (catanh_test): Likewise.
44107         * math/s_catanf.c (__catanf): Use suffixed floating-point
44108         constants.
44109         * math/s_catanhf.c (__catanhf): Likewise.
44110         * math/s_catanhl.c (__catanhl): Likewise.
44111         * math/s_catanl.c (__catanl): Likewise.
44113         [BZ #15394]
44114         * math/s_catan.c (__catan): Calculate imaginary part of result
44115         with log1p not log unless computing log of number close to 0.
44116         * math/s_catanf.c (__catanf): Likewise.
44117         * math/s_catanl.c (__catanl): Likewise.
44118         * math/s_catanh.c (__catanh): Calculate real part of result with
44119         log1p not log unless computing log of number close to 0.
44120         * math/s_catanhf.c (__catanhf): Likewise.
44121         * math/s_catanhl.c (__catanhl): Likewise.
44122         * math/libm-test.inc (catan_test): Add more tests.
44123         (catanh_test): Likewise.
44124         * sysdeps/i386/fpu/libm-test-ulps: Update.
44125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44127 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44129         * benchtests/Makefile: Mention files in which fast and slow
44130         paths of math functions are implemented.
44132 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44134         * sysdeps/posix/timespec_get.c: New file.
44136 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44138         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44139         POWER.
44140         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44141         for POWER.
44142         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44143         powerpc/power5/fpu folders.
44144         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44145         * benchtests/Makefile: Add modf testcase.
44146         * benchtests/bench-modf.c: New file: Benchmark test for mo
44148 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44150         [BZ #14888]
44151         * time/Makefile (tests): Add tst-strptime-whitespace.
44152         * time/strptime_l.c (get_number): Use ISSPACE.
44153         (__strptime_internal): Likewise.
44154         * time/tst-strptime-whitespace.c: New test case.
44156 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44158         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44159         member.
44160         (_nss_files_init): Set it here.
44162 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44164         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44165         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44166         unsigned.
44168 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44170         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44172 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44174         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44175         size just once.
44177 2013-04-21  David S. Miller  <davem@davemloft.net>
44179         * po/ru.po: Update Russion translation from translation project.
44181 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44183         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44184         and setfsgid.
44186 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44188         * configure.in: Remove i386 configure warning. Remove i386 case.
44189         * configure: Regenerate.
44190         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44191         Add example to error message.
44192         * sysdeps/i386/configure: Regenerate.
44194 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44196         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44197         slowtan.
44198         * benchtests/cos-inputs: New file.
44199         * benchtests/slowcos-inputs: New file.
44200         * benchtests/slowcos.c: New file.
44201         * benchtests/slowtan-inputs: New file.
44202         * benchtests/slowtan.c: New file.
44203         * benchtests/tan-inputs: New file.
44205 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44207         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44208         considered kosher.
44210 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44212         * benchtests/Makefile: Include cppflags-iterator.mk to add
44213         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44215         * Makefile.in (bench-clean): New target.
44216         * benchtests/Makefile (bench-clean): Likewise.
44218 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44220         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44222 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44224         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44226 2013-04-15  Andreas Schwab  <schwab@suse.de>
44228         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44229         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44230         * nscd/pwdcache.c (cache_addpw): Likewise.
44231         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44232         more than recsize.
44234 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44236         * benchtests/Makefile (bench): Write all output to
44237         bench-out.tmp together.
44239 2013-04-15  Andreas Schwab  <schwab@suse.de>
44241         * nscd/nscd.c (main): Don't fork again after closing files.
44243 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44245         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44247         * benchtests/Rules (bench-deps): Collect dependencies into a
44248         single variable.  Add Makefile to dependencies.
44249         ($(objpfx)bench-%.c): Depend on bench-deps.
44251 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44252             Xavier Roche  <roche+kml2@exalead.com>
44254         [BZ #15361]
44255         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44256         just that it's a file descriptor.
44257         * manual/llio.texi (Synchronizing AIO Operations): Update description
44258         for EBADF error from aio_fsync.
44260 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44262         * Rules (bench): Move target definition...
44263         * benchtests/Makefile: ... here.
44265 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44267         * math/libm-test.inc (cos_test): Fix PI/2 test.
44268         (sincos_test): Likewise.
44269         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44270         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44272 2013-04-11  Andreas Schwab  <schwab@suse.de>
44274         [BZ #13988]
44275         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44276         accept exponent character only when digits were seen.
44277         * stdio-common/Makefile (tests): Add bug26.
44278         * stdio-common/bug26.c: New file.
44280         [BZ #14293]
44281         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44282         non-freeable.
44284 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44286         * Makeconfig (rtld-prefix): Define built linker prefix.
44287         * Rules (run-bench): Use it.
44288         * math/Makefile (run-regen-ulps): Likewise.
44290         * Rules (bench): Remove eval.
44292 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44293             Roland McGrath  <roland@hack.frob.com>
44294             Ondrej Bilka  <neleai@seznam.cz>
44296         [BZ #15346]
44297         * time/getdate.c: Include ctype.h and alloca.h.
44298         (__getdate_r): Trim leading and trailing spaces of input.
44299         * time/tst-getdate.c (tests): Add tests with leading and
44300         trailing spaces.
44302 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44304         [BZ #14280]
44305         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44306         when computing value.
44308 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44310         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44311         Use testrun.sh to run libm tests.
44313         [BZ #15309]
44314         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44316 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44318         [BZ #15264]
44319         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44321 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44323         * Makefile.in (regen-ulps): New target.
44324         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44325         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44326         [ifneq (no,$(PERL)] (regen-ulps): New target.
44327         [ifeq (no,$(PERL)] (regen-ulps): New target.
44328         * math/libm-test.inc (ulps_file_name): Define.
44329         (output_dir): New variable.
44330         (options): Add "output-dir" option.
44331         (parse_opt): Handle 'o' case.
44332         (main): If output_dir is non-NULL use it as a prefix
44333         otherwise use "".
44334         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44336 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44338         [BZ #10060, #10062]
44339         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44340         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44341         fail configure if __sync_val_compare_and_swap is not inlined.
44342         * sysdeps/i386/configure: Regenerate.
44343         * configure.in: Build for i686 when configured for i386.
44344         * configure: Regenerate.
44345         * README: Remove i386 reference.
44347 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44349         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44350         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44352 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44354         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44355         (lmsnanval): New variables.
44356         (F): Add conversion tests.
44357         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44358         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44360         * stdio-common/tstdiomisc.c (F): Properly collect individual
44361         tests' results.
44363         [BZ #14686, #15336]
44364         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44365         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44366         Instead, use input NaN values or generate a qNaN by arithmetic
44367         operation.  Also fix bugs to comply with the standard.
44368         * math/libm-test.inc (remainder_test): Add more tests.
44370         [BZ #15335, #15342]
44371         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44372         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44373         input NaN values or generate a qNaN by arithmetic operation.
44375         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44376         unreachable code.
44378         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44379         definitions.
44381 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44383         [BZ #14478]
44384         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44385         underflowed result.
44386         * math/s_cexpf.c (__cexpf): Likewise.
44387         * math/s_cexpl.c (__cexpl): Likewise.
44388         * math/libm-test.inc (cexp_test): Add more tests.
44390 2013-04-03  Andreas Schwab  <schwab@suse.de>
44392         [BZ #15330]
44393         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44394         order arrays from heap if bigger than alloca cutoff.
44396 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44398         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44399         (SNAN_TESTS_double): Refer to GCC PR56831.
44400         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44401         GCC PR56828.
44403 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44405         * Rules (bench): Move bench.out after the run is complete.
44407         * Rules (bench): Echo currently running benchmark.
44409         * benchtests/Makefile (bench): Add atan and slowatan.
44410         * benchtests/atan-inputs: New file.
44411         * benchtests/slowatan-inputs: New file.
44412         * benchtests/slowatan.c: New file.
44414         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44415         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44416         its value.
44418         [BZ #15305]
44419         * sysdeps/unix/sysv/linux/kernel-features.h
44420         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44421         __ASSUME_XFS_RESTRICTED_CHOWN.
44422         * sysdeps/unix/sysv/linux/pathconf.c
44423         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44424         Save and restore errno.
44426 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44428         [BZ #15327]
44429         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44430         arguments using __kernel_casinh.
44431         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44432         arguments using __kernel_casinhf.
44433         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44434         arguments using __kernel_casinhl.
44435         * math/libm-test.inc (cacosh_test): Add more tests.
44436         * sysdeps/i386/fpu/libm-test-ulps: Update.
44437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44439 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44441         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44442         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44444         * bench/Makefile (bench): Add sin and slowsin.
44445         * benchtests/sin-inputs: New file.
44446         * benchtests/slowsin-inputs: New file.
44447         * benchtests/slowsin.c: New file.
44449         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44450         (bench): Add slowexp and slowpow.
44451         (exp-ITER): Increase iterations.
44452         (pow-ITER): Likewise.
44453         * benchtests/exp-inputs: Change input.
44454         * benchtests/pow-inputs: Likewise.
44455         * benchtests/slowexp-inputs: New file.
44456         * benchtests/slowexp.c: New file.
44457         * benchtests/slowpow-inputs: New file.
44458         * benchtests/slowpow.c: New file.
44460 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44462         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44463         instructions.
44464         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44465         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44466         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44467         * benchtests/Makefile: Add rint benchtest.
44468         * benchtests/rint-inputs: Input for rint benchtest.
44470 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44472         * Versions.def (libm): Add GLIBC_2.18.
44473         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44474         hidden libm prototypes.
44475         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44476         * math/Makefile (libm-calls): Add s_issignaling.
44477         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44478         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44479         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44480         declaration.
44481         * math/math.h [__USE_GNU] (issignaling): New macro.
44482         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44483         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44484         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44485         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44486         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44487         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44488         * manual/arith.texi (issignaling): New section.
44489         * manual/libm-err-tab.pl (@all_functions): Update comment.
44490         * math/gen-libm-test.pl (parse_args): Apply special handling for
44491         issignaling.
44492         * math/libm-test.inc (print_float, issignaling_test): New
44493         functions.
44494         (check_float_internal): Add issignaling checks.
44495         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44496         default definition.
44497         * sysdeps/powerpc/math-tests.h: New file.
44498         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44499         tests.
44500         * math/test-snan.c (TEST_FUNC): Likewise.
44502 2013-03-30  David S. Miller  <davem@davemloft.net>
44504         * po/de.po: Update from translation team.
44506 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44508         [BZ #10357]
44509         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44510         imaginary part less than 1.0 and real part less than 0.5
44511         specially.
44512         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44513         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44514         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44515         (cacos_test): Add more tests.
44516         (casin_test): Likewise.
44517         (casinh_test): Likewise.
44518         * sysdeps/i386/fpu/libm-test-ulps: Update.
44519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44521 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44523         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44524         ONE with its value.
44526         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44527         (__pow_mp): Replace ONE and MONE with their values.
44528         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44529         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44530         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44531         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44532         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44533         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44535         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44537         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44538         (__pow_mp): Replace ZERO and MZERO with their values.
44539         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44540         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44541         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44542         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44543         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44544         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44545         (__sqr): Likewise.
44547         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44549         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44551 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44553         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44554         Declare with __attribute__ ((weak)).
44555         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44556         Call __call_tls_dtors only if it's not NULL.
44558 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44560         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44561         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44562         magic __ehdr_start linker symbol if it's defined.
44563         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44564         them up here if it was already done.
44566         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44567         (_dl_aux_init): Use const in cast when setting it.
44568         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44569         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44570         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44572         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44573         Declare them here.
44574         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44575         * csu/libc-tls.c: Nor here.
44576         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44578         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44579         (__libc_message): Never call vsyslog.
44581 2013-03-28  Alan Modra  <amodra@gmail.com>
44583         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44584         Define as empty.
44585         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44586         Likewise.
44588 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44590         [BZ #15214]
44591         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44592         underflow.
44593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44595 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44597         [BZ #15304]
44598         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44599         Don't add gid passed as argument.
44601         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44603 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44605         [BZ #15307]
44606         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44607         imaginary part between 1.0 and 1.5 and real part less than 0.5
44608         specially.
44609         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44610         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44611         * math/libm-test.inc (cacos_test): Add more tests.
44612         (casin_test): Likewise.
44613         (casinh_test): Likewise.
44614         * sysdeps/i386/fpu/libm-test-ulps: Update.
44615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44617 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44619         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44620         constants.
44621         (norm): Likewise.
44622         (denorm): Likewise.
44623         (__dbl_mp): Likewise.
44624         (add_magnitudes): Likewise.
44625         (sub_magnitudes): Likewise.
44626         (__add): Likewise.
44627         (__sub): Likewise.
44628         (__mul): Likewise.
44629         (__sqr): Likewise.
44630         (__inv): Likewise.
44631         (__dvd): Likewise.
44633         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44634         commented code.
44635         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44636         (__dubcos): Likewise.
44637         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44638         (__ieee754_acos): Likewise.
44639         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44640         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44641         (__exp1): Likewise.
44642         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44643         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44644         (log1): Likewise.
44645         (my_log2): Likewise.
44646         (checkint): Likewise.
44647         * sysdeps/ieee754/dbl-64/e_remainder.c
44648         (__ieee754_remainder): Likewise.
44649         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44651         (bsloww): Likewise.
44652         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44654         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44655         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44656         MANTISSA_STORE_T to store computations on mantissa.  Use
44657         macros for rounding and division.
44658         (denorm): Likewise.
44659         (__dbl_mp): Likewise.
44660         (add_magnitudes): Likewise.
44661         (sub_magnitudes): Likewise.
44662         (__mul): Likewise.
44663         (__sqr): Likewise.
44664         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44665         powers of two in terms of TWOPOW macro.
44666         (mp_no): Make type of mantissa as MANTISSA_T.
44667         [!RADIXI]: Define RADIXI.
44668         [!TWO52]: Define TWO52.
44669         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44671 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44673         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44674         llroundl symbol when building for PPC32.
44676 2013-03-24  Mark H Weaver  <mhw@netris.org>
44678         * manual/arith.texi (Normalization Functions): Fix prototypes for
44679         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44681 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44683         [BZ #13889]
44684         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44685         high value to check if expl overflow.
44686         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44687         to check for underflow and overflow.
44688         * math/libm-test.inc: Add exp test.
44690 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44692         [BZ #11120]
44693         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44694         with NOT_IN_libc.
44696 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44698         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44699         symbol.
44701 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44703         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44704         wrap blocks consisting of several statements.
44706         * sysdeps/generic/math-tests.h: New file.
44707         * sysdeps/i386/fpu/math-tests.h: Likewise.
44708         * math/test-snan.c: Include it.
44709         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44711 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44713         [BZ #15285]
44714         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44715         (__ieee754_j0l): Do not improve calculations using cos of twice
44716         input for inputs above LDBL_MAX / 2.0L.
44717         (__ieee754_y0l): Likewise.
44718         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44719         (__ieee754_j1l): Do not improve calculations using cos of twice
44720         input for inputs above LDBL_MAX / 2.0L.
44721         (__ieee754_y1l): Likewise.
44722         * math/libm-test.inc (j0_test): Add another test.
44723         (j1_test): Likewise.
44724         (y0_test): Likewise.
44725         (y1_test): Likewise.
44726         * sysdeps/i386/fpu/libm-test-ulps: Update.
44728 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44730         * Rules ($(objpfx)bench-%.c): Include code from a C source
44731         file.
44733 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44735         [BZ #15287]
44736         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44737         imaginary part 1.0 and real part less than 0.5 specially.
44738         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44739         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44740         * math/libm-test.inc (cacos_test): Add more tests.
44741         (casin_test): Likewise.
44742         (casinh_test): Likewise.
44743         * sysdeps/i386/fpu/libm-test-ulps: Update.
44744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44746 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44748         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44749         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44751 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44753         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44754         * config.make.in (config-cflags-sse4): Remove variable.
44755         (config-cflags-avx): Likewise.
44756         (config-cflags-sse2avx): Likewise.
44757         (config-cflags-novzeroupper): Likewise.
44758         (config-asflags-i686): Likewise.
44759         (have-mfma4): Likewise.
44760         (have-as-vis3): Likewise.
44761         (MIG): Likewise.
44762         * configure.in (MIG): Do not AC_SUBST.
44763         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44764         (libc_cv_cc_sse4): Do not AC_SUBST.
44765         (libc_cv_cc_avx): Likewise.
44766         (libc_cv_cc_sse2avx): Likewise.
44767         (libc_cv_cc_novzeroupper): Likewise.
44768         (libc_cv_cc_fma4): Likewise.
44769         (libc_cv_as_i686): Likewise.
44770         (libc_cv_sparc_as_vis3): Likewise.
44771         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44772         LIBC_CONFIG_VAR.
44773         (config-asflags-i686): Likewise.
44774         (config-cflags-avx): Likewise.
44775         (config-cflags-sse2avx): Likewise.
44776         (have-mfma4): Likewise.
44777         (config-cflags-novzeroupper): Likewise.
44778         * sysdeps/mach/configure.in (MIG): Likewise.
44779         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44780         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44781         LIBC_CONFIG_VAR.
44782         (config-cflags-avx): Likewise.
44783         (config-cflags-sse2avx): Likewise.
44784         (have-mfma4): Likewise.
44785         (config-cflags-novzeroupper): Likewise.
44786         * configure: Regenerated.
44787         * sysdeps/i386/configure: Likewise.
44788         * sysdeps/mach/configure: Likewise.
44789         * sysdeps/sparc/configure: Likewise.
44790         * sysdeps/x86_64/configure: Likewise.
44792 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44794         [BZ #14812]
44795         * locale/programs/localedef.c (options): Put N_ translation marker
44796         on argument names, not just descriptions.
44798 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44800         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44802 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44804         [BZ #14176]
44805         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44807 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44809         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44810         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44811         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44812         [!BEFORE_ABORT] (before_abort): New function.
44813         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44814         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44815         (writev_for_fatal): New function.
44816         (WRITEV_FOR_FATAL): New macro; call that.
44817         (backtrace_and_maps): New function.
44818         (BEFORE_ABORT): New macro; call that.
44819         (struct str_list): Type removed.
44820         (__libc_message, __libc_fatal): Functions removed.
44821         Include <sysdeps/posix/libc_fatal.c> instead.
44823 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44825         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44826         constants.
44827         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44828         double constants.
44830 2013-03-19  Andreas Schwab  <schwab@suse.de>
44832         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44833         * sysdeps/gnu/configure: Regenerate.
44835         * configure.in: Substitute libc_cv_rtlddir.
44836         * configure: Regenerate.
44837         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44838         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44839         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44840         * elf/Makefile (install-others, CFLAGS-interp.c)
44841         (ldso_install, common-ldd-rewrite): Likewise.
44842         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44843         $(inst_slibdir)/$(rtld-installed-name).
44844         * scripts/rellns-sh: Add -p option.
44845         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44846         for source.
44848 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44850         * manual/nptl.texi: Renamed to ...
44851         * manual/threads.texi: ... this.
44852         * manual/Makefile (chapters): Update.
44854 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44856         [BZ #14812]
44857         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44858         on argument names, not just descriptions.
44859         * malloc/memusagestat.c (options): Likewise.
44860         * nss/getent.c (options): Likewise.
44862 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44864         [BZ #14812]
44865         * iconv/iconv_prog.c (options): Put N_ translation marker
44866         on argument names, not just descriptions.
44867         * iconv/iconvconfig.c (options): Likewise.
44869 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44871         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44872         implementation which is faster on all x86_64 architectures.
44873         Tested on AMD, Intel Nehalem, SNB, IVB.
44874         * sysdeps/x86_64/strnlen.S: Likewise.
44876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44877         Remove all multiarch strlen and strnlen versions.
44878         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44879         Remove strlen and strnlen related parts.
44881         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44882         Inline strlen part.
44883         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44885         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44886         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44887         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44888         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44889         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44890         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44892 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44894         * manual/memory.texi (Malloc Tunable Parameters):
44895         Sort parameters alphabetically. Add comments for missing entries.
44897 2013-03-17  David S. Miller  <davem@davemloft.net>
44899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44901 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44903         [BZ #15283]
44904         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44905         for arguments at most half maximum finite value.
44906         * math/libm-test.inc (j0_test): Add more tests.
44907         (j1_test): Likewise.
44908         (y0_test): Likewise.
44909         (y1_test): Likewise.
44910         * sysdeps/i386/fpu/libm-test-ulps: Update.
44911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44913         [BZ #14155]
44914         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44915         1 / x and functions P and Q for arguments above 0x1p256L.
44916         (__ieee754_y0l): Likewise.
44917         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44918         (__ieee754_y1l): Likewise.
44919         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44920         (j1_test): Likewise.
44921         (y0_test): Likewise.
44922         (y1_test): Likewise.
44924 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44926         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44927         variable.
44929 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44931         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44932         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44933         zero since it's initialized to EXEC_PAGESIZE.
44935         * sysdeps/unix/sysv/linux/ldsodefs.h
44936         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44937         * sysdeps/generic/ldsodefs.h: ... here.
44939 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44941         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44943         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44944         math/test-snan.c.
44945         * math/test-snan.c: Renamed from
44946         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44947         * math/Makefile (tests): Add test-snan.
44948         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44949         test-powerpc-snan.
44951         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44952         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44953         functions.
44954         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44955         __builtin_nan family of functions.
44956         * math/libm-test.inc (initialize): Initialize qnan_value with
44957         __builtin_nan family of functions.
44958         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44959         Remove variables.
44960         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44961         Remove functions.
44962         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44963         storage class.  Initialize qNaN_var and sNaN_var with
44964         __builtin_nan and __builtin_nans families of functions,
44965         respectively.
44967         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44968         (sqrt_test): Remove duplicate test with qNaN input.
44969         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44970         (round_test, signbit_test, significand_test): Note missing +/-Inf
44971         as well as qNaN tests.
44973         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44974         qNaN_var.  Fix a few strings, too.
44975         * math/libm-test.inc (nan_value): Rename to qnan_value.
44976         * math/gen-libm-test.pl (%beautify): Adjust to that.
44977         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44978         * math/test-misc.c (main): Likewise.
44979         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44980         to __qnan_bytes, and __qnan_union, respectively.
44981         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44982         Likewise.
44983         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44984         and lqnanval, respectively.
44985         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44986         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44987         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44988         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44990         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44991         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44992         doubles.
44994         * math/test-misc.c (main): Fix copy'n'pastos.
44995         * misc/tst-efgcvt.c (special): Likewise.
44997         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44998         Remove declarations.
45000 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45002         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45003         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45004         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45005         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45007 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45009         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45010         macro to return vdso values correctly in IFUNC implementations.
45011         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45012         Optimization by using IFUNC.
45014 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45015             Richard Henderson  <rth@redhat.com>
45016             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45018         * Makefile.in (bench): New target.
45019         * NEWS: Mention the benchmark framework.
45020         * Rules (bench): Likewise.
45021         (binaries-bench): Generate binaries for functions to
45022         benchmark.
45023         * benchtests/Makefile: New makefile for benchmark tests.
45024         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45025         programs.
45026         * benchtests/exp-inputs: New input file for EXP function.
45027         * benchtests/pow-inputs: New input file for POW function.
45028         * scripts/bench.pl: New script to generate source files for
45029         benchmark programs.
45031 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45033         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45034         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45035         computations on mantissa.  Use macros for rounding and
45036         division.
45037         (denorm): Likewise.
45038         (__dbl_mp): Likewise.
45039         (add_magnitudes): Likewise.
45040         (sub_magnitudes): Likewise.
45041         (__mul): Likewise.
45042         (__sqr): Likewise.
45043         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45044         powers of two in terms of TWOPOW macro.
45045         (mp_no): Make type of mantissa as MANTISSA_T.
45046         [!RADIXI]: Define RADIXI.
45047         [!TWO52]: Define TWO52.
45048         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45050         * manual/nptl.texi (cindex): Modify threads to pthreads.
45052 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45054         * sysdeps/x86_64/preconfigure: Regenerated.
45056 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45058         [BZ #14155]
45059         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45060         0x1p28 and above.
45061         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45062         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45063         0x1p28 and above.
45064         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45065         * math/libm-test.inc (j0_test): Do not allow one spurious
45066         underflow exception.
45067         (y1_test): Likewise.
45069 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45071         * manual/Makefile (chapters): Add nptl.
45072         * manual/debug.texi (Debugging Support): Add link to Threads
45073         chapter.
45074         * manual/nptl.texi: New file.
45076         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45078 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45080         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45081         for non-NULL pointer before the memory validity test. Pointed
45082         out by Holger Brunck <holger.brunck@keymile.com>.
45084 2013-03-13  Andreas Schwab  <schwab@suse.de>
45086         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45087         instead of .os.
45089 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45091         * timezone/zic.c: Update from tzcode 2013b.
45093 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45095         * manual/install.texi (Configuring and compiling):
45096         Mention i686 and i586.
45097         * INSTALL: Regenerate.
45099 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45101         * sysdeps/init_array/elf-init.c: New file.
45102         * csu/elf-init.c
45103         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45104         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45106         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45107         __gmon_start__ as global, but as static with a .preinit_array pointer.
45108         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45109         * sysdeps/init_array/crti.S: New file, empty except for comments.
45110         * sysdeps/init_array/crtn.S: Likewise.
45112 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45114         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45115         definining bcopy.
45116         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45117         Remove Prefer_SSE_for_memop.
45118         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45119         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45120         HAS_PREFER_SSE_FOR_MEMOP.
45121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45122         memset-x86-64.
45123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45124         Remove bzero, memset ifunc support.
45125         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45126         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45127         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45128         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45130 2013-03-11  Andreas Schwab  <schwab@suse.de>
45132         [BZ #15234]
45133         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45134         by SHLIB_COMPAT.
45135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45136         (GLIBC_2.16): Remove pthread_atfork.
45138 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45140         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45141         (ptestcases.h): Likewise.
45143 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45145         * Makeconfig ($(common-objpfx)config.status): Depend on
45146         sysdeps/*/preconfigure{,.in} too.
45148 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45150         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45151         (__free_hook): Use void * instead of __malloc_ptr_t.
45152         (__malloc_hook): Likewise.
45153         (__realloc_hook): Likewise.
45154         (__memalign_hook): Likewise.
45155         (__after_morecore_hook): Likewise.
45156         * malloc/arena.c (save_malloc_hook): Likewise.
45157         (save_free_hook): Likewise.
45158         * malloc/hooks.c (malloc_hook_ini): Likewise.
45159         (realloc_hook_ini): Likewise.
45160         (memalign_hook_ini): Likewise.
45161         * malloc/malloc.c (malloc_hook_ini): Likewise.
45162         (realloc_hook_ini): Likewise.
45163         (memalign_hook_ini): Likewise.
45164         (__free_hook): Likewise.
45165         (__malloc_hook): Likewise.
45166         (__realloc_hook): Likewise.
45167         (__memalign_hook): Likewise.
45168         (__libc_malloc): Likewise.
45169         (__libc_free): Likewise.
45170         (__libc_realloc): Likewise.
45171         (__libc_memalign): Likewise.
45172         (__libc_valloc): Likewise.
45173         (__libc_pvalloc): Likewise.
45174         (__libc_calloc): Likewise.
45175         (__posix_memalign): Likewise.
45176         * malloc/morecore.c (__sbrk): Likewise.
45177         (__default_morecore): Likewise.
45179         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45181         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45182         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45183         __malloc_ptrdiff_t.
45185         * malloc/malloc.h (__malloc_size_t): Remove macro.
45186         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45187         __malloc_size_t.
45188         (old_memalign_hook): Likewise.
45189         (old_realloc_hook): Likewise.
45190         (struct hdr): Likewise.
45191         (flood): Likewise.
45192         (mallochook): Likewise.
45193         (memalignhook): Likewise.
45194         (reallochook): Likewise.
45195         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45196         (tr_old_realloc_hook): Likewise.
45197         (tr_old_memalign_hook): Likewise.
45198         (tr_mallochook): Likewise.
45199         (tr_reallochook): Likewise.
45200         (tr_memalignhook): Likewise.
45202 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45204         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45205         default_ldbl_pack and using as default implementation.
45206         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45207         implementation.
45208         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45209         redundant definition.
45210         (ldbl_insert_mantissa): Likewise.
45211         (ldbl_canonicalize): Likewise.
45212         (ldbl_nearbyint): Likewise.
45213         (ldbl_pack): Rename to ldbl_pack_ppc.
45214         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45215         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45216         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45218 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45221         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45222         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45223         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45225         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45226         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45227         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45229 2013-03-07  Andreas Jaeger  <aj@suse.de>
45231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45232         bits/mman-linux.h.
45234 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45236         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45237         Include mpa.h and declare __MPEXP.
45238         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45239         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45240         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45241         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45242         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45243         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45244         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45246         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45247         (__slowpow): Use long double EXPL and LOGL functions to
45248         compute POW.
45249         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45250         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45251         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45252         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45253         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45254         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45257         intermediate variable to calculate exponent.
45258         (__sqr): Likewise.
45259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45260         Likewise.
45261         (__sqr): Likewise.
45263         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45264         [!NO__SQR]: Define __sqr.
45265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45266         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45267         sysdeps/ieee754/dbl-64/mpa.c.
45268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45270         [BZ #12723]
45271         * posix/Makefile (tests): Add tst-pathconf.
45272         * posix/tst-pathconf.c: New test case.
45273         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45274         _PC_PIPE_BUF.
45275         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45277 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45279         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45281 2013-03-06  Andreas Jaeger  <aj@suse.de>
45283         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45284         definition via __MAP_ANONYMOUS.
45286         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45287         it's not part of Linux headers.
45289         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45290         (MAP_HUGE_MASK): Define.
45292         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45293         Define.
45294         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45295         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45296         Define.
45297         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45298         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45299         Define.
45300         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45301         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45302         Define.
45303         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45305         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45306         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45307         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45308         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45309         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45310         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45312         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45313         Handle f2fs.
45315         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45316         Handle f2fs and efivarfs.
45318         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45319         f2fs.
45321         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45322         (EFIVARFS_MAGIC): Add.
45323         (F2FS_LINK_MAX): Add.
45325 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45327         * stdio-common/vfprintf.c: Replace __builtin_expect with
45328         __glibc_unlikely.
45330 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45332         [BZ #13550]
45333         * sysdeps/generic/bp-sym.h: Remove file.
45334         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45335         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45336         <bp-sym.h> and <bp-asm.h>.
45337         (__longjmp): Don't use BP_SYM.
45338         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45339         and <bp-asm.h>.
45340         (memcpy): Don't use BP_SYM.
45341         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45342         <bp-sym.h> and <bp-asm.h>.
45343         (memcpy): Don't use BP_SYM.
45344         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45345         <bp-asm.h>.
45346         (memcpy): Don't use BP_SYM.
45347         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45348         <bp-asm.h>.
45349         (memset): Don't use BP_SYM.
45350         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45351         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45352         (__bzero): Don't use BP_SYM.
45353         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45354         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45355         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45356         <bp-sym.h> and <bp-asm.h>.
45357         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45358         pointers.
45359         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45360         <bp-sym.h> and <bp-asm.h>.
45361         (memcpy): Don't use BP_SYM.
45362         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45363         <bp-sym.h> and <bp-asm.h>.
45364         (memset): Don't use BP_SYM.
45365         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45366         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45367         (__bzero): Don't use BP_SYM.
45368         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45369         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45370         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45371         <bp-sym.h> and <bp-asm.h>.
45372         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45373         pointers.
45374         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45375         <bp-sym.h> and <bp-asm.h>.
45376         (memcpy): Don't use BP_SYM.
45377         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45378         <bp-sym.h> and <bp-asm.h>.
45379         (memset): Don't use BP_SYM.
45380         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45381         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45382         (__bzero): Don't use BP_SYM.
45383         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45384         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45385         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45386         <bp-sym.h> and <bp-asm.h>.
45387         (__memchr): Don't use BP_SYM.
45388         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45389         <bp-sym.h> and <bp-asm.h>.
45390         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45391         pointers.
45392         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45393         <bp-sym.h> and <bp-asm.h>.
45394         (memcpy): Don't use BP_SYM.
45395         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45396         <bp-sym.h> and <bp-asm.h>.
45397         (__mempcpy): Don't use BP_SYM.
45398         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45399         <bp-sym.h> and <bp-asm.h>.
45400         (__memrchr): Don't use BP_SYM.
45401         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45402         <bp-sym.h> and <bp-asm.h>.
45403         (memset): Don't use BP_SYM.
45404         (__bzero): Likewise.
45405         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45406         <bp-sym.h> and <bp-asm.h>.
45407         (__rawmemchr): Don't use BP_SYM.
45408         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45409         <bp-sym.h> and <bp-asm.h>.
45410         (__STRCMP): Don't use BP_SYM.
45411         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45412         <bp-sym.h> and <bp-asm.h>.
45413         (strchr): Don't use BP_SYM.
45414         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45415         <bp-sym.h> and <bp-asm.h>.
45416         (__strchrnul): Don't use BP_SYM.
45417         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45418         <bp-sym.h> and <bp-asm.h>.
45419         (strlen): Don't use BP_SYM.
45420         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45421         <bp-sym.h> and <bp-asm.h>.
45422         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45423         pointers.
45424         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45425         <bp-sym.h> and <bp-asm.h>.
45426         (__strnlen): Don't use BP_SYM.
45427         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45428         <bp-sym.h> and <bp-asm.h>.
45429         (__GI__setjmp): Don't use BP_SYM.
45430         (_setjmp): Likewise.
45431         (__sigsetjmp): Likewise.
45432         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45433         (L(start_addresses)): Don't use BP_SYM.
45434         (_start): Likewise.
45435         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45436         <bp-asm.h>.
45437         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45438         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45439         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45440         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45441         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45442         <bp-asm.h>.
45443         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45444         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45445         about bounded pointers.
45446         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45447         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45448         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45449         <bp-asm.h>.
45450         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45451         about bounded pointers.  Remove GKM FIXME comments.
45452         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45453         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45454         <bp-asm.h>.
45455         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45456         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45457         Remove GKM FIXME comments.
45458         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45459         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45460         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45461         <bp-asm.h>.
45462         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45463         about bounded pointers.  Remove GKM FIXME comment.
45464         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45465         and <bp-asm.h>.
45466         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45467         pointers.
45468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45469         <bp-sym.h> and <bp-asm.h>.
45470         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45472         <bp-sym.h> and <bp-asm.h>.
45473         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45474         comment.
45476 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45478         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45479         call free(NULL).
45481 2013-03-05  David S. Miller  <davem@davemloft.net>
45483         * po/es.po: Update from translation team.
45485 2013-03-05  Andreas Jaeger  <aj@suse.de>
45487         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45488         <bits/mman-linux.h>.
45489         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45490         is fine.
45491         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45492         <bits/mman-linux.h> to end of file.
45493         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45494         is fine.
45495         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45496         <bits/mman-linux.h> to end of file.
45497         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45498         is fine.
45499         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45500         <bits/mman-linux.h> to end of file.
45502         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45503         (MCL_CURRENT, MCL_FUTURE): Define here.
45505 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45507         [BZ #15232]
45508         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45509         attribute_hidden.
45510         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45512 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45514         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45515         fourth parameter needed for rt_sigprocmask syscall.
45516         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45517         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45518         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45519         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45520         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45521         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45523 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45525         [BZ #13550]
45526         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45527         comment about bounded pointers.
45528         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45529         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45531 2013-03-04  Andreas Jaeger  <aj@suse.de>
45533         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45534         common definitions.
45536         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45537         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45538         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45539         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45540         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45541         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45543 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45545         [BZ #15055]
45546         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45547         __ieee754_sqrl instead of __sqrl.
45549 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45551         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45552         * sysdeps/powerpc/fpu_control.h: ... here.
45553         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45554         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45555         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45556         * sysdeps/powerpc/bits/mathinline.h: ... here.
45558 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45560         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45561         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45562         to just [NEED_DL_SYSINFO_DSO].
45563         * elf/dl-support.c: Likewise.
45564         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45565         * elf/rtld.c (dl_main): Likewise.
45566         * elf/setup-vdso.h (setup_vdso): Likewise.
45567         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45568         * sysdeps/unix/sysv/linux/dl-sysdep.c
45569         (_dl_discover_osversion): Likewise.
45571 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45573         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45574         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45576 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45578         * NEWS: Mention libm performance improvements and non-x86 PI
45579         futex support.
45581         * csu/libc-start.c (__pthread_initialize_minimal): Change
45582         function arguments.
45583         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45585 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45587         [BZ #13550]
45588         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45589         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45590         <bp-sym.h> and <bp-asm.h>.
45591         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45592         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45593         and <bp-asm.h>.
45594         (memcpy): Don't use BP_SYM.
45595         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45596         <bp-asm.h>.
45597         (__mpn_add_n): Don't use BP_SYM.
45598         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45599         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45600         and <bp-asm.h>.
45601         (__mpn_addmul_1): Don't use BP_SYM.
45602         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45603         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45604         <bp-sym.h>.
45605         (_setjmp): Don't use BP_SYM.
45606         (__novmx_setjmp): Likewise.
45607         (__GI__setjmp): Likewise.
45608         (__vmx_setjmp): Likewise.
45609         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45610         <bp-sym.h>.
45611         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45612         (__bzero): Don't use BP_SYM.
45613         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45614         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45615         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45616         <bp-sym.h> and <bp-asm.h>.
45617         (memcpy): Don't use BP_SYM.
45618         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45619         <bp-sym.h> and <bp-asm.h>.
45620         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45621         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45622         <bp-sym.h> and <bp-asm.h>.
45623         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45624         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45625         <bp-asm.h>.
45626         (__mpn_lshift): Don't use BP_SYM.
45627         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45628         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45629         <bp-asm.h>.
45630         (memset): Don't use BP_SYM.
45631         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45632         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45633         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45634         <bp-asm.h>.
45635         (__mpn_mul_1): Don't use BP_SYM.
45636         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45637         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45638         <bp-sym.h> and <bp-asm.h>.
45639         (memcmp): Don't use BP_SYM.
45640         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45641         <bp-sym.h> and <bp-asm.h>.
45642         (memcpy): Don't use BP_SYM.
45643         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45644         <bp-sym.h> and <bp-asm.h>.
45645         (memset): Don't use BP_SYM.
45646         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45647         <bp-sym.h> and <bp-asm.h>.
45648         (strncmp): Don't use BP_SYM.
45649         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45650         <bp-sym.h> and <bp-asm.h>.
45651         (memcpy): Don't use BP_SYM.
45652         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45653         <bp-sym.h> and <bp-asm.h>.
45654         (memset): Don't use BP_SYM.
45655         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45656         <bp-sym.h> and <bp-asm.h>.
45657         (__memchr): Don't use BP_SYM.
45658         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45659         <bp-sym.h> and <bp-asm.h>.
45660         (memcmp): Don't use BP_SYM.
45661         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45662         <bp-sym.h> and <bp-asm.h>.
45663         (memcpy): Don't use BP_SYM.
45664         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45665         <bp-sym.h> and <bp-asm.h>.
45666         (__mempcpy): Don't use BP_SYM.
45667         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45668         <bp-sym.h> and <bp-asm.h>.
45669         (__memrchr): Don't use BP_SYM.
45670         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45671         <bp-sym.h> and <bp-asm.h>.
45672         (memset): Don't use BP_SYM.
45673         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45674         <bp-sym.h> and <bp-asm.h>.
45675         (__rawmemchr): Don't use BP_SYM.
45676         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45677         <bp-sym.h> and <bp-asm.h>.
45678         (__STRCMP): Don't use BP_SYM.
45679         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45680         <bp-sym.h> and <bp-asm.h>.
45681         (strchr): Don't use BP_SYM.
45682         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45683         <bp-sym.h> and <bp-asm.h>.
45684         (__strchrnul): Don't use BP_SYM.
45685         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45686         <bp-sym.h> and <bp-asm.h>.
45687         (strlen): Don't use BP_SYM.
45688         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45689         <bp-sym.h> and <bp-asm.h>.
45690         (strncmp): Don't use BP_SYM.
45691         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45692         <bp-sym.h> and <bp-asm.h>.
45693         (__strnlen): Don't use BP_SYM.
45694         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45695         <bp-asm.h>.
45696         (__mpn_rshift): Don't use BP_SYM.
45697         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45698         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45699         <bp-sym.h> and <bp-asm.h>.
45700         (__sigsetjmp): Don't use BP_SYM.
45701         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45702         (L(start_addresses)): Don't use BP_SYM.
45703         (_start): Likewise.
45704         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45705         <bp-asm.h>.
45706         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45707         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45708         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45709         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45710         <bp-asm.h>.
45711         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45712         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45713         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45714         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45715         <bp-asm.h>.
45716         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45717         comments.
45718         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45719         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45720         <bp-asm.h>.
45721         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45722         FIXME comments.
45723         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45724         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45725         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45726         <bp-asm.h>.
45727         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45728         comment.
45729         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45730         and <bp-asm.h>.
45731         (strncmp): Don't use BP_SYM,
45732         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45733         <bp-asm.h>.
45734         (__mpn_sub_n): Don't use BP_SYM.
45735         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45736         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45737         and <bp-asm.h>.
45738         (__mpn_submul_1): Don't use BP_SYM.
45739         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45741         <bp-sym.h> and <bp-asm.h>.
45742         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45744         <bp-sym.h> and <bp-asm.h>.
45745         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45746         comment.
45748 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45751         Use ZK to minimize writes to Z.
45752         (sub_magnitudes): Simplify code a bit.
45753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45754         Use ZK to minimize writes to Z.
45755         (sub_magnitudes): Simplify code a bit.
45757 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45759         * csu/gmon-start.c: Add special exception to license text.
45761 2013-02-27  Richard Henderson  <rth@redhat.com>
45763         * scripts/config.guess: Update from config.git.
45764         * scripts/config.sub: Likewise.
45766 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45768         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45770         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45772         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45774         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45776         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45778 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45780         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45781         [$(build-shared = yes].
45783 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45785         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45786         (__mul): Reduce iterations for calculating mantissa.
45788         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45789         MPTWO.
45790         (__mpranred): Likewise.
45792         [BZ #15160]
45793         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45794         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45796 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45798         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45799         Define __attribute__.
45801 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45803         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45804         unused.
45805         * posix/regex_internal.h (__attribute): Remove.
45806         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45807         (re_string_context_at): Likewise.
45808         (bitset_not): Use __attribute__ and mark function as possibly
45809         unused.
45810         (bitset_merge): Likewise.
45811         (bitset_mask): Likewise.
45812         (re_string_char_size_at): Likewise.
45813         (re_string_wchar_at): Likewise.
45814         (re_string_elem_size_at): Likewise.
45816 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45818         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45819         code.
45820         (cc32): Likewise.
45822         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45823         (__acr): Likewise.
45824         (__cpy): Likewise.
45825         (norm): Likewise.
45826         (denorm): Likewise.
45827         (__dbl_mp): Likewise.
45828         (add_magnitudes): Likewise.
45829         (sub_magnitudes): Likewise.
45830         (__mul): Likewise.
45831         (__inv): Likewise.
45833         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45834         style.
45836         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45837         style.
45839         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45840         code.
45842         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45843         up changes with default code.
45844         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45845         Likewise.
45847 2013-02-24  Allan McRae  <allan@archlinux.org>
45849         * manual/socket.texi (The Internet Namespace): Order menu items
45850         to match that in the file.
45852         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45853         node listing of the info page menu.
45855 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45857         [BZ #13550]
45858         * sysdeps/i386/bp-asm.h: Remove file.
45859         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45860         (PARMS): Do not use macros from bp-asm.h.
45861         (S1): Likewise.
45862         (S2): Likewise.
45863         (SIZE): Likewise.
45864         (__mpn_add_n): Do not use BP_SYM
45865         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45866         "bp-asm.h".
45867         (PARMS): Do not use macros from bp-asm.h.
45868         (S1): Likewise.
45869         (SIZE): Likewise.
45870         (__mpn_addmul_1): Do not use BP_SYM
45871         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45872         "bp-asm.h".
45873         (PARMS): Do not use macros from bp-asm.h.
45874         (SIGMSK): Likewise.
45875         (_setjmp): Likewise.  Do not use BP_SYM.
45876         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45877         "bp-asm.h".
45878         (PARMS): Do not use macros from bp-asm.h.
45879         (SIGMSK): Likewise.
45880         (setjmp): Likewise.  Do not use BP_SYM.
45881         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45882         "bp-asm.h".
45883         (PARMS): Do not use macros from bp-asm.h.
45884         (__frexp): Do not use BP_SYM.
45885         (frexp): Likewise.
45886         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45887         "bp-asm.h".
45888         (PARMS): Do not use macros from bp-asm.h.
45889         (__frexpf): Do not use BP_SYM.
45890         (frexpf): Likewise.
45891         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45892         "bp-asm.h".
45893         (PARMS): Do not use macros from bp-asm.h.
45894         (__frexpl): Do not use BP_SYM.
45895         (frexpl): Likewise.
45896         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45897         "bp-asm.h".
45898         (PARMS): Do not use macros from bp-asm.h.
45899         (__remquo): Do not use BP_SYM.
45900         (remquo): Likewise.
45901         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45902         "bp-asm.h".
45903         (PARMS): Do not use macros from bp-asm.h.
45904         (__remquof): Do not use BP_SYM.
45905         (remquof): Likewise.
45906         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45907         "bp-asm.h".
45908         (PARMS): Do not use macros from bp-asm.h.
45909         (__remquol): Do not use BP_SYM.
45910         (remquol): Likewise.
45911         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45912         "bp-asm.h".
45913         (PARMS): Do not use macros from bp-asm.h.
45914         (DEST): Likewise.
45915         (SRC): Likewise.
45916         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45917         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45918         "bp-asm.h".
45919         (PARMS): Do not use macros from bp-asm.h.
45920         (strlen): Do not use BP_SYM.
45921         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45922         "bp-asm.h".
45923         (PARMS): Do not use macros from bp-asm.h.
45924         (S1): Likewise.
45925         (S2): Likewise.
45926         (SIZE): Likewise.
45927         (__mpn_add_n): Do not use BP_SYM.
45928         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45929         "bp-asm.h".
45930         (PARMS): Do not use macros from bp-asm.h.
45931         (S1): Likewise.
45932         (SIZE): Likewise.
45933         (__mpn_addmul_1): Do not use BP_SYM.
45934         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45935         weak_alias.
45936         (bzero): Likewise.
45937         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45938         "bp-asm.h".
45939         (PARMS): Do not use macros from bp-asm.h.
45940         (S): Likewise.
45941         (SIZE): Likewise.
45942         (__mpn_lshift): Do not use BP_SYM.
45943         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45944         "bp-asm.h".
45945         (PARMS): Do not use macros from bp-asm.h.
45946         (DEST): Likewise.
45947         (SRC): Likewise.
45948         (LEN): Likewise.
45949         (memcpy): Likewise.  Do not use BP_SYM.
45950         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45951         libc_hidden_def and weak_alias.
45952         (mempcpy): Do not use BP_SYM in weak_alias.
45953         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45954         "bp-asm.h".
45955         (PARMS): Do not use macros from bp-asm.h.
45956         (DEST): Likewise.
45957         (LEN): Likewise.
45958         [!BZERO_P] (CHR): Likewise.
45959         (memset): Likewise.  Do not use BP_SYM.
45960         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45961         "bp-asm.h".
45962         (PARMS): Do not use macros from bp-asm.h.
45963         (S1): Likewise.
45964         (SIZE): Likewise.
45965         (__mpn_mul_1): Do not use BP_SYM.
45966         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45967         "bp-asm.h".
45968         (PARMS): Do not use macros from bp-asm.h.
45969         (S): Likewise.
45970         (SIZE): Likewise.
45971         (__mpn_rshift): Do not use BP_SYM.
45972         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45973         "bp-asm.h".
45974         (PARMS): Do not use macros from bp-asm.h.
45975         (STR): Likewise.
45976         (CHR): Likewise.
45977         (strchr): Likewise.  Do not use BP_SYM.
45978         (index): Do not use BP_SYM in weak_alias.
45979         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45980         "bp-asm.h".
45981         (PARMS): Do not use macros from bp-asm.h.
45982         (DEST): Likewise.
45983         (SRC): Likewise.
45984         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45985         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45986         "bp-asm.h".
45987         (PARMS): Do not use macros from bp-asm.h.
45988         (strlen): Do not use BP_SYM.
45989         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45990         "bp-asm.h".
45991         (PARMS): Do not use macros from bp-asm.h.
45992         (S1): Likewise.
45993         (S2): Likewise.
45994         (SIZE): Likewise.
45995         (__mpn_sub_n): Do not use BP_SYM.
45996         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45997         "bp-asm.h".
45998         (PARMS): Do not use macros from bp-asm.h.
45999         (S1): Likewise.
46000         (SIZE): Likewise.
46001         (__mpn_submul_1): Do not use BP_SYM.
46002         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46003         "bp-asm.h".
46004         (PARMS): Do not use macros from bp-asm.h.
46005         (S1): Likewise.
46006         (S2): Likewise.
46007         (SIZE): Likewise.
46008         (__mpn_add_n): Do not use BP_SYM.
46009         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46010         weak_alias.
46011         (bzero): Likewise.
46012         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46013         "bp-asm.h".
46014         (PARMS): Do not use macros from bp-asm.h.
46015         (BLK2): Likewise.
46016         (LEN): Likewise.
46017         (memcmp): Do not use BP_SYM.
46018         (bcmp): Do not use BP_SYM in weak_alias.
46019         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46020         "bp-asm.h".
46021         (PARMS): Do not use macros from bp-asm.h.
46022         (DEST): Likewise.
46023         (SRC): Likewise.
46024         (LEN): Likewise.
46025         (memcpy): Likewise.  Do not use BP_SYM.
46026         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46027         "bp-asm.h".
46028         (PARMS): Do not use macros from bp-asm.h.
46029         (DEST): Likewise.
46030         (SRC): Likewise.
46031         (LEN): Likewise.
46032         (memmove): Likewise.  Do not use BP_SYM.
46033         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46034         "bp-asm.h".
46035         (PARMS): Do not use macros from bp-asm.h.
46036         (DEST): Likewise.
46037         (SRC): Likewise.
46038         (LEN): Likewise.
46039         (__mempcpy): Likewise.  Do not use BP_SYM.
46040         (mempcpy): Do not use BP_SYM in weak_alias.
46041         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46042         "bp-asm.h".
46043         (PARMS): Do not use macros from bp-asm.h.
46044         (DEST): Likewise.
46045         (LEN): Likewise.
46046         [!BZERO_P] (CHR): Likewise.
46047         (memset): Likewise.  Do not use BP_SYM.
46048         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46049         "bp-asm.h".
46050         (PARMS): Do not use macros from bp-asm.h.
46051         (STR2): Likewise.
46052         (strcmp): Do not use BP_SYM.
46053         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46054         "bp-asm.h".
46055         (PARMS): Do not use macros from bp-asm.h.
46056         (STR): Likewise.
46057         (DELIM): Likewise.
46058         [USE_AS_STRTOK_R] (SAVE): Likewise.
46059         (FUNCTION): Likewise.  Do not use BP_SYM.
46060         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46061         aliases.
46062         (strtok_r): Likewise.
46063         (__GI___strtok_r): Likewise.
46064         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46065         (PARMS): Do not use macros from bp-asm.h.
46066         (S): Likewise.
46067         (SIZE): Likewise.
46068         (__mpn_lshift): Do not use BP_SYM.
46069         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46070         (PARMS): Do not use macros from bp-asm.h.
46071         (STR): Likewise.
46072         (CHR): Likewise.
46073         (__memchr): Do not use BP_SYM.
46074         (memchr): Do not use BP_SYM in weak_alias.
46075         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46076         (PARMS): Do not use macros from bp-asm.h.
46077         (BLK2): Likewise.
46078         (LEN): Likewise.
46079         (memcmp): Do not use BP_SYM.
46080         (bcmp): Do not use BP_SYM in weak_alias.
46081         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46082         (PARMS): Do not use macros from bp-asm.h.
46083         (S1): Likewise.
46084         (SIZE): Likewise.
46085         (__mpn_mul_1): Do not use BP_SYM.
46086         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46087         "bp-asm.h".
46088         (PARMS): Do not use macros from bp-asm.h.
46089         (STR): Likewise.
46090         (CHR): Likewise.
46091         (__rawmemchr): Do not use BP_SYM.
46092         (rawmemchr): Do not use BP_SYM in weak_alias.
46093         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46094         (PARMS): Do not use macros from bp-asm.h.
46095         (S): Likewise.
46096         (SIZE): Likewise.
46097         (__mpn_rshift): Do not use BP_SYM.
46098         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46099         (PARMS): Do not use macros from bp-asm.h.
46100         (SIGMSK): Likewise.
46101         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46102         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46103         (_start): Do not use BP_SYM.
46104         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46105         (PARMS): Do not use macros from bp-asm.h.
46106         (DEST): Likewise.
46107         (SRC): Likewise.
46108         (__stpcpy): Likewise.  Do not use BP_SYM.
46109         (stpcpy): Do not use BP_SYM in weak_alias.
46110         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46111         "bp-asm.h".
46112         (PARMS): Do not use macros from bp-asm.h.
46113         (DEST): Likewise.
46114         (SRC): Likewise.
46115         (LEN): Likewise.
46116         (__stpncpy): Likewise.  Do not use BP_SYM.
46117         (stpncpy): Do not use BP_SYM in weak_alias.
46118         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46119         (PARMS): Do not use macros from bp-asm.h.
46120         (STR): Likewise.
46121         (CHR): Likewise.
46122         (strchr): Likewise.  Do not use BP_SYM.
46123         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46124         "bp-asm.h".
46125         (PARMS): Do not use macros from bp-asm.h.
46126         (STR): Likewise.
46127         (CHR): Likewise.
46128         (__strchrnul): Likewise.  Do not use BP_SYM.
46129         (strchrnul): Do not use BP_SYM in weak_alias.
46130         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46131         "bp-asm.h".
46132         (PARMS): Do not use macros from bp-asm.h.
46133         (STOP): Likewise.
46134         (strcspn): Do not use BP_SYM.
46135         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46136         "bp-asm.h".
46137         (PARMS): Do not use macros from bp-asm.h.
46138         (STR): Likewise.
46139         (STOP): Likewise.
46140         (strpbrk): Likewise.  Do not use BP_SYM.
46141         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46142         "bp-asm.h".
46143         (PARMS): Do not use macros from bp-asm.h.
46144         (STR): Likewise.
46145         (CHR): Likewise.
46146         (strrchr): Likewise.  Do not use BP_SYM.
46147         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46148         (PARMS): Do not use macros from bp-asm.h.
46149         (SKIP): Likewise.
46150         (strspn): Do not use BP_SYM.
46151         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46152         (PARMS): Do not use macros from bp-asm.h.
46153         (STR): Likewise.
46154         (DELIM): Likewise.
46155         (SAVE): Likewise.
46156         (FUNCTION): Likewise.  Do not use BP_SYM.
46157         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46158         aliases.
46159         (strtok_r): Likewise.
46160         (__GI___strtok_r): Likewise.
46161         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46162         (PARMS): Do not use macros from bp-asm.h.
46163         (S1): Likewise.
46164         (S2): Likewise.
46165         (SIZE): Likewise.
46166         (__mpn_sub_n): Do not use BP_SYM.
46167         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46168         "bp-asm.h".
46169         (PARMS): Do not use macros from bp-asm.h.
46170         (S1): Likewise.
46171         (SIZE): Likewise.
46172         (__mpn_submul_1): Do not use BP_SYM.
46173         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46174         <bp-sym.h>.
46175         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46176         and <bp-asm.h>.
46177         (PARMS): Do not use macros from bp-asm.h.
46178         (FLAGS): Likewise.
46179         (PTID): Likewise.
46180         (TLS): Likewise.
46181         (CTID): Likewise.
46182         (__clone): Do not use BP_SYM.
46183         (clone): Do not use BP_SYM in weak_alias.
46184         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46185         and <bp-asm.h>.
46186         (PARMS): Do not use macros from bp-asm.h.
46187         (LEN): Likewise.
46188         (__mmap64): Do not use BP_SYM.
46189         (mmap64): Do not use BP_SYM in weak_alias.
46190         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46191         <bp-sym.h> and <bp-asm.h>.
46192         (PARMS): Do not use macros from bp-asm.h.
46193         (__posix_fadvise64_l64): Do not use BP_SYM.
46194         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46195         (PARMS): Do not use macros from bp-asm.h.
46196         (NSOPS): Likewise.
46197         (semtimedop): Do not use BP_SYM.
46198         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46199         and <bp-asm.h>.
46201 2013-02-21  Allan McRae  <allan@archlinux.org>
46203         * manual/message.texi (Charset conversion in gettext):
46204         Move @end statement to beginning of line.
46206 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46209         static.
46210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46211         Likewise.
46213         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46214         (denorm): Likewise.
46215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46218 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46220         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46221         tail-call to the resolved function if pltexit isn't needed.
46223 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46226         or Y being zero as being unlikely.
46227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46228         Likewise.
46230 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46232         * manual/nss.texi (System Databases and Name Service Switch):
46233         Remove frobnicate @pxref.
46235 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46237         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46238         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46240 2013-02-20  Petr Machata  <pmachata@redhat.com>
46242         * elf/elf.h (R_ARM_TARGET1): New macro.
46243         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46244         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46245         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46246         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46247         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46248         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46249         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46250         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46251         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46252         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46253         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46254         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46255         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46256         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46257         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46258         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46259         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46260         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46261         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46262         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46263         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46264         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46265         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46266         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46267         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46268         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46269         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46270         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46271         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46272         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46273         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46274         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46275         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46276         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46277         (R_ARM_THM_GOT_BREL12): Likewise.
46278         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46279         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46280         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46281         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46282         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46283         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46284         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46285         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46286         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46288 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46290         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46291         __attribute_used__ to __attribute__ ((unused)).
46293 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46295         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46296         powerpc mpa.c.
46297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46298         comment formatting.
46299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46301 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46303         [BZ #13550]
46304         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46305         Remove macro.
46306         (ENTER): Remove both macro definitions.
46307         (LEAVE): Likewise.
46308         (CHECK_BOUNDS_LOW): Likewise.
46309         (CHECK_BOUNDS_HIGH): Likewise.
46310         (CHECK_BOUNDS_BOTH): Likewise.
46311         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46312         (RETURN_BOUNDED_POINTER): Likewise.
46313         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46314         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46315         (POP_ERRNO_LOCATION_RETURN): Likewise.
46316         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46317         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46318         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46319         macros.
46320         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46321         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46322         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46323         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46324         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46325         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46326         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46327         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46328         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46329         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46330         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46331         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46332         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46333         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46334         removed macros.
46335         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46336         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46337         macros.
46338         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46339         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46340         * sysdeps/i386/i586/memset.S (memset): Likewise.
46341         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46342         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46343         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46344         macros.
46345         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46346         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46347         Change uses of L(2) to L(out).
46348         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46349         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46350         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46351         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46352         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46353         removed macros.
46354         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46355         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46356         macros.
46357         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46358         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46359         (RETURN): Do not use macro LEAVE.
46360         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46361         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46362         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46363         * sysdeps/i386/i686/memset.S (memset): Likewise.
46364         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46365         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46366         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46367         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46368         Likewise.
46369         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46370         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46371         L(1_2) and L(1_3) into L(1).
46372         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46373         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46374         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46375         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46376         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46377         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46378         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46379         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46380         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46381         macros.
46382         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46383         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46384         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46385         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46386         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46387         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46388         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46389         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46390         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46391         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46392         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46393         * sysdeps/i386/strspn.S (strspn): Likewise.
46394         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46395         conditional code.
46396         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46397         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46398         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46399         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46400         L(1_3) into L(1_1).
46401         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46402         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46403         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46404         macros.
46405         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46407 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46409         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46410         macro.
46412 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46414         * math/atest-exp.c (exp_mpn): Remove ROUND.
46415         * math/atest-exp2.c (exp_mpn): Likewise.
46416         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46418         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46419         * stdlib/tst-tls-atexit-lib.c: Likewise.
46420         * stdlib/tst-tls-atexit.c: Likewise.
46422 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46424         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46425         and __attribute_alloc_size__.
46427 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46429         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46430         __attribute_alloc_size__.
46431         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46432         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46434 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46436         * include/programs/xmalloc.h: New file.
46437         * catgets/gencat.c: Include it.
46438         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46439         * elf/pldd.c: Likewise.
46440         * iconv/iconv_charmap.c: Likewise.
46441         * iconv/iconvconfig.c: Likewise.
46442         * iconv/strtab.c: Likewise.
46443         * locale/programs/locale.c: Likewise.
46444         * locale/programs/localedef.h: Likewise.
46445         * locale/programs/simple-hash.c: Likewise.
46446         * nscd/nscd.h: Likewise.
46447         * nss/makedb.c: Likewise.
46448         * sysdeps/generic/ldconfig.h: Likewise.
46450 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46452         * Versions.def: Add GLIBC_2.18.
46453         * include/link.h (struct link_map): New member l_tls_dtor_count.
46454         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46455         (__call_tls_dtors): Likewise.
46456         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46457         __cxa_thread_atexit_impl.
46458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46459         Likewise.
46460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46461         Likewise.
46462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46463         Likewise.
46464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46465         Likewise.
46466         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46468         Likewise.
46469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46470         Likewise.
46471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46473         Likewise.
46474         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46475         (tests): Add test case tst-tls-atexit.
46476         (modules-names): Add shared library for tst-tls-atexit.
46477         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46478         (GLIBC_PRIVATE): Add __call_tls_dtors.
46479         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46480         for libstdc++.
46481         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46482         * stdlib/tst-tls-atexit.c: New test case.
46483         * stdlib/tst-tls-atexit-lib.c: New test case.
46485         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46487         * elf/Versions (ld): Add _dl_find_dso_for_object.
46488         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46489         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46490         (dl_open_worker): Use _dl_find_dso_for_object.
46491         * elf/dl-sym.c (do_sym): Likewise.
46492         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46494 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46496         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46497         Syntactic changes only.
46498         (_dl_runtime_profile): Do a tail-call to the resolved function.
46500 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46502         [BZ #13550]
46503         * sysdeps/x86_64/bp-asm.h: Remove file.
46504         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46505         <bp-sym.h> and <bp-asm.h>.
46506         (__clone): Do not use BP_SYM.
46507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46508         <bp-sym.h> and <bp-asm.h>.
46509         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46510         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46511         "bp-asm.h".
46512         (_setjmp): Do not use BP_SYM.
46513         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46514         "bp-asm.h".
46515         (setjmp): Do not use BP_SYM.
46516         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46517         libc_hidden_def.
46518         (mempcpy): Do not use BP_SYM in weak_alias.
46519         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46520         "bp-asm.h".
46521         (strchr): Do not use BP_SYM.
46522         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46523         "bp-asm.h".
46524         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46525         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46526         (_start): Do not use BP_SYM.
46527         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46528         "bp-asm.h".
46529         (strcat): Do not use BP_SYM.
46530         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46531         "bp-asm.h".
46532         (STRCMP): Do not use BP_SYM.
46533         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46534         "bp-asm.h".
46535         (STRCPY): Do not use BP_SYM.
46536         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46537         "bp-asm.h".
46538         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46539         "bp-asm.h".
46540         (FUNCTION): Do not use BP_SYM.
46541         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46542         weak_alias.
46543         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46545 2013-02-17  Andreas Jaeger  <aj@suse.de>
46547         * time/Versions: Sort entries.
46548         * string/Versions: Likewise.
46549         * resolv/Versions: Likewise.
46550         * posix/Versions: Likewise.
46551         * iconv/Versions: Likewise.
46552         * elf/Versions: Likewise.
46553         * wcsmbs/Versions: Likewise.
46555 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46557         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46558         loop termination condition.
46560         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46561         variable to calculate EZ.
46562         (__sqr): Likewise.
46564         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46565         the lower precision input.
46567 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46569         [BZ #13550]
46570         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46571         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46572         (run-via-rtld-prefix): Do not handle %-bp tests.
46573         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46574         (all-object-suffixes): Remove .ob.
46575         (bppfx): Remove variable.
46576         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46577         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46578         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46579         [$(build-bounded) = yes] (libtype.ob): Likewise.
46580         * Makerules (elide-routines.ob): Remove variable.
46581         (do-tests-clean): Do not handle *-bp.out.
46582         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46583         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46584         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46585         (tests): Do not include $(tests-bp.out).
46586         (xtests): Do not include $(xtests-bp.out).
46587         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46588         [$(build-bounded) = yes] ($(addprefix
46589         $(objpfx),$(binaries-bounded))): Remove rule.
46590         ($(objpfx)%-bp.out): Remove rule.
46591         * config.make.in (build-bounded): Remove variable.
46592         * crypt/Makefile [$(build-bounded) = yes]
46593         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46594         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46595         append to variable.
46596         [$(build-bounded) = yes] (install-lib): Likewise.
46597         [$(build-bounded) = yes] (generated): Likewise.
46598         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46599         Remove rule.
46600         * intl/Makefile [$(build-bounded) = yes]
46601         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46602         * math/Makefile [$(build-bounded) = yes]
46603         ($(tests:%=$(objpfx)%-bp): Likewise.
46604         * misc/Makefile [$(build-bounded) = yes]
46605         ($(objpfx)tst-tsearch-bp): Likewise.
46606         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46607         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46608         Remove dependency.
46609         * string/Makefile (o-objects.ob): Remove variable.
46610         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46611         (CFLAGS-.ob): Remove variable.
46612         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46613         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46614         both definitions of variable.
46615         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46616         (ASFLAGS-.ob): Remove variable.
46618 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46620         [BZ #13550]
46621         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46622         Remove __BOUNDED_POINTERS__ from condition.
46623         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46624         * string/bits/string2.h [!__NO_STRING_INLINES &&
46625         !__BOUNDED_POINTERS__]: Likewise.
46626         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46627         Likewise.
46628         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46629         Remove conditional code.
46630         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46631         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46632         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46633         condition.
46635         [BZ #13550]
46636         * csu/libc-start.c: Do not include <bp-sym.h>.
46637         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46638         * elf/dl-open.c: Do not include <bp-sym.h>.
46639         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46640         * math/fegetenv.c: Do not include <bp-sym.h>.
46641         (fegetenv): Do not use BP_SYM in versioned symbols.
46642         * nptl/sysdeps/pthread/bits/libc-lockP.h
46643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46644         <bp-sym.h>.
46645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46646         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46648         (__pthread_mutex_destroy): Likewise.
46649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46650         (__pthread_mutex_lock): Likewise.
46651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46652         (__pthread_mutex_trylock): Likewise.
46653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46654         (__pthread_mutex_unlock): Likewise.
46655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46656         (__pthread_mutexattr_init): Likewise.
46657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46658         (__pthread_mutexattr_destroy): Likewise.
46659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46660         (__pthread_mutexattr_settype): Likewise.
46661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46662         (__pthread_rwlock_init): Likewise.
46663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46664         (__pthread_rwlock_destroy): Likewise.
46665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46666         (__pthread_rwlock_rdlock): Likewise.
46667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46668         (__pthread_rwlock_tryrdlock): Likewise.
46669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46670         (__pthread_rwlock_wrlock): Likewise.
46671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46672         (__pthread_rwlock_trywrlock): Likewise.
46673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46674         (__pthread_rwlock_unlock): Likewise.
46675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46676         (__pthread_key_create): Likewise.
46677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46678         (__pthread_setspecific): Likewise.
46679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46680         (__pthread_getspecific): Likewise.
46681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46682         Likewise.
46683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46684         (_pthread_cleanup_push_defer): Likewise.
46685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46686         (_pthread_cleanup_pop_restore): Likewise.
46687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46688         (pthread_setcancelstate): Likewise.
46689         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46690         <bp-sym.h>.
46691         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46692         (memchr): Do not use BP_SYM in weak_alias.
46693         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46694         (fegetenv): Do not use BP_SYM in versioned symbols.
46695         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46696         (fesetenv): Do not use BP_SYM in versioned symbols.
46697         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46698         (feupdateenv): Do not use BP_SYM in versioned symbols.
46699         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46700         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46701         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46702         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46703         (open64): Do not use BP_SYM in weak_alias.
46704         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46705         (fegetenv): Do not use BP_SYM in versioned symbols.
46706         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46707         (fesetenv): Do not use BP_SYM in versioned symbols.
46708         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46709         (feupdateenv): Do not use BP_SYM in versioned symbols.
46710         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46711         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46712         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46713         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46714         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46715         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46716         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46717         <bp-sym.h>.
46718         (__libc_start_main): Do not use BP_SYM.
46720 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46723         redundant return line.
46724         (norm): Likewise.
46725         (denorm): Likewise.
46726         (dbl_mp): Likewise.
46727         (sub_magnitudes): Likewise.
46728         (__add): Likewise.
46729         (__sub): Likewise.
46730         (__mul): Likewise.
46731         (__inv): Likewise.
46732         (__dvd): Likewise.
46733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46734         (norm): Likewise.
46735         (denorm): Likewise.
46736         (dbl_mp): Likewise.
46737         (sub_magnitudes): Likewise.
46738         (__add): Likewise.
46739         (__sub): Likewise.
46740         (__mul): Likewise.
46741         (__inv): Likewise.
46742         (__dvd): Likewise.
46744         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46745         instead of __mul.
46746         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46747         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46748         (cc32): Likewise.
46750         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46751         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46752         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46753         of __mul for squares.
46754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46755         function
46756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46757         Likewise.
46758         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46759         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46761 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46763         [BZ #13550]
46764         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46765         code.
46766         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46767         prototype or function definition.  Rename ubp_* variables and
46768         parameters.  Remove argv definitions conditional on
46769         [__BOUNDED_POINTERS__].
46770         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46771         * elf/dl-runtime.c (_dl_fixup): Likewise.
46772         * include/set-hooks.h (RUN_HOOK): Likewise.
46773         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46774         definition.
46775         * string/strcpy.c (strcpy): Do not use __unbounded.
46776         * sysdeps/generic/frame.h (struct layout): Likewise.
46777         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46778         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46779         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46780         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46781         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46782         (__backtrace): Likewise.
46783         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46784         use __ptrvalue.
46785         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46786         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46787         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46788         Likewise.
46789         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46790         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46791         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46792         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46793         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46794         Do not use __unbounded.
46795         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46796         Rename __unboundedrlimits parameter to rlimits in prototype.
46797         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46798         Do not use __unbounded.
46799         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46800         not use __ptrvalue.
46801         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46802         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46803         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46804         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46805         __ptrvalue or __unbounded.
46806         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46807         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46808         use __unbounded.
46809         (__new_msgctl): Do not use __ptrvalue.
46810         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46811         __unbounded.
46812         (__libc_msgrcv): Do not use __ptrvalue.
46813         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46814         startup_info): Do not use __unbounded.
46815         (__libc_start_main): Likewise.  Rename ubp_* variables and
46816         parameters.  Remove argv definitions conditional on
46817         [__BOUNDED_POINTERS__].
46818         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46819         __ptrvalue.
46820         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46821         use __unbounded.
46822         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46823         or __ptrvalue.
46824         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46825         use __unbounded.
46826         (__new_shmctl): Do not use __ptrvalue.
46827         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46828         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46829         Likewise.
46830         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46831         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46832         (__libc_sigaction): Likewise.
46833         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46834         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46835         Likewise.
46836         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46838 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46840         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46842         * string/mempcpy.c: Implement by calling memcpy.
46844 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46846         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46848         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46849         evaluation.
46851         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46852         values in the mantissa.
46854         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46855         minimize writes to Z.
46856         (sub_magnitudes): Simplify code a bit.
46858 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46860         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46861         from the message.  The linker prefixes all warnings with that already.
46863 2013-02-12  Andreas Schwab  <schwab@suse.de>
46865         [BZ #15078]
46866         * posix/regexec.c (extend_buffers): Add parameter min_len.
46867         (check_matching): Pass minimum needed length.
46868         (clean_state_log_if_needed): Likewise.
46869         (get_subexp): Likewise.
46870         * posix/Makefile (tests): Add bug-regex34.
46871         (bug-regex34-ENV): Define.
46872         * posix/bug-regex34.c: New file.
46874         [BZ #11561]
46875         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46876         elements compare against the byte sequence of it, not its name.
46877         * posix/Makefile (tests): Add bug-regex35.
46878         (bug-regex35-ENV): Define.
46879         * posix/bug-regex35.c: New file.
46881 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46883         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46884         comment.
46885         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46886         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46887         (CHECK_EOL): Add undef.
46889 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46891         * bits/stdlib-bsearch.h: New file.
46892         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46893         * stdlib/stdlib.h: Likewise.
46895 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46897         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46898         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46899         declaration.
46900         * manual/search.texi (Array Search Function): Add missing const in
46901         lfind prototype.
46902         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46903         declaration to use rlim_t.
46904         (Basic Scheduling Functions): Remove erroneous const from
46905         sched_getparam prototype.  Remove erroneous * from
46906         sched_get_priority_max and sched_get_priority_min prototypes.
46907         (Resource Usage): Fix summary @comment on vtimes to refer to
46908         sys/vtimes.h rather than vtimes.h.
46909         Add missing *s in vtimes prototype.
46910         (Limits on Resources): Fix ulimit prototype to return long int.
46911         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46912         prototypes to use long int rather than double.
46913         (BSD Random): Fix initstate and setstate to use char *, not void *.
46914         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46915         prototype to make second argument 'struct aiocb64 *const[]'.
46916         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46917         (Status of AIO Operations): Remove erroneous const in aio_return and
46918         aio_return64 prototypes.
46919         (Synchronizing I/O): Fix sync prototype to return void.
46920         * manual/startup.texi (Suboptions): Remove an erroneous const in
46921         getsubopt prototype.
46922         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46923         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46924         use size_t rather than int.
46925         (Scanning All Users): Likewise for getpwent_r.
46926         (Setting Groups): Add missing const to setgroups prototype.
46927         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46928         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46929         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46930         'const void *' rather than 'const char *'.
46931         (Host Address Functions): Likewise for inet_ntop.
46932         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46933         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46934         ssize_t for return value.
46935         (Sending Data): Likewise for send, sendto, sendmsg.
46936         (Socket Option Functions): Add a missing const in setsockopt prototype.
46937         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46938         use wchar_t for the argument.
46939         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46940         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46941         take no arguments.
46942         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46943         double/float/long double for second argument.
46944         Fix return types of significand, significandf, significandl.
46945         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46946         argument in fchmod prototype.
46947         (File Owner): Use uid_t and gid_t in fchown prototype.
46948         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46949         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46950         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46951         use 'const struct dirent **' as argument types to CMP function pointer
46952         argument.
46953         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46954         (File Times): Fix summary magic @comment for struct utimbuf and utime
46955         to refer to utime.h, not time.h.
46956         * manual/string.texi (Argz Functions): Add missing const in
46957         argz_extract and argz_next prototypes.
46958         (Finding Tokens in a String): Likewise for basename.
46959         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46960         (Copying and Concatenation): Fix typo in wmemmove prototype.
46961         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46962         (Signal Stack): Remove erroneous const in sigstack prototype.
46963         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46964         prototype.
46965         (Simple Calendar Time): Likewise for stime.
46966         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46967         prototype.
46968         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46969         say sys/sysctl.h instead.
46970         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46971         and vsyslog prototypes.
46973 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46975         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46976         Remove.
46978 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46980         * misc/sys/mman.h: Fix typo in mremap comment.
46982 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46984         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46985         the '\0' terminator.
46987 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46989         [BZ #13550]
46990         * debug/segfault.c: Don't include <bp-checks.h>.
46991         * sysdeps/generic/bp-checks.h: Remove file.
46992         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46993         (__GETDENTS): Don't use CHECK_N.
46994         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46995         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46996         (__getgroups): Don't use CHECK_N.
46997         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46998         (setgroups): Don't use CHECK_N.
46999         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47000         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47001         (__libc_msgrcv): Don't use CHECK_N.
47002         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47003         (__libc_msgsnd): Don't use CHECK_N.
47004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47005         <bp-checks.h>.
47006         (__libc_pread): Don't use CHECK_N.
47007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47008         include <bp-checks.h>.
47009         (__libc_pread64): Don't use CHECK_N.
47010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47011         include <bp-checks.h>.
47012         (__libc_pwrite): Don't use CHECK_N.
47013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47014         include <bp-checks.h>.
47015         (__libc_pwrite64): Don't use CHECK_N.
47016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47017         <bp-checks.h>.
47018         (__libc_pread): Don't use CHECK_N.
47019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47020         include <bp-checks.h>.
47021         (__libc_pread64): Don't use CHECK_N.
47022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47023         include <bp-checks.h>.
47024         (__libc_pwrite): Don't use CHECK_N.
47025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47026         include <bp-checks.h>.
47027         (__libc_pwrite64): Don't use CHECK_N.
47028         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47029         (do_pread): Don't use CHECK_N.
47030         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47031         (do_pread64): Don't use CHECK_N.
47032         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47033         (do_pwrite): Don't use CHECK_N.
47034         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47035         (do_pwrite64): Don't use CHECK_N.
47036         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47037         (__libc_readv): Don't use CHECK_N.
47038         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47039         (semop): Don't use CHECK_N.
47040         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47041         <bp-checks.h>.
47042         (semtimedop): Don't use CHECK_N.
47043         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47044         (__libc_pread): Don't use CHECK_N.
47045         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47046         <bp-checks.h>.
47047         (__libc_pread64): Don't use CHECK_N.
47048         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47049         <bp-checks.h>.
47050         (__libc_pwrite): Don't use CHECK_N.
47051         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47052         <bp-checks.h>.
47053         (__libc_pwrite64): Don't use CHECK_N.
47054         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47055         <bp-checks.h>.
47056         (__libc_msgrcv): Don't use CHECK_N.
47057         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47058         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47059         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47060         (__libc_writev): Don't use CHECK_N.
47062 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47064         * string/strcpy.c: Removed unused variable.
47066         * Makeconfig (+sysdep-includes): Define with := rather than =.
47067         Use an existing include/ subdir of each sysdeps dir before it.
47069 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47071         * nscd/connection.c (register_traced_file): Comment function.
47072         [HAVE_INOTIFY] (union __inev): Define.
47073         [HAVE_INOTIFY] (inotify_check_files): New function.
47074         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47075         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47076         clear_db_cache.
47077         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47079 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47081         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47082         loaded if not already and that a failure is permanent.
47084 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47086         [BZ #15006]
47087         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47088         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47090 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47092         [BZ #13550]
47093         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47094         (CHECK_1_NULL_OK): Likewise.
47095         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47096         (__fxstat): Do not use CHECK_1.
47097         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47098         <bp-checks.h>.
47099         (___fxstat64): Do not use CHECK_1.
47100         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47101         <bp-checks.h>.
47102         (__fxstatat): Do not use CHECK_1.
47103         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47104         <bp-checks.h>.
47105         (__fxstatat64): Do not use CHECK_1.
47106         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47107         <bp-checks.h>.
47108         (__fxstat): Do not use CHECK_1.
47109         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47110         <bp-checks.h>.
47111         (__fxstatat): Do not use CHECK_1.
47112         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47113         <bp-checks.h>.
47114         (__getresgid): Do not use CHECK_1.
47115         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47116         <bp-checks.h>.
47117         (__getresuid): Do not use CHECK_1.
47118         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47119         <bp-checks.h>.
47120         (__lxstat): Do not use CHECK_1.
47121         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47122         <bp-checks.h>.
47123         (__old_msgctl): Do not use CHECK_1.
47124         (__new_msgctl): Likewise.
47125         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47126         <bp-checks.h>.
47127         (__new_setrlimit): Do not use CHECK_1.
47128         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47129         <bp-checks.h>.
47130         (__old_shmctl): Do not use CHECK_1.
47131         (__new_shmctl): Likewise.
47132         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47133         <bp-checks.h>.
47134         (__xstat): Do not use CHECK_1.
47135         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47136         (__lxstat): Do not use CHECK_1.
47137         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47138         <bp-checks.h>.
47139         (___lxstat64): Do not use CHECK_1.
47140         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47141         (__old_msgctl): Do not use CHECK_1.
47142         (__new_msgctl): Likewise.
47143         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47144         <bp-checks.h>.
47145         (__gettimeofday): Do not use CHECK_1.
47146         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47147         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47148         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47149         <bp-checks.h>.
47150         (__gettimeofday): Do not use CHECK_1.
47151         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47152         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47153         (__new_shmctl): Do not use CHECK_1.
47154         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47155         <bp-checks.h>.
47156         (do_sigtimedwait): Do not use CHECK_1.
47157         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47158         <bp-checks.h>.
47159         (do_sigwaitinfo): Do not use CHECK_1.
47160         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47161         <bp-checks.h>.
47162         (msgctl): Do not use CHECK_1.
47163         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47164         <bp-checks.h>.
47165         (shmctl): Do not use CHECK_1.
47166         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47167         (ustat): Do not use CHECK_1.
47168         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47169         <bp-checks.h>.
47170         (__fxstat): Do not use CHECK_1.
47171         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47172         <bp-checks.h>.
47173         (__fxstatat): Do not use CHECK_1.
47174         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47175         <bp-checks.h>.
47176         (__lxstat): Do not use CHECK_1.
47177         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47178         <bp-checks.h>.
47179         (__xstat): Do not use CHECK_1.
47180         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47181         (__xstat): Do not use CHECK_1.
47182         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47183         (___xstat64): Do not use CHECK_1.
47185         [BZ #13550]
47186         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47187         definitions.
47188         (CHECK_BOUNDS_HIGH): Likewise.
47189         * string/strcpy.c: Do not include <bp-checks.h>.
47190         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47192 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47194         * nscd/nscd-client.h (__nscd_drop_map_ref):
47195         Add __attribute__ ((unused)).
47196         * nis/nss-nisplus.h (niserr2nss): Likewise.
47198         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47199         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47201         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47202         Remove inline keyword.
47203         * include/rounding-mode.h (round_away): Likewise.
47204         * libio/wfileops.c (adjust_wide_data): Likewise.
47205         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47206         (__m128i_strloadu_tolower): Likewise.
47207         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47208         (__m128i_strloadu_tolower): Likewise.
47209         * time/mktime.c (ydhms_diff): Likewise.
47210         * locale/elem-hash.h (elem_hash): Likewise.
47211         * locale/setlocale.c (setdata): Likewise.
47212         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47213         (re_string_wchar_at): Likewise.
47214         (bitset_not, bitset_merge, bitset_mask): Likewise.
47215         [!(__GNUC__ > 3)] (inline): Remove macro.
47216         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47217         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47218         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47219         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47220         * string/memcmp.c (memcmp_bytes): Likewise.
47221         * locale/programs/locarchive.c (compute_hashval): Likewise.
47222         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47223         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47224         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47225         * nss/getent.c (print_rpc, print_protocols): Likewise.
47226         (print_passwd, print_group, print_aliases): Likewise.
47227         * nis/nss-nisplus.h (niserr2nss): Likewise.
47228         * nscd/connections.c (restart_p): Likewise.
47229         Change return type to bool.
47231 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47233         * Makeconfig (all-Depend-files): Add existing
47234         $(sorted-subdirs:=/Depend) files.
47235         (all-subdirs): Remove nss.
47236         * sysdeps/unix/inet/Subdirs: Add it here instead.
47237         * hesiod/Depend: New file.
47239         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47240         instead of calling alloca.
47242         * io/lseek.c (__lseek): Rename to __libc_lseek.
47243         Define __lseek as an alias.
47245         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47247 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47249         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47250         else clause and remove check for non-standard endianness.
47252 2013-02-04  David S. Miller  <davem@davemloft.net>
47254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47256 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47258         [BZ #13550]
47259         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47260         (__ubp_memchr): Remove prototype.
47261         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47262         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47263         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47264         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47265         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47266         Remove alias.
47267         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47268         (__ubp_memchr): Likewise.
47269         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47270         (__ubp_memchr): Likewise.
47271         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47272         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47273         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47274         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47275         CHECK_STRING.
47276         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47277         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47278         (__getcwd): Do not use CHECK_STRING.
47279         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47280         <bp-checks.h>.
47281         (__real_chown): Do not use CHECK_STRING.
47282         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47283         <bp-checks.h>.
47284         (fchownat): Do not use CHECK_STRING.
47285         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47286         CHECK_STRING.
47287         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47288         <bp-checks.h>.
47289         (__lchown): Do not use CHECK_STRING.
47290         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47291         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47292         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47293         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47295         include <bp-checks.h>.
47296         (truncate64): Do not use CHECK_STRING.
47297         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47298         <bp-checks.h>.
47299         (__real_chown): Do not use CHECK_STRING.
47300         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47301         <bp-checks.h>.
47302         (__lchown): Do not use CHECK_STRING.
47303         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47304         <bp-checks.h>.
47305         (__chown): Do not use CHECK_STRING.
47306         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47307         <bp-checks.h>.
47308         (truncate64): Do not use CHECK_STRING.
47309         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47310         Likewise.
47311         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47312         (__xmknod): Do not use CHECK_STRING.
47313         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47314         <bp-checks.h>.
47315         (__xmknodat): Do not use CHECK_STRING.
47316         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47317         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47319 2013-02-04  Andreas Schwab  <schwab@suse.de>
47321         [BZ #14142]
47322         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47323         * include/netdb.h: Likewise for h_errno.
47324         * elf/tst-stackguard1.c: Include <tls.h>.
47326 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47328         * elf/link.h (struct link_map): Extend the l_addr comment.
47329         * include/link.h (struct link_map): Likewise.
47331 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47333         [BZ #13550]
47334         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47335         (BOUNDED_1): Remove macro.
47336         * debug/backtrace.c: Don't include <bp-checks.h>.
47337         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47338         (__backtrace): Likewise.
47339         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47340         <bp-checks.h>.
47341         (__backtrace): Don't use BOUNDED_1.
47342         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47343         <bp-checks.h>.
47344         (__backtrace): Don't use BOUNDED_1.
47345         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47346         (__backtrace): Don't use BOUNDED_1.
47347         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47348         (shmat): Don't use BOUNDED_N.
47350 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47352         [BZ #13550]
47353         * sysdeps/generic/bp-start.h: Remove file.
47354         * csu/libc-start.c: Don't include <bp-start.h>.
47355         (LIBC_START_MAIN): Set up __environ directly instead of using
47356         INIT_ARGV_and_ENVIRON.
47357         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47358         <bp-start.h>.
47360         [BZ #13550]
47361         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47362         definitions.
47363         (CHECK_FCNTL): Likewise.
47364         (CHECK_N_PAGES): Likewise.
47366         [BZ #13550]
47367         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47368         definitions.
47369         (CHECK_SIGSET_NULL_OK): Likewise.
47370         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47371         <bp-checks.h>.
47372         (sigpending): Don't use CHECK_SIGSET.
47373         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47374         <bp-checks.h>.
47375         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47376         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47377         <bp-checks.h>.
47378         (do_sigsuspend): Don't use CHECK_SIGSET.
47379         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47380         use CHECK_SIGSET.
47381         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47382         (do_sigwait): Don't use CHECK_SIGSET.
47383         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47384         use CHECK_SIGSET.
47385         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47386         include <bp-checks.h>.
47387         (sigpending): Don't use CHECK_SIGSET.
47388         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47389         include <bp-checks.h>.
47390         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47391         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47392         <bp-checks.h>.
47393         (sigpending): Don't use CHECK_SIGSET.
47394         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47395         <bp-checks.h>.
47396         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47398         [BZ #13550]
47399         * sysdeps/generic/bp-semctl.h: Remove file.
47400         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47401         <bp-checks.h> and <bp-semctl.h>.
47402         (__old_semctl): Don't use CHECK_SEMCTL.
47403         (__new_semctl): Likewise.
47404         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47405         and <bp-semctl.h>.
47406         (__old_semctl): Don't use CHECK_SEMCTL.
47407         (__new_semctl): Likewise.
47408         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47409         <bp-checks.h> and <bp-semctl.h>.
47410         (__old_semctl): Don't use CHECK_SEMCTL.
47411         (__new_semctl): Likewise.
47412         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47413         <bp-checks.h> and <bp-semctl.h>.
47414         (semctl): Don't use CHECK_SEMCTL.
47416         [BZ #13550]
47417         * Makerules (elide-bp-thunks): Remove variable.
47418         (elide-routines.oS): Don't use $(elide-bp-thunks).
47419         (elide-routines.os): Likewise.
47420         (elide-routines.o): Likewise.
47421         (elide-routines.op): Likewise.
47422         (elide-routines.og): Likewise.
47423         (objects): Don't use $(bp-thunks).
47424         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47425         include.
47426         (common-generated): Do not add s-proto-bp.d.
47427         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47428         (int): Likewise.
47429         (typ): Likewise.
47430         Do not generate makefile rules for bounded-pointer thunks.
47431         * sysdeps/generic/bp-thunks.h: Remove file.
47432         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47433         * sysdeps/unix/s-proto-bp.S: Likewise.
47435         [BZ #15062]
47436         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47437         parts of result separately when argument is not close to line from
47438         -i to i and one part of argument is small.
47439         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47440         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47441         * math/libm-test.inc (cacos_test): Add more tests.
47442         (casin_test): Likewise.
47443         (casinh_test): Likewise.
47444         * sysdeps/i386/fpu/libm-test-ulps: Update.
47445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47447 2013-01-31  David S. Miller  <davem@davemloft.net>
47449         * po/de.po: Update from translation team.
47451 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47453         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47455 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47457         * configure.in (_AC_PROG_CC_C89): New definition.
47458         * configure: Regenerate.
47460         * configure.in (AC_PROG_CPP): New definition.
47461         * configure: Regenerate.
47463 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47465         * debug/tst-backtrace.h: New file.
47466         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47467         (ret): Remove variable.
47468         (x): Likewise.
47469         (FAIL): Remove macro.
47470         (NO_INLINE): Likewise.
47471         (fn1): Use match function instead of strstr.
47472         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47473         (ret): Remove variable.
47474         (x): Likewise.
47475         (FAIL): Remove macro.
47476         (NO_INLINE): Likewise.
47477         (fn): Use match function instead of strstr.
47478         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47479         (ret): Remove variable.
47480         (x): Likewise.
47481         (FAIL): Remove macro.
47482         (NO_INLINE): Likewise.
47483         (handle_signal): Use match function instead of strstr.
47484         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47485         (ret): Remove variable.
47486         (x): Likewise.
47487         (FAIL): Remove macro.
47488         (NO_INLINE): Likewise.
47489         (handle_signal): Use match function instead of strstr.
47491 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47493         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47495 2013-01-23  David S. Miller  <davem@davemloft.net>
47497         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47498         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47499         argument of CAS if possible.
47500         * sysdeps/sparc/sparc64/bits/atomic.h
47501         (__arch_compare_and_exchange_val_32_acq): Likewise.
47502         (__arch_compare_and_exchange_val_64_acq): Likewise.
47504 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47506         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47507         * sysdeps/posix/ulimit.c: ... this.
47508         Include <limits.h>.
47509         * sysdeps/unix/bsd/ulimit.c: Remove file.
47511 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47513         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47514         (LDFLAGS-tst-array5): Likewise.
47516 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47518         [BZ #15036]
47519         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47520         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47521         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47522         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47524 2013-01-21  David S. Miller  <davem@davemloft.net>
47526         * sysdeps/sparc/backtrace.c: New file.
47527         * sysdeps/sparc/sparc32/backtrace.h: New file.
47528         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47529         * sysdeps/sparc/sparc64/backtrace.h: New file.
47530         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47531         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47532         -funwind-tables.
47534 2013-01-21  Andreas Schwab  <schwab@suse.de>
47536         [BZ #15020]
47537         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47538         closed its stdout.
47540 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47543         "mpa2.h".
47544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47546 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47547             Mark Mitchell  <mark@codesourcery.com>
47548             Tom de Vries  <tom@codesourcery.com>
47549             Paul Pluzhnikov  <ppluzhnikov@google.com>
47551         * debug/tst-backtrace2.c: New file.
47552         * debug/tst-backtrace3.c: Likewise.
47553         * debug/tst-backtrace4.c: Likewise.
47554         * debug/tst-backtrace5.c: Likewise.
47555         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47556         (CFLAGS-tst-backtrace3.c): Likewise.
47557         (CFLAGS-tst-backtrace4.c): Likewise.
47558         (CFLAGS-tst-backtrace5.c): Likewise.
47559         (LDFLAGS-tst-backtrace2): Likewise.
47560         (LDFLAGS-tst-backtrace3): Likewise.
47561         (LDFLAGS-tst-backtrace4): Likewise.
47562         (LDFLAGS-tst-backtrace5): Likewise.
47563         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47564         tst-backtrace4 and tst-backtrace5.
47566 2013-01-18  Anton Blanchard  <anton@samba.org>
47567             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47569         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47570         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47571         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47572         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47574         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47575         "+r" and remove output regs list as redundant.  Add explicit inline
47576         asm to specify register of return val to work around compiler codegen
47577         bug.  Remove (int) cast on return value.  Add return type parameter to
47578         use in macro so that this macro does not truncate return value for
47579         64-bit values.
47580         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47581         pass to INTERNAL_VSYSCALL_NCS.
47582         (INLINE_VSYSCALL): Add 'long int' as return type to
47583         INTERNAL_VSYSCALL_NCS macro invocation.
47584         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47585         INTERNAL_VSYSCALL_NCS macro invocation.
47586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47588 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47590         [BZ #14496]
47591         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47592         Fix application of SIMD FP exception mask.
47594         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47595         mp_no from a power of two.
47596         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47597         __mpexp_twomm1.  Use __pow_mp.
47599         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47600         multiplication.
47602 2013-01-17  David S. Miller  <davem@davemloft.net>
47604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47606 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47608         [BZ #15023]
47609         * include/complex.h: Condition contents on [!_COMPLEX_H].
47610         (__kernel_casinhf): New prototype.
47611         (__kernel_casinh): Likewise.
47612         (__kernel_casinhl): Likewise.
47613         * math/Makefile (libm_calls): Add k_casinh.
47614         * math/k_casinh.c: New file.
47615         * math/k_casinhf.c: Likewise.
47616         * math/k_casinhl.c: Likewise.
47617         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47618         finite nonzero arguments.
47619         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47620         finite nonzero arguments.
47621         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47622         finite nonzero arguments.
47623         * math/s_casinh.c: Do not include <float.h>.
47624         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47625         * math/s_casinhf.c: Do not include <float.h>.
47626         (__casinhf): Move code for finite nonzero arguments to
47627         k_casinhf.c.
47628         * math/s_casinhl.c: Do not include <float.h>.
47629         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47630         redefine.
47631         (__casinhl): Move code for finite nonzero arguments to
47632         k_casinhl.c.
47633         * math/libm-test.inc (cacos_test): Add more tests.
47634         * sysdeps/i386/fpu/libm-test-ulps: Update.
47635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47637 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47639         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47640         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47641         [!HAVE_MREMAP]: Remove [defined linux] case.
47642         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47644 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47646         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47648 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47650         * elf/elf.h (R_386_SIZE32): New relocation.
47651         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47652         R_386_SIZE32.
47653         (elf_machine_rela): Likewise.
47654         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47655         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47657 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47659         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47660         (FP_FAST_FMA): Do not define.
47661         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47662         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47663         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47664         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47665         !_SOFT_FLOAT]: Likewise.
47666         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47667         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47668         value.
47669         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47670         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47671         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47672         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47673         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47674         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47675         file.
47677 2013-01-16  Andreas Schwab  <schwab@suse.de>
47679         [BZ #14327]
47680         * include/stdlib.h (__mktemp): Add declaration.
47681         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47682         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47684 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47686         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47687         definitions.
47688         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47689         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47690         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47691         definitions here.
47692         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47693         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47694         definitions.
47695         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47696         and ONE.
47697         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47698         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47699         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47700         definitions.
47701         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47702         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47703         definitions.
47704         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47706         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47708 2013-01-15  David S. Miller  <davem@davemloft.net>
47710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47711         trunc{,f} to libm-sysdep_routes.
47712         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47714         file.
47715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47717         file.
47718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47719         file.
47720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47722         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47723         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47724         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47725         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47726         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47727         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47730         nearbyint{,f} to libm-sysdep_routes.
47731         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47733         New file.
47734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47735         file.
47736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47737         New file.
47738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47739         file.
47740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47742         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47743         file.
47744         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47745         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47746         file.
47747         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47748         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47749         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47751         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47752         libc_feholdexcept and libc_fesetenv.
47754 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47756         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47758 2013-01-14  David S. Miller  <davem@davemloft.net>
47760         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47761         (SPARC_ASM_VIS2_IFUNC): Likewise.
47762         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47764         use of 'siam' instruction.
47765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47766         Likewise.
47767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47768         Likewise.
47769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47770         Likewise.
47771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47776         file.
47777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47778         file.
47779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47780         file.
47781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47782         file.
47783         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47785         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47788         new VIS2 routines.
47789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47792         Likewise.
47793         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47798         routines to libm-sysdep_routines.
47799         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47802         fdim/fdimf to libm-sysdep_routines.
47803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47804         file.
47805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47807         file.
47808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47811         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47812         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47813         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47814         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47816 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47818         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47819         to optimize copies.
47821         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47826         local variable MPTWO.
47827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47828         Likewise.
47830 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47832         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47833         GLOB_NOESCAPE.
47835 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47837         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47839 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47841         * manual/pattern.texi (glob_t): Document gl_flags.
47842         (glob64_t): Likewise.
47844 2013-01-11  David S. Miller  <davem@davemloft.net>
47846         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47847         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47848         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47849         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47850         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47851         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47852         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47853         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47854         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47855         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47856         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47857         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47858         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47860         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47861         sparc V9 rather than using V8 code.
47862         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47863         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47865         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47866         Move to...
47867         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47868         Here.
47870 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47872         [BZ #14941]
47873         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47874         not in the main loop.
47875         * configure: Regenerated.
47877 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47879         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47880         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47881         to just #else.
47882         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47883         [!__GLIBC_HAVE_LONG_LONG] case.
47884         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47885         condition to just #else.
47886         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47887         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47888         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47889         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47890         unconditional.
47891         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47892         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47893         #elif condition to just #else.
47894         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47895         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47896         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47897         #elif condition to just #else.
47899 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47901         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47902         (EF_MIPS_ARCH_64): Fix value.
47903         (EF_MIPS_ARCH_32R2): New.
47904         (EF_MIPS_ARCH_64R2): New.
47906 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47908         * Makeconfig (+link-pie-before-libc): New.
47909         (+link-pie-after-libc): Likewise.
47910         (+link-pie-tests): Likewise.
47911         (+link-pie): Rewritten.
47912         (link-before-libc): Remove $(config-LDFLAGS).
47913         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47914         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47915         (config-LDFLAGS): Renamed to ...
47916         (rtld-LDFLAGS): This.
47917         (rtld-tests-LDFLAGS): New macro.
47918         (link-libc-rpath-link): Likewise.
47919         (link-libc-tests-rpath-link): Likewise.
47920         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47921         (link-libc): Prepand $(link-libc-rpath-link).
47922         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47923         (test-program-prefix): New macro.
47924         (test-via-rtld-prefix): Likewise.
47925         (test-program-cmd): Likewise.
47926         (host-test-program-cmd): Likewise.
47927         * Makefile ($(common-objpfx)testrun.sh): Replace
47928         $(run-program-prefix) with $(test-program-prefix).
47929         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47930         $(rtld-LDFLAGS).
47931         ($(common-objpfx)shlib.lds): Likewise.
47932         (build-module-helper): Likewise.
47933         ($(common-objpfx)format.lds): Likewise.
47934         * Rules (binaries-pie-tests): New.
47935         (binaries-pie-notests): Likewise.
47936         (binaries-pie): Rewritten.
47937         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47938         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47939         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47940         (make-test-out): Replace $(host-built-program-cmd) with
47941         $(host-test-program-cmd).
47942         * config.make.in (build-hardcoded-path-in-tests): New variable.
47943         * configure.in (--enable-hardcoded-path-in-tests): New configure
47944         option.
47945         (hardcoded_path_in_tests): New AC_SUBST.
47946         * configure: Regenerated.
47947         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47948         $(built-program-cmd) with $(test-program-cmd).
47949         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47950         (test_program_cmd): This.
47951         * elf/Makefile ($(objpfx)order.out): Run test with
47952         $(test-program-prefix).
47953         ($(objpfx)order2.out): Likewise.
47954         ($(objpfx)tst-initorder.out): Likewise.
47955         ($(objpfx)tst-initorder2.out): Likewise.
47956         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47957         $(test-program-cmd).
47958         ($(objpfx)tst-array1-static.out): Likewise.
47959         ($(objpfx)tst-array2.out): Likewise.
47960         ($(objpfx)tst-array3.out): Likewise.
47961         ($(objpfx)tst-array4.out): Likewise.
47962         ($(objpfx)tst-array5.out): Likewise.
47963         ($(objpfx)tst-array5-static.out): Likewise.
47964         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47965         $(test-program-cmd).
47966         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47967         $(run-program-prefix) with $(test-program-prefix).
47968         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47969         (test_program_prefix): This.
47970         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47971         $(run-program-prefix) with $(test-program-prefix).
47972         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47973         (test_program_prefix): This.
47974         * iconvdata/tst-tables.sh: Likewise.
47975         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47976         $(run-program-prefix) with $(test-program-prefix).
47977         ($(objpfx)tst-translit.out): Likewise.
47978         ($(objpfx)tst-gettext2.out): Likewise.
47979         ($(objpfx)tst-gettext4.out): Likewise.
47980         ($(objpfx)tst-gettext6.out): Likewise.
47981         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47982         (test_program_prefix): This.
47983         * intl/tst-gettext2.sh: Likewise.
47984         * intl/tst-gettext4.sh  Likewise.
47985         * intl/tst-gettext6.sh: Likewise.
47986         * intl/tst-translit.sh: Likewise.
47987         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47988         with $(test-program-cmd).
47989         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47990         $(run-program-prefix) with $(test-program-prefix).
47991         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47992         (test_program_prefix): This.
47993         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47994         $(run-program-prefix) with $(test-program-prefix).
47995         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47996         (test_program_prefix): This.
47997         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47998         * posix/Makefile ($(objpfx)globtest.out): Replace
47999         $(run-via-rtld-prefix) and $(test-wrapper) with
48000         $(test-program-prefix) and $(test-via-rtld-prefix).
48001         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48002         $(test-program-prefix).
48003         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48004         $(host-test-program-cmd).
48005         (tst-spawn-ARGS): Likewise.
48006         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48007         $(test-program-prefix).
48008         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48009         (test_via_rtld_prefix): This.
48010         (test_wrapper): Renamed to ...
48011         (test_program_prefix): This.
48012         (run_program_prefix): Replaced by test_program_prefix.
48013         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48014         (test_program_prefix): This.
48015         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48016         with $(host-test-program-cmd).
48017         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48018         $(run-program-prefix) with $(test-program-prefix).
48019         ($(objpfx)tst-printf.out): Likewise.
48020         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48021         $(test-program-cmd).
48022         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48023         (test_program_prefix): This.
48024         * stdio-common/tst-unbputc.sh: Likewise.
48025         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48026         $(run-program-prefix) with $(test-program-prefix).
48027         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48028         (test_program_prefix): This.
48029         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48030         $(built-program-cmd) with $(test-program-cmd).
48032 2013-01-11  Andreas Jaeger  <aj@suse.de>
48034         [BZ #15003]
48035         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48036         value. Sync with Linux 3.7.
48038 2013-01-10  David S. Miller  <davem@davemloft.net>
48040         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48041         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48042         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48044 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48046         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48047         never set.
48048         * configure: Regenerated.
48050 2013-01-10  David S. Miller  <davem@davemloft.net>
48052         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48053         sparc V9 rather than using V8 code.
48054         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48055         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48057 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48059         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48060         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48061         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48062         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48063         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48064         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48065         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48066         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48067         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48068         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48069         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48070         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48071         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48072         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48073         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48074         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48075         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48076         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48077         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48078         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48079         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48080         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48081         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48082         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48083         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48084         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48085         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48087 2013-01-10  David S. Miller  <davem@davemloft.net>
48089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48091 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48093         * posix/Makefile (tests-static): New variable.
48094         (tests): Add $(tests-static).
48095         (tst-exec-static-ARGS): New variable.
48096         (tst-spawn-static-ARGS): Likewise.
48097         * posix/tst-exec-static.c: New file.
48098         * posix/tst-spawn-static.c: Likewise.
48099         * posix/tst-exec.c: Support run directly.
48100         * posix/tst-spawn.c: Likewise.
48102 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48104         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48105         long.
48106         * math/bits/mathcalls.h (llrint): Likewise.
48107         (llround): Likewise.
48108         * stdlib/stdlib.h (struct drand48_data): Likewise.
48109         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48110         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48111         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48112         Likewise.
48113         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48114         Likewise.
48115         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48116         (elf_greg_t): Likewise.
48117         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48118         (__jmp_buf): Likewise.
48119         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48120         definitions.
48121         (llrint): Likewise, for all definitions.
48122         (llrintl): Likewise.
48124         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48125         Remove [__GNUC__] condition.
48126         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48127         condition to just [__USE_ISOC99].
48128         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48130 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48132         [BZ #14200]
48133         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48134         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48135         defined.
48136         (_POSIX_V6_ILP32_OFF32): Likewise.
48137         (_XBS5_ILP32_OFF32): Likewise.
48138         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48139         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48141 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48143         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48146         doubles __mpexp_twomm1.  Adjust usage.
48147         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48148         Remove.
48150 2013-01-10  Andreas Schwab  <schwab@suse.de>
48152         [BZ #14964]
48153         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48154         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48156 2013-01-09  David S. Miller  <davem@davemloft.net>
48158         [BZ #15003]
48159         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48160         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48161         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48162         (TCP_FASTOPEN): Define.
48163         (tcp_repair_opt): New structure.
48164         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48165         enum values.
48166         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48167         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48168         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48169         (tcp_cookie_transactions): New structure.
48171 2013-01-09  Anton Blanchard  <anton@samba.org>
48173         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48174         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48175         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48176         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48178 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48180         * include/features.h (__USE_ANSI): Remove.
48182 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48184         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48186         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48188 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48190         * sysdeps/s390/fpu/libm-test-ulps: Update.
48192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48194         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48195         (__acr): Likewise.
48196         (__cpy): Likewise.
48197         (norm): Likewise.
48198         (denorm): Likewise.
48199         (__mp_dbl): Likewise.
48200         (__dbl_mp): Likewise.
48201         (add_magnitudes): Likewise.
48202         (sub_magnitudes): Likewise.
48203         (__add): Likewise.
48204         (__sub): Likewise.
48205         (__mul): Likewise.
48206         (__inv): Likewise.
48207         (__dvd): Likewise.
48208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48209         (__acr): Likewise.
48210         (__cpy): Likewise.
48211         (norm): Likewise.
48212         (denorm): Likewise.
48213         (__mp_dbl): Likewise.
48214         (__dbl_mp): Likewise.
48215         (add_magnitudes): Likewise.
48216         (sub_magnitudes): Likewise.
48217         (__add): Likewise.
48218         (__sub): Likewise.
48219         (__mul): Likewise.
48220         (__inv): Likewise.
48221         (__dvd): Likewise.
48222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48223         (__acr): Likewise.
48224         (__cpy): Likewise.
48225         (norm): Likewise.
48226         (denorm): Likewise.
48227         (__mp_dbl): Likewise.
48228         (__dbl_mp): Likewise.
48229         (add_magnitudes): Likewise.
48230         (sub_magnitudes): Likewise.
48231         (__add): Likewise.
48232         (__sub): Likewise.
48233         (__mul): Likewise.
48234         (__inv): Likewise.
48235         (__dvd): Likewise.
48237 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48239         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48240         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48241         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48242         2 && __USE_EXTERN_INLINES]: Likewise.
48244 2013-01-08  Andreas Jaeger  <aj@suse.de>
48246         [BZ# 14985]
48247         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48248         Remove.
48249         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48250         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48252 2013-01-07  Anton Blanchard  <anton@samba.org>
48254         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48255         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48256         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48257         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48258         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48259         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48260         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48261         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48263         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48264         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48265         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48266         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48267         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48268         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48269         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48270         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48271         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48272         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48273         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48274         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48275         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48276         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48277         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48278         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48279         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48280         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48281         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48282         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48283         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48284         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48286         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48287         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48288         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48289         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48290         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48291         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48292         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48293         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48294         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48295         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48296         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48298 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48300         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48301         (__MALLOC_PMT): Likewise.
48302         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48303         [__GNUC__], only on [_LIBC].
48304         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48305         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48306         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48307         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48308         forward declaration.
48309         (realloc_hook_ini): Likewise.
48310         (memalign_hook_ini): Likewise.
48311         (__libc_memalign): Do not use __MALLOC_PMT in variable
48312         declaration.
48313         (__libc_valloc): Likewise.
48314         (__libc_pvalloc): Likewise.
48315         (__libc_calloc): Likewise.
48316         (__posix_memalign): Likewise.
48318         [BZ #14996]
48319         * math/s_casinh.c: Include <float.h>.
48320         (__casinh): Do not do computation with squaring and square root
48321         for large arguments.
48322         * math/s_casinhf.c: Include <float.h>.
48323         (__casinhf): Do not do computation with squaring and square root
48324         for large arguments.
48325         * math/s_casinhl.c: Include <float.h>.
48326         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48327         (__casinhl): Do not do computation with squaring and square root
48328         for large arguments.
48329         * math/libm-test.inc (casin_test): Add more tests.
48330         (casinh_test): Likewise.
48331         * sysdeps/i386/fpu/libm-test-ulps: Update.
48332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48334 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48336         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48337         (__x86_64_raw_data_cache_size): Likewise.
48338         (__x86_64_data_cache_size_half): Likewise.
48339         (__x86_64_raw_data_cache_size_half): Likewise.
48340         (__x86_64_shared_cache_size): Likewise.
48341         (__x86_64_raw_shared_cache_size): Likewise.
48342         (__x86_64_shared_cache_size_half): Likewise.
48343         (__x86_64_raw_shared_cache_size_half): Likewise.
48344         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48345         to ...
48346         (__x86_data_cache_size): This.
48347         (__x86_64_raw_data_cache_size): Renamed to ...
48348         (__x86_raw_data_cache_size): This.
48349         (__x86_64_data_cache_size_half): Renamed to ...
48350         (__x86_data_cache_size_half): This.
48351         (__x86_64_raw_data_cache_size_half): Renamed to ...
48352         (__x86_raw_data_cache_size_half): This.
48353         (__x86_64_shared_cache_size): Renamed to ...
48354         (__x86_shared_cache_size): This.
48355         (__x86_64_raw_shared_cache_size): Renamed to ...
48356         (__x86_raw_shared_cache_size): This.
48357         (__x86_64_shared_cache_size_half): Renamed to ...
48358         (__x86_shared_cache_size_half): This.
48359         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48360         (__x86_raw_shared_cache_size_half): This.
48361         * sysdeps/x86_64/memcpy.S: Updated.
48362         * sysdeps/x86_64/memset.S: Likewise.
48363         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48364         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48365         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48367 2013-01-04  David S. Miller  <davem@davemloft.net>
48369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48371 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48373         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48374         1 to avoid redefinition warning.
48375         (__USE_GNU): Don't define.
48376         (init_signaling_nan): Protoize.
48378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48380 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48382         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48384         (__cpymn): Likewise.
48385         (norm): Remove commented code.
48386         (denorm): Likewise.
48387         (__mp_dbl): Likewise.
48388         (__inv): Likewise.
48389         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48390         (__cpymn): Likewise.
48391         (norm): Remove commented code.
48392         (denorm): Likewise.
48393         (__mp_dbl): Likewise.
48394         (__inv): Likewise.
48396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48397         mp_no value for 1.0 and 2.0.
48398         (norm): Use RADIXI instead of radixi.d.
48399         (denorm): Likewise.
48400         (__mul): Use 0.0 instead of zero.d.
48401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48402         mp_no value for 1.0 and 2.0.
48403         (norm): Use RADIXI instead of radixi.d.
48404         (denorm): Likewise.
48405         (__mul): Use 0.0 instead of zero.d.
48407 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48409         [BZ #14994]
48410         * math/s_casinh.c (__casinh): Reduce finite argument to first
48411         quadrant then set signs of results at the end.
48412         * math/s_casinhf.c (__casinhf): Likewise.
48413         * math/s_casinhl.c (__casinhl): Likewise.
48414         * math/libm-test.inc (casin_test): Add more tests.
48415         (casinh_test): Likewise.
48416         * sysdeps/i386/fpu/libm-test-ulps: Update.
48417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48419 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48421         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48423         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48425         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48426         declarations.
48427         (denorm): Likewise.
48428         (__mp_dbl): Likewise.
48429         (__inv): Likewise.
48431         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48432         and adjust the header comment.
48434         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48435         variable name from declaration.
48437 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48440         Initialize COMMON_CPUID_INDEX_7 element.
48441         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48442         (CPUID_RTM): Likewise.
48443         (HAS_RTM): Likewise.
48444         (COMMON_CPUID_INDEX_7): New enum.
48446 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48448         [BZ #14981]
48449         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48450         size is zero, record memory as freed.
48452 2013-01-03  Andreas Jaeger  <aj@suse.de>
48454         * po/ia.po: Add new Interlingua translation.
48456 2012-01-03  Allan McRae  <allan@archlinux.org>
48458         * locale/programs/localedef.c: Fix description of '--posix' flag.
48460 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48462         * NEWS: Update dates in second copyright notice.
48463         * README: Update copyright dates in example.
48464         * manual/libc.texinfo: Update copyright dates.
48465         * scripts/test-installation.pl: Update copyright date in --version
48466         output.
48468         * hurd/ctty-input.c: Fix copyright notice formatting.
48469         * hurd/ctty-output.c: Likewise.
48470         * hurd/dtable.c: Likewise.
48471         * hurd/hurd-raise.c: Likewise.
48472         * hurd/hurdprio.c: Likewise.
48473         * hurd/msgportdemux.c: Likewise.
48474         * misc/sys/file.h: Likewise.
48475         * misc/sys/ioctl.h: Likewise.
48476         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48477         * sysdeps/mach/hurd/chdir.c: Likewise.
48478         * sysdeps/mach/hurd/fchdir.c: Likewise.
48479         * sysdeps/mach/hurd/rename.c: Likewise.
48480         * sysdeps/mach/hurd/rmdir.c: Likewise.
48481         * sysdeps/mach/hurd/seekdir.c: Likewise.
48482         * sysdeps/mach/hurd/setsid.c: Likewise.
48483         * sysdeps/posix/wait3.c: Likewise.
48485         * All files with FSF copyright notices: Update copyright dates
48486         using scripts/update-copyrights.
48487         * intl/plural.c: Regenerated.
48488         * locale/programs/charmap-kw.h: Likewise.
48489         * locale/programs/locfile-kw.h: Likewise.
48491 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48493         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48494         four values.
48496         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48497         calculation loop and add branch prediction.
48499         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48500         check access beyond bounds of m1np.
48502         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48503         MPTWO.
48504         (__inv): Remove local variable MPTWO to use the global
48505         constant.
48506         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48507         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48508         variable MPTWO.
48509         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48510         MP3HALFS static const.
48512 2013-01-01  David S. Miller  <davem@davemloft.net>
48514         * po/ca.po: Update from translation team.
48516 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48518         * scripts/update-copyrights: New file.
48519         * Makeconfig: Reformat copyright notice.
48520         * ctype/ctype.h: Likewise.
48521         * debug/swprintf_chk.c: Likewise.
48522         * elf/dl-cache.c: Likewise.
48523         * elf/dl-debug.c: Likewise.
48524         * elf/dl-object.c: Likewise.
48525         * grp/initgroups.c: Likewise.
48526         * hurd/Makefile: Likewise.
48527         * hurd/hurd/signal.h: Likewise.
48528         * hurd/hurdfault.c: Likewise.
48529         * hurd/hurdioctl.c: Likewise.
48530         * hurd/hurdlookup.c: Likewise.
48531         * hurd/intr-msg.c: Likewise.
48532         * iconv/gconv_open.c: Likewise.
48533         * libio/swprintf.c: Likewise.
48534         * locale/lc-ctype.c: Likewise.
48535         * locale/nl_langinfo.c: Likewise.
48536         * mach/Machrules: Likewise.
48537         * mach/Makefile: Likewise.
48538         * malloc/obstack.h: Likewise.
48539         * manual/Makefile: Likewise.
48540         * manual/tsort.awk: Likewise.
48541         * misc/bits/stab.def: Likewise.
48542         * nis/nis_print_group_entry.c: Likewise.
48543         * nis/nis_table.c: Likewise.
48544         * nis/nss_compat/compat-pwd.c: Likewise.
48545         * nis/nss_compat/compat-spwd.c: Likewise.
48546         * po/Makefile: Likewise.
48547         * posix/fnmatch.c: Likewise.
48548         * posix/regex.h: Likewise.
48549         * resolv/Makefile: Likewise.
48550         * resolv/nss_dns/dns-network.c: Likewise.
48551         * resolv/res_hconf.c: Likewise.
48552         * scripts/gen-sorted.awk: Likewise.
48553         * soft-fp/soft-fp.h: Likewise.
48554         * stdio-common/printf.h: Likewise.
48555         * stdlib/monetary.h: Likewise.
48556         * stdlib/random.c: Likewise.
48557         * stdlib/random_r.c: Likewise.
48558         * sysdeps/generic/Makefile: Likewise.
48559         * sysdeps/gnu/Makefile: Likewise.
48560         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48561         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48562         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48563         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48564         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48565         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48566         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48567         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48568         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48569         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48570         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48571         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48572         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48573         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48574         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48575         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48576         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48577         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48578         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48579         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48580         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48581         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48582         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48583         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48584         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48585         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48586         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48587         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48588         * sysdeps/mach/hurd/errnos.awk: Likewise.
48589         * sysdeps/mach/hurd/fork.c: Likewise.
48590         * sysdeps/mach/hurd/getcwd.c: Likewise.
48591         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48592         * sysdeps/mach/hurd/mmap.c: Likewise.
48593         * sysdeps/mach/hurd/utimes.c: Likewise.
48594         * sysdeps/mach/hurd/xmknod.c: Likewise.
48595         * sysdeps/posix/profil.c: Likewise.
48596         * sysdeps/posix/readdir_r.c: Likewise.
48597         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48598         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48599         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48600         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48602         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48603         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48604         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48606         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48607         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48608         * sysdeps/pthread/lio_listio.c: Likewise.
48609         * sysdeps/sparc/dl-procinfo.h: Likewise.
48610         * sysdeps/unix/i386/sysdep.S: Likewise.
48611         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48612         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48613         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48614         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48616         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48617         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48618         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48619         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48620         * sysdeps/wordsize-32/divdi3.c: Likewise.
48621         * time/sys/time.h: Likewise.
48622         * wcsmbs/Makefile: Likewise.
48624 2013-01-01  David S. Miller  <davem@davemloft.net>
48626         * po/fr.po: Update from translation team.
48628         * catgets/gencat.c: Update copyright year.
48629         * csu/version.c: Likewise.
48630         * debug/catchsegv.sh: Likewise.
48631         * debug/pcprofiledump.c: Likewise.
48632         * debug/xtrace.sh: Likewise.
48633         * elf/ldconfig.c: Likewise.
48634         * elf/ldd.bash.in: Likewise.
48635         * elf/pldd.c: Likewise.
48636         * elf/sotruss.ksh: Likewise.
48637         * elf/sprof.c: Likewise.
48638         * iconv/iconv_prog.c: Likewise.
48639         * iconv/iconvconfig.c: Likewise.
48640         * locale/programs/locale.c: Likewise.
48641         * locale/programs/localedef.c: Likewise.
48642         * login/programs/pt_chown.c: Likewise.
48643         * malloc/memusage.sh: Likewise.
48644         * malloc/memusagestat.c: Likewise.
48645         * malloc/mtrace.pl: Likewise.
48646         * nscd/nscd.c: Likewise.
48647         * nss/getent.c: Likewise.
48648         * nss/makedb.c: Likewise.
48649         * posix/getconf.c: Likewise.
48651 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48653         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48654         numbers.
48656 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48658         * math/bits/mathcalls.h (modf): Use __nonnull.
48660 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48662         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48663         (split): Use macro CN instead of the bare value.
48664         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48665         could be used.
48666         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48667         instead of the bare value.
48668         (power1): Likewise.
48670 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48672         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48673         __ATAN_TWOM.
48674         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48676         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48677         their values.
48678         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48679         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48680         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48681         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48683 2012-12-28  Andreas Jaeger  <aj@suse.de>
48685         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48686         values are from Linux 3.7.
48688         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48689         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48691 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48693         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48694         TRUE case.
48696         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48697         (norm): Likewise.
48698         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48699         variables with preprocessor constants.
48700         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48701         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48702         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48704 2012-12-27  Bruno Haible  <bruno@clisp.org>
48706         [BZ #14317]
48707         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48708         only if needed.
48710 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48712         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48713         and use variable directly.
48714         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48716         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48717         MPONE.
48718         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48719         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48720         variable MPONE.
48721         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48723         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48724         include directive.  Remove local variable MPONE.
48725         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48726         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48727         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48729 2012-12-25  David S. Miller  <davem@davemloft.net>
48731         * version.h (RELEASE): Set to "development".
48732         (VERSION): Set to "2.17.90".
48733         * NEWS: Add 2.18 section.
48735 2012-12-21  David S. Miller  <davem@davemloft.net>
48737         * po/hr.po: Update from translation team.
48739 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48741         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48743 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48745         * NEWS:  Mention new memcpy for MIPS.
48747 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48749         * manual/contrib.texi (Contributors): Spelling correction.
48751 2012-12-15  David S. Miller  <davem@davemloft.net>
48753         * po/ru.po: Update from translation team.
48755 2012-12-13  David S. Miller  <davem@davemloft.net>
48757         * NEWS: Mention IFUNC testsuite enhancements.
48759         * po/pl.po: Update from translation team.
48760         * po/bg.po: Likewise.
48762         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48763         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48765 2012-12-11  David S. Miller  <davem@davemloft.net>
48767         * po/sv.po: Update from translation team.
48769         * po/vi.po: Update from translation team.
48771         * po/cs.po: Update from translation team.
48773         * po/de.po: Update from translation team.
48774         * po/eo.po: Likewise.
48775         * po/nl.po: Likewise.
48777 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48779         [BZ #14246]
48780         * manual/argp.texi (Argp Helper Functions): Move node to follow
48781         Argp Parsing State.
48783         [BZ #14872]
48784         * manual/conf.texi (Limits on File System Capacity): Mention if
48785         terminating null is included in the max size.
48787 2012-12-10  Andreas Jaeger  <aj@suse.de>
48789         * po/cs.po: Update from translation team.
48791 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48793         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48794         void pointer and cast to uintptr_t.
48795         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48796         path.
48797         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48798         * sysdeps/s390/s390-64/memset.S: Likewise.
48800 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48802         [BZ #14833]
48803         * menual/message.texi (Message Translation): Fix typos.
48804         (Helper programs for gettext): Likewise.
48806 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48808         [BZ #14898]
48809         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48810         Change to -1.
48812 2012-12-07  David S. Miller  <davem@davemloft.net>
48814         * po/libc.pot: Update.
48816 2012-12-07  Richard Henderson  <rth@redhat.com>
48818         [BZ #10114]
48819         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48820         normal/normal case to before the switch.
48821         (_FP_DIV): Likewise.
48823 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48824             Mike Frysinger  <vapier@gentoo.org>
48826         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48827         check for __NR_fadvise64_64.
48829 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48831         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48832         0, not just to plain "0" as a statement.
48833         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48834         with cw.
48836 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48838         * NEWS: Use sourceware.org in Bugzilla URL.
48840 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48843         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48845         * stdio-common/tst-put-error.c (do_test): Add newline to the
48846         padded test to ensure flush.
48848 2012-12-05  Jeff Law  <law@redhat.com>
48850         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48852 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48854         * README: Don't refer to ports add-on as distributed separately.
48855         Mention AArch64 in list of systems supported in the ports add-on.
48857         * LICENSES: Add more non-FSF copyright and license notices.
48859         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48860         ((unused)).
48862         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48864         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48865         10000 as width of padded output.
48867 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48869         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48871         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48872         variable LX with __attribute__ ((unused)).
48873         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48874         Likewise.
48875         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48877         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48878         with __attribute__ ((unused)).
48880 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48882         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48884 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48886         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48887         (CFLAGS-nldbl-acos.c): New variable.
48888         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48889         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48890         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48891         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48892         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48893         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48894         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48895         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48896         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48897         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48898         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48899         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48900         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48901         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48902         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48903         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48904         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48905         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48906         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48907         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48908         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48909         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48910         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48911         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48912         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48913         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48914         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48915         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48916         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48917         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48918         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48919         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48920         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48921         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48922         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48923         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48924         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48925         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48926         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48927         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48928         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48929         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48930         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48931         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48932         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48933         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48934         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48935         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48936         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48937         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48938         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48939         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48940         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48941         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48942         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48943         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48944         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48945         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48946         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48947         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48948         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48949         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48950         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48951         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48952         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48953         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48954         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48955         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48956         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48957         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48958         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48959         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48960         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48961         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48962         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48963         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48964         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48965         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48966         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48967         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48968         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48969         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48970         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48971         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48972         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48973         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48974         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48975         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48976         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48977         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48978         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48979         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48980         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48981         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48982         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48983         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48984         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48987         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48989         [BZ #14914]
48990         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48991         whole low double instead of just low 47 bits when splitting values
48992         into two parts.
48994 2012-12-03  Allan McRae  <allan@archlinux.org>
48996         * manual/stdio.texi (Predefined Printf Handlers): Remove
48997         @hsep and @vsep usage.
48999 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49001         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49002         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49004 2012-12-03  Jeff Law  <law@redhat.com>
49006         * time/sys/time.h (settimeofday): Do not mark TV argument
49007         as __nonnull.
49009 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49011         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49012         when currently writing and seek to current position when not.
49013         * libio/Makefile (tests): Remove bug-fclose1.
49014         * libio/bug-fclose1.c: Delete.
49016 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49018         * manual/arith.texi (feenableexcept): Fix typo.
49019         (fedisableexcept): Likewise.
49021 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49023         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49024         second, differently-typed declaration, rather than a cast.
49026 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49028         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49029         * include/rpc/svc.h: ... here.
49031 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49033         [BZ #13013]
49034         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49035         depending n and resplen2 to catch cases where answer
49036         equals answerp2.
49038 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49040         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49041         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49043 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49045         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49047 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49049         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49051 2012-11-28  Jeff Law  <law@redhat.com>
49053         [BZ #13761]
49054         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49055         dataset_temporary.  Track alloca usage into alloca_used.
49056         If dataset is large allocate and release it via malloc/free.
49058 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49060         [BZ #14197]
49061         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49063 2012-11-28  David S. Miller  <davem@davemloft.net>
49065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49067 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49069         [BZ #14803]
49070         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49071         of pi/2 rounded to nearest to 64 bits.
49072         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49073         nearest to 64 bits.
49074         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49075         bits.
49077 2012-11-28  Jeff Law <law@redhat.com>
49078             Martin Osvald <mosvald@redhat.com>
49080         [BZ #14889]
49081         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49082         * sunrpc/svc.c: Include time.h.
49083         (__svc_accept_failed): New function.
49084         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49085         any reason other than EINTR, call __svc_accept_failed.
49086         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49087         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49089 2012-11-28  Andreas Schwab  <schwab@suse.de>
49091         * scripts/abilist.awk: Also handle indirect functions in .opd
49092         section.
49094 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49096         [BZ #13881]
49097         * sysdeps/x86/fpu/powl_helper.c: New file.
49098         * sysdeps/x86/fpu/Makefile: Likewise.
49099         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49100         (p3): New object.
49101         (__ieee754_powl): Use __powl_helper for finite arguments except
49102         integer exponents below 8.
49103         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49104         (p3): New object.
49105         (__ieee754_powl): Use __powl_helper for finite arguments except
49106         integer exponents below 8.
49107         * math/libm-test.inc (pow_test): Add more tests and enable some
49108         previously disabled tests.
49109         * sysdeps/i386/fpu/libm-test-ulps: Update.
49110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49112 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49113             Carlos O'Donell  <carlos_odonell@mentor.com>
49115         * nss/makedb.c (is_prime): Assert that input is odd and greater
49116         than 4.  Note that fact in a comment too.
49117         (next_prime): Add 4 to input.
49119 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49121         [BZ #11741]
49122         * libio/Makefile (tests): Add test case tst-fwrite-error.
49123         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49124         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49125         * libio/tst-fwrite-error.c: New test case.
49127 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49129         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49130         before casting to void *.
49131         * include/libc-internal.h (__pointer_type): New macro.
49132         (__integer_if_pointer_type_sub): Likewise.
49133         (__integer_if_pointer_type): Likewise.
49134         (cast_to_integer): Likewise.
49135         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49136         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49137         before casting to atomic64_t.
49138         (atomic_exchange_acq): Likewise.
49139         (__arch_exchange_and_add_body): Likewise.
49140         (__arch_add_body): Likewise.
49141         (atomic_add_negative): Likewise.
49142         (atomic_add_zero): Likewise.
49144 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49146         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49147         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49148         (add_fdes): Likewise.
49149         (linear_search_fdes): Likewise.
49150         (binary_search_unencoded_fdes): Likewise.
49152 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49154         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49156 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49158         * configure.in: Autodetect C++ header directories.
49159         * configure: Regenerated.
49161 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49163         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49165 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49169 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49171         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49172         LDBL_MANT_DIG == 106]: Disable some tests.
49173         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49174         Likewise.
49175         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49176         Likewise.
49178         [BZ #14871]
49179         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49180         input for small inputs.  Return +/- pi/2 for large inputs.
49181         * math/libm-test.inc (atan_test): Add more tests.
49183         * sysdeps/generic/unwind-dw2-fde-glibc.c
49184         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49185         __attribute__ ((unused)).
49187         [BZ #14645]
49188         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49189         x * y if x and y are nonzero and z is zero.
49191         [BZ #14811]
49192         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49193         nonzero exponents with absolute value below 0x1p-117 to +/-
49194         0x1p-117.
49196         [BZ #14869]
49197         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49198         up arguments below 2**-450, not just those below 2**-500.
49199         * math/libm-test.inc (hypot_test): Add another test.
49201         [BZ #14868]
49202         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49203         Return a+b for ratio over 2**120, not 2**60.
49204         * math/libm-test.inc (hypot_test): Add another test.
49206         * math/libm-test.inc (clog_test): Use
49207         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49208         (clog10_test): Likewise.
49210         [BZ #6778]
49211         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49213 2012-11-22  Andreas Schwab  <schwab@suse.de>
49215         * sysdeps/i386/fpu/libm-test-ulps: Update.
49217 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49219         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49220         printf output with newline.
49222 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49224         [BZ #14865]
49225         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49226         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49227         -z nodlopen, -z initfirst and -z execstack support.
49228         * configure: Regenerated.
49230         * elf/elf.h (DF_1_NODIRECT): New macro.
49231         (DF_1_IGNMULDEF): Likewise.
49232         (DF_1_NOKSYMS): Likewise.
49233         (DF_1_NOHDR): Likewise.
49234         (DF_1_EDITED): Likewise.
49235         (DF_1_NORELOC): Likewise.
49236         (DF_1_SYMINTPOSE): Likewise.
49237         (DF_1_GLOBAUDIT): Likewise.
49238         (DF_1_SINGLETON): Likewise.
49239         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49240         DT_1_SUPPORTED_MASK bits.
49241         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49243 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49245         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49247 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49249         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49250         macro.
49252         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49253         (sendmmsg): Move declarations...
49254         * socket/sys/socket.h: ... here.
49255         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49256         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49257         include it from...
49258         * socket/recvmmsg.c: ... this new file.
49259         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49260         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49261         definition of __sendmmsg hidden.
49262         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49263         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49264         Move ENOSYS stub into and include it from...
49265         * socket/sendmmsg.c: ... this new file.
49266         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49267         (sysdep_routines): Move recvmmsg and sendmmsg...
49268         * socket/Makefile (routines): ... here.
49269         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49270         (GLIBC_PRIVATE): Add __sendmmsg.
49271         * include/sys/socket.h (__sendmmsg): Add declarations.
49272         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49273         sendmmsg.
49275 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49277         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49278         variable I1 with __attribute__ ((unused)).
49279         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49281 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49283         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49284         DUMMY variables with __attribute__ ((unused)).
49286         * bits/byteswap.h: Include <bits/types.h>.
49287         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49289 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49291         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49292         string_t.  Do not manually set errno.
49293         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49294         length with __strnlen.  Make sure to both set errno and return it on
49295         failure.
49297 2012-11-19  David S. Miller  <davem@davemloft.net>
49299         With help from Joseph Myers.
49300         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49301         very large arguments properly.
49302         * math/libm-test.inc (atan_test): New tests.
49303         (atan2_test): New tests.
49304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49307 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49309         [BZ #14856]
49310         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49311         Define to 3.
49313         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49314         [POSIX] (EADDRNOTAVAIL): Likewise.
49315         [POSIX] (EAFNOSUPPORT): Likewise.
49316         [POSIX] (EALREADY): Likewise.
49317         [POSIX] (ECONNABORTED): Likewise.
49318         [POSIX] (ECONNREFUSED): Likewise.
49319         [POSIX] (ECONNRESET): Likewise.
49320         [POSIX] (EDESTADDRREQ): Likewise.
49321         [POSIX] (EDQUOT): Likewise.
49322         [POSIX] (EHOSTUNREACH): Likewise.
49323         [POSIX] (EIDRM): Likewise.
49324         [POSIX] (EISCONN): Likewise.
49325         [POSIX] (ELOOP): Likewise.
49326         [POSIX] (EMULTIHOP): Likewise.
49327         [POSIX] (ENETDOWN): Likewise.
49328         [POSIX] (ENETUNREACH): Likewise.
49329         [POSIX] (ENOBUFS): Likewise.
49330         [POSIX] (ENODATA): Likewise.
49331         [POSIX] (ENOLINK): Likewise.
49332         [POSIX] (ENOMSG): Likewise.
49333         [POSIX] (ENOPROTOOPT): Likewise.
49334         [POSIX] (ENOSR): Likewise.
49335         [POSIX] (ENOSTR): Likewise.
49336         [POSIX] (ENOTCONN): Likewise.
49337         [POSIX] (ENOTSOCK): Likewise.
49338         [POSIX] (EOPNOTSUPP): Likewise.
49339         [POSIX] (EOVERFLOW): Likewise.
49340         [POSIX] (EPROTO): Likewise.
49341         [POSIX] (EPROTONOSUPPORT): Likewise.
49342         [POSIX] (EPROTOTYPE): Likewise.
49343         [POSIX] (ESTALE): Likewise.
49344         [POSIX] (ETIME): Likewise.
49345         [POSIX] (ETXTBSY): Likewise.
49346         [POSIX] (EWOULDBLOCK): Likewise.
49347         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49348         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49349         [POSIX] (SEEK_CUR): Likewise.
49350         [POSIX] (SEEK_END): Likewise.
49351         [POSIX || UNIX98] (mode_t): Do not require.
49352         [POSIX] (off_t): Likewise.
49353         [POSIX] (pid_t): Likewise.
49354         [POSIX] (sys/stat.h): Do not allow header.
49355         [POSIX] (unistd.h): Likewise.
49356         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49357         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49358         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49359         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49360         require.
49361         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49362         sigevent): Specify elements.
49363         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49364         entry.
49365         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49366         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49368         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49369         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49370         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49371         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49372         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49373         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49374         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49375         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49376         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49377         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49378         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49379         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49380         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49381         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49382         Likewise.
49383         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49384         Likewise.
49385         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49386         Likewise.
49387         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49388         Likewise.
49389         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49390         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49391         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49392         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49393         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49394         Specify lower bound on value.
49395         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49396         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49397         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49398         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49399         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49400         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
49401         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49402         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49403         value.
49404         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49405         as optional.
49406         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49407         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49408         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49409         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49410         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49411         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49412         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49413         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49414         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49415         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49416         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49417         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49418         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49419         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49420         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49421         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49422         entry.
49423         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49424         optional.
49425         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49426         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49427         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49428         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49429         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49430         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49431         Likewise.
49432         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49433         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49434         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49435         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49436         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49437         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49438         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49439         as optional.
49440         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49441         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49442         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49443         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49444         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49445         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49446         specify as optional.
49447         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49448         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49449         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49450         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49451         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49452         [XPG3] (NL_LANGMAX): Likewise.
49453         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49454         [POSIX || XPG3] (NL_NMAX): Likewise.
49455         [POSIX || XPG3] (NL_SETMAX): Likewise.
49456         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49457         [XPG3] (NZERO): Likewise.
49458         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49459         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49460         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49461         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49462         (REG_ERANGE): Expect.
49463         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49464         optional-constant.
49465         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49466         Use (void) in prototype.
49467         [POSIX] (*_t): Allow.
49468         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49469         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49470         (WRDE_BADVAL): Expect.
49472         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49473         expect.
49474         [XPG3 || XPG4] (O_RSYNC): Likewise.
49475         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49476         Likewise.
49477         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49478         [XPG3 || XPG4] (sigqueue): Likewise.
49479         [XPG3 || XPG4] (sigtimedwait): Likewise.
49480         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49481         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49482         [XPG3 || XPG4] (vsnprintf): Likewise.
49483         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49484         Likewise.
49485         [XPG3 || XPG4] (blksize_t): Likewise.
49486         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49487         Likewise.
49488         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49489         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49490         [XPG3 || XPG4] (struct itimerspec): Likewise.
49491         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49492         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49493         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49494         [XPG3 || XPG4] (clockid_t): Likewise.
49495         [XPG3 || XPG4] (timer_t): Likewise.
49496         [XPG3 || XPG4] (clock_getres): Likewise.
49497         [XPG3 || XPG4] (clock_gettime): Likewise.
49498         [XPG3 || XPG4] (clock_settime): Likewise.
49499         [XPG3 || XPG4] (nanosleep): Likewise.
49500         [XPG3 || XPG4] (timer_create): Likewise.
49501         [XPG3 || XPG4] (timer_delete): Likewise.
49502         [XPG3 || XPG4] (timer_gettime): Likewise.
49503         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49504         [XPG3 || XPG4] (timer_settime): Likewise.
49505         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49506         [XPG3 || XPG4] (getlogin_r): Likewise.
49507         [XPG3 || XPG4] (pread): Likewise.
49508         [XPG3 || XPG4] (pthread_atfork): Likewise.
49509         [XPG3 || XPG4] (pwrite): Likewise.
49511         [BZ #14835]
49512         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49513         <bits/siginfo.h>.
49515 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49517         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49518         finalizing MALLSTREAM.
49520         * sysdeps/mach/hurd/syncfs.c: New file.
49522 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49524         [BZ #14719]
49525         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49526         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49527         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49528         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49529         (_nss_dns_gethostbyname4_r): Likewise.
49530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49531         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49533 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49535         [BZ #13763]
49536         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49538 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49540         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49541         * elf/cache.c (print_entry): Print ",AArch64" for
49542         FLAG_AARCH64_LIB64
49544         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49545         * elf/cache.c (print_entry): Print ",hard-float" for
49546         FLAG_ARM_LIBHF.
49548 2012-11-18  David S. Miller  <davem@davemloft.net>
49550         With help from Joseph Myers.
49551         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49552         cutoff to 2**-13.
49553         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49554         cutoff to 2**-25.
49555         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49556         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49557         small.
49558         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49559         * math/libm-test.inc (y0_test): New tests.
49560         (y1_test): New tests.
49561         * sysdeps/i386/fpu/libm-test-ulps: Update.
49562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49565 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49567         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49568         64-bit targets.
49569         * configure: Regenerated.
49571 2012-11-17  David S. Miller  <davem@davemloft.net>
49573         [BZ #14811]
49574         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49575         nonzero exponents with absolute value below 0x1p-128 to +/-
49576         0x1p-128.
49578 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49580         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49582         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49584         * posix/getconf-speclist.c: New file.
49585         * posix/posix-envs.def: Likewise.
49586         * posix/confstr.c (START_ENV_GROUP): New macro.
49587         (END_ENV_GROUP): Likewise.
49588         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49589         (KNOWN_PRESENT_ENV_STRING): Likewise.
49590         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49591         (UNKNOWN_ENVIRONMENT): Likewise.
49592         (confstr): Include posix-envs.def instead of handling
49593         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49594         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49595         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49596         (END_ENV_GROUP): Likewise.
49597         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49598         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49599         (UNKNOWN_ENVIRONMENT): Likewise.
49600         (__sysconf): Include posix-envs.def instead of handling associated
49601         cases directly here.
49602         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49603         preprocessing getconf-speclist.c rather than running getconf or
49604         generating empty file.
49606 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49608         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49610 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49612         [BZ #14672]
49613         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49615 2012-11-16  David S. Miller  <davem@davemloft.net>
49617         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49618         smaller than LDBL_EPSILON/2.0L, just return xm1.
49620 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49622         * elf/tst-array1.c (init): Set constructor priority to 1000.
49623         (fini): Set destructor priority to 1000.
49624         * elf/tst-array2dep.c: Likewise.
49626 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49628         [BZ #11741]
49629         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49630         (_IO_new_file_xsputn): Also return EOF if none of the input
49631         data was written when overflow failed.
49632         * libio/iopadn.c (_IO_padn): Likewise.
49633         * libio/iowpadn.c (_IO_wpadn): Likewise.
49634         * stdio-common/tst-put-error.c: Add copyright notice.
49635         (do_test): Add case for printing padded string.
49636         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49637         _IO_padn returned error.
49638         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49639         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49640         return EOF.
49642 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49644         * libio/libioP.h: Add comment note that the references to C++
49645         bits are now obsolete.
49647 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49649         * math/libm-test.inc (check_complex): Use asprintf.
49651 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49653         * debug/pcprofiledump.c (print_version): Update copyright year.
49654         * malloc/memusagestat.c (print_version): Likewise.
49656 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49658         [BZ #14831]
49659         * elf/Makefile (tests): Add tst-audit8.
49660         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49661         ($(objpfx)tst-audit8.out): New target.
49662         (tst-audit8-ENV): New variable.
49663         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49664         audit if l_reloc_result is NULL.
49665         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49666         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49667         * elf/tst-audit8.c: New file.
49669 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49671         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49672         * misc/Makefile (CFLAGS-select.c): Define.
49673         * posix/Makefile (CFLAGS-pause.c): Define.
49675 2012-11-13  David S. Miller  <davem@davemloft.net>
49677         * crypt/Makefile: Move test targets after toplevel Rules
49678         inclusion.  Grab any necessary sysdep routines when linking.
49679         * crypt/md5.c (md5_process_block): Remove define, we will always
49680         name it __md5_process_block.
49681         (md5_finish_ctx): Update md5_process_block call.
49682         (md5_stream): Likewise.
49683         (md5_process_bytes): Likewise.
49684         (md5_process_block): Rename to __md5_process_block and move to ...
49685         * crypt/md5-block.c: ... here.
49686         * crypt/sha256.c (sha256_process_block): Move to ...
49687         * crypt/sha256-block.c: ... here.
49688         * crypt/sha512.c (sha512_process_block): Move to ...
49689         * crypt/sha512-block.c: ... here.
49690         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49691         path.
49692         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49693         * sysdeps/sparc/sparc64/multiarch/Makefile
49694         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49695         crypt subdir.
49696         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49697         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49698         multiarch changes.
49699         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49700         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49701         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49702         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49703         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49704         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49705         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49706         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49707         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49708         file.
49709         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49710         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49711         file.
49712         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49714 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49716         * timezone/tzselect.ksh: Update from tzcode git revision
49717         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49718         * timezone/zdump.c: Likewise.
49719         * timezone/zic.c: Likewise.
49720         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49721         in TZVERSION setting, not $(PKGVERSION).
49722         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49723         REPORT_BUGS_TO settings.
49725         [BZ #14838]
49726         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49727         macro.
49729 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49731         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49732         detection to immediately after _FP_ROUND().
49733         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49734         bits are 0.
49736 2012-11-11  David S. Miller  <davem@davemloft.net>
49738         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49739         inttypes.h
49740         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49741         __close rather than their public counterparts.
49743 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49745         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49746         file.
49747         [UNIX98] (sem_timedwait): Do not expect.
49748         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49749         [XPG4 || UNIX98] (sockatmark): Do not expect.
49750         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49751         (clock_getcpuclockid): Do not expect.
49752         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49753         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49754         Do not expect.
49755         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49756         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49757         [UNIX98] (vwscanf): Likewise.
49758         [UNIX98] (vswscanf): Likewise.
49760 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49762         * timezone/version.h: Remove file.
49763         * timezone/README: Do not refer to version.h.
49764         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49765         $(objpfx)version.h.
49766         ($(objpfx)zdump.o): Likewise.
49767         ($(objpfx)version.h): New target.
49769         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49770         2012i.
49771         * timezone/README: Don't mention modification to tzselect.ksh.
49772         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49773         work on unmodified tzselect.ksh.  Substitute version numbers in
49774         tzselect.ksh.
49776         * Makefile (format-me): Remove.
49777         (INSTALL): Adjust indentation.  Use commands directly instead of
49778         using $(format-me).
49780         * aclocal.m4 (ACX_PKGVERSION): New macro.
49781         (ACX_BUGURL): Likewise.
49782         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49783         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49784         (REPORT_BUGS_TO): Likewise.
49785         * configure: Regenerated.
49786         * config.h.in (PKGVERSION): New macro.
49787         (REPORT_BUGS_TO): Likewise.
49788         * config.make.in (PKGVERSION): New variable.
49789         (PKGVERSION_TEXI): Likewise.
49790         (REPORT_BUGS_TO): Likewise.
49791         (REPORT_BUGS_TEXI): Likewise.
49792         * Makefile (format-me): Use -I$(common-objpfx)manual.
49793         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49794         ($(common-objpfx)manual/%): New target.
49795         (manual/%): Remove target.
49796         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49797         (print_version): Use PKGVERSION.
49798         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49799         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49800         and REPORT_BUGS_TO.
49801         ($(objpfx)xtrace): Likewise.
49802         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49803         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49804         (print_version): Use PKGVERSION.
49805         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49806         (do_version): Use PKGVERSION.
49807         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49808         REPORT_BUGS_TO.
49809         (common-ldd-rewrite): Likewise.
49810         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49811         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49812         (print_version): Use PKGVERSION.
49813         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49814         * elf/pldd.c (argp_program_bug_address): Remove variable.
49815         (more_help): New function.
49816         (argp): Use more_help.
49817         (print_version): Use PKGVERSION.
49818         * elf/sln.c (main): Use PKGVERSION.
49819         (usage): Use REPORT_BUGS_TO.
49820         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49821         (top level): Use PKGVERSION.
49822         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49823         (print_version): Use PKGVERSION.
49824         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49825         (print_version): Use PKGVERSION.
49826         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49827         (print_version): Use PKGVERSION.
49828         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49829         (print_version): Use PKGVERSION.
49830         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49831         (print_version): Use PKGVERSION.
49832         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49833         (print_version): Use PKGVERSION.
49834         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49835         and BUGURL.
49836         ($(objpfx)memusage): Likewise.
49837         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49838         (do_version): Use PKGVERSION.
49839         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49840         (print_version): Use PKGVERSION.
49841         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49842         ($PKGVERSION): New variable.
49843         ($REPORT_BUGS_TO): Likewise.
49844         (usage): Use $REPORT_BUGS_TO.
49845         (top level): Use $PKGVERSION.
49846         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49847         ($(objpfx)pkgvers.texi): New rule.
49848         ($(objpfx)stamp-pkgvers): Likewise.
49849         * manual/install.texi: Include pkgvers.texi.
49850         (--with-pkgversion): Document new configure option.
49851         (--with-bugurl): Likewise.
49852         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49853         than necessarily for this particular distribution.  Use
49854         REPORT_BUGS_TO for where to report bugs.
49855         * INSTALL: Regenerated.
49856         * manual/libc.texinfo: Include pkgvers.texi.
49857         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49858         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49859         (print_version): Use PKGVERSION.
49860         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49861         (print_version): Use PKGVERSION.
49862         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49863         (print_version): Use PKGVERSION.
49864         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49865         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49866         macro.
49867         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49868         (print_version): Use PKGVERSION.
49869         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49870         (print_version): Use PKGVERSION.
49871         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49872         and PKGVERSION.
49874         * timezone/checktab.awk: Update from tzcode 2012i.
49875         * timezone/ialloc.c: Likewise.
49876         * timezone/private.h: Likewise.
49877         * timezone/scheck.c: Likewise.
49878         * timezone/tzfile.h: Likewise.
49879         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49880         (TZVERSION): Hardcode tzcode version number.
49881         * timezone/zdump.c: Update from tzcode 2012i.
49882         * timezone/zic.c: Likewise.
49883         * timezone/version.h: New file.
49884         * timezone/README: Describe version.h.  Update upstream location.
49886         [BZ #14824]
49887         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49888         (mktemp): Enable declaration.
49889         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49890         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49891         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49892         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49893         Likewise.
49894         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49895         Likewise.
49896         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49897         Likewise.
49898         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49899         Likewise.
49900         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49901         Likewise.
49902         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49903         Likewise.
49905         [BZ #14821]
49906         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49907         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49908         for copies of such integer values.
49909         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49910         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49912 2012-11-09  Andreas Jaeger  <aj@suse.de>
49914         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49915         definitions and declarations that are provided by
49916         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49918 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49920         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49921         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49922         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49923         definition.
49925 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49927         * elf/elf.h: Update comment before AArch64 relocations.
49929 2012-11-07  David S. Miller  <davem@davemloft.net>
49931         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49932         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49933         (__start_context): Declare.
49934         (__makecontext_ret): Delete.
49935         (__makecontext): Hook up __start_context instead of
49936         __makecontext_ret.
49937         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49938         (sysdep_routines): Add __start_context when in stdlib.
49940 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49942         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49943         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49944         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49945         hardcoded "nm".
49946         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49947         (READELF): New variable.  Use it instead of hardcoded "readelf".
49949 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49951         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49952         * sysdeps/x86/Makefile: Here.
49953         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49954         * sysdeps/x86/tst-xmmymm.sh: This.
49956 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49958         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49959         expectations.
49960         [UNIX98] (pthread_barrier_t): Do not expect.
49961         [UNIX98] (pthread_barrierattr_t): Likewise.
49962         [UNIX98] (pthread_spinlock_t): Likewise.
49963         [UNIX98] (pthread_barrier_destroy): Likewise.
49964         [UNIX98] (pthread_barrier_init): Likewise.
49965         [UNIX98] (pthread_barrier_wait): Likewise.
49966         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49967         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49968         [UNIX98] (pthread_barrierattr_init): Likewise.
49969         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49970         [UNIX98] (pthread_getcpuclockid): Likewise.
49971         [UNIX98] (pthread_mutex_timedlock): Likewise.
49972         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49973         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49974         [UNIX98] (pthread_sigmask): Likewise.
49975         [UNIX98] (pthread_spin_destroy): Likewise.
49976         [UNIX98] (pthread_spin_init): Likewise.
49977         [UNIX98] (pthread_spin_lock): Likewise.
49978         [UNIX98] (pthread_spin_trylock): Likewise.
49979         [UNIX98] (pthread_spin_unlock): Likewise.
49980         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49981         Do not expect.
49982         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49983         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49984         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49985         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49986         [XPG3 || XPG4] (pthread_key_t): Likewise.
49987         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49988         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49989         [XPG3 || XPG4] (pthread_once_t): Likewise.
49990         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49991         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49992         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49993         [XPG3 || XPG4] (pthread_t): Likewise.
49995         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49996         not expect.
49997         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49999         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50000         Change function return type to int.
50002         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50003         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50004         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50005         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50006         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50007         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50008         [!POSIX] (posix_madvise): Likewise.
50009         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50010         && !UNIX98].
50011         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50012         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50013         (mode_t): Likewise.
50014         (posix_mem_offset): Likewise.
50015         (posix_typed_mem_get_info): Likewise.
50016         (posix_typed_mem_open): Likewise.
50018         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50019         Change condition to [XOPEN2K8].
50021         * conform/conformtest.pl: Preprocess allow-header data with -x c
50022         instead of from stdin.
50023         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50024         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50025         [C99-based standards] (cerfc): Likewise.
50026         [C99-based standards] (cexp2): Likewise.
50027         [C99-based standards] (cexpm1): Likewise.
50028         [C99-based standards] (clog10): Likewise.
50029         [C99-based standards] (clog1p): Likewise.
50030         [C99-based standards] (clog2): Likewise.
50031         [C99-based standards] (clgamma): Likewise.
50032         [C99-based standards] (ctgamma): Likewise.
50033         [C99-based standards] (cerff): Likewise.
50034         [C99-based standards] (cerfcf): Likewise.
50035         [C99-based standards] (cexp2f): Likewise.
50036         [C99-based standards] (cexpm1f): Likewise.
50037         [C99-based standards] (clog10f): Likewise.
50038         [C99-based standards] (clog1pf): Likewise.
50039         [C99-based standards] (clog2f): Likewise.
50040         [C99-based standards] (clgammaf): Likewise.
50041         [C99-based standards] (ctgammaf): Likewise.
50042         [C99-based standards] (cerfl): Likewise.
50043         [C99-based standards] (cerfcl): Likewise.
50044         [C99-based standards] (cexp2l): Likewise.
50045         [C99-based standards] (cexpm1l): Likewise.
50046         [C99-based standards] (clog10l): Likewise.
50047         [C99-based standards] (clog1pl): Likewise.
50048         [C99-based standards] (clog2l): Likewise.
50049         [C99-based standards] (clgammal): Likewise.
50050         [C99-based standards] (ctgammal): Likewise.
50051         * conform/data/inttypes.h-data [C99-based standards]: Include
50052         stdint.h-data.  Remove all expectations for stdint.h contents.
50053         [C99-based standards] (PRI*): Do not allow.
50054         [C99-based standards] (SCN*): Likewise.
50055         [C99-based standards] (*_t): Likewise.
50056         [C99-based-standards] (PRId8): Expect macro.
50057         [C99-based-standards] (PRIi8): Likewise.
50058         [C99-based-standards] (PRIo8): Likewise.
50059         [C99-based-standards] (PRIu8): Likewise.
50060         [C99-based-standards] (PRIx8): Likewise.
50061         [C99-based-standards] (PRIX8): Likewise.
50062         [C99-based-standards] (SCNd8): Likewise.
50063         [C99-based-standards] (SCNi8): Likewise.
50064         [C99-based-standards] (SCNo8): Likewise.
50065         [C99-based-standards] (SCNu8): Likewise.
50066         [C99-based-standards] (SCNx8): Likewise.
50067         [C99-based-standards] (PRIdLEAST8): Likewise.
50068         [C99-based-standards] (PRIiLEAST8): Likewise.
50069         [C99-based-standards] (PRIoLEAST8): Likewise.
50070         [C99-based-standards] (PRIuLEAST8): Likewise.
50071         [C99-based-standards] (PRIxLEAST8): Likewise.
50072         [C99-based-standards] (PRIXLEAST8): Likewise.
50073         [C99-based-standards] (SCNdLEAST8): Likewise.
50074         [C99-based-standards] (SCNiLEAST8): Likewise.
50075         [C99-based-standards] (SCNoLEAST8): Likewise.
50076         [C99-based-standards] (SCNuLEAST8): Likewise.
50077         [C99-based-standards] (SCNxLEAST8): Likewise.
50078         [C99-based-standards] (PRIdFAST8): Likewise.
50079         [C99-based-standards] (PRIiFAST8): Likewise.
50080         [C99-based-standards] (PRIoFAST8): Likewise.
50081         [C99-based-standards] (PRIuFAST8): Likewise.
50082         [C99-based-standards] (PRIxFAST8): Likewise.
50083         [C99-based-standards] (PRIXFAST8): Likewise.
50084         [C99-based-standards] (SCNdFAST8): Likewise.
50085         [C99-based-standards] (SCNiFAST8): Likewise.
50086         [C99-based-standards] (SCNoFAST8): Likewise.
50087         [C99-based-standards] (SCNuFAST8): Likewise.
50088         [C99-based-standards] (SCNxFAST8): Likewise.
50089         [C99-based-standards] (PRId16): Likewise.
50090         [C99-based-standards] (PRIi16): Likewise.
50091         [C99-based-standards] (PRIo16): Likewise.
50092         [C99-based-standards] (PRIu16): Likewise.
50093         [C99-based-standards] (PRIx16): Likewise.
50094         [C99-based-standards] (PRIX16): Likewise.
50095         [C99-based-standards] (SCNd16): Likewise.
50096         [C99-based-standards] (SCNi16): Likewise.
50097         [C99-based-standards] (SCNo16): Likewise.
50098         [C99-based-standards] (SCNu16): Likewise.
50099         [C99-based-standards] (SCNx16): Likewise.
50100         [C99-based-standards] (PRIdLEAST16): Likewise.
50101         [C99-based-standards] (PRIiLEAST16): Likewise.
50102         [C99-based-standards] (PRIoLEAST16): Likewise.
50103         [C99-based-standards] (PRIuLEAST16): Likewise.
50104         [C99-based-standards] (PRIxLEAST16): Likewise.
50105         [C99-based-standards] (PRIXLEAST16): Likewise.
50106         [C99-based-standards] (SCNdLEAST16): Likewise.
50107         [C99-based-standards] (SCNiLEAST16): Likewise.
50108         [C99-based-standards] (SCNoLEAST16): Likewise.
50109         [C99-based-standards] (SCNuLEAST16): Likewise.
50110         [C99-based-standards] (SCNxLEAST16): Likewise.
50111         [C99-based-standards] (PRIdFAST16): Likewise.
50112         [C99-based-standards] (PRIiFAST16): Likewise.
50113         [C99-based-standards] (PRIoFAST16): Likewise.
50114         [C99-based-standards] (PRIuFAST16): Likewise.
50115         [C99-based-standards] (PRIxFAST16): Likewise.
50116         [C99-based-standards] (PRIXFAST16): Likewise.
50117         [C99-based-standards] (SCNdFAST16): Likewise.
50118         [C99-based-standards] (SCNiFAST16): Likewise.
50119         [C99-based-standards] (SCNoFAST16): Likewise.
50120         [C99-based-standards] (SCNuFAST16): Likewise.
50121         [C99-based-standards] (SCNxFAST16): Likewise.
50122         [C99-based-standards] (PRId32): Likewise.
50123         [C99-based-standards] (PRIi32): Likewise.
50124         [C99-based-standards] (PRIo32): Likewise.
50125         [C99-based-standards] (PRIu32): Likewise.
50126         [C99-based-standards] (PRIx32): Likewise.
50127         [C99-based-standards] (PRIX32): Likewise.
50128         [C99-based-standards] (SCNd32): Likewise.
50129         [C99-based-standards] (SCNi32): Likewise.
50130         [C99-based-standards] (SCNo32): Likewise.
50131         [C99-based-standards] (SCNu32): Likewise.
50132         [C99-based-standards] (SCNx32): Likewise.
50133         [C99-based-standards] (PRIdLEAST32): Likewise.
50134         [C99-based-standards] (PRIiLEAST32): Likewise.
50135         [C99-based-standards] (PRIoLEAST32): Likewise.
50136         [C99-based-standards] (PRIuLEAST32): Likewise.
50137         [C99-based-standards] (PRIxLEAST32): Likewise.
50138         [C99-based-standards] (PRIXLEAST32): Likewise.
50139         [C99-based-standards] (SCNdLEAST32): Likewise.
50140         [C99-based-standards] (SCNiLEAST32): Likewise.
50141         [C99-based-standards] (SCNoLEAST32): Likewise.
50142         [C99-based-standards] (SCNuLEAST32): Likewise.
50143         [C99-based-standards] (SCNxLEAST32): Likewise.
50144         [C99-based-standards] (PRIdFAST32): Likewise.
50145         [C99-based-standards] (PRIiFAST32): Likewise.
50146         [C99-based-standards] (PRIoFAST32): Likewise.
50147         [C99-based-standards] (PRIuFAST32): Likewise.
50148         [C99-based-standards] (PRIxFAST32): Likewise.
50149         [C99-based-standards] (PRIXFAST32): Likewise.
50150         [C99-based-standards] (SCNdFAST32): Likewise.
50151         [C99-based-standards] (SCNiFAST32): Likewise.
50152         [C99-based-standards] (SCNoFAST32): Likewise.
50153         [C99-based-standards] (SCNuFAST32): Likewise.
50154         [C99-based-standards] (SCNxFAST32): Likewise.
50155         [C99-based-standards] (PRId64): Likewise.
50156         [C99-based-standards] (PRIi64): Likewise.
50157         [C99-based-standards] (PRIo64): Likewise.
50158         [C99-based-standards] (PRIu64): Likewise.
50159         [C99-based-standards] (PRIx64): Likewise.
50160         [C99-based-standards] (PRIX64): Likewise.
50161         [C99-based-standards] (SCNd64): Likewise.
50162         [C99-based-standards] (SCNi64): Likewise.
50163         [C99-based-standards] (SCNo64): Likewise.
50164         [C99-based-standards] (SCNu64): Likewise.
50165         [C99-based-standards] (SCNx64): Likewise.
50166         [C99-based-standards] (PRIdLEAST64): Likewise.
50167         [C99-based-standards] (PRIiLEAST64): Likewise.
50168         [C99-based-standards] (PRIoLEAST64): Likewise.
50169         [C99-based-standards] (PRIuLEAST64): Likewise.
50170         [C99-based-standards] (PRIxLEAST64): Likewise.
50171         [C99-based-standards] (PRIXLEAST64): Likewise.
50172         [C99-based-standards] (SCNdLEAST64): Likewise.
50173         [C99-based-standards] (SCNiLEAST64): Likewise.
50174         [C99-based-standards] (SCNoLEAST64): Likewise.
50175         [C99-based-standards] (SCNuLEAST64): Likewise.
50176         [C99-based-standards] (SCNxLEAST64): Likewise.
50177         [C99-based-standards] (PRIdFAST64): Likewise.
50178         [C99-based-standards] (PRIiFAST64): Likewise.
50179         [C99-based-standards] (PRIoFAST64): Likewise.
50180         [C99-based-standards] (PRIuFAST64): Likewise.
50181         [C99-based-standards] (PRIxFAST64): Likewise.
50182         [C99-based-standards] (PRIXFAST64): Likewise.
50183         [C99-based-standards] (SCNdFAST64): Likewise.
50184         [C99-based-standards] (SCNiFAST64): Likewise.
50185         [C99-based-standards] (SCNoFAST64): Likewise.
50186         [C99-based-standards] (SCNuFAST64): Likewise.
50187         [C99-based-standards] (SCNxFAST64): Likewise.
50188         [C99-based-standards] (PRIdMAX): Likewise.
50189         [C99-based-standards] (PRIiMAX): Likewise.
50190         [C99-based-standards] (PRIoMAX): Likewise.
50191         [C99-based-standards] (PRIuMAX): Likewise.
50192         [C99-based-standards] (PRIxMAX): Likewise.
50193         [C99-based-standards] (PRIXMAX): Likewise.
50194         [C99-based-standards] (SCNdMAX): Likewise.
50195         [C99-based-standards] (SCNiMAX): Likewise.
50196         [C99-based-standards] (SCNoMAX): Likewise.
50197         [C99-based-standards] (SCNuMAX): Likewise.
50198         [C99-based-standards] (SCNxMAX): Likewise.
50199         [C99-based-standards] (PRIdPTR): Likewise.
50200         [C99-based-standards] (PRIiPTR): Likewise.
50201         [C99-based-standards] (PRIoPTR): Likewise.
50202         [C99-based-standards] (PRIuPTR): Likewise.
50203         [C99-based-standards] (PRIxPTR): Likewise.
50204         [C99-based-standards] (PRIXPTR): Likewise.
50205         [C99-based-standards] (SCNdPTR): Likewise.
50206         [C99-based-standards] (SCNiPTR): Likewise.
50207         [C99-based-standards] (SCNoPTR): Likewise.
50208         [C99-based-standards] (SCNuPTR): Likewise.
50209         [C99-based-standards] (SCNxPTR): Likewise.
50210         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50211         allow.
50212         * conform/data/stdint.h-data: Update comments to clarify
50213         requirements.
50214         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50215         type.
50216         [C99-based standards] (INT8_MAX): Likewise.
50217         [C99-based standards] (INT16_MIN): Likewise.
50218         [C99-based standards] (INT16_MAX): Likewise.
50219         [C99-based standards] (INT32_MIN): Likewise.
50220         [C99-based standards] (INT32_MAX): Likewise.
50221         [C99-based standards] (INT64_MIN): Likewise.
50222         [C99-based standards] (INT64_MAX): Likewise.
50223         [C99-based standards] (UINT8_MAX): Likewise.
50224         [C99-based standards] (UINT16_MAX): Likewise.
50225         [C99-based standards] (UINT32_MAX): Likewise.
50226         [C99-based standards] (UINT64_MAX): Likewise.
50227         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50228         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50229         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50230         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50231         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50232         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50233         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50234         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50235         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50236         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50237         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50238         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50239         [C99-based standards] (INT_FAST8_MIN): Likewise.
50240         [C99-based standards] (INT_FAST8_MAX): Likewise.
50241         [C99-based standards] (INT_FAST16_MIN): Likewise.
50242         [C99-based standards] (INT_FAST16_MAX): Likewise.
50243         [C99-based standards] (INT_FAST32_MIN): Likewise.
50244         [C99-based standards] (INT_FAST32_MAX): Likewise.
50245         [C99-based standards] (INT_FAST64_MIN): Likewise.
50246         [C99-based standards] (INT_FAST64_MAX): Likewise.
50247         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50248         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50249         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50250         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50251         [C99-based standards] (INTPTR_MIN): Likewise.
50252         [C99-based standards] (INTPTR_MAX): Likewise.
50253         [C99-based standards] (UINTPTR_MAX): Likewise.
50254         [C99-based standards] (INTMAX_MIN): Likewise.
50255         [C99-based standards] (INTMAX_MAX): Likewise.
50256         [C99-based standards] (UINTMAX_MAX): Likewise.
50257         [C99-based standards] (PTRDIFF_MIN): Likewise.
50258         [C99-based standards] (PTRDIFF_MAX): Likewise.
50259         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50260         [C99-based standards] (SIZE_MAX): Likewise.
50261         [C99-based standards] (WCHAR_MAX): Likewise.
50262         [C99-based standards] (WINT_MAX): Likewise.
50263         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50264         constraint on value.
50265         [C99-based standards] (WCHAR_MIN): Likewise.
50266         [C99-based standards] (WINT_MIN): Likewise.
50267         [C99-based standards] (*_t): Allow.
50268         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50269         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50270         Include math.h-data and complex.h-data.  Remove all expectations
50271         of math.h and complex.h contents.
50272         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50273         at end of line.
50274         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50275         (struct tm): Expect tag.
50276         [C99-based-standards] (wcstof): Expect function.
50277         [C99-based-standards] (wcstold): Likewise.
50278         [C99-based-standards] (wcstoll): Likewise.
50279         [C99-based-standards] (wcstoull): Likewise.
50280         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50281         macro-int-constant.  Specify type.
50282         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50283         constraint on value.
50284         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50285         Specify type.
50286         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50287         Specify value.
50288         [ISO C standards]: Do not allow headers.
50289         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50290         wcs[abcdefghijklmnopqrstuvwxyz]*.
50291         [ISO C standards] (*_t): Do not allow.
50292         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50293         Expect function.
50294         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50295         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50296         Specify type.
50297         [ISO C standards]: Do not allow headers.
50298         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50299         is[abcdefghijklmnopqrstuvwxyz]*.
50300         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50301         to[abcdefghijklmnopqrstuvwxyz]*.
50302         [ISO C standards] (*_t): Do not allow.
50303         * conform/data/stdalign.h-data: New file.
50304         * conform/data/stdbool.h-data: Likewise.
50305         * conform/data/stdnoreturn.h-data: Likewise.
50307 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50309         [BZ #14815]
50310         * manual/filesys.texi (Directory Entries): Typo fix.
50311         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50313 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50315         * elf/elf.h (EM_AARCH64): New macro.
50316         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50317         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50318         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50319         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50320         (R_AARCH64_TLSDESC): Likewise.
50321         (NT_ARM_TLS): Likewise.
50322         (NT_ARM_HW_BREAK): Likewise.
50323         (NT_ARM_HW_WATCH): Likewise.
50325 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50327         [BZ #14811]
50328         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50329         (__ieee754_powl): Saturate nonzero exponents with absolute value
50330         below 0x1p-79 to +/- 0x1p-79.
50331         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50332         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50333         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50334         nonzero exponents with absolute value below 0x1p-32 to +/-
50335         0x1p-32.
50336         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50337         (__ieee754_powl): Saturate nonzero exponents with absolute value
50338         below 0x1p-79 to +/- 0x1p-79.
50339         * math/libm-test.inc (pow_test): Add more tests.
50341 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50343         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50344         _dl_s390_cap_flags with kernel. Increase string length.
50345         (_dl_s390_platforms): Add z196 and zEC12.
50347 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50349         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50350         Change XOPEN21K to XOPEN2K.
50352 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50354         * string/memmove.c: Use memcpy when possible.
50356 2012-11-06  Andreas Jaeger  <aj@suse.de>
50358         * po/eo.po: Update from translation team.
50360 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50362         [BZ #14793]
50363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50364         exponent and small x and y exponents, scale x or y up.  Increase
50365         by 2 the exponent used in scaling up.
50366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50367         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50368         * math/libm-test.inc (fma_test): Add more tests.
50369         (fma_test_towardzero): Likewise.
50370         (fma_test_downward): Likewise.
50371         (fma_test_upward): Likewise.
50373 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50375         [BZ #14805]
50376         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50377         fenv_t *.
50379         [BZ #14801]
50380         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50381         namespace for names of struct fields.
50382         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50383         fenv_t fields.
50384         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50385         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50387 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50389         [BZ #3665]
50390         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50392 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50394         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50395         PTR_DEMANGLE.
50397         [BZ #5246]
50398         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50399         PTR_DEMANGLE.
50401 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50403         [BZ #14797]
50404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50405         definitely overflow as x * y not x * y + z.
50406         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50407         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50408         * math/libm-test.inc (fma_test): Add more tests.
50409         (fma_test_towardzero): Likewise.
50410         (fma_test_downward): Likewise.
50411         (fma_test_upward): Likewise.
50413 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50415         [BZ #157]
50417         * include/stub-tag.h: Remove file.
50418         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50419         '#include' of it.
50420         * manual/maint.texi (Porting): Don't reference it.
50421         * Makerules ($(objpfx)stubs): Likewise.
50422         * dirent/closedir.c: Don't include <stub-tag.h>.
50423         * dirent/dirfd.c: Likewise.
50424         * dirent/fdopendir.c: Likewise.
50425         * dirent/getdents.c: Likewise.
50426         * dirent/getdents64.c: Likewise.
50427         * dirent/opendir.c: Likewise.
50428         * dirent/readdir.c: Likewise.
50429         * dirent/readdir64.c: Likewise.
50430         * dirent/readdir64_r.c: Likewise.
50431         * dirent/readdir_r.c: Likewise.
50432         * dirent/rewinddir.c: Likewise.
50433         * dirent/seekdir.c: Likewise.
50434         * dirent/telldir.c: Likewise.
50435         * gmon/profil.c: Likewise.
50436         * grp/setgroups.c: Likewise.
50437         * inet/if_index.c: Likewise.
50438         * io/access.c: Likewise.
50439         * io/chdir.c: Likewise.
50440         * io/chmod.c: Likewise.
50441         * io/chown.c: Likewise.
50442         * io/close.c: Likewise.
50443         * io/dup.c: Likewise.
50444         * io/dup2.c: Likewise.
50445         * io/dup3.c: Likewise.
50446         * io/euidaccess.c: Likewise.
50447         * io/faccessat.c: Likewise.
50448         * io/fchdir.c: Likewise.
50449         * io/fchmod.c: Likewise.
50450         * io/fchmodat.c: Likewise.
50451         * io/fchown.c: Likewise.
50452         * io/fchownat.c: Likewise.
50453         * io/fcntl.c: Likewise.
50454         * io/flock.c: Likewise.
50455         * io/fstatfs.c: Likewise.
50456         * io/fstatfs64.c: Likewise.
50457         * io/fstatvfs.c: Likewise.
50458         * io/fstatvfs64.c: Likewise.
50459         * io/futimens.c: Likewise.
50460         * io/fxstat.c: Likewise.
50461         * io/fxstat64.c: Likewise.
50462         * io/fxstatat.c: Likewise.
50463         * io/fxstatat64.c: Likewise.
50464         * io/getcwd.c: Likewise.
50465         * io/isatty.c: Likewise.
50466         * io/lchmod.c: Likewise.
50467         * io/lchown.c: Likewise.
50468         * io/link.c: Likewise.
50469         * io/linkat.c: Likewise.
50470         * io/lseek.c: Likewise.
50471         * io/lseek64.c: Likewise.
50472         * io/lxstat64.c: Likewise.
50473         * io/mkdir.c: Likewise.
50474         * io/mkdirat.c: Likewise.
50475         * io/mkfifo.c: Likewise.
50476         * io/mkfifoat.c: Likewise.
50477         * io/open.c: Likewise.
50478         * io/open64.c: Likewise.
50479         * io/openat.c: Likewise.
50480         * io/openat64.c: Likewise.
50481         * io/pipe.c: Likewise.
50482         * io/pipe2.c: Likewise.
50483         * io/poll.c: Likewise.
50484         * io/posix_fadvise.c: Likewise.
50485         * io/posix_fadvise64.c: Likewise.
50486         * io/posix_fallocate.c: Likewise.
50487         * io/posix_fallocate64.c: Likewise.
50488         * io/read.c: Likewise.
50489         * io/readlink.c: Likewise.
50490         * io/readlinkat.c: Likewise.
50491         * io/rmdir.c: Likewise.
50492         * io/sendfile.c: Likewise.
50493         * io/sendfile64.c: Likewise.
50494         * io/statfs.c: Likewise.
50495         * io/statfs64.c: Likewise.
50496         * io/statvfs.c: Likewise.
50497         * io/statvfs64.c: Likewise.
50498         * io/symlink.c: Likewise.
50499         * io/symlinkat.c: Likewise.
50500         * io/ttyname.c: Likewise.
50501         * io/ttyname_r.c: Likewise.
50502         * io/umask.c: Likewise.
50503         * io/unlink.c: Likewise.
50504         * io/unlinkat.c: Likewise.
50505         * io/utime.c: Likewise.
50506         * io/utimensat.c: Likewise.
50507         * io/write.c: Likewise.
50508         * io/xmknod.c: Likewise.
50509         * io/xmknodat.c: Likewise.
50510         * io/xstat.c: Likewise.
50511         * io/xstat64.c: Likewise.
50512         * login/getpt.c: Likewise.
50513         * login/grantpt.c: Likewise.
50514         * login/unlockpt.c: Likewise.
50515         * math/e_acoshl.c: Likewise.
50516         * math/e_acosl.c: Likewise.
50517         * math/e_asinl.c: Likewise.
50518         * math/e_atan2l.c: Likewise.
50519         * math/e_atanhl.c: Likewise.
50520         * math/e_coshl.c: Likewise.
50521         * math/e_expl.c: Likewise.
50522         * math/e_fmodl.c: Likewise.
50523         * math/e_gammal_r.c: Likewise.
50524         * math/e_hypotl.c: Likewise.
50525         * math/e_j0l.c: Likewise.
50526         * math/e_j1l.c: Likewise.
50527         * math/e_jnl.c: Likewise.
50528         * math/e_lgammal_r.c: Likewise.
50529         * math/e_log10l.c: Likewise.
50530         * math/e_log2l.c: Likewise.
50531         * math/e_logl.c: Likewise.
50532         * math/e_powl.c: Likewise.
50533         * math/e_rem_pio2l.c: Likewise.
50534         * math/e_sinhl.c: Likewise.
50535         * math/e_sqrtl.c: Likewise.
50536         * math/fclrexcpt.c: Likewise.
50537         * math/fedisblxcpt.c: Likewise.
50538         * math/feenablxcpt.c: Likewise.
50539         * math/fegetenv.c: Likewise.
50540         * math/fegetexcept.c: Likewise.
50541         * math/fegetround.c: Likewise.
50542         * math/feholdexcpt.c: Likewise.
50543         * math/fesetenv.c: Likewise.
50544         * math/fesetround.c: Likewise.
50545         * math/feupdateenv.c: Likewise.
50546         * math/fgetexcptflg.c: Likewise.
50547         * math/fraiseexcpt.c: Likewise.
50548         * math/fsetexcptflg.c: Likewise.
50549         * math/ftestexcept.c: Likewise.
50550         * math/k_cosl.c: Likewise.
50551         * math/k_rem_pio2l.c: Likewise.
50552         * math/k_sinl.c: Likewise.
50553         * math/k_tanl.c: Likewise.
50554         * math/s_asinhl.c: Likewise.
50555         * math/s_atanl.c: Likewise.
50556         * math/s_cbrtl.c: Likewise.
50557         * math/s_erfl.c: Likewise.
50558         * math/s_expm1l.c: Likewise.
50559         * math/s_log1pl.c: Likewise.
50560         * math/s_tanhl.c: Likewise.
50561         * misc/acct.c: Likewise.
50562         * misc/brk.c: Likewise.
50563         * misc/chflags.c: Likewise.
50564         * misc/chroot.c: Likewise.
50565         * misc/fchflags.c: Likewise.
50566         * misc/fgetxattr.c: Likewise.
50567         * misc/flistxattr.c: Likewise.
50568         * misc/fremovexattr.c: Likewise.
50569         * misc/fsetxattr.c: Likewise.
50570         * misc/fsync.c: Likewise.
50571         * misc/ftruncate.c: Likewise.
50572         * misc/futimes.c: Likewise.
50573         * misc/futimesat.c: Likewise.
50574         * misc/getdomain.c: Likewise.
50575         * misc/getdtsz.c: Likewise.
50576         * misc/gethostid.c: Likewise.
50577         * misc/gethostname.c: Likewise.
50578         * misc/getloadavg.c: Likewise.
50579         * misc/getpagesize.c: Likewise.
50580         * misc/getsysstats.c: Likewise.
50581         * misc/getxattr.c: Likewise.
50582         * misc/gtty.c: Likewise.
50583         * misc/ioctl.c: Likewise.
50584         * misc/lgetxattr.c: Likewise.
50585         * misc/listxattr.c: Likewise.
50586         * misc/llistxattr.c: Likewise.
50587         * misc/lremovexattr.c: Likewise.
50588         * misc/lsetxattr.c: Likewise.
50589         * misc/lutimes.c: Likewise.
50590         * misc/madvise.c: Likewise.
50591         * misc/mincore.c: Likewise.
50592         * misc/mlock.c: Likewise.
50593         * misc/mlockall.c: Likewise.
50594         * misc/mmap.c: Likewise.
50595         * misc/mprotect.c: Likewise.
50596         * misc/msync.c: Likewise.
50597         * misc/munlock.c: Likewise.
50598         * misc/munlockall.c: Likewise.
50599         * misc/munmap.c: Likewise.
50600         * misc/preadv.c: Likewise.
50601         * misc/preadv64.c: Likewise.
50602         * misc/ptrace.c: Likewise.
50603         * misc/pwritev.c: Likewise.
50604         * misc/pwritev64.c: Likewise.
50605         * misc/readv.c: Likewise.
50606         * misc/reboot.c: Likewise.
50607         * misc/remap_file_pages.c: Likewise.
50608         * misc/removexattr.c: Likewise.
50609         * misc/revoke.c: Likewise.
50610         * misc/select.c: Likewise.
50611         * misc/setdomain.c: Likewise.
50612         * misc/setegid.c: Likewise.
50613         * misc/seteuid.c: Likewise.
50614         * misc/sethostid.c: Likewise.
50615         * misc/sethostname.c: Likewise.
50616         * misc/setregid.c: Likewise.
50617         * misc/setreuid.c: Likewise.
50618         * misc/setxattr.c: Likewise.
50619         * misc/sstk.c: Likewise.
50620         * misc/stty.c: Likewise.
50621         * misc/swapoff.c: Likewise.
50622         * misc/swapon.c: Likewise.
50623         * misc/sync.c: Likewise.
50624         * misc/syncfs.c: Likewise.
50625         * misc/syscall.c: Likewise.
50626         * misc/truncate.c: Likewise.
50627         * misc/ualarm.c: Likewise.
50628         * misc/usleep.c: Likewise.
50629         * misc/ustat.c: Likewise.
50630         * misc/utimes.c: Likewise.
50631         * misc/vhangup.c: Likewise.
50632         * misc/writev.c: Likewise.
50633         * posix/_exit.c: Likewise.
50634         * posix/alarm.c: Likewise.
50635         * posix/execve.c: Likewise.
50636         * posix/fexecve.c: Likewise.
50637         * posix/fork.c: Likewise.
50638         * posix/fpathconf.c: Likewise.
50639         * posix/getaddrinfo.c: Likewise.
50640         * posix/getegid.c: Likewise.
50641         * posix/geteuid.c: Likewise.
50642         * posix/getgid.c: Likewise.
50643         * posix/getgroups.c: Likewise.
50644         * posix/getlogin.c: Likewise.
50645         * posix/getlogin_r.c: Likewise.
50646         * posix/getpgid.c: Likewise.
50647         * posix/getpid.c: Likewise.
50648         * posix/getppid.c: Likewise.
50649         * posix/getresgid.c: Likewise.
50650         * posix/getresuid.c: Likewise.
50651         * posix/getsid.c: Likewise.
50652         * posix/getuid.c: Likewise.
50653         * posix/glob64.c: Likewise.
50654         * posix/nanosleep.c: Likewise.
50655         * posix/pathconf.c: Likewise.
50656         * posix/pause.c: Likewise.
50657         * posix/posix_madvise.c: Likewise.
50658         * posix/pread.c: Likewise.
50659         * posix/pread64.c: Likewise.
50660         * posix/pwrite.c: Likewise.
50661         * posix/pwrite64.c: Likewise.
50662         * posix/sched_getaffinity.c: Likewise.
50663         * posix/sched_getp.c: Likewise.
50664         * posix/sched_gets.c: Likewise.
50665         * posix/sched_primax.c: Likewise.
50666         * posix/sched_primin.c: Likewise.
50667         * posix/sched_rr_gi.c: Likewise.
50668         * posix/sched_setaffinity.c: Likewise.
50669         * posix/sched_setp.c: Likewise.
50670         * posix/sched_sets.c: Likewise.
50671         * posix/sched_yield.c: Likewise.
50672         * posix/setgid.c: Likewise.
50673         * posix/setlogin.c: Likewise.
50674         * posix/setpgid.c: Likewise.
50675         * posix/setresgid.c: Likewise.
50676         * posix/setresuid.c: Likewise.
50677         * posix/setsid.c: Likewise.
50678         * posix/setuid.c: Likewise.
50679         * posix/sleep.c: Likewise.
50680         * posix/spawni.c: Likewise.
50681         * posix/sysconf.c: Likewise.
50682         * posix/times.c: Likewise.
50683         * posix/wait.c: Likewise.
50684         * posix/wait3.c: Likewise.
50685         * posix/wait4.c: Likewise.
50686         * posix/waitpid.c: Likewise.
50687         * resolv/gai_sigqueue.c: Likewise.
50688         * resource/getpriority.c: Likewise.
50689         * resource/getrlimit.c: Likewise.
50690         * resource/getrusage.c: Likewise.
50691         * resource/nice.c: Likewise.
50692         * resource/setpriority.c: Likewise.
50693         * resource/setrlimit.c: Likewise.
50694         * resource/ulimit.c: Likewise.
50695         * rt/aio_cancel.c: Likewise.
50696         * rt/aio_fsync.c: Likewise.
50697         * rt/aio_read.c: Likewise.
50698         * rt/aio_sigqueue.c: Likewise.
50699         * rt/aio_suspend.c: Likewise.
50700         * rt/aio_write.c: Likewise.
50701         * rt/clock_getres.c: Likewise.
50702         * rt/clock_gettime.c: Likewise.
50703         * rt/clock_nanosleep.c: Likewise.
50704         * rt/clock_settime.c: Likewise.
50705         * rt/lio_listio.c: Likewise.
50706         * rt/mq_close.c: Likewise.
50707         * rt/mq_getattr.c: Likewise.
50708         * rt/mq_notify.c: Likewise.
50709         * rt/mq_open.c: Likewise.
50710         * rt/mq_receive.c: Likewise.
50711         * rt/mq_send.c: Likewise.
50712         * rt/mq_setattr.c: Likewise.
50713         * rt/mq_timedreceive.c: Likewise.
50714         * rt/mq_timedsend.c: Likewise.
50715         * rt/mq_unlink.c: Likewise.
50716         * rt/shm_open.c: Likewise.
50717         * rt/shm_unlink.c: Likewise.
50718         * rt/timer_create.c: Likewise.
50719         * rt/timer_delete.c: Likewise.
50720         * rt/timer_getoverr.c: Likewise.
50721         * rt/timer_gettime.c: Likewise.
50722         * rt/timer_settime.c: Likewise.
50723         * setjmp/__longjmp.c: Likewise.
50724         * setjmp/setjmp.c: Likewise.
50725         * signal/kill.c: Likewise.
50726         * signal/killpg.c: Likewise.
50727         * signal/raise.c: Likewise.
50728         * signal/sigaction.c: Likewise.
50729         * signal/sigaltstack.c: Likewise.
50730         * signal/sigblock.c: Likewise.
50731         * signal/sigignore.c: Likewise.
50732         * signal/sigintr.c: Likewise.
50733         * signal/signal.c: Likewise.
50734         * signal/sigpause.c: Likewise.
50735         * signal/sigpending.c: Likewise.
50736         * signal/sigqueue.c: Likewise.
50737         * signal/sigreturn.c: Likewise.
50738         * signal/sigset.c: Likewise.
50739         * signal/sigsetmask.c: Likewise.
50740         * signal/sigstack.c: Likewise.
50741         * signal/sigsuspend.c: Likewise.
50742         * signal/sigtimedwait.c: Likewise.
50743         * signal/sigvec.c: Likewise.
50744         * signal/sigwait.c: Likewise.
50745         * signal/sigwaitinfo.c: Likewise.
50746         * signal/sysv_signal.c: Likewise.
50747         * socket/accept.c: Likewise.
50748         * socket/accept4.c: Likewise.
50749         * socket/bind.c: Likewise.
50750         * socket/connect.c: Likewise.
50751         * socket/getpeername.c: Likewise.
50752         * socket/getsockname.c: Likewise.
50753         * socket/getsockopt.c: Likewise.
50754         * socket/isfdtype.c: Likewise.
50755         * socket/listen.c: Likewise.
50756         * socket/recv.c: Likewise.
50757         * socket/recvfrom.c: Likewise.
50758         * socket/recvmsg.c: Likewise.
50759         * socket/send.c: Likewise.
50760         * socket/sendmsg.c: Likewise.
50761         * socket/sendto.c: Likewise.
50762         * socket/setsockopt.c: Likewise.
50763         * socket/shutdown.c: Likewise.
50764         * socket/sockatmark.c: Likewise.
50765         * socket/socket.c: Likewise.
50766         * socket/socketpair.c: Likewise.
50767         * stdio-common/ctermid.c: Likewise.
50768         * stdio-common/cuserid.c: Likewise.
50769         * stdio-common/remove.c: Likewise.
50770         * stdio-common/rename.c: Likewise.
50771         * stdio-common/renameat.c: Likewise.
50772         * stdio-common/tempname.c: Likewise.
50773         * stdlib/getcontext.c: Likewise.
50774         * stdlib/makecontext.c: Likewise.
50775         * stdlib/setcontext.c: Likewise.
50776         * stdlib/swapcontext.c: Likewise.
50777         * stdlib/system.c: Likewise.
50778         * streams/fattach.c: Likewise.
50779         * streams/fdetach.c: Likewise.
50780         * streams/getmsg.c: Likewise.
50781         * streams/getpmsg.c: Likewise.
50782         * streams/putmsg.c: Likewise.
50783         * streams/putpmsg.c: Likewise.
50784         * sysdeps/unix/bsd/getpt.c: Likewise.
50785         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50786         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50787         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50789         Likewise.
50790         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50791         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50792         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50793         * sysvipc/msgctl.c: Likewise.
50794         * sysvipc/msgget.c: Likewise.
50795         * sysvipc/msgrcv.c: Likewise.
50796         * sysvipc/msgsnd.c: Likewise.
50797         * sysvipc/semctl.c: Likewise.
50798         * sysvipc/semget.c: Likewise.
50799         * sysvipc/semop.c: Likewise.
50800         * sysvipc/semtimedop.c: Likewise.
50801         * sysvipc/shmat.c: Likewise.
50802         * sysvipc/shmctl.c: Likewise.
50803         * sysvipc/shmdt.c: Likewise.
50804         * sysvipc/shmget.c: Likewise.
50805         * termios/tcdrain.c: Likewise.
50806         * termios/tcflow.c: Likewise.
50807         * termios/tcflush.c: Likewise.
50808         * termios/tcgetattr.c: Likewise.
50809         * termios/tcgetpgrp.c: Likewise.
50810         * termios/tcsendbrk.c: Likewise.
50811         * termios/tcsetattr.c: Likewise.
50812         * termios/tcsetpgrp.c: Likewise.
50813         * time/adjtime.c: Likewise.
50814         * time/clock.c: Likewise.
50815         * time/getitimer.c: Likewise.
50816         * time/gettimeofday.c: Likewise.
50817         * time/setitimer.c: Likewise.
50818         * time/settimeofday.c: Likewise.
50819         * time/stime.c: Likewise.
50820         * time/time.c: Likewise.
50822 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50824         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50825         /usr/old/bin.
50827         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50828         instead of spaces.
50829         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50831 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50833         [BZ #14796]
50834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50835         FE_TONEAREST before applying Dekker multiplication and Knuth
50836         addition.  Clear inexact exceptions and check for exact zero
50837         results afterwards.
50838         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50839         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50841         * math/libm-test.inc (fma_test): Add more tests.
50842         (fma_test_towardzero): Likewise.
50843         (fma_test_downward): Likewise.
50844         (fma_test_upward): Likewise.
50845         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50846         function.
50847         (libc_fesetround): New macro.
50848         (libc_fesetroundf): Likewise.
50849         (libc_fesetroundl): Likewise.
50850         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50851         function.
50852         (libc_fesetround_387): Likewise.
50853         (libc_fesetroundf): New macro.
50854         (libc_fesetround): Likewise.
50855         (libc_fesetroundl): Likewise.
50856         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50857         function.
50858         (libc_fesetroundf): New macro.
50859         (libc_fesetround): Likewise.
50860         (libc_fesetroundl): Likewise.
50861         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50862         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50863         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50864         libm_hidden_ver.
50865         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50866         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50867         libm_hidden_def.
50868         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50869         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50870         libm_hidden_ver.
50871         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50872         libm_hidden_def.
50874         [BZ #3439]
50875         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50876         integer constant usable in #if and use that to give value to enum
50877         constant.
50878         (FE_DIVBYZERO): Likewise.
50879         (FE_UNDERFLOW): Likewise.
50880         (FE_OVERFLOW): Likewise.
50881         (FE_INVALID): Likewise.
50882         (FE_INVALID_SNAN): Likewise.
50883         (FE_INVALID_ISI): Likewise.
50884         (FE_INVALID_IDI): Likewise.
50885         (FE_INVALID_ZDZ): Likewise.
50886         (FE_INVALID_IMZ): Likewise.
50887         (FE_INVALID_COMPARE): Likewise.
50888         (FE_INVALID_SOFTWARE): Likewise.
50889         (FE_INVALID_SQRT): Likewise.
50890         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50891         (FE_TONEAREST): Likewise.
50892         (FE_TOWARDZERO): Likewise.
50893         (FE_UPWARD): Likewise.
50894         (FE_DOWNWARD): Likewise.
50895         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50896         (FE_DIVBYZERO): Likewise.
50897         (FE_OVERFLOW): Likewise.
50898         (FE_UNDERFLOW): Likewise.
50899         (FE_INEXACT): Likewise.
50900         (FE_TONEAREST): Likewise.
50901         (FE_DOWNWARD): Likewise.
50902         (FE_UPWARD): Likewise.
50903         (FE_TOWARDZERO): Likewise.
50904         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50905         (FE_UNDERFLOW): Likewise.
50906         (FE_OVERFLOW): Likewise.
50907         (FE_DIVBYZERO): Likewise.
50908         (FE_INVALID): Likewise.
50909         (FE_TONEAREST): Likewise.
50910         (FE_TOWARDZERO): Likewise.
50911         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50912         (FE_OVERFLOW): Likewise.
50913         (FE_UNDERFLOW): Likewise.
50914         (FE_DIVBYZERO): Likewise.
50915         (FE_INEXACT): Likewise.
50916         (FE_TONEAREST): Likewise.
50917         (FE_TOWARDZERO): Likewise.
50918         (FE_UPWARD): Likewise.
50919         (FE_DOWNWARD): Likewise.
50920         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50921         (FE_DIVBYZERO): Likewise.
50922         (FE_OVERFLOW): Likewise.
50923         (FE_UNDERFLOW): Likewise.
50924         (FE_INEXACT): Likewise.
50925         (FE_TONEAREST): Likewise.
50926         (FE_DOWNWARD): Likewise.
50927         (FE_UPWARD): Likewise.
50928         (FE_TOWARDZERO): Likewise.
50930 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50932         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50934 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50936         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50937         commands.  Quote $PWD.
50938         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50939         -x" by "export".
50940         (remove_newlines): Remove.
50942 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50944         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50945         * stdlib/stdlib.h (atof): Moved to ...
50946         * include/bits/stdlib-float.h: Here.  New file.
50947         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50948         * stdlib/bits/stdlib-float.h: New file.
50949         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50950         -mno-sse -mno-mmx.
50951         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50952         <xmmintrin.h>.
50954 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50956         * conform/conformtest.pl (@headers): Add fenv.h.
50957         * conform/data/fenv.h-data: New file.
50958         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50959         include of <math/fenv.h>.
50961         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50962         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50963         && !UNIX98].  Enables tests for XOPEN2K8.
50964         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50965         POSIX2008]: Likewise.
50967         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50968         (struct rusage): Do not expect type or its members.
50970         [BZ #3439]
50971         * math/math.h (FP_NAN): Define macro to integer constant usable in
50972         #if and use that to give value to enum constant.
50973         (FP_INFINITE): Likewise.
50974         (FP_ZERO): Likewise.
50975         (FP_SUBNORMAL): Likewise.
50976         (FP_NORMAL): Likewise.
50978 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50980         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50981         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50982         arguments.
50984 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50986         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50987         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50988         autoconf-time if not.
50989         * configure.in: Remove AC_PREREQ.
50991 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50993         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50994         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50995         of the internal implementation.
50997 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50999         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51000         except include of <misc/sys/syslog.h>.
51002 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51005         function returns with a NULL context exit with zero.
51007 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51009         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51011 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51013         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51014         (run_program_cmd): This.
51015         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51016         (tst_langinfo): New variable.  Use it.
51018 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51020         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51021         floating point opcodes.
51023 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51025         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51026         variable.
51028         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51030         * sysdeps/mach/hurd/powerpc: Remove directory.
51031         * sysdeps/mach/powerpc: Likewise.
51033 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51035         * scripts/check-local-headers.sh: Ignore c++ headers.
51037 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51039         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51040         __libc_cleanup_region_start argument.
51042 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51044         [BZ #14784]
51045         [BZ #14785]
51046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51047         x * y using scaling, not as x * y + z.
51048         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51049         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51050         * math/libm-test.inc (fma_test): Add more tests.
51051         (fma_test_towardzero): Likewise.
51052         (fma_test_downward): Likewise.
51053         (fma_test_upward): Likewise.
51055 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51057         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51059 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51061         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51062         New variable.
51064 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51066         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51068 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51071         Fix sort order.
51072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51073         Likewise.
51075 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51078         Fix the order of the list for glibc 2.17.
51079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51080         Likewise.
51082 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51086 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51088         [BZ #14610]
51089         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51090         for low part of x being zero before using __atanl (y).
51091         * math/libm-test.inc (atan2_test): Add another test.
51093         * manual/install.texi (Configuring and compiling): Document
51094         general use of test-wrapper and test-wrapper-env.
51095         * INSTALL: Regenerated.
51097         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51098         (__fma): Do not extract and scale down low bits on after-rounding
51099         systems when result rounded to normal precision would have normal
51100         exponent.
51101         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51102         (__fmal): Do not extract and scale down low bits on after-rounding
51103         systems when result rounded to normal precision would have normal
51104         exponent.
51105         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51106         (__fmal): Do not extract and scale down low bits on after-rounding
51107         systems when result rounded to normal precision would have normal
51108         exponent.
51109         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51110         macro.
51111         (fma_test): Add more tests.
51112         (fma_test_towardzero): Likewise.
51113         (fma_test_downward): Likewise.
51114         (fma_test_upward): Likewise.
51116 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51118         * sysdeps/i386/tininess.h: Renamed to ...
51119         * sysdeps/x86/tininess.h: This.
51120         * sysdeps/x86_64/tininess.h: Removed.
51122 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51124         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51125         input.  Use $(build-program-cmd).
51126         ($(objpfx)tst-array1-static.out): Likewise.
51127         ($(objpfx)tst-array2.out): Likewise.
51128         ($(objpfx)tst-array3.out): Likewise.
51129         ($(objpfx)tst-array4.out): Likewise.
51130         ($(objpfx)tst-array5.out): Likewise.
51131         ($(objpfx)tst-array5-static.out): Likewise.
51133 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51135         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51136         if defined.
51138         * nss/nsswitch.h (nss_interface_function): Provide new
51139         macro for use with NSS functions.
51140         * grp/initgroups.c: Use new macro.
51141         * nss/getXXbyYY.c: Likewise.
51142         * nss/getXXbyYY_r.c: Likewise.
51143         * nss/getXXent.c: Likewise.
51144         * nss/getXXent_r.c: Likewise.
51145         * sysdeps/posix/getaddrinfo.c: Likewise.
51147 2012-10-30  Andreas Jaeger  <aj@suse.de>
51149         * po/ru.po: Update Russion translation from translation project.
51151 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51153         [BZ #14152]
51154         [BZ #14783]
51155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51156         result and shift together with sticky bit instead of replicating
51157         round-to-nearest rounding.
51158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51160         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51161         missing underflow exceptions.
51162         (fma_test_towardzero): Add more tests.
51163         (fma_test_downward): Likewise.
51164         (fma_test_upward): Likewise.
51166         [BZ #14047]
51167         * sysdeps/generic/tininess.h: New file.
51168         * sysdeps/i386/tininess.h: Likewise.
51169         * sysdeps/sh/tininess.h: Likewise.
51170         * sysdeps/x86_64/tininess.h: Likewise.
51171         * stdlib/tst-strtod-underflow.c: Likewise.
51172         * stdlib/tst-tininess.c: Likewise.
51173         * stdlib/strtod_l.c: Include <tininess.h>.
51174         (round_and_return): Do not set errno for exact underflow cases.
51175         Force an underflow exception when setting errno for underflow.
51176         Determine underflow based on rounding to normal precision if
51177         TININESS_AFTER_ROUNDING.
51178         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51179         ERANGE for exact underflow cases.
51180         * stdlib/Makefile (tests): Add tst-tininess and
51181         tst-strtod-underflow.
51182         ($(objpfx)tst-tininess): Use $(link-libm).
51183         ($(objpfx)tst-strtod-underflow): Likewise.
51185 2012-10-30  Andreas Jaeger  <aj@suse.de>
51187         [BZ#14767]
51188         * elf/Makefile (tests): Remove conditional for have-initfini-array
51189         since this is now always required and the variable does not exist
51190         anymore.
51191         (tests-static): Likewise.
51192         (modules-names): Likewise.
51194         * po/eo.po: Add Esperanto translation from translation project.
51196         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51197         merged with constructor/destructor.
51198         (init_array): Likewise.
51199         * elf/tst-array2dep.c (fini_array): Likewise.
51200         (init_array): Likewise.
51202 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51204         * manual/message.texi: Delete @cartouche tags.
51206 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51208         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51209         EOPNOTSUPP.
51210         * sysdeps/mach/hurd/fsync.c: Likewise.
51212         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51213         [_POSIX_REALTIME_SIGNALS]: Change condition to
51214         [_POSIX_REALTIME_SIGNALS > 0].
51216 2012-10-27  Andreas Jaeger  <aj@suse.de>
51218         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51219         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51220         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51221         [__WORDSIZE != 64]: Likewise.
51223 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51225         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51226         *  iconvdata/tst-tables.sh: Likewise.
51228 2012-10-25  David S. Miller  <davem@davemloft.net>
51230         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51231         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51232         of strtoull.
51234         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51235         ifunc-impl-list.c
51236         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51237         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51238         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51239         file.
51241 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51244         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51245         __getdirentries.
51247 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51248             Jim Blandy  <jimb@codesourcery.com>
51250         * scripts/cross-test-ssh.sh: New file.
51251         * manual/install.texi (Configuring and compiling): Document use of
51252         cross-test-ssh.sh.
51253         * INSTALL: Regenerated.
51255 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51257         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51258         EOPNOTSUPP.
51260 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51262         * Makeconfig (run-program-prefix): Fix comment.
51264 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51265             Jim Blandy  <jimb@codesourcery.com>
51267         * Makeconfig (test-wrapper): New variable,
51268         (test-wrapper-env): Likewise.
51269         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51270         (run-built-tests): Define to yes.
51271         (run-program-prefix): Use $(test-wrapper).
51272         (built-program-cmd): Likewise.
51273         * Rules (make-test-out): Use $(test-wrapper-env) and
51274         $(host-built-program-cmd).
51275         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51276         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51277         tst-pathopt.sh.
51278         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51279         $(test-wrapper-env) to tst-rtld-load-self.sh.
51280         ($(objpfx)order2.out): Use $(test-wrapper).
51281         ($(objpfx)tst-initorder.out): Likewise.
51282         ($(objpfx)tst-initorder2.out): Likewise.
51283         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51284         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51285         (test_wrapper_env): New variable.  Use it to run ld.so.
51286         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51287         Use it to run ld.so.
51288         (test_wrapper_env): Likewise.
51289         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51290         $(test-wrapper) to run-iconv-test.sh.
51291         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51292         (ICONV): Use $test_wrapper.
51293         * posix/Makefile ($(objpfx)globtest.out): Pass
51294         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51295         globtest.sh, not $(run-program-prefix).
51296         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51297         (test_wrapper): Likewise.
51298         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51299         set together with run_via_rtld_prefix.
51300         (run_program_prefix): Define in terms of test_wrapper and
51301         run_via_rtld_prefix.
51303 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51305         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51306         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51307         Targets removed.
51309         [BZ #14743]
51310         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51311         Declare __clock_getres, __clock_gettime, __clock_settime,
51312         __clock_nanosleep, and __clock_getcpuclockid.
51313         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51314         Remove librt_hidden_def (clock_gettime).
51315         * sysdeps/unix/clock_gettime.c: Likewise.
51316         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51317         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51318         * rt/clock_getres.c: Define __clock_getres as an alias.
51319         * sysdeps/posix/clock_getres.c: Likewise.
51320         * rt/clock_settime.c: Define __clock_settime as an alias.
51321         * sysdeps/unix/clock_settime.c: Likewise.
51322         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51323         * sysdeps/unix/clock_nanosleep.c: Likewise.
51324         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51325         * rt/clock-compat.c: New file.
51326         * rt/Makefile (librt-routines): Add clock-compat and move
51327         $(clock-routines) to ...
51328         (routines): ... here, new variable.
51329         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51330         Don't add get_clockfreq here.
51331         * rt/Versions (libc: GLIBC_2.17): New version set.
51332         Add clock_* symbols here.
51333         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51334         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51335         (GLIBC_2.17): Add clock_* symbols.
51336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51340         Likewise.
51341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51342         Likewise.
51343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51347         * NEWS: Mention the move.
51349         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51350         Use __open, __read, __close rather than their public counterparts.
51351         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51352         (__get_clockfreq_via_cpuinfo): Likewise.
51353         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51354         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51356         * config.h.in (HAVE_IFUNC): New #undef.
51357         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51358         was successful.
51359         * configure: Regenerated.
51361 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51363         * configure.in: Move READELF check to start of file.
51364         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51365         libc_cv_asm_gnu_indirect_function in the process.
51366         * configure: Regenerated.
51368 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51370         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51371         send the output to /dev/null.
51372         (libc_cv_cc_with_libunwind): Likewise.
51373         (libc_cv_as_noexecstack): Likewise.
51374         * configure: Regenerate.
51376 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51378         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51380         * posix/globtest.sh (TMPDIR): Do not set.
51381         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51382         (testout): Likewise.
51384 2012-10-24  Andreas Jaeger  <aj@suse.de>
51386         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51387         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51388         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51389         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51390         posix_fadvise64, posix_fallocate64.
51392         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51393         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51394         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51395         Likewise.
51396         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51397         Likewise.
51398         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51400         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51401         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51402         <bits/fcntl-linux.h>.
51403         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51405         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51406         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51407         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51408         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51409         [__WORDSIZE != 64]: Likewise.
51411 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51413         * Makeconfig (run-built-tests): New variable.
51414         * Rules [$(cross-compiling) = yes]: Change condition to
51415         [$(run-built-tests) = no].
51416         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51417         to [$(run-built-tests) = yes].
51418         * elf/Makefile [$(cross-compiling) = no]: Likewise
51419         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51420         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51421         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51422         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51423         * io/Makefile [$(cross-compiling) = no]: Likewise.
51424         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51425         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51426         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51427         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51428         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51429         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51430         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51431         * string/Makefile [$(cross-compiling) = no]: Likewise.
51433         * posix/Makefile ($(objpfx)globtest.out): Pass
51434         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51435         $(rtld-installed-name).
51436         * posix/globtest.sh (elf_objpfx): Remove variable.
51437         (rtld_installed_name): Likewise.
51438         (library_path): Likewise.
51439         (run_program_prefix): New variable.  Use for running globtest
51440         binary.
51442 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51443             Joseph Myers  <joseph@codesourcery.com>
51445         * Makeconfig (host-built-program-cmd): New variable.
51446         * elf/Makefile (tst-stackguard1-ARGS): Use
51447         $(host-built-program-cmd).
51448         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51449         (tst-spawn-ARGS): Likewise.
51450         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51452 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51453             Jim Blandy  <jimb@codesourcery.com>
51455         * Makeconfig (run-via-rtld-prefix): New variable.
51456         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51457         (built-program-cmd): Likewise.
51459 2012-10-22  Andreas Jaeger  <aj@suse.de>
51461         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51462         __O_RSYNC if it exists, otherwise to O_SYNC.
51464 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51465             Joseph Myers  <joseph@codesourcery.com>
51467         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51468         /dev/null.
51469         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51470         from /dev/null
51471         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51472         /dev/null.
51474 2012-10-22  Andreas Jaeger  <aj@suse.de>
51476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51477         Define always.
51478         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51480         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51481         bits/fcntl-linux.h.
51483         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51484         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51486         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51487         to __O_LARGEFILE.
51488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51489         to __O_LARGEFILE.
51491 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51492             Joseph Myers  <joseph@codesourcery.com>
51494         * config.make.in (NM): New variable.
51496 2012-10-21  Andreas Jaeger  <aj@suse.de>
51498         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51499         definitions and declarations that are provided by
51500         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51502 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51504         [BZ #14683]
51505         * elf/Makefile (tests-static): Add tst-leaks1-static.
51506         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51507         ($(objpfx)tst-leaks1-static): New rule.
51508         ($(objpfx)tst-leaks1-static-mem): Likewise.
51509         (tst-leaks1-static-ENV): New macro.
51510         * elf/dl-open.c (dl_open_worker): Check the main application
51511         only if SHARED is defined.
51512         * elf/tst-leaks1-static.c: New file.
51514 2012-10-20  Andreas Jaeger  <aj@suse.de>
51516         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51517         generic values for Linux.
51518         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51519         and declarations that are provided by <bits/fcntl-linux.h> and
51520         include <bits/fcntl-linux.h>.
51521         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51522         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51524 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51526         * io/fcntl.h: Move include of <bits/types.h> to the top and
51527         include it unconditionally.
51529 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51531         * wcsmbs/Makefile (tests-ifunc): New variable.
51532         (tests): Add $(tests-ifunc).
51533         * wcsmbs/test-wcschr-ifunc.c: New file.
51534         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51535         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51536         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51537         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51538         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51540         * string/Makefile (tests-ifunc): New variable.
51541         (tests): Add $(tests-ifunc).
51542         * string/test-memccpy.c (TEST_NAME): New macro.
51543         * string/test-memchr.c (TEST_NAME): Likewise.
51544         * string/test-memcmp.c (TEST_NAME): Likewise.
51545         * string/test-memcpy.c (TEST_NAME): Likewise.
51546         * string/test-memmem.c (TEST_NAME): Likewise.
51547         * string/test-memmove.c (TEST_NAME): Likewise.
51548         * string/test-memset.c (TEST_NAME): Likewise.
51549         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51550         * string/test-stpcpy.c (TEST_NAME): Likewise.
51551         * string/test-stpncpy.c (TEST_NAME): Likewise.
51552         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51553         * string/test-strcasestr.c (TEST_NAME): Likewise.
51554         * string/test-strcat.c (TEST_NAME): Likewise.
51555         * string/test-strchr.c (TEST_NAME): Likewise.
51556         * string/test-strcmp.c(TEST_NAME): Likewise.
51557         * string/test-strcpy.c (TEST_NAME): Likewise.
51558         * string/test-strcspn.c (TEST_NAME): Likewise.
51559         * string/test-strlen.c (TEST_NAME): Likewise.
51560         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51561         * string/test-strncmp.c (TEST_NAME): Likewise.
51562         * string/test-strncpy.c (TEST_NAME): Likewise.
51563         * string/test-strnlen.c (TEST_NAME): Likewise.
51564         * string/test-strpbrk.c (TEST_NAME): Likewise.
51565         * string/test-strrchr.c (TEST_NAME): Likewise.
51566         * string/test-strspn.c (TEST_NAME): Likewise.
51567         * string/test-strstr.c (TEST_NAME): Likewise.
51568         * string/test-bcopy-ifunc.c: New file.
51569         * string/test-bzero-ifunc.c: Likewise.
51570         * string/test-memccpy-ifunc.c: Likewise.
51571         * string/test-memchr-ifunc.c: Likewise.
51572         * string/test-memcmp-ifunc.c: Likewise.
51573         * string/test-memcpy-ifunc.c: Likewise.
51574         * string/test-memmem-ifunc.c: Likewise.
51575         * string/test-memmove-ifunc.c: Likewise.
51576         * string/test-mempcpy-ifunc.c: Likewise.
51577         * string/test-memset-ifunc.c: Likewise.
51578         * string/test-rawmemchr-ifunc.c: Likewise.
51579         * string/test-stpcpy-ifunc.c: Likewise.
51580         * string/test-stpncpy-ifunc.c: Likewise.
51581         * string/test-strcasecmp-ifunc.c: Likewise.
51582         * string/test-strcasestr-ifunc.c: Likewise.
51583         * string/test-strcat-ifunc.c: Likewise.
51584         * string/test-strchr-ifunc.c: Likewise.
51585         * string/test-strchrnul-ifunc.c: Likewise.
51586         * string/test-strcmp-ifunc.c: Likewise.
51587         * string/test-strcpy-ifunc.c: Likewise.
51588         * string/test-strcspn-ifunc.c: Likewise.
51589         * string/test-strlen-ifunc.c: Likewise.
51590         * string/test-strncasecmp-ifunc.c: Likewise.
51591         * string/test-strncat-ifunc.c: Likewise.
51592         * string/test-strncmp-ifunc.c: Likewise.
51593         * string/test-strncpy-ifunc.c: Likewise.
51594         * string/test-strnlen-ifunc.c: Likewise.
51595         * string/test-strpbrk-ifunc.c: Likewise.
51596         * string/test-strrchr-ifunc.c: Likewise.
51597         * string/test-strspn-ifunc.c: Likewise.
51598         * string/test-strstr-ifunc.c: Likewise.
51600         * debug/Makefile (tests-ifunc): New variable.
51601         (tests): Add $(tests-ifunc).
51602         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51603         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51604         * debug/test-stpcpy_chk-ifunc.c: New file.
51605         * debug/test-strcpy_chk-ifunc.c: Likewise.
51607 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51609         [BZ #13601]
51610         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51611         header is not read in.
51613 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51615         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51616         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51617         directly.  Pass built executable to script as
51618         $(built-program-cmd).
51619         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51620         $testprogram without using LD_LIBRARY_PATH and $ldso.
51622         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51623         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51624         $(rtld-installed-name).
51625         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51626         (rtld_installed_name): Likewise.
51627         (library_path): Likewise.
51628         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51629         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51630         $(run-program-prefix) to tst-tables.sh.
51631         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51632         it to run tst-table-from and tst-table-to.
51633         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51634         Pass it to tst-table.sh.
51635         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51636         $(run-program-prefix) to tst-gettext.sh.
51637         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51638         tst-translit.sh.
51639         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51640         tst-gettext2.sh.
51641         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51642         to run tst-gettext.
51643         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51644         to run tst-gettext2.
51645         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51646         to run tst-translit.
51647         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51648         $(run-program-prefix) to tst-mtrace.sh.
51649         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51650         to run tst-mtrace.
51651         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51652         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51653         $(rtld-installed-name).
51654         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51655         (rtld_installed_name): Likewise.
51656         (run_program_prefix): New variable.  Use it to run wordexp-test.
51658         * Makeconfig (ARCH): Remove all definitions.
51659         (machine): Likewise.
51660         [ARCH]: Remove conditional code.
51661         [!objdir]: Give error.
51662         [!objdir] (objpfx): Remove.
51663         [!objdir] (common-objpfx): Likewise.
51664         [!objdir] (common-objdir): Likewise.
51665         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51666         AC_CONFIG_FILES call.
51667         * configure: Regenerated.
51669         [BZ #13888]
51670         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51671         or TMPDIR.
51672         (testout): Likewise.
51674         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51675         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51676         $(rtld-installed-name).
51677         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51678         (rtld_installed_name): Likwise.
51679         (runit): Remove function.
51680         (run_getconf): New variable,  Use it for running getconf binary.
51682 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51684         [BZ #14716]
51685         * string/test-memmem.c (check_result): New function.
51686         (do_one_test): Use it.
51687         (check1): New function.
51688         (test_main): Use it.
51690 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51692         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51694 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51696         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51697         (_G_LSEEK64): Likewise.
51698         (_G_MMAP64): Likewise.
51699         (_G_FSTAT64): Likewise.
51700         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51701         (_G_LSEEK64): Likewise.
51702         (_G_MMAP64): Likewise.
51703         (_G_FSTAT64): Likewise.
51704         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51705         unconditional.  Call __mmap64 directly.
51706         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51707         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51708         __lseek64 directly.
51709         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51710         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51711         __mmap64 directly.
51712         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51713         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51714         __lseek64 directly.
51715         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51716         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51717         __lseek64 directly.
51718         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51719         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51720         __lseek64 directly.
51721         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51722         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51723         __fxstat64 directly.
51724         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51725         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51726         unconditional.
51727         (freopen64) [!_G_OPEN64]: Remove conditional code.
51728         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51729         unconditional.
51730         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51731         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51732         unconditional.
51733         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51734         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51735         unconditional.
51736         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51737         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51738         unconditional.
51739         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51740         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51741         unconditional.
51742         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51743         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51744         unconditional.
51745         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51746         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51747         unconditional.
51748         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51750 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51752         [BZ #12140]
51753         * manual/memory.texi (Malloc Tunable Parameters): Add note
51754         about free list pointers overwriting some perturb bytes.
51755         Wording suggested by Roland McGrath.
51757 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51759         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51760         (lgamma_test): Likewise.
51761         (tgamma_test): Likewise.
51763 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51765         [BZ #14700]
51766         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51767         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51769 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51771         * NEWS: Mention BZ #14716.
51772         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51773         when removing AVAILABLE1_USES_J macro.
51775 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51777         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51778         (__bswap_64): __uint64_t for unsigned 64-bit int.
51780 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51782         * include/string.h (memmem): Declare libc hidden alias.
51783         * string/memmem.c (memmem): Define libc hidden alias.
51784         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51785         __read, __close instead of open, read, close.
51787 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51789         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51790         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51791         global and hidden.
51792         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51793         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51794         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51795         Likewise.
51796         (__rawmemchr_sse2): Likewise.
51797         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51798         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51799         (__strchr_sse2): Likewise.
51800         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51801         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51802         (__strcasecmp_sse2): Likewise.
51803         (__strncasecmp_sse2): Likewise.
51804         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51805         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51806         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51807         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51808         (__strrchr_sse2): Likewise.
51809         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51810         ifunc-impl-list.c.
51811         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51812         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51813         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51814         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51815         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51816         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51817         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51818         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51819         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51820         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51821         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51822         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51823         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51824         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51825         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51826         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51827         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51828         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51829         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51830         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51831         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51832         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51833         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51834         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51835         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51836         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51837         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51838         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51839         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51840         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51842         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51843         global and hidden.
51844         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51845         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51846         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51847         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51848         Likewise.
51849         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51850         Likewise.
51851         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51852         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51853         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51854         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51855         ifunc-impl-list.c.
51856         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51857         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51858         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51859         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51860         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51861         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51862         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51863         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51864         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51865         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51866         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51867         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51868         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51869         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51870         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51871         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51872         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51873         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51874         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51875         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51876         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51877         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51878         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51879         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51880         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51881         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51882         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51883         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51884         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51885         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51886         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51887         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51888         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51889         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51890         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51891         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51892         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51893         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51894         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51895         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51896         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51898         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51899         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51900         * include/ifunc-impl-list.h: New file.
51901         * misc/ifunc-impl-list.c: Likewise.
51902         * misc/Makefile (routines): Add ifunc-impl-list.
51903         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51904         * string/test-string.h: Include <ifunc-impl-list.h>.
51905         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51906         TEST_NAME]: New variables.
51907         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51908         are defined.
51909         (test_init): Call __libc_ifunc_impl_list to initialize
51910         func_list if TEST_IFUNC and TEST_NAME are defined.
51912         * string/Makefile (strop-tests): Add bcopy and bzero.
51913         * string/test-bcopy.c: New file.
51914         * string/test-bzero.c: Likewise.
51915         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51916         defined.
51917         * string/test-memset.c: Support bzero test if TEST_BZERO is
51918         defined.
51919         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51920         __libc_memmove.
51921         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51922         __libc_memset.
51923         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51924         of memset.
51926 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51928         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51929         * configure: Regenerated.
51931         * Makeconfig (+link-static-before-libc): Don't include
51932         $(link-static-libc).
51934         * libio/libio.h (_IO_pos_t): Remove.
51936 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51938         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51939         McGrath.
51941 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51943         * crypt/crypt-entry.c: Include fips-private.h.
51944         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51945         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51946         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51947         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51949 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51951         * crypt/crypt-private.h: Include stdbool.h.
51952         (_ufc_setup_salt_r): Return bool.
51953         * crypt/crypt-entry.c: Include errno.h.
51954         (__crypt_r): Return NULL with EINVAL for bad salt.
51955         * crypt/crypt_util.c (bad_for_salt): New.
51956         (_ufc_setup_salt_r): Check that salt is long enough and within
51957         the specified alphabet.
51958         * crypt/badsalttest.c: New file.
51959         * crypt/Makefile (tests): Add it.
51960         ($(objpfx)badsalttest): New.
51962 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51964         * NEWS: Add entry for BZ #14602.
51966 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51968         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51969         type-generic.
51970         * math/libm-test.inc: Update comment listing what functions and
51971         macros are tested.
51972         (isgreater_test): New function.
51973         (isgreaterequal_test): Likewise.
51974         (isless_test): Likewise.
51975         (islessequal_test): Likewise.
51976         (islessgreater_test): Likewise.
51977         (isunordered_test): Likewise.
51978         (main): Call the new functions.
51980 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51982         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51983         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51984         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51985         * sysdeps/i386/configure: Regenerated.
51986         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51987         * sysdeps/mach/configure: Regenerated.
51988         * sysdeps/mach/hurd/configure: Regenerated.
51989         * sysdeps/powerpc/configure: Regenerated.
51990         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51991         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51992         * sysdeps/s390/s390-32/configure: Regenerated.
51993         * sysdeps/s390/s390-64/configure: Regenerated.
51994         * sysdeps/sh/configure: Regenerated.
51995         * sysdeps/sparc/configure: Regenerated.
51996         * sysdeps/unix/sysv/linux/configure: Regenerated.
51997         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51998         * sysdeps/x86_64/configure: Regenerated.
52000         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52001         defined.  Don't check if MAP is NULL.
52003 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52005         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52006         (_G_stat64): Likewise.
52007         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52008         (_G_stat64): Likewise.
52009         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52010         instead of struct _G_stat64.
52011         * libio/fileops.c (mmap_remap_check): Likewise.
52012         (decide_maybe_mmap): Likewise.
52013         (_IO_new_file_seekoff): Likewise.
52014         (_IO_file_stat): Likewise.
52015         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52016         _G_off64_t.
52017         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52018         instead of struct _G_stat64.
52019         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52021 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52023         [BZ #14602]
52024         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52025         Replace with ...
52026         (CHECK_EOL): New macro.
52027         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52028         CHECK_EOL.
52029         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52030         Replace with CHECK_EOL.
52031         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52032         Replace with CHECK_EOL.
52034 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52036         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52037         type-generic.
52038         * math/libm-test.inc: Update comment listing what functions and
52039         macros are tested.
52040         (finite_test): New function.
52041         (isinf_test): Likewise.
52042         (isnan_test): Likewise.
52043         (fpclassify_test): Test subnormal input.
52044         (isfinite_test): Likewise.
52045         (isnormal_test): Likewise.
52046         (main): Call the new functions.
52048 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52050         [BZ #14660]
52051         * Makerules (%.dynsym): Force C locale when running
52052         $(OBJDUMP) --dynamic-syms.
52054 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52056         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52057         <stdint.h>.
52059 2012-10-06  David S. Miller  <davem@davemloft.net>
52061         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52062         upper 32-bits of the length value in %o2 since we use branch-on-register
52063         tests which consider the entire 64-bit register.
52065 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52067         * string/test-strstr.c (check2): Add a test for page boundary.
52069 2012-10-05  David S. Miller  <davem@davemloft.net>
52071         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52072         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52073         file.
52074         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52075         sysdep_routines.
52076         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52077         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52078         and bzero when HWCAP_SPARC_CRYPTO is present.
52080 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52082         [BZ #14602]
52083         * string/test-strstr.c (check2): New function.
52084         (test_main): Call check2.
52086         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52087         and bug-strchr1.
52088         * string/bug-strcasestr1.c (do_test): Moved to ...
52089         * string/test-strcasestr.c (check1): Here.  New function.
52090         (do_one_test): Break out result checking code into ...
52091         (check_result): This.  New function.
52092         (do_one_test): Call check_result.
52093         (test_main): Call check1.
52094         * string/bug-strchr1.c (do_test): Moved to ...
52095         * string/test-strchr.c (check1): Here.  New function.
52096         (do_one_test): Break out result checking code into ...
52097         (check_result): This.  New function.
52098         (do_one_test): Call check_result.
52099         (test_main): Call check1.
52100         * string/bug-strstr1.c (main): Moved to ...
52101         * string/test-strstr.c (check1): Here.  New function.
52102         (do_one_test): Break out result checking code into ...
52103         (check_result): This.  New function.
52104         (do_one_test): Call check_result.
52105         (test_main): Call check1.
52106         * string/bug-strcasestr1.c: Removed.
52107         * string/bug-strchr1.c: Likewise.
52108         * string/bug-strstr1.c: Likewise.
52110         * elf/Makefile (dl-routines): Add hwcaps.
52111         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52112         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52113         (_dl_important_hwcaps): Moved to ...
52114         * elf/dl-hwcaps.c: Here.  New file.
52115         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52117         [BZ #14557]
52118         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52119         if IS_IN_rtld isn't defined.
52121         * elf/dl-support.c (_dl_sysinfo_map): New.
52122         Include "get-dynamic-info.h" and "setup-vdso.h".
52123         (_dl_non_dynamic_init): Call setup_vdso.
52124         * elf/dynamic-link.h: Don't include <assert.h>.
52125         (elf_get_dynamic_info): Moved to ...
52126         * elf/get-dynamic-info.h: Here.  New file.
52127         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52128         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52129         * elf/setup-vdso.h: Here.  New file.
52130         * elf/rtld.c: Include "setup-vdso.h".
52131         (dl_main): Call setup_vdso.
52133 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52135         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52136         creal in comment listing functions tested.  List finite, isinf,
52137         isnan, isless, islessequal, isgreater, isgreaterequal,
52138         islessgreater, isunordered, lgamma_r and pow10 as functions and
52139         macros not tested.  Mention which functions not tested are aliases
52140         for other functions.  Fix typo.  Note that signs of NaNs are not
52141         tested.
52143         * scripts/config.guess: Update from config.git.
52144         * scripts/config.sub: Likewise.
52146 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52148         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52149         * misc/madvise.c (madvise): Renamed to __madvise.
52150         Make madvise a weak alias.
52151         * include/sys/mman.h: Declare __madvise.
52152         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52153         * sysdeps/unix/syscalls.list
52154         (madvise): Make __madvise the strong name, and madvise a weak alias.
52155         * sysdeps/unix/sysv/linux/syscalls.list
52156         (madvise, mmap): Remove redundant entries.
52157         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52158         * malloc/malloc.c (mtrim): Likewise.
52159         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52161 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52163         * sysdeps/mach/hurd/dl-cache.c: File removed.
52164         * config.h.in (USE_LDCONFIG): New #undef.
52165         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52166         * configure: Regenerated.
52167         * elf/Makefile (dl-routines): Add dl-cache only under
52168         [$(use-ldconfig) = yes].
52169         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52170         cache on [USE_LDCONFIG].
52171         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52172         [USE_LDCONFIG].
52173         * elf/rtld.c (dl_main): Likewise.
52175 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52177         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52178         _SC_LEVEL4_CACHE_LINESIZE.
52180 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52182         * sysdeps/unix/bsd/confstr.h: File removed.
52184 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52186         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52187         sys/sdt-config.h.
52189 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52191         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52192         Make 'mapoff' field ElfW(Off) rather than off_t.
52194 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52196         * nscd/Makefile: Remove nscd-cflags and all its users.
52197         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52198         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52200         [BZ #10631]
52201         * malloc.c (malloc_printerr): Clarify error message.
52203 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52205         [BZ #14648]
52206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52207         Set bit_FMA_Usable if FMA is supported.
52208         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52209         macro.
52210         (bit_FMA4_Usable): Updated.
52211         (index_FMA_Usable): New macro.
52212         (CPUID_FMA): Likewise
52213         (HAS_FMA): Defined with bit_FMA_Usable.
52215 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52217         * bits/types.h (__swblk_t): Type removed.
52218         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52219         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52220         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52221         (__SWBLK_T_TYPE): Likewise.
52222         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52223         (__SWBLK_T_TYPE): Likewise.
52224         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52225         (__SWBLK_T_TYPE): Likewise.
52226         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52227         (__SWBLK_T_TYPE): Likewise.
52229 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52230             Honza Horak <hhorak@redhat.com>
52232         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52233         (xdr_mapname): Use YPMAXMAP as maxsize.
52234         (xdr_peername): Use YPMAXPEER as maxsize.
52235         (xdr_keydat): Use YPAXRECORD as maxsize.
52236         (xdr_valdat): Use YPMAXRECORD as maxsize.
52238 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52240         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52242         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52243         * csu/init-first.c: ... here.
52244         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52245         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52246         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52247         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52248         * sysdeps/i386/init-first.c: File removed.
52249         * sysdeps/sh/init-first.c: File removed.
52251 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52253         [BZ #14645]
52254         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52255         if x * y might underflow to zero and z is zero.
52256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52258         * math/libm-test.inc (min_subnorm_value): New variable.
52259         (fma_test): Add more tests.
52260         (fma_test_towardzero): Likewise.
52261         (fma_test_downward): Likewise
52262         (fma_test_upward): Likewise.
52263         (initialize): Set min_subnorm_value.
52265 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52267         [BZ #14638]
52268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52269         0 + 0.
52270         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52271         mode for addition resulting in exact zero.
52272         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52273         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52274         exact 0 + 0.
52275         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52276         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52277         * math/libm-test.inc (fma_test): Add more tests.
52278         (fma_test_towardzero): New function.
52279         (fma_test_downward): Likewise.
52280         (fma_test_upward): Likewise.
52281         (main): Call the new functions.
52283 2012-09-28  David S. Miller  <davem@davemloft.net>
52285         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52287 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52289         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52290         instead of SIGALRM.
52292         * sysdeps/gnu/_G_config.h: Moved to ...
52293         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52294         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52295         * sysdeps/generic/_G_config.h: ... here.
52297         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52299         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52301         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52302         Conditionalize target on [libnss_test1.so-version].
52304         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52306         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52307         (elfobjdir): Move out of conditionals.
52309         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52310         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52311         (__nss_lookup_function): Conditionalize label remove_from_tree on
52312         [!DO_STATIC_NSS || SHARED], matching its only use.
52314 2012-09-28  David S. Miller  <davem@davemloft.net>
52316         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52317         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52318         file.
52319         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52320         sysdep_routines.
52321         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52322         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52323         when HWCAP_SPARC_CRYPTO is present.
52325 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52327         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52329 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52331         [BZ #6530]
52332         * stdio-common/vfprintf.c (process_string_arg): Revert
52333         2000-07-22 change.
52335 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52337         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52338         for testcase.
52339         * stdio-common/tst-sprintf.c: Include <locale.h>
52340         (main): Test sprintf's handling of incomplete multibyte
52341         characters.
52343 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52345         * elf/dl-runtime.c (VERSYMIDX): Removed.
52346         * elf/dl-version.c (VERSYMIDX): Likewise.
52347         * elf/do-rel.h (VERSYMIDX): Likewise.
52348         (VALIDX): Likewise.
52349         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52350         * elf/rtld.c (VALIDX): Likewise.
52351         (ADDRIDX): Likewise.
52352         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52353         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52354         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52355         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52356         (VALIDX): Likewise.
52357         (ADDRIDX): Likewise.
52359 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52361         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52363 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52365         [BZ #11438]
52366         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52367         to global scope.
52368         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52369         addresses are in the same scope as 192.0.2/24.
52370         * posix/gai.conf: Document new scope table defaults.
52372 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52374         [BZ #5298]
52375         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52376         for ftell.  Compute offsets from write pointers instead.
52377         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52379 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52381         [BZ #14543]
52382         * libio/Makefile (tests): New test case tst-fseek.
52383         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52384         combination works in wide mode.
52385         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52386         state when the external buffer state changes.
52388 2012-09-27  David S. Miller  <davem@davemloft.net>
52390         [BZ #14376]
52391         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52392         pass reloc->r_addend in as the 'high' argument to
52393         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52397 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52399         * rt/tst-aio2.c: Include <pthread.h>.
52400         * rt/tst-aio3.c: Likewise.
52402 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52404         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52406 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52408         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52409         contents on [SHARED].
52411 2012-09-26  Marek Polacek  <polacek@redhat.com>
52413         [BZ #14530]
52414         [BZ #13741]
52415         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52416         for C++ and GCC <4.3 as well as for non GCC compilers.
52418 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52422 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52424         * Makefile.in (all, install): Declare with .PHONY.
52425         Reported by Michael Hope <michael.hope@linaro.org>.
52427 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52429         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52430         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52431         system header.
52432         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52433         Likewise.
52434         (sydep_routines): Add the new and the internal functions.
52435         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52436         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52438         (GLIBC_2.17): Add the new function.
52439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52440         (GLIBC_2.17): Likewise.
52441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52442         (GLIBC_2.17): Likewise.
52443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52444         (GLIBC_2.17): Likewise.
52445         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52447 2012-09-25  Alan Modra  <amodra@gmail.com>
52449         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52450         Add release barrier before setting once_control to say
52451         initialisation is done.  Add hints on lwarx.  Use macro in
52452         place of isync.
52453         (clear_once_control): Add release barrier.
52455 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52457         [BZ #13629]
52458         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52459         specially.
52460         * math/s_clog10.c (__clog10): Likewise.
52461         * math/s_clog10f.c (__clog10f): Likewise.
52462         * math/s_clog10l.c (__clog10l): Likewise.
52463         * math/s_clogf.c (__clogf): Likewise.
52464         * math/s_clogl.c (__clogl): Likewise.
52465         * math/Makefile (libm-calls): Add x2y2m1.
52466         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52467         (__x2y2m1): Likewise.
52468         (__x2y2m1l): Likewise.
52469         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52470         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52471         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52472         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52473         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52474         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52475         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52476         * sysdeps/i386/fpu/libm-test-ulps: Update.
52477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52479         [BZ #14621]
52480         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52481         int as type of variable DEPTH.
52482         (glob): Use size_t instead of int as type of variables NEWCOUNT
52483         and OLD_PATHC.
52485 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52487         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52488         Add s_sincosf-sse2.
52489         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52490         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52491         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52492         macros for using routine as __sincosf_ia32.
52493         Use macro for function declaration and weak_alias.
52494         * sysdeps/i386/fpu/libm-test-ulps: Update.
52496         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52499         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52500         subnormal argument.
52501         * math/s_cexpf.c (__cexpf): Likewise.
52502         * math/s_csinf.c (__csinf): Likewise.
52503         * math/s_csinhf.c (__csinhf): Likewise.
52504         * math/s_ctanf.c (__ctanf): Likewise.
52505         * math/s_ctanhf.c (__ctanhf): Likewise.
52506         * math/s_ccosh.c (__ccoshf): Likewise.
52507         * math/s_cexp.c (__cexpl): Likewise.
52508         * math/s_csin.c (__csin): Likewise.
52509         * math/s_csinh.c (__csinh): Likewise.
52510         * math/s_ctan.c (__ctan): Likewise.
52511         * math/s_ctanh.c (ctanh): Likewise.
52512         * math/s_ccoshl.c (__ccoshl): Likewise.
52513         * math/s_cexpl.c (__cexpl): Likewise.
52514         * math/s_csinl.c (__csinl): Likewise.
52515         * math/s_csinhl.c (__csinhl): Likewise.
52516         * math/s_ctanl.c (__ctanl): Likewise.
52517         * math/s_ctanhl.c (__ctanhl): Likewise.
52519 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52521         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52522         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52523         (_IO_off_t): Define to __off_t, not _G_off_t.
52524         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52525         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52526         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52527         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52528         type of __dummy and __dummy2 fields.
52529         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52530         (_G_ssize_t): Likewise.
52531         (_G_off_t): Likewise.
52532         (_G_pid_t): Likewise.
52533         (_G_uid_t): Likewise.
52534         (_G_wchar_t): Likewise.
52535         (_G_wint_t): Likewise.
52536         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52537         (_G_ssize_t): Likewise.
52538         (_G_off_t): Likewise.
52539         (_G_pid_t): Likewise.
52540         (_G_uid_t): Likewise.
52541         (_G_wchar_t): Likewise.
52542         (_G_wint_t): Likewise.
52543         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52544         (_G_ssize_t): Likewise.
52545         (_G_off_t): Likewise.
52546         (_G_pid_t): Likewise.
52547         (_G_uid_t): Likewise.
52548         (_G_wchar_t): Likewise.
52549         (_G_wint_t): Likewise.
52551 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52553         * malloc/arena.c: Include malloc-sysdep.h.
52554         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52555         is sufficient to shrink the heap or an unmap is needed.
52556         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52557         new function check_may_shrink_heap.
52558         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52559         new function check_may_shrink_heap.
52561 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52563         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52564         comments.
52566 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52568         * catgets/test-gencat.sh: Add "set -e".
52569         * elf/tst-pathopt.sh: Likewise.
52570         * grp/tst_fgetgrent.sh: Likewise.
52571         * iconvdata/run-iconv-test.sh: Likewise.
52572         * intl/tst-gettext.sh: Likewise.
52573         * intl/tst-gettext2.sh: Likewise.
52574         * intl/tst-gettext4.sh: Likewise.
52575         * intl/tst-gettext6.sh: Likewise.
52576         * intl/tst-translit.sh: Likewise.
52577         * io/ftwtest-sh: Likewise.
52578         * libio/test-freopen.sh: Likewise.
52579         * malloc/tst-mtrace.sh: Likewise.
52580         * posix/globtest.sh: Likewise.
52581         * posix/tst-getconf.sh: Likewise.
52582         * posix/wordexp-tst.sh: Likewise.
52583         * stdio-common/tst-printf.sh: Likewise.
52584         * stdio-common/tst-unbputc.sh: Likewise.
52585         * stdlib/tst-fmtmsg.sh: Likewise.
52586         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52587         * catgets/Makefile: Do not specify -e option when running
52588         testsuite shell scripts.
52589         * elf/Makefile: Likewise.
52590         * grp/Makefile: Likewise.
52591         * iconvdata/Makefile: Likewise.
52592         * intl/Makefile: Likewise.
52593         * io/Makefile: Likewise.
52594         * libio/Makefile: Likewise.
52595         * malloc/Makefile: Likewise.
52596         * posix/Makefile: Likewise.
52597         * stdio-common/Makefile: Likewise.
52598         * stdlib/Makefile: Likewise.
52599         * sysdeps/x86_64/Makefile: Likewise.
52601         * io/ftwtest-sh: Add copyright header.
52602         * posix/globtest.sh: Likewise.
52603         * posix/tst-getconf.sh: Likewise.
52604         * posix/wordexp-tst.sh: Likewise.
52605         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52607 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52609         [BZ #13679]
52610         * Makeconfig (+link): Defined as $(+link-static) if
52611         $(build-shared) isn't yes.
52612         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52613         isn't yes.
52614         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52616         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52618         [BZ #14562]
52619         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52620         new chunk size with MALLOC_ALIGN_MASK.
52622 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52624         [BZ #5044]
52625         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52626         <rounding-mode.h>.
52627         (__printf_fphex): Determine rounding using get_rounding_mode and
52628         round_away.
52629         * stdio-common/tst-printf-round.c (struct hex_test): New
52630         structure.
52631         (hex_tests): New variable.
52632         (test_hex_in_one_mode): New function.
52633         (do_test): Also run tests for hex float output.
52635 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52637         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52638         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52639         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52640         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52641         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52642         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52643         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52644         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52646 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52648         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52649         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52650         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52651         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52653 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52655         [BZ #14579]
52656         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52657         mode only.
52658         * elf/tst-rtld-load-self.sh: New test.
52659         * elf/Makefile: Run it.
52661 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52663         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52664         (tst-writev-ENV): Remove.
52665         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52667 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52669         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52671 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52673         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52674         unconditional.
52675         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52676         Likewise.
52677         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52678         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52679         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52680         Likewise.
52682 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52684         [BZ #14587]
52685         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52686         * config.make.in (have-cpp-asm-debuginfo): Removed.
52687         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52688         * configure: Regenerated.
52690 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52692         [BZ #5044]
52693         * stdio-common/printf_fp.c: Include <stdbool.h> and
52694         <rounding-mode.h>.
52695         (___printf_fp): Determine rounding using get_rounding_mode and
52696         round_away.
52697         * stdio-common/tst-printf-round.c: New file.
52698         * stdio-common/Makefile (tests): Add tst-printf-round.
52699         (link-libm): New variable.
52700         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52702 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52704         [BZ #14576]
52705         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52706         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52707         Likewise.
52708         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52709         Likewise.
52711 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52713         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52714         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52715         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52716         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52718 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52720         [BZ #14518]
52721         * include/rounding-mode.h: New file.
52722         * sysdeps/generic/get-rounding-mode.h: Likewise.
52723         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52724         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52725         (MAX_VALUE): New macro.
52726         (MIN_VALUE): Likewise.
52727         (overflow_value): New function.
52728         (underflow_value): Likewise.
52729         (round_and_return): Use overflow_value and underflow_value to
52730         determine return values in overflow and underflow cases.  Use
52731         round_away to determine rounding depending on rounding mode.
52732         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52733         determine return values in overflow and underflow cases.
52734         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52735         (struct test_results): New structure.
52736         (struct test): Use struct test_results to store expected results
52737         for all rounding modes.
52738         (TEST): Include expected results for all rounding modes.
52739         (test_in_one_mode): New function.
52740         (do_test): Use test_in_one_mode to compute and check results.
52741         Check results for all rounding modes.
52742         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52743         $(link-libm).
52745 2012-12-09  Allan McRae  <allan@archlinux.org>
52747         * sysdeps/i386/fpu/libm-test-ulps: Update
52749 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52751         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52752         (_G_int32_t): Likewise.
52753         (_G_uint16_t): Likewise.
52754         (_G_uint32_t): Likewise.
52755         (_G_HAVE_BOOL): Likewise.
52756         (_G_HAVE_ATEXIT): Likewise.
52757         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52758         (_G_HAVE_IO_FILE_OPEN): Likewise.
52759         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52760         (_G_int32_t): Likewise.
52761         (_G_uint16_t): Likewise.
52762         (_G_uint32_t): Likewise.
52763         (_G_HAVE_BOOL): Likewise.
52764         (_G_HAVE_ATEXIT): Likewise.
52765         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52766         (_G_HAVE_IO_FILE_OPEN): Likewise.
52767         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52768         (_G_int32_t): Likewise.
52769         (_G_uint16_t): Likewise.
52770         (_G_uint32_t): Likewise.
52771         (_G_HAVE_BOOL): Likewise.
52772         (_G_HAVE_ATEXIT): Likewise.
52773         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52774         (_G_HAVE_IO_FILE_OPEN): Likewise.
52776 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52778         * csu/libc-tls.c: Update copyright years.
52780 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52782         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52783         [!_G_USING_THUNKS]: Remove conditional code.
52784         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52785         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52787         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52788         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52789         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52790         (_G_VTABLE_LABEL_PREFIX): Likewise.
52791         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52792         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52793         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52794         (_G_VTABLE_LABEL_PREFIX): Likewise.
52795         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52796         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52797         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52798         (_G_VTABLE_LABEL_PREFIX): Likewise.
52799         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52801 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52803         * libio/Makefile: Include ../Makeconfig before tests.
52804         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52805         only if $(build-shared) is yes.
52807         * iconv/gconv_db.c: Update copyright years.
52809 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52811         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52812         unwind info if defined PIC. Fix special cases description.
52813         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52815         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52816         DP_HI_MASK entry.
52817         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52819 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52821         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52823         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52824         is NULL.
52826         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52827         (LDLIBS-tst-chk4): This.
52828         (LDFLAGS-tst-chk5): Renamed to ...
52829         (LDLIBS-tst-chk5): This.
52830         (LDFLAGS-tst-chk6): Renamed to ...
52831         (LDLIBS-tst-chk6): This.
52832         (LDFLAGS-tst-lfschk4): Renamed to ...
52833         (LDLIBS-tst-lfschk4): This.
52834         (LDFLAGS-tst-lfschk5): Renamed to ...
52835         (LDLIBS-tst-lfschk5): This.
52836         (LDFLAGS-tst-lfschk6): Renamed to ...
52837         (LDLIBS-tst-lfschk6): This.
52839         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52840         on $(common-objpfx)soversions.mk.
52842 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52844         [BZ #10014]
52845         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52846         example host name.
52848 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52850         * malloc/arena.c (arena_get_retry): New function that gets
52851         another arena for the caller to try its request on.
52852         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52853         current arena cannot fulfill the request.
52854         (__libc_memalign): Likewise.
52855         (__libc_memalign): Likewise.
52856         (__libc_pvalloc): Likewise.
52857         (__libc_calloc): Likewise.
52859 2012-09-05  John Tobey  <john.tobey@gmail.com>
52861         [BZ #13542]
52862         * manual/arith.texi (Operations on Complex): Fix description
52863         of carg branch cut.
52865 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52867         [BZ #10014]
52868         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52869         host name.
52871         [BZ #10038]
52872         * manual/memory.texi (Memory): Make order of menu items match
52873         order of sections.
52875 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52877         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52878         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52879         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52881 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52883         * csu/libc-tls.c (static_dtv): Renamed to ...
52884         (_dl_static_dtv): This.  Make it global.
52885         (_dl_initial_dtv): Removed.
52886         (__libc_setup_tls): Updated.
52887         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52888         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52889         DL_INITIAL_DTV.
52891 2012-09-06  Petr Machata  <pmachata@redhat.com>
52893         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52894         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52895         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52896         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52898 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52900         [BZ #14545]
52901         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52902         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52903         freeing dtv[-1].
52905 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52907         [BZ #14544]
52908         * Makeconfig (link-static-before-libc): Replace $(+prector)
52909         with $(+prectorT).
52910         (link-static-after-libc): Replace $(+postctor) with
52911         $(+postctorT).
52912         (link-bounded): Replace $(+prector)/$(+postctor) with
52913         $(+prectorT)/$(+postctorT).
52914         (+prectorT): New macro.
52915         (+postctorT): Likewise.
52917 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52919         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52920         (round_str): Handle values above the maximum for IBM long double
52921         as inexact.
52922         * stdlib/tst-strtod-round.c (tests): Regenerated.
52924 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52926         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52927         assembler flag.
52928         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52929         zarch_nohighgprs around the zarch optimized routines.
52930         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52931         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52932         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52933         for zarch.
52935 2012-09-05  David S. Miller  <davem@davemloft.net>
52937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52939         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52940         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52941         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52942         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52943         entries.
52945 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52947         * malloc/arena.c: Fold copyright years.
52948         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52950 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52952         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52954 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52956         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52958 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52960         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52961         change internal state upon failure.
52963 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52965         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52966         * malloc/memusage.c (mmap): Likewise.
52967         (mmap64, mremap): Likewise.  Adjust name in comment.
52969 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52971         * libio/fileops.c: Fix typos in comments.
52972         * libio/oldfileops.c: Likewise.
52973         * libio/wfileops.c: Likewise.
52975 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52977         [BZ #1349]
52978         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52979         (tst-malloc-usable-ENV): Set environment for test case.
52980         * malloc/hooks.c (malloc_check_get_size): New function to get
52981         requested size.
52982         * malloc/malloc.c (musable): Use malloc_check_get_size.
52983         * malloc/tst-malloc-usable.c: New test case.
52985 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52987         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52989 2012-09-05  Allan McRae  <allan@archlinux.org>
52991         [BZ #13966]
52992         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52993         determine header location.
52994         * configure: Regenerated.
52996 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52998         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52999         float format.
53000         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53001         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53002         format.
53003         (test): Regenerate.
53005 2012-09-04  David S. Miller  <davem@davemloft.net>
53007         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53008         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53009         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53011 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53013         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53014         failures.
53016         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53018 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53020         [BZ #9914]
53021         * libio/iogetdelim.c: Include <limits.h>.
53022         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53023         + len + 1 would overflow.
53025 2012-09-03  Andreas Jaeger  <aj@suse.de>
53027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53028         * sysdeps/i386/fpu/libm-test-ulps: Update.
53030 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53032         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53033         Add s_sinf-sse2, s_conf-sse2.
53035         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53036         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53037         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53038         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53040         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53041         for using routine as __sinf_ia32.
53042         Use macro for function declaration and weak_alias.
53043         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53044         for using routine as __cosf_ia32.
53045         Use macro for function declaration and weak_alias.
53047         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53048         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53050         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53051         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53054         * math/libm-test.inc (cos_test): Add more test cases.
53055         (sin_test): Likewise.
53056         (sincos_test): Likewise.
53058 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53060         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53061         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53062         hidden.
53063         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53065 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53067         [BZ #14538]
53068         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53069         first element of the GOT.
53070         (elf_machine_load_address): Return the difference between
53071         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53073 2012-09-01  Allan McRae  <allan@archlinux.org>
53075         [BZ #13412]
53076         * configure.in (AWK): Require gawk version 3.0 or later.
53077         * configure: Regenerated.
53079 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53081         * sysdeps/unix/sysv/linux/kernel-features.h
53082         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53083         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53084         [__NR_clock_getres]: Make code unconditional.
53085         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53086         (clock_getcpuclockid): Remove code left unreachable by removal of
53087         conditionals.
53088         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53089         code unconditional.
53090         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53091         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53092         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53093         Make code unconditional.
53094         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53095         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53096         * sysdeps/unix/sysv/linux/clock_settime.c
53097         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53098         conditional code.
53099         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53100         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53102 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53104         [BZ #14476]
53105         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53106         scripts/test-installation.pl.
53108         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53109         and $ld_so_version if it is set.
53111 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53113         [BZ #14516]
53114         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53115         failure if reading from procfs failed.
53116         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53118 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53120         * sysdeps/unix/sysv/linux/kernel-features.h
53121         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53122         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53123         Remove conditional code.
53124         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53125         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53126         Remove conditional code.
53127         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53128         * sysdeps/unix/sysv/linux/i386/fxstat.c
53129         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53130         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53131         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53132         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53133         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53134         * sysdeps/unix/sysv/linux/i386/lxstat.c
53135         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53136         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53137         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53138         Remove conditional code.
53139         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53140         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53141         Remove conditional code.
53142         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53143         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53144         <kernel-features.h>.
53145         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53146         Remove.
53147         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53148         Remove conditional code.
53149         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53150         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53151         Remove conditional.
53153 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53155         [BZ #5400]
53156         * NEWS: Add fixed bug number.
53158 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53160         [BZ #14519]
53161         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53162         underflowing exponent in case of negative sign.
53163         * stdlib/tst-strtod-round-data: Add more tests.
53164         * stdlib/tst-strtod-round.c (tests): Regenerated.
53166         [BZ #3479]
53167         * stdlib/strtod_l.c (NDIG): Remove.
53168         (HEXNDIG): Likewise.
53169         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53170         smallest representable value.
53171         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53172         lie within an exact representation of 1/2 ulp of the result.
53173         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53174         unconditionally.
53175         (TENS_P9_IDX): Define unconditionally.
53176         (TENS_P9_SIZE): Likewise.
53177         (TENS_P10_IDX): Likewise.
53178         (TENS_P10_SIZE): Likewise.
53179         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53180         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53181         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53182         entries for 10^2^13 and 10^2^14.
53183         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53184         (TENS_P13_IDX): Define.
53185         (TENS_P13_SIZE): Likewise.
53186         (TENS_P14_IDX): Likewise.
53187         (TENS_P14_SIZE): Likewise.
53188         (_fpioconst_pow10): Change array size to
53189         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53190         unconditional.
53191         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53192         1024]: Add entries for 10^2^13 and 10^2^14.
53193         [LAST_POW10 > _LAST_POW10]: Remove #error.
53194         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53195         (_fpioconst_pow10): Change array size to
53196         FPIOCONST_POW10_ARRAY_SIZE.
53197         * stdlib/gen-fpioconst.c: New file.
53198         * stdlib/gen-tst-strtod-round.c: Likewise.
53199         * stdlib/tst-strtod-round-data: Likewise.
53200         * stdlib/tst-strtod-round.c: Likewise.
53201         * stdlib/Makefile (tests): Add tst-strtod-round.
53203         [BZ #14459]
53204         * stdlib/strtod_l.c: Include <stdint.h>.
53205         (NDEBUG): Do not define.
53206         (round_and_return): Change EXPONENT parameter to type intmax_t.
53207         Rearrange calculations to avoid internal overflow possibilities.
53208         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53209         Rearrange calculations to avoid internal overflow possibilities.
53210         Assert that number fits inside MPNSIZE limbs.
53211         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53212         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53213         calculations and add assertions to avoid internal overflow
53214         possibilities.  Add casts to avoid signed/unsigned operations.
53215         * stdlib/tst-strtod-overflow.c: New file.
53216         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53218 2012-08-25  Marek Polacek  <polacek@redhat.com>
53220         * time/time.h: Fix some typos in comments.
53222 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53224         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53225         * posix/tst-rfc3484-2.c: Likewise.
53226         * posix/tst-rfc3484-3.c: Likewise.
53228 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53230         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53231         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53233 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53235         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53236         #include of fxstatat64.c.
53238 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53240         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53241         * shadow/getspent_r.c: Likewise.
53242         * shadow/getspnam.c: Likewise.
53243         * shadow/getspnam_r.c: Likewise.
53244         * gshadow/getsgent.c: Likewise.
53245         * gshadow/getsgent_r.c: Likewise.
53246         * gshadow/getsgnam.c: Likewise.
53247         * gshadow/getsgnam_r.c: Likewise.
53248         * inet/getnetbyad.c: Likewise.
53249         * inet/getnetbyad_r.c: Likewise.
53250         * inet/getnetbynm.c: Likewise.
53251         * inet/getnetbynm_r.c: Likewise.
53252         * inet/getnetent.c: Likewise.
53253         * inet/getnetent_r.c: Likewise.
53254         * inet/getproto.c: Likewise.
53255         * inet/getproto_r.c: Likewise.
53256         * inet/getprtent.c: Likewise.
53257         * inet/getprtent_r.c: Likewise.
53258         * inet/getprtname.c: Likewise.
53259         * inet/getprtname_r.c: Likewise.
53260         * inet/getrpcbyname.c: Likewise.
53261         * inet/getrpcbyname_r.c: Likewise.
53262         * inet/getrpcbynumber.c: Likewise.
53263         * inet/getrpcbynumber_r.c: Likewise.
53264         * inet/getrpcent.c: Likewise.
53265         * inet/getrpcent_r.c: Likewise.
53266         * inet/getaliasent.c: Likewise.
53267         * inet/getaliasent_r.c: Likewise.
53268         * inet/getaliasname.c: Likewise.
53269         * inet/getaliasname_r.c: Likewise.
53270         * nscd/getgrgid_r.c: Likewise.
53271         * nscd/getgrnam_r.c: Likewise.
53272         * nscd/gethstbyad_r.c: Likewise.
53273         * nscd/gethstbynm3_r.c: Likewise.
53274         * nscd/getpwnam_r.c: Likewise.
53275         * nscd/getpwuid_r.c: Likewise.
53276         * nscd/getsrvbynm_r.c: Likewise.
53277         * nscd/getsrvbypt_r.c: Likewise.
53278         * nscd/gai.c: Likewise.
53280         * configure.in (build_nscd): New substituted variable, set
53281         by --disable-build-nscd and defaults to $use_nscd.
53282         * configure: Regenerated.
53283         * config.make.in (build-nscd): New substituted variable.
53284         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53285         Change conditional to require [$(build-nscd) = yes] as well.
53286         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53288         [BZ# 13696]
53289         * configure.in (use_nscd): New substituted variable, set by
53290         --disable-nscd.  If enabled, define USE_NSCD.
53291         * configure: Regenerated.
53292         * config.h.in: Add USE_NSCD.
53293         * config.make.in (use-nscd): New substituted variable.
53294         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53295         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53296         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53297         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53298         (CFLAGS-getgrnam_r.c): Likewise.
53299         (CFLAGS-initgroups.c): Likewise.
53300         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53301         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53302         Variables removed.
53303         * inet/getnetgrent_r.c
53304         (nscd_setnetgrent): New function, broken out of ...
53305         (setnetgrent): ... here.  Call it.
53306         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53307         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53308         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53309         * nscd/Makefile (routines, aux): Move definitions after include of
53310         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53311         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53312         Conditionalize on [USE_NSCD].
53313         (is_nscd, nscd_init_cb): Likewise.
53314         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53315         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53316         * nss/nss_db/db-init.c: Likewise.
53317         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53318         [USE_NSCD].
53319         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53320         (make_request): Use it.
53321         (cache_valid_p): New function.
53322         (__check_pf): Use it.
53323         * NEWS: Add item for --disable-nscd.
53325 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53327         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53328         to support sed >= 4.2.1-20-ga9bf076.
53329         * configure: Regenerated.
53331 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53333         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53334         Conditionalize whole body on [IREL].
53336 2012-08-22  Jeff Law <law@redhat.com>
53338         [BZ #14505]
53339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53340         if the family is PF_UNSPEC.
53342 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53344         * Makerules (lib-version): Rename from V.
53345         (install-lib-nosubdir): Change V to lib-version.
53347 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53349         [BZ #14252]
53350         * powerpc32/power6/wcschr.c: New file.
53351         * powerpc32/power6/wcscpy.c: New file.
53352         * powerpc32/power6/wcsrchr.c: New file.
53353         * powerpc64/power6/wcschr.c: New file.
53354         * powerpc64/power6/wcscpy.c: New file.
53355         * powerpc64/power6/wcsrchr.c: New file.
53357 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53359         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53360         (two_way_short_needle): Use it.
53361         * string/strstr.c (AVAILABLE1_USES_J): Define.
53362         * string/strcasestr.c: Likewise.
53364         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53365         array references.
53366         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53368         [BZ #11607]
53369         * NEWS: Add an entry.
53370         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53371         define their defaults.
53372         (two_way_short_needle): Detect end-of-string on-the-fly.
53373         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53374         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53375         * string/bug-strcasestr1.c: New test.
53376         * string/Makefile: Run it.
53378 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53380         [BZ #11607]
53381         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53382         the first character.
53384 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53386         * csu/elf-init.c (__libc_csu_irel): Function removed.
53387         * csu/libc-start.c (apply_irel): New function.
53388         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53390 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53392         * sysdeps/unix/sysv/linux/kernel-features.h
53393         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53394         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53395         <kernel-features.h>.
53396         [__NR_fadvise64_64]: Make code unconditional.
53397         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53398         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53399         !__NR_fadvise64_64)]: Likewise.
53400         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53401         !__NR_fadvise64_64))]: Likewise.
53402         [__NR_fadvise64]: Make code unconditional.
53403         [!__NR_fadvise64]: Remove conditional code.
53404         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53405         <kernel-features.h>.
53406         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53407         unconditional.
53408         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53409         conditional code.
53410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53411         not include <kernel-features.h>.
53412         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53413         unconditional.
53414         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53415         conditional code.
53416         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53417         include <kernel-features.h>.
53418         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53419         unconditional.
53420         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53421         conditional code.
53423 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53425         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53426         slight instruction rearrangements per scrollpipe analysis.
53427         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53429 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53431         * manual/syslog.texi (syslog; vsyslog, closelog):
53432         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53433         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53435         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53436         DSOCAPS to match condition on defining it.
53438 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53440         * sysdeps/unix/sysv/linux/kernel-features.h
53441         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53443         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53444         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53446         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53447         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53449         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53450         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53452         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53453         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53455         * sysdeps/unix/sysv/linux/kernel-features.h
53456         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53457         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53458         unconditional.
53459         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53460         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53461         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53462         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53463         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53464         Make code unconditional.
53465         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53466         (__mmap64) [!__NR_mmap2]: Likewise.
53467         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53468         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53469         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53470         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53471         [__NR_mmap2]: Make code unconditional.
53472         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53473         (__mmap64) [!__NR_mmap2]: Likewise.
53475 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53477         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53479 2012-08-18  Andreas Jaeger  <aj@suse.de>
53481         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53483 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53485         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53486         * include/unistd.h (__have_sock_cloexec): Likewise.
53487         (__have_pipe2): Likewise.
53488         (__have_dup3): Likewise.
53490 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53492         [BZ #9685]
53493         * include/unistd.h (__have_pipe2): Change define into an extern int.
53494         (__have_dup3): Likewise.
53495         * socket/have_sock_cloexec.c: Include fcntl.h.
53496         (__have_pipe2): New variable.
53497         (__have_dup3): Likewise.
53499 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53501         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53503 2012-08-17  Marek Polacek  <polacek@redhat.com>
53505         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53506         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53508 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53510         * configure.in: Add AC_SUBST for sysheaders.
53511         * configure: Regenerated.
53512         * config.make.in (sysheaders): New substituted variable.
53514         * sysdeps/unix/mkfifo.c: Moved ...
53515         * sysdeps/posix/mkfifo.c: ... here.
53516         * sysdeps/unix/mkfifoat.c: Moved ...
53517         * sysdeps/posix/mkfifoat.c: ... here.
53519         * sysdeps/unix/utime.c: Moved ...
53520         * sysdeps/posix/utime.c: ... here.
53522         * sysdeps/unix/time.c: Moved ...
53523         * sysdeps/posix/time.c: ... here.
53524         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53525         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53527         * sysdeps/unix/nice.c: Moved ...
53528         * sysdeps/posix/nice.c: ... here.
53530         * sysdeps/unix/alarm.c: Moved ...
53531         * sysdeps/posix/alarm.c: ... here.
53533         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53535 2012-08-17  Jeff Law <law@redhat.com>
53537         * intl/Makefile (codeset_mo): New variable.
53538         ($(codeset_mo)): New target.
53539         (tst-codeset.out): Depend on that.  Remove explicit rule.
53540         (tst-gettext3.out, tst-gettext5.out): Likewise.
53541         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53542         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53543         * intl/tst-codeset.sh: Remove.
53544         * intl/tst-gettext3.sh: Likewise.
53545         * intl/tst-gettext5.sh: Likewise.
53547 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53549         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53550         * sysdeps/unix/syscalls.list: ... here.
53552         * sysdeps/posix/getaddrinfo.c
53553         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53554         (gaiconf_init, gaiconf_reload): Use them.
53555         [!_STATBUF_ST_NSEC]
53556         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53557         Define using time_t rather than struct timespec.
53559         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53560         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53561         Macros removed.
53562         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53563         [!NO_THREADS].
53564         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53565         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53566         Likewise.
53568         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53569         __libc_cleanup_push argument.
53571         * bits/param.h: New file.
53572         * misc/sys/param.h: New file.
53573         * include/sys/param.h: New file.
53574         * misc/Makefile (headers): Add bits/param.h.
53575         * sysdeps/generic/sys/param.h: File removed.
53576         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53577         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53578         * sysdeps/mach/hurd/bits/param.h: New file.
53579         * sysdeps/mach/hurd/sys/param.h: File removed.
53581         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53582         last change.
53584         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53585         [_IO_MTSAFE_IO].
53586         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53587         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53588         New macros.
53590         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53591         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53592         rather than -D_IO_MTSAFE_IO conditionally.
53593         * stdio-common/Makefile (CPPFLAGS): Likewise.
53594         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53595         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53596         Use $(libio-mtsafe).
53597         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53598         of -D_IO_MTSAFE_IO.
53599         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53600         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53601         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53602         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53603         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53604         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53605         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53606         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53607         (CFLAGS-fread_u_chk.c): Likewise.
53608         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53609         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53610         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53611         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53612         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53613         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53614         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53615         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53616         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53618         * libio/Makefile: Test [$(libc-reentrant) = yes]
53619         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53621         * Makeconfig
53622         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53623         * sysdeps/pthread/configure: File removed.
53624         * sysdeps/pthread/Makeconfig: New file.
53625         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53626         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53628 2012-08-16  Gary Benson  <gbenson@redhat.com>
53630         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53631         unmapping the first object in a namespace.
53633 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53635         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53636         (__internal_setnetgrent): ... this.  Add internal_function to
53637         definition.  Add libc_hidden_def.
53638         (setnetgrent): Update caller.
53639         (internal_endnetgrent): Renamed to ...
53640         (__internal_endnetgrent): ... this.  Add internal_function to
53641         definition.  Add libc_hidden_def.
53642         (endnetgrent): Update caller.
53643         (internal_getnetgrent_r): Renamed to ...
53644         (__internal_getnetgrent_r): ... this.  Add internal_function to
53645         definition.  Add libc_hidden_def.
53646         (__getnetgrent_r): Update caller.
53647         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53649 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53651         * stdlib/longlong.h: Update from GCC.
53653 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53655         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53656         on _QL, which is set by umul_ppmm but never used.
53657         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53658         variables, which are set by GMP macros but never used.
53659         * stdio-common/_itowa.c (_itowa): Likewise.
53660         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53661         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53663 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53665         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53666         struct La_sh_regs is not constant.
53667         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53668         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53669         and struct La_sparc64_regs are not constant.
53671 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53673         * sysdeps/unix/sysv/linux/kernel-features.h
53674         (__ASSUME_POSIX_TIMERS): Remove.
53675         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53676         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53677         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53678         Make code unconditional.
53679         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53680         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53681         Make code unconditional.
53682         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53683         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53684         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53685         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53686         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53687         Make code unconditional.
53688         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53689         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53690         (__libc_missing_posix_timers): Remove.
53692 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53694         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53695         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53697         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53699         * elf/dl-sym.c: Include <stdlib.h>.
53701         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53702         constants, which avoids warnings in 32-bit builds.
53704         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53705         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53707         * misc/lseek.c: File moved to ...
53708         * io/lseek.c: ... here.
53710         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53712         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53713         shifting LEN more than 31 bits at once.
53715 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53717         [BZ #14195]
53718         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53719         segmentation fault for a case of two empty input strings.
53720         * string/test-strncasecmp.c (check1): Renamed to...
53721         (bz12205): ...this.
53722         (bz14195): Add new testcase for two empty input strings and N > 0.
53723         (test_main): Call new testcase, adapt for renamed function.
53725 2012-08-15  Andreas Jaeger  <aj@suse.de>
53727         [BZ #14090]
53728         * crypt/md5test2.c: New test, based on test supplied by Serge
53729         Belyshev <belyshev@depni.sinp.msu.ru>.
53730         * crypt/Makefile (xtests): Add md5test-giant..
53731         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53733 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53735         [BZ #14090]
53736         * crypt/md5.c (md5_process_block): Don't assume the buffer
53737         length is less than 2**32.
53738         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53739         length is less than 2**64.
53741 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53743         * string/str-two-way.h: Include <sys/param.h>.
53744         (MAX): Macro removed.
53746         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53747         Move #define and #undef of memmove to just before and after
53748         including <string.h>.
53750         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53751         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53752         and after including <string.h>.  Move declarations of
53753         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53754         to before #include "string/memmove.c".
53756         * include/dirent.h: Declare __getdirentries.
53758         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53759         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53761 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53763         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53764         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53765         * sysdeps/i386/configure: Regenerated.
53766         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53767         STABS_CURRENT_FILE, and STABS_FUN.
53768         (END): Remove call to STABS_FUN_END.
53769         (STABS_CURRENT_FILE1): Delete.
53770         (STABS_CURRENT_FILE): Likewise.
53771         (STABS_FUN): Likewise.
53772         (STABS_FUN_END): Likewise.
53773         (STABS_FUN2): Likewise.
53774         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53775         * sysdeps/x86_64/configure: Regenerated.
53777 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53779         * elf/dl-open.c: Include <atomic.h>.
53780         * elf/dl-lookup.c: Likewise.
53782 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53784         * sysdeps/unix/sysv/linux/kernel-features.h
53785         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53786         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53787         unconditionally.
53788         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53789         unconditionally.
53790         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53791         condition on __ASSUME_CLONE_THREAD_FLAGS.
53793 2012-08-14  Andreas Jaeger  <aj@suse.de>
53795         * sysdeps/i386/fpu/libm-test-ulps: Update.
53797 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53799         * include/atomic.h (atomic_exchange_and_add): Split into ...
53800         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53801         New atomic macros.
53803 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53807 2012-08-13  Jeff Law <law@redhat.com>
53809         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53810         null byte in the output string.
53812 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53814         * sysdeps/unix/sysv/linux/kernel-features.h
53815         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53816         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53817         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53818         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53819         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53820         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53821         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53823 2012-08-09  Jeff Law <law@redhat.com>
53825         [BZ #13939]
53826         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53827         When avoid_arena is set, don't retry in the that arena.  Pick the
53828         next one, whatever it might be.
53829         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53830         (arena_lock): Pass in new parameter to arena_get2.
53831         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53832         arena_get2.
53833         (__libc_malloc): Unify retrying after main arena failure with
53834         __libc_memalign version.
53835         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53837 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53839         [BZ #14166]
53840         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53841         to __redirect_strstr.
53842         (__strstr_sse42): Use typeof __redirect_strstr.
53843         (__strstr_ia32): Likewise.
53844         (__libc_strstr): New prototype.
53845         (strstr): Renamed to ...
53846         (__libc_strstr): This.
53847         (strstr): New strong alias of __libc_strstr.
53848         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53849         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53850         __redirect_time.
53851         Include <time.h>.
53852         (__libc_time): New prototype.
53853         (time_ifunc): Replace time with __libc_time.
53854         (time): New strong alias and hidden definition of __libc_time.
53855         (__GI_time): Remove strong alias.
53856         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53857         Include <stddef.h>.
53858         (memmove): Redefined to __redirect_memmove.
53859         (__memmove_sse2): Use typeof __redirect_memmove.
53860         (__memmove_ssse3): Likewise.
53861         (__memmove_ssse3_back): Likewise.
53862         (__libc_memmove): New prototype.
53863         (memmove): Renamed to ...
53864         (__libc_memmove): This.
53865         (memmove): New strong alias of __libc_memmove.
53867 2012-08-08  Mark Salter  <msalter@redhat.com>
53869         * elf/elf.h
53870         (R_MN10300_TLS_GD): Define.
53871         (R_MN10300_TLS_LD): Likewise.
53872         (R_MN10300_TLS_LDO): Likewise.
53873         (R_MN10300_TLS_GOTIE): Likewise.
53874         (R_MN10300_TLS_IE): Likewise.
53875         (R_MN10300_TLS_LE): Likewise.
53876         (R_MN10300_TLS_DTPMOD): Likewise.
53877         (R_MN10300_TLS_DTPOFF): Likewise.
53878         (R_MN10300_TLS_TPOFF): Likewise.
53879         (R_MN10300_SYM_DIFF): Likewise.
53880         (R_MN10300_ALIGN): Likewise.
53881         (R_MN10300_NUM): Update.
53883 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53885         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53886         Remove.
53888 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53890         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53892         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53893         sysdeps/unix -> sysdeps/posix move.
53894         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53896 2012-08-07      Allan McRae     <allan@archlinux.org>
53898         [BZ #14303]
53899         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53900         (SUNOS_CPP): Likewise.
53901         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53902         not found.
53903         (open_input): Call CPP using execvp.
53905 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53907         * sysdeps/unix/sysv/linux/kernel-features.h
53908         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53909         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53910         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53911         (__ASSUME_WAITID_SYSCALL): Likewise.
53912         * sysdeps/unix/sysv/linux/dl-execstack.c
53913         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53914         code unconditional.
53915         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53916         conditional code.
53917         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53918         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53919         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53920         code.
53921         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53922         unconditional.
53923         [__ASSUME_WAITID_SYSCALL]: Likewise.
53924         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53926 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53928         * sysdeps/unix/closedir.c: Renamed to ...
53929         * sysdeps/posix/closedir.c: ... here.
53930         * sysdeps/unix/dirfd.c: Renamed to ...
53931         * sysdeps/posix/dirfd.c: ... here.
53932         * sysdeps/unix/dirstream.h: Renamed to ...
53933         * sysdeps/posix/dirstream.h: ... here.
53934         * sysdeps/unix/fdopendir.c: Renamed to ...
53935         * sysdeps/posix/fdopendir.c: ... here.
53936         * sysdeps/unix/opendir.c: Renamed to ...
53937         * sysdeps/posix/opendir.c: ... here.
53938         * sysdeps/unix/readdir.c: Renamed to ...
53939         * sysdeps/posix/readdir.c: ... here.
53940         * sysdeps/unix/readdir_r.c: Renamed to ...
53941         * sysdeps/posix/readdir_r.c: ... here.
53942         * sysdeps/unix/rewinddir.c: Renamed to ...
53943         * sysdeps/posix/rewinddir.c: ... here.
53944         * sysdeps/unix/seekdir.c: Renamed to ...
53945         * sysdeps/posix/seekdir.c: ... here.
53946         * sysdeps/unix/telldir.c: Renamed to ...
53947         * sysdeps/posix/telldir.c: ... here.
53948         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53949         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53950         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53951         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53953         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53954         * bits/fcntl.h: ... here.
53956         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53957         not 0.
53958         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53959         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53960         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53961         (struct flock): Move l_start, l_len to the beginning.
53962         Use __pid_t for l_pid.
53963         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53964         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53965         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53966         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53967         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53968         [__USE_LARGEFILE64] (struct flock64): New type.
53969         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53971         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53972         * bits/dirent.h: ... here.
53974         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53975         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53977 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53979         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53980         Change from 2.6.0 to 2.6.16.
53981         * sysdeps/unix/sysv/linux/configure: Regenerated.
53982         * sysdeps/unix/sysv/linux/kernel-features.h
53983         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53984         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53985         version.
53986         (__ASSUME_UTIMES): Likewise.
53987         (__ASSUME_CLONE_STOPPED): Remove.
53988         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53989         architectures, not kernel version.
53990         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53991         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53992         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53993         (__ASSUME_WAITID_SYSCALL): Likewise.
53994         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53995         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53996         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53997         refer to older versions.
53999 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54001         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54002         Define alphasort64 as an alias.
54003         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54004         Define versionsort64 as an alias.
54005         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54006         Define scandir64 as an alias.
54007         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54008         Define scandirat64 as an alias.
54009         * dirent/alphasort64.c (alphasort64):
54010         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54011         * dirent/versionsort64.c: Likewise.
54012         * dirent/scandir64.c: Likewise.
54013         * dirent/scandirat64.c: Likewise.
54014         * sysdeps/wordsize-64/alphasort.c: File removed.
54015         * sysdeps/wordsize-64/alphasort64.c: File removed.
54016         * sysdeps/wordsize-64/scandir.c: File removed.
54017         * sysdeps/wordsize-64/scandir64.c: File removed.
54018         * sysdeps/wordsize-64/scandirat.c: File removed.
54019         * sysdeps/wordsize-64/scandirat64.c: File removed.
54020         * sysdeps/wordsize-64/versionsort.c: File removed.
54021         * sysdeps/wordsize-64/versionsort64.c: File removed.
54022         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54023         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54024         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54025         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54026         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54027         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54028         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54029         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54031         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54032         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54033         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54034         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54035         [defined __arch64__ || defined __sparcv9]
54036         (__INO_T_MATCHES_INO64_T): New macro.
54037         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54038         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54039         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54040         * sysdeps/unix/sysv/linux/bits/dirent.h
54041         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54042         (_DIRENT_MATCHES_DIRENT64): New macro.
54044         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54045         Define lockf64 as an alias.
54046         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54047         Define fseeko64 as an alias.
54048         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54049         Define ftello64 as an alias.
54050         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54051         Define _IO_fgetpos64 and fgetpos64 as aliases.
54052         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54053         Define _IO_fsetpos64 and fsetpos64 as aliases.
54054         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54055         Conditionalize body on this.
54056         * libio/fseeko64.c: Likewise.
54057         * libio/ftello64.c: Likewise.
54058         * libio/iofgetpos64.c: Likewise.
54059         * libio/iofsetpos64.c: Likewise.
54060         * sysdeps/wordsize-64/lockf.c: File removed.
54061         * sysdeps/wordsize-64/lockf64.c: File removed.
54062         * sysdeps/wordsize-64/fseeko.c: File removed.
54063         * sysdeps/wordsize-64/fseeko64.c: File removed.
54064         * sysdeps/wordsize-64/ftello.c: File removed.
54065         * sysdeps/wordsize-64/ftello64.c: File removed.
54066         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54067         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54068         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54069         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54070         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54071         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54072         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54073         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54074         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54075         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54076         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54077         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54078         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54079         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54081         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54082         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54083         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54084         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54085         [defined __arch64__ || defined __sparcv9]
54086         (__OFF_T_MATCHES_OFF64_T): New macro.
54087         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54088         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54089         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54090         (__OFF_T_MATCHES_OFF64_T): New macro.
54092 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54094         * stdlib/secure-getenv.c (__secure_getenv): Replace
54095         GLIBC_2_16 with GLIBC_2_17.
54097 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54099         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54100         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54102 2012-08-03  David S. Miller  <davem@davemloft.net>
54104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54106 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54108         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54109         Remove.
54110         (__ASSUME_CORRECT_SI_PID): Likewise.
54111         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54112         (__ASSUME_TMPFS_NAME): Likewise.
54113         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54114         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54115         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54116         (HAVE_AUX_SECURE): Make definition unconditional.
54117         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54118         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54120 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54122         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54123         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54124         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54125         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54126         __eloop_threshold instead of SYMLOOP_MAX.
54128         * sysdeps/generic/eloop-threshold.h: New file.
54129         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54130         of MAXSYMLINKS.
54131         * elf/chroot_canon.c (chroot_canon): Likewise.
54133 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54135         [BZ #13717]
54136         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54137         Change to 2.6.0 everywhere.
54138         * sysdeps/unix/sysv/linux/configure: Regenerated.
54139         * sysdeps/unix/sysv/linux/kernel-features.h
54140         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54141         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54142         kernel versions.
54143         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54144         (__ASSUME_FUTEX_REQUEUE): Remove.
54145         (__ASSUME_STATFS64): Define unconditionally.
54146         (__ASSUME_AT_SECURE): Likewise.
54147         (__ASSUME_CORRECT_SI_PID): Likewise.
54148         (__ASSUME_TGKILL): Define without depending on kernel version for
54149         i386.
54150         (__ASSUME_UTIMES): Likewise.
54151         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54152         kernel version.
54153         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54154         (__ASSUME_TMPFS_NAME): Likewise.
54155         * README: Update reference to Linux kernel versions.
54157 2012-08-02  Marek Polacek  <polacek@redhat.com>
54159         [BZ# 14150]
54160         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54161         libc_cv_asm_type_prefix with %.
54162         * configure: Regenerated.
54163         * include/libc-symbols.h: Remove comment about
54164         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54165         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54166         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54167         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54168         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54169         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54170         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54171         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54172         * elf/tst-unique2mod1.c: Likewise.
54173         * elf/tst-unique1mod2.c: Likewise.
54174         * elf/tst-unique1mod1.c: Likewise.
54175         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54176         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54177         Replace ASM_TYPE_DIRECTIVE with .type.
54178         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54179         * sysdeps/i386/sysdep.h: Likewise.
54180         * sysdeps/x86_64/sysdep.h: Likewise.
54181         * sysdeps/sh/sysdep.h: Likewise.
54182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54183         Do not define ASM_TYPE_DIRECTIVE.
54184         * sysdeps/powerpc/sysdep.h: Likewise.
54185         * sysdeps/powerpc/powerpc32/sysdep.h:
54186         Replace ASM_TYPE_DIRECTIVE with .type.
54187         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54188         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54189         * sysdeps/i386/fpu/e_powf.S: Likewise.
54190         * sysdeps/i386/fpu/e_expl.S: Likewise.
54191         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54192         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54193         * sysdeps/i386/fpu/e_pow.S: Likewise.
54194         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54195         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54196         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54197         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54198         * sysdeps/i386/fpu/e_log2.S: Likewise.
54199         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54200         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54201         * sysdeps/i386/fpu/e_powl.S: Likewise.
54202         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54203         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54204         * sysdeps/i386/fpu/e_logl.S: Likewise.
54205         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54206         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54207         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54208         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54209         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54210         * sysdeps/i386/fpu/e_log.S: Likewise.
54211         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54212         * sysdeps/i386/fpu/e_logf.S: Likewise.
54213         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54214         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54215         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54216         * sysdeps/i386/fpu/e_log10.S: Likewise.
54217         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54218         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54219         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54220         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54221         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54222         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54223         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54224         * sysdeps/i386/i686/strtok.S: Likewise.
54225         * sysdeps/i386/i386-mcount.S: Likewise.
54226         * sysdeps/i386/strtok.S: Likewise.
54227         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54228         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54229         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54230         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54231         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54232         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54233         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54234         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54235         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54236         * sysdeps/x86_64/_mcount.S: Likewise.
54237         * sysdeps/x86_64/strtok.S: Likewise.
54238         * sysdeps/sh/_mcount.S: Likewise.
54240 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54242         * libio/iofopen.c: Include <fcntl.h>.
54243         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54244         (_IO_fopen64, fopen64): Define as aliases.
54245         * libio/iofopen64.c: Include <fcntl.h>.
54246         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54247         Conditionalize body on this.
54248         * sysdeps/wordsize-64/iofopen.c: File removed.
54249         * sysdeps/wordsize-64/iofopen64.c: File removed.
54251 2012-08-01  Marek Polacek  <polacek@redhat.com>
54253         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54254         Use dlfcn directly instead of a variable.
54255         (binfmt-subdir): Do not define.
54256         (dlfcn): Likewise.
54258 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54260         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54261         Remove all definitions.
54262         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54263         <kernel-features.h>.
54264         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54265         (miss_F_GETOWN_EX): Remove all definitions.
54266         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54267         macro definition.
54268         [!__ASSUME_FCNTL64]: Remove conditional code.
54269         [__ASSUME_FCNTL64]: Make code unconditional.
54270         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54271         <kernel-features.h>.
54272         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54273         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54274         (lockf64) [__NR_fcntl64]: Make code unconditional.
54275         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54277         * sysdeps/unix/sysv/linux/kernel-features.h
54278         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54279         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54280         Make code unconditional.
54281         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54282         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54284         [__NR_vfork]: Make code unconditional.
54285         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54286         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54288         [__NR_vfork]: Make code unconditional.
54289         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54290         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54292 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54294         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54295         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54297         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54298         Define mkstemp64 as an alias.
54299         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54300         Define mkstemps64 as an alias.
54301         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54302         Define mkostemp64 as an alias.
54303         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54304         Define mkostemps64 as an alias.
54305         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54306         Conditionalize body on this.
54307         * misc/mkostemp64.c: Likewise.
54308         * misc/mkostemps64.c: Likewise.
54309         * misc/mkstemps64.c: Likewise.
54310         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54311         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54312         * sysdeps/wordsize-64/mkostemp.c: File removed.
54313         * sysdeps/wordsize-64/mkstemp.c: File removed.
54314         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54315         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54316         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54317         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54319         [BZ #14138]
54320         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54321         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54322         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54323         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54325         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54326         compat_symbol macros from <shlib-compat.h> rather than the underlying
54327         default_symbol_version and symbol_version macros, so that DEFAULT
54328         lines in shlib-versions are respected.
54329         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54331 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54333         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54334         Declare with warn_unused_result.
54335         (setgid, setregid, setegid, setresgid): Likewise.
54336         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54337         Likewise.
54338         * WUR-REPORT: Remove set*id functions.
54340 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54342         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54344 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54346         [BZ #10191]
54347         * include/sys/socket.h (__libc_accept, __libc_accept4):
54348         Add attribute_hidden.
54349         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54351         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54352         use of PTR_MANGLE.
54353         * inet/getnetgrent_r.c (setup): Likewise.
54355         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54357 2012-07-31  David S. Miller  <davem@davemloft.net>
54359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54361 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54363         [BZ #13629]
54364         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54365         value between 1.0 and 2.0 and smaller part has absolute value less
54366         than 1.0.
54367         * math/s_clog10.c (__clog10): Likewise.
54368         * math/s_clog10f.c (__clog10f): Likewise.
54369         * math/s_clog10l.c (__clog10l): Likewise.
54370         * math/s_clogf.c (__clogf): Likewise.
54371         * math/s_clogl.c (__clogl): Likewise.
54372         * math/libm-test.inc (clog_test): Add more tests.
54373         (clog10_test): Likewise.
54374         * sysdeps/i386/fpu/libm-test-ulps: Update.
54375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54377 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54379         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54380         Exit with zero in case no suitable GID is found, and write a
54381         message to standard error.
54383 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54385         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54386         rather than to 1.
54387         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54388         (MAXPATHLEN): Removed.
54389         (NOGROUP, NODEV): New macros.
54390         (setbit, clrbit, isset, isclr): New macros.
54391         (howmany, roundup, powerof2): New macros.
54392         (DEV_BSIZE): New macro.
54394         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54395         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54397         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54398         definition on [!__NO_LONG_DOUBLE_MATH].
54400         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54401         PTR_MANGLE and PTR_DEMANGLE.
54403         * socket/accept4.c (accept4): Rename to __libc_accept4.
54404         Define accept4 as a weak alias.
54406         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54407         on [_DIRENT_HAVE_D_TYPE].
54408         * io/ftw.c (ftw_dir): Likewise.
54410         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54412         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54414         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54415         Use the BSD numbers rather than the arbitrary ones we had.
54416         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54417         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54418         (SIGXCPU, SIGXFSZ): New macros.
54419         (_NSIG): Now 32.
54421         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54422         initializer on [_LIBC_REENTRANT].
54424         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54425         definitions inside [_POSIX_MAPPED_FILES].
54427         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54429         * dirent/opendir.c: Include <fcntl.h>.
54431         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54432         (__libc_getspecific): Likewise.
54433         (__libc_key_create): Likewise.
54435         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54436         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54437         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54438         (tmpfile64): Define as alias.
54439         * sysdeps/wordsize-64/tmpfile.c: File removed.
54440         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54441         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54442         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54444         * stdio-common/vfscanf.c: Include <stdbool.h>.
54445         * nss/makedb.c: Likewise.
54446         * stdio-common/_i18n_number.h: Likewise.
54447         * argp/argp-help.c: Likewise.
54448         * posix/wordexp.c: Likewise.
54449         * sysdeps/posix/spawni.c: Likewise.
54450         * nss/nss_files/files-initgroups.c: Likewise.
54451         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54452         * nss/nss_files/files-initgroups.c: Likewise.
54453         * nss/nss_db/db-netgrp.c: Likewise.
54454         * nss/nss_db/db-initgroups.c: Likewise.
54455         * io/fchmodat.c: Include <sys/stat.h>.
54457         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54458         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54460         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54461         [HAVE_MMAP].
54463         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54464         Add multiple inclusion protection.
54466 2012-07-27  David S. Miller  <davem@davemloft.net>
54468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54470 2012-07-27  Gary Benson  <gbenson@redhat.com>
54472         [BZ #14298]
54473         * elf/rtld.c: Include <stap-probe.h>.
54474         (dl_main): Added static probes "init_start" and "init_complete".
54475         * elf/dl-load.c: Include <stap-probe.h>.
54476         (lose): Take new parameter "nsid".
54477         Added static probe "map_failed".
54478         (_dl_map_object_from_fd): Pass namespace id to lose.
54479         Added static probe "map_start".
54480         (open_verify): Pass namespace id to lose.
54481         * elf/dl-open.c: Include <stap-probe.h>.
54482         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54483         and "reloc_complete".
54484         * elf/dl-close.c: Include <stap-probe.h>.
54485         (_dl_close_worker): Added static probes "unmap_start" and
54486         "unmap_complete".
54487         * elf/rtld-debugger-interface.txt: New file documenting the above.
54489 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54491         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54492         rather than a string variable.
54493         * sunrpc/rpc_main.c (h_output): Likewise.
54494         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54496 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54498         * inet/check_native.c: New file.
54500 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54502         [BZ #13629]
54503         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54504         if larger part has absolute value 1.0.
54505         * math/s_clog10.c (__clog10): Likewise.
54506         * math/s_clog10f.c (__clog10f): Likewise.
54507         * math/s_clog10l.c (__clog10l): Likewise.
54508         * math/s_clogf.c (__clogf): Likewise.
54509         * math/s_clogl.c (__clogl): Likewise.
54510         * math/libm-test.inc (clog_test): Add more tests.
54511         (clog10_test): Likewise.
54512         * sysdeps/i386/fpu/libm-test-ulps: Update.
54513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54515         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54516         (pltexit): Likewise.
54517         (La_regs): Likewise.
54518         (La_retval): Likewise.
54519         (int_retval): Likewise.
54520         Update #error for removed macros to refer only to definitions in
54521         tst-audit.h.
54522         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54523         macro.
54524         (pltexit): Likewise.
54525         (La_regs): Likewise.
54526         (La_retval): Likewise.
54527         (int_retval): Likewise.
54528         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54529         macro.
54530         (pltexit): Likewise.
54531         (La_regs): Likewise.
54532         (La_retval): Likewise.
54533         (int_retval): Likewise.
54534         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54535         macro.
54536         (pltexit): Likewise.
54537         (La_regs): Likewise.
54538         (La_retval): Likewise.
54539         (int_retval): Likewise.
54540         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54541         macro.
54542         (pltexit): Likewise.
54543         (La_regs): Likewise.
54544         (La_retval): Likewise.
54545         (int_retval): Likewise.
54546         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54547         macro.
54548         (pltexit): Likewise.
54549         (La_regs): Likewise.
54550         (La_retval): Likewise.
54551         (int_retval): Likewise.
54552         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54553         macro.
54554         (pltexit): Likewise.
54555         (La_regs): Likewise.
54556         (La_retval): Likewise.
54557         (int_retval): Likewise.
54558         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54559         macro definitions in tst-audit.h.
54560         * sysdeps/i386/tst-audit.h: New file.
54561         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54562         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54563         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54564         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54565         * sysdeps/sh/tst-audit.h: Likewise.
54566         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54567         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54568         * sysdeps/x86_64/tst-audit.h: Likewise.
54570 2012-07-26  Andreas Jaeger  <aj@suse.de>
54572         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54573         ptrace.
54575         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54576         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54577         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54578         PTRACE_O_MASK.
54579         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54580         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54581         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54583         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54584         value.
54586         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54587         _sigsys.
54588         (si_call_addr, si_syscall, si_arch): Define new macro.
54589         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54590         _sigsys.
54591         (si_call_addr, si_syscall, si_arch): Define new marcro.
54592         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54593         _sigsys.
54594         (si_call_addr, si_syscall, si_arch): Define new macro.
54595         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54596         _sigsys.
54597         (si_call_addr, si_syscall, si_arch): Define new macro.
54599 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54601         [BZ #13717]
54602         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54603         Change to 2.4.21 where previously 2.4.1.
54604         * sysdeps/unix/sysv/linux/configure: Regenerated.
54605         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54606         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54607         Linux kernel version.
54608         (__ASSUME_STD_AUXV): Remove.
54609         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54610         kernel version.
54611         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54612         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54613         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54614         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54615         (__ASSUME_NETLINK_SUPPORT): Likewise.
54616         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54617         (__no_netlink_support): Remove conditional definition.
54618         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54619         Remove.
54620         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54621         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54622         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54623         (if_nameindex_ioctl): Remove.
54624         (if_nameindex_netlink): Do not handle __no_netlink_support.
54625         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54626         code.
54627         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54628         Remove conditional code.
54629         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54630         code.
54631         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54632         unconditional.
54633         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54634         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54635         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54636         Remove.
54637         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54638         [!__ASSUME_STD_AUXV]: Remove conditional code.
54639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54640         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54641         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54643         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54644         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54645         code.
54646         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54648         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54649         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54650         conditional code.
54651         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54653         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54654         code.
54655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54656         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54657         conditional code.
54658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54659         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54660         code unconditional.
54661         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54662         conditional code.
54663         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54664         unconditional.
54665         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54666         conditional code.
54667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54668         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54669         unconditional.
54670         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54671         conditional code.
54672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54673         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54674         code unconditional.
54675         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54676         conditional code.
54677         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54678         unconditional.
54679         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54680         conditional code.
54681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54682         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54683         code unconditional.
54684         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54685         conditional code.
54686         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54687         unconditional.
54688         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54689         conditional code.
54691 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54693         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54694         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54695         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54696         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54697         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54698         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54699         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54700         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54701         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54702         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54703         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54704         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54705         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54706         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54707         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54708         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54709         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54710         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54711         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54713         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54714         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54715         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54717 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54719         * Versions.def: Add GLIBC_2.17.
54720         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54721         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54722         Introduce __libc_secure_getenv.
54723         * stdlib/Versions (2.17): Add secure_getenv
54724         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54725         * stdlib/secure-getenv.c: Rename __secure_getenv to
54726         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54727         symbol __secure_getenv for GLIBC_2.0.
54728         * stdlib/tst-secure-getenv.c: New.
54729         * stdlib/Makefile (tests): Add testcase.
54730         * manual/startup.texi (Environment Access): Document
54731         secure_getenv.
54732         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54733         __libc_secure_getenv.
54734         * inet/ruserpass.c (ruserpass): Likewise.
54735         * malloc/mtrace.c (mtrace): Likewise.
54736         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54737         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54738         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54739         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54740         HAVE_SECURE_GETENV.
54741         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54742         __secure_getenv to __libc_secure_getenv.
54743         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54745         Likewise.
54746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54747         Likewise.
54748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54750         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54756 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54758         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54759         (struct La_i86_retval): Likewise.
54760         (struct La_x86_64_regs): Likewise.
54761         (struct La_x86_64_retval): Likewise.
54762         (struct La_x32_regs): Likewise.
54763         (struct La_x32_retval): Likewise.
54764         (struct La_ppc32_regs): Likewise.
54765         (struct La_ppc32_retval): Likewise.
54766         (struct La_ppc64_regs): Likewise.
54767         (struct La_ppc64_retval): Likewise.
54768         (struct La_sh_regs): Likewise.
54769         (struct La_sh_retval): Likewise.
54770         (struct La_s390_32_regs): Likewise.
54771         (struct La_s390_32_retval): Likewise.
54772         (struct La_s390_64_regs): Likewise.
54773         (struct La_s390_64_retval): Likewise.
54774         (struct La_sparc32_regs): Likewise.
54775         (struct La_sparc32_retval): Likewise.
54776         (struct La_sparc64_regs): Likewise.
54777         (struct La_sparc64_retval): Likewise.
54778         (struct audit_ifaces): Remove architecture-specific pltenter and
54779         pltexit members.
54780         * sysdeps/i386/ldsodefs.h: New file.
54781         * sysdeps/powerpc/ldsodefs.h: Likewise.
54782         * sysdeps/s390/ldsodefs.h: Likewise.
54783         * sysdeps/sh/ldsodefs.h: Likewise.
54784         * sysdeps/sparc/ldsodefs.h: Likewise.
54785         * sysdeps/x86_64/ldsodefs.h: Likewise.
54787 2012-07-25  Marek Polacek  <polacek@redhat.com>
54789         [BZ #6808]
54790         * math/libm-test.inc (yn_test): Add another test.
54791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54792         to ERANGE when the result is +-Inf.
54793         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54794         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54795         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54796         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54798 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54800         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54801         equal to 0.
54802         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54803         clock_t.
54804         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54806 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54808         * configure.in <sysdeps resolving>: Correct printing
54809         Implies_before.
54810         * configure: Regenerate.
54812 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54814         * math/w_ilogb.c: Include <limits.h>.
54815         * math/w_ilogbl.c: Likewise.
54817 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54819         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54820         va_copy.  Document allowing for unavailable va_copy only as
54821         pre-C99 compatibility.
54822         * manual/string.texi (Copying and Concatenation): Use va_copy
54823         instead of __va_copy in concat example.
54825 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54827         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54828         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54829         it if not null.
54831         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54832         with O_NOLINK passed to __file_name_lookup.
54834         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54835         with O_NOLINK passed to __file_name_lookup.
54837         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54838         negative N or less than NGIDS.
54840         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54841         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54842         enough.  Use memcpy instead of strncpy.
54844 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54846         * elf/Makefile (check-data): Remove.
54847         (localplt.data): New vpath directive.
54848         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54849         instead of $(check-data).
54850         * scripts/data/localplt-generic.data: Move to ...
54851         * sysdeps/generic/localplt.data: ... here.
54852         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54853         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54854         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54856         ... here.
54857         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54859         ... here.
54860         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54862         ... here.
54863         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54865         ... here.
54866         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54868         ... here.
54869         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54871         ... here.
54873 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54875         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54876         PPC32 and PPC64 files.
54877         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54878         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54880 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54882         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54883         __makecontext_ret to ...
54884         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54885         ... here and call exit if uc_link is NULL.  New file.
54886         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54887         __makecontext_ret.S.
54888         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54889         __makecontext_ret to ...
54890         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54891         ... here and call exit if uc_link is NULL.  New file.
54892         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54893         __makecontext_ret.S.
54895 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54897         * elf/elf.h (R_390_IRELATIVE): New definition.
54898         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54899         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54900         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54901         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54902         (elf_machine_lazy_rel): Likewise.
54903         * sysdeps/s390/dl-irel.h: New file.
54904         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54905         * sysdeps/s390/s390-64/memset.S: New asm code.
54906         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54907         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54908         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54909         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54910         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54911         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54912         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54913         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54914         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54915         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54916         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54917         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54918         * sysdeps/s390/s390-32/memset.S: New asm code.
54919         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54921 2012-07-17  Marek Polacek  <polacek@redhat.com>
54923         [BZ #14349]
54924         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54925         * sysdeps/s390/s390-64/configure.in: Likewise.
54926         * sysdeps/sparc/configure.in: Likewise.
54927         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54928         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54929         * sysdeps/i386/configure.in: Likewise.
54930         * sysdeps/x86_64/configure.in: Likewise.
54931         * sysdeps/sh/configure.in: Likewise.
54932         * sysdeps/s390/s390-32/configure: Regenerated.
54933         * sysdeps/s390/s390-64/configure: Likewise.
54934         * sysdeps/x86_64/configure: Likewise.
54935         * sysdeps/sh/configure: Likewise.
54936         * sysdeps/powerpc/powerpc64/configure: Likewise.
54937         * sysdeps/powerpc/powerpc32/configure: Likewise.
54938         * sysdeps/sparc/configure: Likwise.
54939         * sysdeps/i386/configure: Likewise.
54941         * elf/dl-open.c: Comment fixes.
54943 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54945         * Makefile [CXX] (check-data): Remove.
54946         [CXX] (c++-types.data): New vpath directive.
54947         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54948         vpath.  Do not allow for C++ type data being missing.
54949         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54950         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54951         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54952         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54953         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54954         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54955         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54957         ... here.
54958         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54960         ... here.
54961         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54963         ... here.
54964         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54966         ... here.
54967         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54969         ... here.
54970         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54972         ... here.
54973         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54975         ... here.
54976         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54979         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54980         definitions to architecture-specific files.
54981         (TLS_IE): Likewise.
54982         (TLS_LD): Likewise.
54983         (TLS_GD): Likewise.
54984         * sysdeps/i386/tls-macros.h: New file.
54985         * sysdeps/powerpc/tls-macros.h: Likewise.
54986         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54987         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54988         * sysdeps/sh/tls-macros.h: Likewise.
54989         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54990         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54991         * sysdeps/x86_64/tls-macros.h: Likewise.
54993 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54995         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54996         zero value for regular exit case.
54998         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54999         (__start_context): Preserve zero value for regular exit case.
55001 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55002             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55004         * manual/setjmp.texi (setcontext): Clarify normal process
55005         termination when uc_link is the null pointer.
55006         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55007         exit call.
55009 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55011         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55012         preprocessor.  Test for each exception mask separately.
55014 2012-07-16  Andreas Jaeger  <aj@suse.de>
55016         * po/ru.po: Update from translation team.
55018 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55020         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55021         equal to 0.
55022         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55023         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55024         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55025         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55026         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55028 2012-07-13  Andreas Jaeger  <aj@suse.de>
55030         * po/fr.po: Update from translation team.
55032 2012-07-12  Marek Polacek  <polacek@redhat.com>
55034         [BZ #14173]
55035         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55036         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55037         loop condition.
55039 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55041         [BZ #13717]
55042         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55043         Change to 2.4.1 where previously 2.4.0.
55044         * sysdeps/unix/sysv/linux/configure: Regenerated.
55045         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55046         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55047         version.
55048         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55049         (__ASSUME_AT_CLKTCK): Remove.
55050         (__ASSUME_AT_PAGESIZE): Likewise.
55051         (__ASSUME_AT_XID): Likewise.
55052         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55053         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55054         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55055         unconditionally.
55056         (HAVE_AUX_PAGESIZE): Likewise.
55057         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55058         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55059         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55061 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55063         [BZ #14307]
55064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55065         the temporary buffer used to invoke __gethostbyname2_r,
55066         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55067         host_data / struct gaih_addrtuple.
55068         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55069         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55070         header file nss/nsswitch.h.
55071         * nss/nsswitch.h (global scope): Add definition of implementation
55072         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55073         resolv/nss_dns/dns-host.c).
55075 2012-07-11  Andreas Jaeger  <aj@suse.de>
55077         * po/fr.po: Update from translation team.
55079         * po/sv.po: Update from translation team
55080         * po/fr.po: Another update from translation team.
55082 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55084         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55085         for subnormals or multiply small sinh result by itself.
55086         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55089 2012-07-11  David S. Miller  <davem@davemloft.net>
55091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55093 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55095         [BZ #14347]
55096         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55097         (INTERNAL_MARK): Shift it here.
55099 2012-07-10  Marek Polacek  <polacek@redhat.com>
55101         [BZ #14151]
55102         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55103         libc_cv_asm_global_directive with .globl.
55104         * configure: Regenerated.
55105         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55106         with .globl.
55107         * sysdeps/i386/configure: Regenerated.
55108         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55109         with .globl.
55110         * sysdeps/x86_64/configure: Regenerated.
55111         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55112         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55113         * elf/tst-unique2mod2.c: Likewise.
55114         * elf/tst-unique2mod1.c: Likewise.
55115         * elf/tst-unique1mod2.c: Likewise.
55116         * elf/tst-unique1mod1.c: Likewise.
55117         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55118         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55119         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55120         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55121         * sysdeps/mach/sysdep.h: Likewise.
55122         * sysdeps/i386/sysdep.h: Likewise.
55123         * sysdeps/i386/i386-mcount.S: Likewise.
55124         * sysdeps/x86_64/_mcount.S: Likewise.
55125         * sysdeps/x86_64/sysdep.h: Likewise.
55126         * sysdeps/sh/_mcount.S: Likewise.
55127         * sysdeps/sh/sysdep.h: Likewise.
55128         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55129         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55130         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55131         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55132         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55133         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55134         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55135         * locale/localeinfo.h: Likewise.
55136         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55137         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55139 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55141         [BZ #14336]
55142         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55143         system".
55144         * manual/message.texi (The Uniforum approach): Likewise.
55145         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55146         (glibc iconv Implementation): Likewise.
55148 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55150         [BZ #14337]
55151         * math/s_clog.c (__clog): Avoid scaling a value down where that
55152         could result in underflow.
55153         * math/s_clog10.c (__clog10): Likewise.
55154         * math/s_clog10f.c (__clog10f): Likewise.
55155         * math/s_clog10l.c (__clog10l): Likewise.
55156         * math/s_clogf.c (__clogf): Likewise.
55157         * math/s_clogl.c (__clogl): Likewise.
55158         * math/libm-test.inc (clog_test): Add more tests.
55159         (clog10_test): Likewise.
55160         * sysdeps/i386/fpu/libm-test-ulps: Update.
55161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55163 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55165         [BZ #14283]
55166         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55167         by 7 not 8 to examine high bit of fractional part.
55169         [BZ #14042]
55170         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55171         for call to __mcount_internal.
55172         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55173         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55174         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55176 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55178         [BZ #14154]
55179         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55180         approximation for values within 0x1p-13f of an odd multiple of
55181         pi/4.
55182         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55183         exception.  Add more tests.
55184         * sysdeps/i386/fpu/libm-test-ulps: Update.
55186         [BZ #6778]
55187         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55188         inputs and return -1 for them.  Do not check for +Inf in case not
55189         reachable for +Inf.
55190         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55191         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55192         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55193         and return -1 for them.  Do not check for +Inf in case not
55194         reachable for +Inf.
55195         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55196         define.
55197         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55198         and return -1 for them.  Do not check for +Inf in case not
55199         reachable for +Inf.
55200         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55201         spurious underflow.
55202         * sysdeps/i386/fpu/libm-test-ulps: Update.
55203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55205 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55207         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55209 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55211         [BZ #14157]
55212         [BZ #14331]
55213         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55214         could result in spurious underflow.  Scale down values above
55215         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55216         * math/s_csqrtf.c (__csqrtf): Likewise.
55217         * math/s_csqrtl.c (__csqrtl): Likewise.
55218         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55219         spurious underflow.
55220         * sysdeps/i386/fpu/libm-test-ulps: Update.
55221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55223 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55225         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55226         xopen-msg.sed.
55227         * catgets/xopen-msg.awk: New file.
55228         * catgets/xopen-msg.sed: Removed.
55230         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55231         po2text.sed.
55232         * intl/po2test.awk: New file.
55233         * intl/po2test.sed: Removed.
55235 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55237         [BZ #14328]
55238         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55239         or multiply small sinh result by itself.
55240         * math/s_ctanf.c (__ctanf): Likewise.
55241         * math/s_ctanh.c (__ctanh): Likewise.
55242         * math/s_ctanhf.c (__ctanhf): Likewise.
55243         * math/s_ctanhl.c (__ctanhl): Likewise.
55244         * math/s_ctanl.c (__ctanl): Likewise.
55245         * math/libm-test.inc (ctan_test_tonearest): New function.
55246         (ctan_test_towardzero): Likewise.
55247         (ctan_test_downward): Likewise.
55248         (ctan_test_upward): Likewise.
55249         (ctanh_test_tonearest): Likewise.
55250         (ctanh_test_towardzero): Likewise.
55251         (ctanh_test_downward): Likewise.
55252         (ctanh_test_upward): Likewise.
55253         (main): Call these new functions.
55254         * sysdeps/i386/fpu/libm-test-ulps: Update.
55255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55257 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55259         * .gitignore: Delete /ports entry.
55261 2012-07-03  Andreas Jaeger  <aj@suse.de>
55263         * po/bg.po: Update from translation team.
55264         * po/cs.po: Likewise.
55265         * po/de.po: Likewise.
55266         * po/hr.po: Likewise.
55267         * po/nl.pl: Likewise.
55268         * po/pl.po: Likewise.
55269         * po/vi.po: Likewise.
55271 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55273         * Makeconfig [!+link] (+link-before-libc): New variable.
55274         [!+link] (+link-after-libc): Likewise.
55275         [!+link] (+link-tests): Likewise.
55276         [!+link] (+link): Define in terms of $(+link-before-libc) and
55277         $(+link-after-libc).
55278         [!+link-static] (+link-static-before-libc): New variable.
55279         [!+link-static] (+link-static-after-libc): Likewise.
55280         [!+link-static] (+link-static-tests): Likewise.
55281         [!+link-static] (+link-static): Define in terms of
55282         $(+link-static-before-libc) and $(+link-static-after-libc).
55283         [build-shared] (link-libc-before-gnulib): New variable.
55284         [build-shared] (link-libc-tests): Likewise.
55285         [build-shared] (link-libc): Define in terms of
55286         $(link-libc-before-gnulib).
55287         [!build-shared] (link-libc-tests): New variable.
55288         (link-libc-static-tests): New variable.
55289         [!gnulib] (gnulib-arch): New variable.
55290         [!gnulib] (gnulib-tests): Likewise.
55291         [!gnulib] (static-gnulib-arch): Likewise.
55292         [!gnulib] (static-gnulib-tests): Likewise.
55293         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55294         Define with "=" instead of ":=".
55295         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55296         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55297         * Rules (binaries-all-notests): New variable.
55298         (binaries-all-tests): Likewise.
55299         (binaries-static-notests): Likewise.
55300         (binaries-static-tests): Likewise.
55301         (binaries-all): Define using $(binaries-all-notests) and
55302         $(binaries-all-tests).
55303         (binaries-static): Define using $(binaries-static-notests) and
55304         $(binaries-static-tests).
55305         (binaries-shared-tests): New variable.
55306         (binaries-shared-notests): Likewise.
55307         (binaries-shared): Remove variable.
55308         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55309         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55310         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55311         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55312         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55313         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55314         * elf/Makefile (sln-modules): New variable.
55315         (extra-objs): Add $(sln-modules:=.o).
55316         (ldconfig-modules): Add static-stubs.
55317         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55318         * elf/static-stubs.c: New file.
55320         [BZ #14283]
55321         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55322         by 7 not 8 to examine high bit of fractional part.  Use volatile
55323         variables when splitting into final array of floats if
55324         __FLT_EVAL_METHOD__ != 0.
55325         * math/libm-test.inc (cos_test): Add another test.
55326         (sin_test): Likewise.
55327         * sysdeps/i386/fpu/libm-test-ulps: Update.
55329         [BZ #14273]
55330         * math/libm-test.inc (cosh_test): Add more tests.
55332         * version.h (RELEASE): Set to "development".
55333         (VERSION): Set to "2.16.90".
55335 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55337         * NEWS: Update copyright. Remove last-updated date.
55338         Mention math library bug fixes and timezone data changes.
55339         * README: Mention GNU/Hurd, x32, and HPPA support status.
55341 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55343         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55345 2012-06-27  Andreas Jaeger  <aj@suse.de>
55347         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55349 2012-06-25  Andreas Jaeger  <aj@suse.de>
55351         * sysdeps/s390/fpu/libm-test-ulps: Update.
55353 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55354             Thomas Schwinge  <thomas@codesourcery.com>
55356         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55357         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55358         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55359         fanotify_mark.
55361 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55363         * sysdeps/mach/start.c: Remove file.
55364         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55365         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55366         * sysdeps/sh/init-first.c: Likewise.
55368         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55369         registers for frame unwinding purposes, add CFI directives.
55370         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55371         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
55372         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55373         Likewise.
55375         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55376         __fortify_fail returning.
55377         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55379         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55380         sysdeps/sh/____longjmp_chk.S.
55381         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55382         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55383         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55384         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55386         * sysdeps/sh/abort-instr.h: New file.
55387         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55388         process in case exit returns.
55390         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55391         initialize the GOT register before use.
55393         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55394         calculation of ARGC > 4.
55396         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55397         meaningful names to some local labels.
55399 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55400             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55402         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55403         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55404         (__arch_compare_and_exchange_val_16_acq): Likewise.
55405         (__arch_compare_and_exchange_val_32_acq): Likewise.
55406         (atomic_exchange_and_add): Fix gUSA sequence.
55407         (atomic_add): Likewise.
55408         (atomic_add_negative): Likewise.
55409         (atomic_add_zero): Likewise.
55410         (atomic_bit_test_set): Likewise.
55412 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55414         [BZ #13579]
55415         * include/link.h (struct link_map): Add l_free_initfini.
55416         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55417         l_initfini.
55418         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55419         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55420         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55421         set.
55423 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55425         * configure.in: Use AC_LANG_SOURCE.
55426         * configure: Regenerate.
55428 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55430         * configure.in (libc_cv_localstatedir): New substituted variable.
55431         * configure: Regenerated.
55432         * config.make.in (localstatedir): New variable, substituted from
55433         libc_cv_localstatedir.
55434         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55435         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55436         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55437         * sysdeps/gnu/configure: Regenerated.
55439 2012-06-21  Jeff Law  <law@redhat.com>
55441         [BZ #14277]
55442         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55443         free.  Simplify list management for _LIBC case.
55445 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55447         [BZ #14273]
55448         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55449         Clear sign bit of 64-bit integer value before comparing against
55450         overflow value.
55452         * sysdeps/mach/configure: Regenerated.
55454 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55456         [BZ #14278]
55457         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55459 2012-06-21  Jeff Law  <law@redhat.com>
55461         [BZ #13882]
55462         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55463         uint16_t for elements in the "seen" array to avoid char overflows.
55464         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55465         * elf/dl-open.c (dl_open_worker): Likewise.
55467 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55469         * scripts/list-sources.sh: Scan PORTS for translations.
55470         * po/libc.pot: Regenerated.
55472 2012-06-21  Andreas Jaeger  <aj@suse.de>
55474         [BZ #12194]
55475         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55476         warning.
55477         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55478         * bits/byteswap-16.h (__bswap_16): Likewise.
55479         * bits/byteswap.h (__bswap_constant_16): Likewise.
55481 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55483         [BZ #14117]
55484         * sysdeps/i386/fpu_control.h: Removed.
55485         * sysdeps/x86_64/fpu_control.h: Moved to ...
55486         * sysdeps/x86/fpu_control.h: Here.
55488         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55489         (_FPU_SETCW): Likewise.
55491 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55493         [BZ #14117]
55494         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55495         * sysdeps/x86/fpu/bits/mathinline.h: This.
55496         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55498         [BZ #14050]
55499         [BZ #14117]
55500         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55501         functions if __x86_64__ is defined.
55503 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55505         * string/endian.h: Add !__ASSEMBLER__ condition for including
55506         conversion interfaces.
55508 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55510         [BZ #14241]
55511         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55512         of ABS(x) in calculating zero to negative powers other than odd
55513         integers.
55514         * math/libm-test.inc (pow_test): Add more tests.
55516 2012-06-15  Andreas Jaeger  <aj@suse.de>
55518         * manual/contrib.texi (Contributors): Update entry of Liubov
55519         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55520         Machado Filho.
55522 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55524         * string/string.h: Add __wur to GNU version of strerror_r.
55526 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55528         [BZ #14229]
55529         * string/Makefile (tests): Add tst-strtok_r.
55530         * string/tst-strtok_r.c: New file.
55531         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55532         RAX_LP/RDX_LP on SAVE_PTR.
55534 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55536         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55538 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55540         * libm_test.inc (csqrt_test): Allow more spurious underflow
55541         exceptions.
55542         (j0_test): Likewise.
55543         (j1_test): Likewise.
55544         (y0_test): Likewise.
55545         (y1_test): Likewise.
55547 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55549         * po/Makefile (libc.pot): Use UTF-8 charset.
55551 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55553         [BZ #14210]
55554         Suppress sign-conversion warning from FD_SET.
55555         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55556         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55557         not unsigned long int.
55558         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55560 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55562         [BZ #14050]
55563         [BZ #14117]
55564         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55565         __extern_always_inline instead of __extern_inline.
55566         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55567         (__signbit): Likewise.
55568         (__signbitl): Support C++ namespace.
55569         (lrintf): New inline function.
55570         (lrint): Likewise.
55571         (llrintf): Likewise.
55572         (llrint): Likewise.
55573         (fmaxf): Likewise.
55574         (fmax): Likewise.
55575         (fminf): Likewise.
55576         (fmin): Likewise.
55577         (rint): Likewise.
55578         (rintf): Likewise.
55579         (ceil): Likewise.
55580         (ceilf): Likewise.
55581         (floor): Likewise.
55582         (floorf): Likewise.
55583         (nearbyint): Likewise.
55584         (nearbyintf): Likewise.
55586 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55588         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55589         non-default versions.
55591 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55593         [BZ #14218]
55594         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55596 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55598         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55599         (FE_UPWARD, FE_DOWNWARD): Don't define.
55600         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55601         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55603         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55604         reading it.
55605         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55606         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55608 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55610         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55611         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55612         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55613         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55615 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55617         [BZ #14117]
55618         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55619         * sysdeps/i386/fpu/Implies: New file.
55620         * sysdeps/x86_64/fpu/Implies: Likewise.
55621         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55622         * sysdeps/x86/fpu/bits/fenv.h: This.
55624         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55625         __SSE_MATH__.
55627 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55629         [BZ #14134]
55630         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55631         character 0xffff that matches the last element of the
55632         conversion table.
55634 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55636         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55637         fmodl commit.
55639 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55641         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55642         values higher than 25.6283.
55644 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55646         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55647         subnormal exponent extraction and add some __builtin_expect.
55648         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55649         Fix for subnormal mantissa calculation.
55651 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55653         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55654         cpu2 is -1 and errno is not ENOSYS.
55656 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55658         [BZ #14117]
55659         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55660         * sysdeps/x86/bits/string.h: This.
55661         * sysdeps/x86_64/bits/string.h: Removed.
55663         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55664         if not compiling for x86-64, but compiling for >= i486.
55666         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55667         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55669         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55670         New macro from Linux kernel 3.4.0.
55671         (FP_XSTATE_MAGIC2): Likewise.
55672         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55673         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55674         (struct _fpx_sw_bytes): New struct.
55675         (struct _xsave_hdr): Likewise.
55676         (struct _ymmh_state): Likewise.
55677         (struct _xstate): Likewise.
55679         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55680         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55681         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55682         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55683         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55684         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55686         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55687         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55688         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55689         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55690         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55691         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55693 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55695         [BZ #13743]
55696         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55697         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55698         (sysdep_headers): Include sys/platform/ppc.h.
55699         * sysdeps/powerpc/test-gettimebase.c: Test for
55700         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55701         * manual/Makefile (appendices): Include platform.texi.
55702         * manual/contrib.texi (Contributors): Update @node pointers.
55703         * manual/maint.texi (Maintenance): Likewise.
55704         (Platform): New node.
55705         * manual/platform.texi: New file.  Document the new features.
55707 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55708             Jakub Jelinek  <jakub@redhat.com>
55710         [BZ #14188]
55711         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55712         where __builtin_expect is unavailable.
55714 2012-06-03  David S. Miller  <davem@davemloft.net>
55716         * stdlib/longlong.h: Updated from GCC.
55718 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55720         [BZ #14042]
55721         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55722         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55723         __mcount_internal.
55724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55725         (GLIBC_2.16): Likewise.
55727 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55729         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55731 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55734         (default-abi): New variable.
55735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55736         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55737         variable.
55738         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55739         Likewise.
55740         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55741         Likewise.
55742         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55743         Likewise.
55745         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55746         definition.  Document in comment.
55748 2012-06-01  David S. Miller  <davem@davemloft.net>
55750         * stdlib/longlong.h: Updated from GCC.
55752 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55754         [BZ #14117]
55755         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55756         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55757         sys/debugreg.h sys/io.h here.
55758         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55759         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55760         sys/io.h.
55761         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55762         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55763         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55764         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55765         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55766         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55768         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55769         Define only if __x86_64__ is defined.
55771 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55773         [BZ #14048]
55774         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55775         Use int64_t for variable i.
55776         * math/libm-test.inc (fmod_test): Add more tests.
55778         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55779         z computation is not scheduled after fetestexcept.
55780         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55781         Use math_force_eval instead of asm to ensure calculation scheduled
55782         before exception test.
55783         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55784         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55786 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55789         computation is not scheduled after fetestexcept.
55791 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55793         [BZ #14117]
55794         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55795         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55797 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55799         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55800         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55802 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55804         [BZ #14117]
55805         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55806         <bits/wordsize.h>.
55807         (__WCHAR_MIN): Support __WORDSIZE == 64.
55808         (__WCHAR_MAX): Likewise.
55810         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55811         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55813         [BZ #14183]
55814         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55815         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55817         [BZ #14117]
55818         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55819         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55821         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55822         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55824         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55825         Defined to 1 if __x86_64__ isn't defined.
55826         (_STAT_VER_LINUX_OLD): New.
55827         (st_atime): Remove duplicate.
55828         (st_mtime): Likewise.
55829         (st_ctime): Likewise.
55831 2012-05-31  David S. Miller  <davem@davemloft.net>
55833         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55834         entries.
55836 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55838         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55839         gen-libm-test.pl.
55841         [BZ #14132]
55842         * elf/dl-reloc.c: Include <_itoa.h>.
55843         (_dl_reloc_bad_type): Remove use of INTUSE.
55844         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55845         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55846         * stdio-common/psiginfo.c (psiginfo): Likewise.
55847         * stdio-common/psignal.c (psignal): Likewise.
55848         * string/strsignal.c (strsignal): Likewise.
55849         * include/signal.h (_sys_siglist): Declare hidden proto.
55850         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55851         INTVARDEF with libc_hidden_data_def.
55852         * stdio-common/itoa-udigits.c: Likewise.
55853         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55854         (_itoa_lower_digits_internal): Remove declaration.
55855         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55856         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55857         (_sys_sigabbrev_internal): Remove aliases.
55858         (_sys_siglist): Define hidden alias.
55860 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55863         bits/sysctl.h.
55865 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55867         [BZ #14117]
55868         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55869         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55871         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55872         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55873         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55874         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55875         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55876         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55878         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55879         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55880         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55882         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55883         with __addr.
55884         (insw): Likewise.
55885         (insl): Likewise.
55886         (outsb): Likewise.
55887         (outsw): Likewise.
55888         (outsl): Likewise.
55890         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55891         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55892         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55894         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55895         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55896         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55897         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55898         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55899         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55901         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55902         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55904         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55905         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55907         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55908         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55909         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55911         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55912         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55913         to ...
55914         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55916         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55917         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55918         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55920         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55921         for x86-64.
55922         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55924 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55926         * math/math.h (M_El): Use two more decimal places.
55927         (M_LOG2El): Likewise.
55928         (M_LOG10El): Likewise.
55929         (M_LN2l): Likewise.
55930         (M_LN10l): Likewise.
55931         (M_PIl): Likewise.
55932         (M_PI_2l): Likewise.
55933         (M_PI_4l): Likewise.
55934         (M_1_PIl): Likewise.
55935         (M_2_PIl): Likewise.
55936         (M_2_SQRTPIl): Likewise.
55937         (M_SQRT2l): Likewise.
55938         (M_SQRT1_2l): Likewise.
55940 2012-05-31  David S. Miller  <davem@davemloft.net>
55942         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55943         values between float registers.
55944         * sysdeps/sparc/sparc64/memset.S: Likewise.
55945         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55947 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55949         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55950         -D_FORTIFY_SOURCE=1.
55951         (CPPFLAGS-tst-longjmp_chk.c): Define.
55952         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55953         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55954         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55955         CFLAGS-tst-wchar-h.c.
55957 2012-05-31  Marek Polacek  <polacek@redhat.com>
55959         [BZ #14132]
55960         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55961         __endmntent_internal): Remove declaration.
55962         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55963         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55964         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55966 2012-05-30  David S. Miller  <davem@davemloft.net>
55968         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55969         (___Q_simulate_exceptions): Use real FP ops rather than writing
55970         into the %fsr.
55971         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55972         Likewise.
55974 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55976         [BZ #14117]
55977         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55978         * sysdeps/x86/bits/xtitypes.h: This.
55980         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55981         * sysdeps/x86/bits/wordsize.h: This.
55983         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55984         * sysdeps/x86/bits/huge_vall.h: This.
55986         * sysdeps/i386/bits/select.h: Removed.
55987         * sysdeps/x86_64/bits/select.h: Renamed to ...
55988         * sysdeps/x86/bits/select.h: This.
55990         * sysdeps/i386/bits/setjmp.h: Removed.
55991         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55992         * sysdeps/x86/bits/setjmp.h: This.
55994         * sysdeps/i386/bits/mathdef.h: Removed.
55995         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55996         * sysdeps/x86/bits/mathdef.h: This.
55998 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56000         [BZ #14132]
56001         * include/sys/socket.h (__connect_internal)
56002         (__libc_sa_len_internal): Remove declaration.
56003         (__connect, __libc_sa_len): Declare hidden_proto.
56004         (SA_LEN): Remove use of INTUSE.
56005         * socket/connect.c: Add libc_hidden_def.
56006         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56007         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56008         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56009         alias.
56010         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56011         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56012         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56013         of adding _internal alias.
56015 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56017         [BZ #14117]
56018         * sysdeps/i386/bits/link.h: Removed.
56019         * sysdeps/i386/bits/linkmap.h: Likewise.
56020         * sysdeps/x86_64/bits/link.h: Renamed to ...
56021         * sysdeps/x86/bits/link.h: This.
56022         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56023         * sysdeps/x86/bits/linkmap.h: This.
56025         * sysdeps/i386/bits/endian.h: Removed.
56026         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56027         * sysdeps/x86/bits/endian.h: This.
56029         * sysdeps/i386/bits/byteswap.h: Removed.
56030         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56031         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56032         * sysdeps/x86/bits/byteswap.h: This.
56033         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56034         * sysdeps/x86/bits/byteswap-16.h: This.
56035         * sysdeps/i386/Implies: Add x86.
56036         * sysdeps/x86_64/Implies: Likewise.
56038 2012-05-30  David S. Miller  <davem@davemloft.net>
56040         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56041         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56042         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56043         (FP_TRAPPING_EXCEPTIONS): Define.
56044         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56045         (FP_TRAPPING_EXCEPTIONS): Define.
56046         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56047         subnormals only when inexact has been signalled or underflow
56048         exceptions are enabled.
56049         (_FP_PACK_CANONICAL): Likewise.
56051 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56053         [BZ #14183]
56054         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56055         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56057 2012-05-30  Richard Henderson  <rth@twiddle.net>
56059         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56060         with #ifndef NOT_IN_libc.
56062         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56063         marked to avoid plt entry.
56065 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56067         [BZ #14112]
56068         * Makeconfig (default-abi): New macro.
56069         (abi-includes): Likewise.
56070         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56071         $(abi-$(default-abi)-lib-soname) for soname if defined.
56072         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56073         abi-variants.
56074         * Makefile (installed-stubs): Likewise.
56075         * include/stubs-biarch.h: Removed.
56076         * scripts/lib-names.awk: Only handle one library at a time.
56077         * scripts/soversions.awk: Remove WORDSIZE support.
56078         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56079         entries.
56080         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56081         Removed.
56082         (syscall-list-default-condition): Likewise.
56083         (syscall-list-default-condition): Likewise.
56084         (syscall-list-includes): Likewise.
56085         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56086         syscall-list-* with abi-*.  Handle undefined abi-variants.
56087         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56088         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56089         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56090         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56091         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56092         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56093         Removed.
56094         (syscall-list-32-options): Likewise.
56095         (syscall-list-32-condition): Likewise.
56096         (syscall-list-64-options): Likewise.
56097         (syscall-list-64-condition): Likewise.
56098         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56099         macro.
56100         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56101         Renamed to ...
56102         (abi-*): This.
56103         (abi-64-ld-soname): New macro.
56104         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56105         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56106         Renamed to ...
56107         (abi-*): This.
56108         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56109         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56111 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56113         * sysdeps/unix/sysv/linux/kernel-features.h
56114         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56115         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56116         include <kernel-features.h>.
56117         [!__NR_ftruncate64]: Remove conditional code.
56118         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56119         [__NR_ftruncate64]: Make code unconditional.
56120         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56121         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56122         include <kernel-features.h>.
56123         [!__NR_ftruncate64]: Remove conditional code.
56124         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56125         [__NR_ftruncate64]: Make code unconditional.
56126         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56128         include <kernel-features.h>.
56129         [!__NR_ftruncate64]: Remove conditional code.
56130         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56131         [__NR_ftruncate64]: Make code unconditional.
56132         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56134         include <kernel-features.h>.
56135         [!__NR_ftruncate64]: Remove conditional code.
56136         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56137         [__NR_ftruncate64]: Make code unconditional.
56138         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56140         * configure.in (libc_cv_fpie): Weaken to a compile test using
56141         LIBC_TRY_CC_OPTION.
56142         * configure: Regenerated.
56144 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56150         Refreshed.
56151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56157         Refreshed.
56159 2012-05-27  David S. Miller  <davem@davemloft.net>
56161         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56162         (___Q_zero): New.
56163         (__Q_simulate_exceptions): Return void.  Change to simulate
56164         exceptions by writing into the %fsr.
56165         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56166         (__Qp_handle_exceptions): Likewise.
56167         (numbers): Delete.
56168         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56169         __Qp_handle_exceptions.
56170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56171         __Qp_handle_exceptions.
56172         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56173         as unused and give dummy FP_RND_NEAREST initializer.
56174         (FP_INHIBIT_RESULTS): Define.
56175         (___Q_simulate_exceptions): Update declaration.
56176         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56177         formatting.
56178         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56179         as unused and give dummy FP_RND_NEAREST initializer.
56180         (__Qp_handle_exceptions): Update declaration.
56181         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56182         formatting.
56184 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56186         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56187         the temporary FPU control word.
56188         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56189         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56190         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56191         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56192         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56193         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56194         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56195         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56196         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56197         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56198         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56200 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56202         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56203         fields.
56205 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56207         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56208         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56209         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56210         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56211         Likewise.
56212         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56213         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56214         Likewise.
56216 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56218         * po/h.po: Update from translation team.
56220 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56222         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56224         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56225         handling of denormals.
56226         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56227         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56228         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56229         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56230         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56231         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56232         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56233         Likewise.
56235 2012-05-26  Marek Polacek  <polacek@redhat.com>
56237         [BZ #14152]
56238         * math/libm-test.inc (fma_test): Don't always expect underflow
56239         exception.
56241 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56243         [BZ #12416]
56244         * elf/tst-execstack.c: Include stackinfo.h.
56245         (do_test): Adjust test case to ensure that pthread_getattr_np
56246         behaviour remains the same after marking stack executable.
56248 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56250         * sysdeps/unix/sysv/linux/kernel-features.h
56251         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56252         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56253         kernel-features.h.
56254         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56255         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56256         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56257         kernel-features.h.
56258         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56259         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56261 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56263         * configure.in: Define the default includes to being none.
56264         * configure: Regenerated.
56266 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56268         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56269         * sysdeps/x86_64/setjmp.S: Likewise.
56270         * sysdeps/i386/bsd-setjmp.S: Likewise.
56271         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56272         * sysdeps/i386/setjmp.S: Likewise.
56273         * sysdeps/i386/__longjmp.S: Likewise.
56274         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56275         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56277         * include/stap-probe.h: New file.
56278         * configure.in: Handle --enable-systemtap.
56279         * configure: Regenerated.
56280         * config.h.in (USE_STAP_PROBE): New #undef.
56281         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56282         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56283         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56285 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56287         [BZ #13717]
56288         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56289         to 2.4.0 where earlier.
56290         * sysdeps/unix/sysv/linux/configure: Regenerated.
56291         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56292         <kernel-features.h>.
56293         [__ASSUME_32BITUIDS]: Make code unconditional.
56294         [!__ASSUME_32BITUIDS]: Remove conditional code.
56295         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56296         <kernel-features.h>.
56297         [__ASSUME_32BITUIDS]: Make code unconditional.
56298         [!__ASSUME_32BITUIDS]: Remove conditional code.
56299         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56300         [__ASSUME_32BITUIDS]: Make code unconditional.
56301         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56302         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56303         <kernel-features.h>.
56304         [__ASSUME_32BITUIDS]: Make code unconditional.
56305         [!__ASSUME_32BITUIDS]: Remove conditional code.
56306         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56307         <kernel-features.h>.
56308         [__ASSUME_32BITUIDS]: Make code unconditional.
56309         [!__ASSUME_32BITUIDS]: Remove conditional code.
56310         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56311         <kernel-features.h>.
56312         [__ASSUME_32BITUIDS]: Make code unconditional.
56313         [!__ASSUME_32BITUIDS]: Remove conditional code.
56314         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56315         <kernel-features.h>.
56316         [__ASSUME_32BITUIDS]: Make code unconditional.
56317         [!__ASSUME_32BITUIDS]: Remove conditional code.
56318         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56319         <kernel-features.h>.
56320         [__ASSUME_32BITUIDS]: Make code unconditional.
56321         [!__ASSUME_32BITUIDS]: Remove conditional code.
56322         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56323         <kernel-features.h>.
56324         [__ASSUME_32BITUIDS]: Make code unconditional.
56325         [!__ASSUME_32BITUIDS]: Remove conditional code.
56326         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56327         <kernel-features.h>.
56328         [__ASSUME_32BITUIDS]: Make code unconditional.
56329         [!__ASSUME_32BITUIDS]: Remove conditional code.
56330         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56331         <kernel-features.h>.
56332         [__ASSUME_32BITUIDS]: Make code unconditional.
56333         [!__ASSUME_32BITUIDS]: Remove conditional code.
56334         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56335         <kernel-features.h>.
56336         [__ASSUME_32BITUIDS]: Make code unconditional.
56337         [!__ASSUME_32BITUIDS]: Remove conditional code.
56338         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56339         <kernel-features.h>.
56340         [__ASSUME_32BITUIDS]: Make code unconditional.
56341         [!__ASSUME_32BITUIDS]: Remove conditional code.
56342         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56343         <kernel-features.h>.
56344         [__NR_setresgid] (__setresgid): Do not declare.
56345         [__ASSUME_32BITUIDS]: Make code unconditional.
56346         [!__ASSUME_32BITUIDS]: Remove conditional code.
56347         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56348         <kernel-features.h>.
56349         [__NR_setresuid] (__setresuid): Do not declare.
56350         [__ASSUME_32BITUIDS]: Make code unconditional.
56351         [!__ASSUME_32BITUIDS]: Remove conditional code.
56352         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56353         <kernel-features.h>.
56354         [__ASSUME_32BITUIDS]: Make code unconditional.
56355         [!__ASSUME_32BITUIDS]: Remove conditional code.
56356         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56357         <kernel-features.h>.
56358         [__ASSUME_32BITUIDS]: Make code unconditional.
56359         [!__ASSUME_32BITUIDS]: Remove conditional code.
56360         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56361         <kernel-features.h>.
56362         [__ASSUME_32BITUIDS]: Make code unconditional.
56363         [!__ASSUME_32BITUIDS]: Remove conditional code.
56364         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56365         <kernel-features.h>.
56366         [__ASSUME_32BITUIDS]: Make code unconditional.
56367         [!__ASSUME_32BITUIDS]: Remove conditional code.
56368         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56369         <kernel-features.h>.
56370         [__ASSUME_32BITUIDS]: Make code unconditional.
56371         [!__ASSUME_32BITUIDS]: Remove conditional code.
56372         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56373         <kernel-features.h>.
56374         [__ASSUME_32BITUIDS]: Make code unconditional.
56375         [!__ASSUME_32BITUIDS]: Remove conditional code.
56376         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56377         <kernel-features.h>.
56378         [__ASSUME_32BITUIDS]: Make code unconditional.
56379         [!__ASSUME_32BITUIDS]: Remove conditional code.
56380         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56381         <kernel-features.h>.
56382         [__ASSUME_32BITUIDS]: Make code unconditional.
56383         [!__ASSUME_32BITUIDS]: Remove conditional code.
56384         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56385         <kernel-features.h>.
56386         [__ASSUME_32BITUIDS]: Make code unconditional.
56387         [!__ASSUME_32BITUIDS]: Remove conditional code.
56388         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56389         <kernel-features.h>.
56390         [__ASSUME_32BITUIDS]: Make code unconditional.
56391         [!__ASSUME_32BITUIDS]: Remove conditional code.
56392         * sysdeps/unix/sysv/linux/kernel-features.h
56393         (__ASSUME_SETRESUID_SYSCALL): Remove.
56394         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56395         (__ASSUME_32BITUIDS): Likewise.
56396         (__ASSUME_LDT_WORKS): Likewise.
56397         (__ASSUME_O_DIRECTORY): Likewise.
56398         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56399         architecture but not kernel version.
56400         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56401         (__ASSUME_MMAP2_SYSCALL): Likewise.
56402         (__ASSUME_STAT64_SYSCALL): Likewise.
56403         (__ASSUME_IPC64): Likewise.
56404         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56405         <kernel-features.h>.
56406         [__ASSUME_32BITUIDS]: Make code unconditional.
56407         [!__ASSUME_32BITUIDS]: Remove conditional code.
56408         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56409         <kernel-features.h>.
56410         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56411         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56412         132096]: Remove conditional code.
56413         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56414         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56415         <kernel-features.h>.
56416         [__ASSUME_32BITUIDS]: Make code unconditional.
56417         [!__ASSUME_32BITUIDS]: Remove conditional code.
56418         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56419         <kernel-features.h>.
56420         [__ASSUME_32BITUIDS]: Make code unconditional.
56421         [!__ASSUME_32BITUIDS]: Remove conditional code.
56422         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56423         <kernel-features.h>.
56424         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56425         unconditional.
56426         (__setresgid): Do not declare.
56427         [__ASSUME_32BITUIDS]: Make code unconditional.
56428         [!__ASSUME_32BITUIDS]: Remove conditional code.
56429         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56430         <kernel-features.h>.
56431         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56432         unconditional.
56433         (__setresuid): Do not declare.
56434         [__ASSUME_32BITUIDS]: Make code unconditional.
56435         [!__ASSUME_32BITUIDS]: Remove conditional code.
56436         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56437         <kernel-features.h>.
56438         [__ASSUME_32BITUIDS]: Make code unconditional.
56439         [!__ASSUME_32BITUIDS]: Remove conditional code.
56440         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56441         <kernel-features.h>.
56442         [__ASSUME_32BITUIDS]: Make code unconditional.
56443         [!__ASSUME_32BITUIDS]: Remove conditional code.
56445 2012-05-25  Richard Henderson  <rth@twiddle.net>
56447         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56448         dl_hwcap to ifunc resolver.
56449         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56450         elf_ifunc_invoke.
56451         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56452         dl_hwcap to ifunc resolver.
56453         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56455 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56457         [BZ #14153]
56458         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56459         for |x| <= 2**-26, not 2**-57.
56460         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56461         exception.
56463 2012-05-24  Jeff Law  <law@redhat.com>
56465         * stdio-common/Makefile (tests): Add bug25.
56466         * stdio-common/bug25.c: New test.
56468 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56470         [BZ #13576]
56471         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56472         multiple of MALLOC_ALIGNMENT in size.
56473         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56475 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56477         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56478         Require >= 256.
56479         (FILENAME_MAX): Use macro-int-constant.
56480         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56481         (_IOFBF): Use macro-int-constant.
56482         (_IOLBF): Likewise.
56483         (_IONBF): Likewise.
56484         (SEEK_CUR): Likewise.
56485         (SEEK_END): Likewise.
56486         (SEEK_SET): Likewise.
56487         (TMP_MAX): Likewise.
56488         (EOF): Use macro-int-constant.  Require < 0.
56489         (NULL): Use macro-constant.  Require == 0.
56490         (stdin): Require type to be FILE *.
56491         (stdout): Likewise.
56492         (stderr): Likewise.
56493         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56494         macro-int-constant.
56495         (EXIT_SUCCESS): Likewise.
56496         (NULL): Use macro-constant.  Require == 0.
56497         (RAND_MAX): Use macro-int-constant.
56498         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56499         [C99-based standards] (strtof): Require function.
56500         [C99-based standards] (strtold): Likewise.
56501         [C99-based standards] (strtoll): Likewise.
56502         [C99-based standards] (strtoull): Likewise.
56503         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56504         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56505         [ISO || ISO99 || ISO11] (math.h): Likewise.
56506         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56507         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56508         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56510 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56512         [BZ #14132]
56513         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56514         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56515         * intl/dgettext.c (DCGETTEXT): Likewise.
56516         * intl/gettext.c (DCGETTEXT): Likewise.
56517         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56518         * posix/regex_internal.h (gettext): Likewise.
56519         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56520         Remove declaration.
56521         * include/argz.h (__argz_count_internal)
56522         (__argz_stringify_internal): Remove declaration.
56523         (__argz_count, __argz_stringify): Declare hidden proto.
56524         * intl/dcgettext.c: Remove use of INTDEF.
56525         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56526         * string/argz-stringify.c: Likewise.
56527         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56528         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56529         Declare hidden proto.
56530         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56531         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56532         Declare hidden proto.
56533         * include/stdio.h (__asprintf_internal): Don't declare.
56534         (__asprintf): Don't define as macro.  Declare hidden proto.
56535         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56536         (__fsetlocking): Declare hidden proto.
56537         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56538         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56539         hidden proto.
56540         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56541         (_IO_setlinebuf): Remove use of INTUSE.
56542         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56543         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56544         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56545         Remove declaration.
56546         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56547         (_IO_do_flush): Remove use of INTUSE.
56548         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56549         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56550         (_IO_adjust_column, _IO_least_wmarker)
56551         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56552         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56553         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56554         (_IO_default_doallocate, _IO_wdefault_doallocate)
56555         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56556         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56557         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56558         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56559         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56560         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56561         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56562         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56563         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56564         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56565         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56566         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56567         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56568         proto.
56569         (_IO_flush_all_internal, _IO_adjust_column_internal)
56570         (_IO_default_uflow_internal, _IO_default_finish_internal)
56571         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56572         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56573         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56574         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56575         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56576         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56577         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56578         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56579         (_IO_file_close_internal, _IO_file_close_it_internal)
56580         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56581         (_IO_file_init_internal, _IO_file_attach_internal)
56582         (_IO_file_fopen_internal, _IO_file_read_internal)
56583         (_IO_file_sync_internal, _IO_file_seek_internal)
56584         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56585         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56586         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56587         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56588         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56589         (_IO_list_all_internal, _IO_link_in_internal)
56590         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56591         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56592         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56593         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56594         (_IO_do_write_internal, _IO_padn_internal)
56595         (_IO_getline_info_internal, _IO_getline_internal)
56596         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56597         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56598         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56599         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56600         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56601         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56602         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56603         with libc_hidden_ver, remove use of INTUSE.
56604         * libio/genops.c: Likewise.
56605         * libio/freopen.c: Likewise.
56606         * libio/freopen64.c: Likewise.
56607         * libio/iofclose.c: Likewise.
56608         * libio/iofdopen.c: Likewise.
56609         * libio/iofflush.c: Likewise.
56610         * libio/iofflush_u.c: Likewise.
56611         * libio/iofgets.c: Likewise.
56612         * libio/iofgets_u.c: Likewise.
56613         * libio/iofopen.c: Likewise.
56614         * libio/iofopncook.c: Likewise.
56615         * libio/iofread.c: Likewise.
56616         * libio/iofread_u.c: Likewise.
56617         * libio/ioftell.c: Likewise.
56618         * libio/iofwrite.c: Likewise.
56619         * libio/iogetline.c: Likewise.
56620         * libio/iogets.c: Likewise.
56621         * libio/iogetwline.c: Likewise.
56622         * libio/iopadn.c: Likewise.
56623         * libio/iopopen.c: Likewise.
56624         * libio/ioseekoff.c: Likewise.
56625         * libio/ioseekpos.c: Likewise.
56626         * libio/iosetbuffer.c: Likewise.
56627         * libio/iosetvbuf.c: Likewise.
56628         * libio/ioungetc.c: Likewise.
56629         * libio/ioungetwc.c: Likewise.
56630         * libio/iovdprintf.c: Likewise.
56631         * libio/iovsprintf.c: Likewise.
56632         * libio/iovsscanf.c: Likewise.
56633         * libio/memstream.c: Likewise.
56634         * libio/obprintf.c: Likewise.
56635         * libio/oldfileops.c: Likewise.
56636         * libio/oldiofclose.c: Likewise.
56637         * libio/oldiofdopen.c: Likewise.
56638         * libio/oldiofopen.c: Likewise.
56639         * libio/oldiopopen.c: Likewise.
56640         * libio/oldstdfiles.c: Likewise.
56641         * libio/putc.c: Likewise.
56642         * libio/setbuf.c: Likewise.
56643         * libio/setlinebuf.c: Likewise.
56644         * libio/stdfiles.c: Likewise.
56645         * libio/strops.c: Likewise.
56646         * libio/vasprintf.c: Likewise.
56647         * libio/vscanf.c: Likewise.
56648         * libio/vsnprintf.c: Likewise.
56649         * libio/vswprintf.c: Likewise.
56650         * libio/wfiledoalloc.c: Likewise.
56651         * libio/wfileops.c: Likewise.
56652         * libio/wgenops.c: Likewise.
56653         * libio/wmemstream.c: Likewise.
56654         * libio/wstrops.c: Likewise.
56655         * libio/__fpurge.c: Likewise.
56656         * libio/__fsetlocking.c: Likewise.
56657         * assert/assert.c: Likewise.
56658         * debug/fgets_chk.c: Likewise.
56659         * debug/fgets_u_chk.c: Likewise.
56660         * debug/fread_chk.c: Likewise.
56661         * debug/fread_u_chk.c: Likewise.
56662         * debug/gets_chk.c: Likewise.
56663         * debug/obprintf_chk.c: Likewise.
56664         * debug/vasprintf_chk.c: Likewise.
56665         * debug/vdprintf_chk.c: Likewise.
56666         * debug/vsnprintf_chk.c: Likewise.
56667         * debug/vsprintf_chk.c: Likewise.
56668         * malloc/mtrace.c: Likewise.
56669         * misc/error.c: Likewise.
56670         * misc/syslog.c: Likewise.
56671         * stdio-common/asprintf.c: Likewise.
56672         * stdio-common/fxprintf.c: Likewise.
56673         * stdio-common/getw.c: Likewise.
56674         * stdio-common/isoc99_fscanf.c: Likewise.
56675         * stdio-common/isoc99_scanf.c: Likewise.
56676         * stdio-common/isoc99_vfscanf.c: Likewise.
56677         * stdio-common/isoc99_vscanf.c: Likewise.
56678         * stdio-common/isoc99_vsscanf.c: Likewise.
56679         * stdio-common/printf-prs.c: Likewise.
56680         * stdio-common/printf_fp.c: Likewise.
56681         * stdio-common/printf_fphex.c: Likewise.
56682         * stdio-common/printf_size.c: Likewise.
56683         * stdio-common/putw.c: Likewise.
56684         * stdio-common/scanf.c: Likewise.
56685         * stdio-common/sprintf.c: Likewise.
56686         * stdio-common/tmpfile.c: Likewise.
56687         * stdio-common/vfprintf.c: Likewise.
56688         * stdio-common/vfscanf.c: Likewise.
56689         * stdlib/strfmon_l.c: Likewise.
56690         * sunrpc/openchild.c: Likewise.
56691         * sunrpc/xdr_stdio.c: Likewise.
56692         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56693         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56695 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56697         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56699         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56700         in the third column, to generate for the shared library an IFUNC
56701         that uses _dl_vdso_vsym.
56702         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56703         * Makeconfig (object-suffixes-noshared): New variable.
56705         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56706         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56707         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56708         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56710         [BZ #14132]
56711         * include/sys/time.h (__gettimeofday): Remove macro.
56712         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56713         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56714         Remove INTDEF.
56715         (__gettimeofday): Add libc_hidden_def.
56716         (gettimeofday): Add libc_hidden_weak.
56717         * sysdeps/mach/gettimeofday.c: Likewise.
56718         * sysdeps/posix/gettimeofday.c: Likewise.
56719         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56720         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56721         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56722         (__gettimeofday_internal): Remove strong_alias.
56723         (__gettimeofday): Add libc_hidden_def.
56724         (gettimeofday): Add libc_hidden_weak.
56725         * sysdeps/unix/syscalls.list (gettimeofday):
56726         Remove __gettimeofday_internal alias.
56728 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56729             H.J. Lu  <hongjiu.lu@intel.com>
56731         [BZ #12495]
56732         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56733         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56734         (largebin_index_32_big): New.
56735         (largebin_index): Use it for 16-byte alignment.
56736         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56737         correction with front_misalign.
56739 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56743         Likewise.
56744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56745         Likewise.
56746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56747         Likewise.
56748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56749         Likewise.
56750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56751         Likewise.
56752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56753         Likewise.
56754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56755         Likewise.
56756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56757         Likewise.
56758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56759         Likewise.
56760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56761         Likewise.
56762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56763         Likewise.
56764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56765         Likewise.
56767         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56768         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56770 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56772         [BZ #10846]
56773         [BZ #14036]
56774         * math/libm-test.inc (exp_test): Add test from bug 14036.
56775         (pow_test): Add test from bug 10846.
56777         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56778         and other flags.
56779         (special_function): Do not include flags in test name.
56780         (parse_args): Likewise.
56781         * sysdeps/i386/fpu/libm-test-ulps: Update.
56782         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56783         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56784         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56787         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56788         exceptions.
56789         * math/libm-test.inc ("Philosophy"): Update comment about
56790         exception testing.
56791         (UNDERFLOW_EXCEPTION): New macro.
56792         (UNDERFLOW_EXCEPTION_OK): Likewise.
56793         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56794         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56795         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56796         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56797         (INVALID_EXCEPTION_OK): Update value.
56798         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56799         (OVERFLOW_EXCEPTION_OK): Likewise.
56800         (IGNORE_ZERO_INF_SIGN): Likewise.
56801         (test_exceptions): Handle underflow exceptions.
56802         (acos_test): Update for underflow exception expectations.
56803         (cexp_test): Likewise.
56804         (clog_test): Likewise.
56805         (clog10_test): Likewise.
56806         (csqrt_test): Likewise.
56807         (ctan_test): Likewise.
56808         (ctanh_test): Likewise.
56809         (exp_test): Likewise.
56810         (exp10_test): Likewise.
56811         (exp2_test): Likewise.
56812         (expm1_test): Likewise.
56813         (fma_test): Likewise.
56814         (j0_test): Likewise.
56815         (jn_test): Likewise.
56816         (nexttoward_test): Likewise.
56817         (pow_test): Likewise.
56818         (scalbn_test): Likewise.
56819         (scalbln_test): Likewise.
56820         (tan_test): Likewise.
56821         (y1_test): Likewise.
56822         * sysdeps/i386/fpu/libm-test-ulps: Update.
56823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56825 2012-05-23  David S. Miller  <davem@davemloft.net>
56827         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56828         (__libc_sigaction): Remove unused local variables.
56830 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56832         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56834 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56836         mktime: avoid signed integer overflow
56837         * time/mktime.c (__mktime_internal): Do not mishandle the case
56838         where diff == INT_MIN.
56840         mktime: simplify computation of average
56841         * time/mktime.c (ranged_convert): Use new time_t_avg function
56842         instead of rolling our own (probably-slower) code.
56844         mktime: do not assume signed right shift propagates sign bit
56845         * time/mktime.c (isdst_differ): New static function.
56846         (__mktime_internal): No need to normalize tm_isdst now.
56847         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56848         tm_isdst values.
56850         mktime: merge another wrapv change from gnulib
56851         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56852         from some compilers.
56854         mktime: remove incorrect attempt at unusual arithmetics
56855         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56856         The code didn't really work on such machines anyway.
56857         (TYPE_MINIMUM): Assume two's complement.
56858         (twos_complement_arithmetic): Verify that long_int and time_t
56859         are two's complement (or unsigned, in the latter case).
56861         mktime: check signed shifts on long_int and time_t, too
56862         * time/mktime.c (SHR): Check that shifts work as desired
56863         on the types long_int and time_t too, as SHR is used on
56864         such types.
56866         mktime: do not assume 'long' is wide enough
56867         * time/mktime.c (verify): Move decl up.
56868         (long_int): New type.
56869         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56870         to remove assumption in the code that 'long' is wide enough to
56871         store year values.  This assumption is not true on x32 and on
56872         some non-glibc platforms.
56874         mktime: merge wrapv change from gnulib
56875         * time/mktime.c (WRAPV): New macro.
56876         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56877         (guess_time_tm, __mktime_internal): Do not assume that signed
56878         integer overflow wraps around; modern compilers generate code
56879         where this assumption is no longer valid.
56881 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56883         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56884         Replace "jmp L(pseudo_end)" with "ret".
56885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56886         Likewise.
56888 2012-05-23  Andreas Jaeger  <aj@suse.de>
56890         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56891         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56893 2012-05-23  Andreas Jaeger  <aj@suse.de>
56894             Maximilian Attems  <max@stro.at>
56896         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56897         New macros.
56899 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56901         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56902         code so that pseudo_end is just ret and the stack pointer is
56903         correct also for static library in error case.
56905 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56907         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56908         move to syscalls.list.
56909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56914         * manual/install.texi (Running make install): Do not mention Linux
56915         kernel version for which pt_chown is not needed.
56916         (Linux): Do not mention problems with nscd with 2.0 kernels.
56917         * INSTALL: Regenerated.
56919 2012-05-23  Andreas Jaeger  <aj@suse.de>
56921         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56922         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56923         macro.
56924         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56925         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56926         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56927         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56928         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56929         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56930         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56931         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56932         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56933         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56934         * sysdeps/unix/sysv/linux/bits/in.h
56935         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56937 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56939         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56940         (PREPARE_VERSION): Just use assert instead, it will be elided
56941         under [NDEBUG] anyway.
56943 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56945         * sysdeps/unix/sysv/linux/Makefile: Include
56946         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56947         (sysdep_routines): Remove sysctl.
56948         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56949         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56950         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56951         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56952         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56954 2012-05-22  Andreas Jaeger  <aj@suse.de>
56956         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56957         that pseudo_end is just ret and the stack pointer is correct also
56958         for static library in error case.
56960 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56962         [BZ #14122]
56963         * nss/nsswitch.c (defconfig_entries): New variable.
56964         (__nss_database_lookup): Don't leak defconfig entries.
56965         (nss_parse_service_list): Don't leak on error paths.
56966         (free_database_entries): New function.
56967         (free_defconfig): New function.
56968         (free_mem): Move common code to free_database_entries.
56970 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56972         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56973         Add arch_prctl.
56974         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56976         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56977         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56979         New macro.
56980         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56981         (INTERNAL_SYSCALL_TYPES): Likewise.
56982         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56983         (LOAD_REGS_TYPES_[1-6]): Likewise.
56984         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56985         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56987 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56989         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56990         copysignl for GLIBC_2_0.
56991         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56992         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56993         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56994         logbl for GLIBC_2_0.
56995         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56996         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56998 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57000         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57001         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57003         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57004         Use "neg %eax".
57006         * time/mktime.c: Update copyright years.
57008 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57010         mktime: merge comment-quoting-style change from gnulib
57011         * time/mktime.c: Quote 'like this' in comments.
57012         The GNU coding standards suggest that we no longer quote `like this',
57013         as "`" and "'" are typically rendered asymmetrically nowadays.
57014         The typical gnulib style is to quote 'like this' when quoting
57015         code, and "like this" when quoting English.
57017         * time/mktime.c (compile-command): Add "-I.".
57019         mktime: merge mktime-internal.h change from gnulib
57020         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57022         mktime: merge time_r change from gnulib
57023         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57025         mktime: merge DEBUG change from gnulib
57026         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57027         case system <time.h> has a #define.
57029         mktime: merge <sys/types.h> change from gnulib
57030         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57031         since <time.t> is now guaranteed to define time_t.
57033         mktime: merge HAVE_CONFIG_H change from gnulib
57034         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57036 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57038         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57039         Use "neg %eax".
57041         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57042         __rlim_t cast.
57043         (struct rusage): Use anonymous union to pad each field to
57044         __syscall_slong_t.
57046 2012-05-21  David S. Miller  <davem@davemloft.net>
57048         * Makefules (o-iterator): Remove .s cases.
57049         (compile-command.s): Delete.
57050         (COMPILE.s): Delete.
57051         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57053 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57055         * configure.in (libc_cv_predef_stack_protector): Only consider
57056         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57057         * configure: Regenerated.
57059 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57061         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57062         New macro.  Use R*LP on int and pointer.
57063         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57064         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57065         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57066         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57068         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57069         [__WORDSIZE_TIME64_COMPAT32] instead of
57070         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57071         (struct utmp): Likewise.
57072         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57073         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57074         Renamed to ...
57075         (__WORDSIZE_TIME64_COMPAT32): This.
57076         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57077         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57078         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57079         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57080         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57081         (__WORDSIZE_TIME64_COMPAT32): New macro.
57083 2012-05-21  Andreas Jaeger  <aj@suse.de>
57085         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57086         only if [SHARED]. Add prototype for __wcschr_ia32.
57088 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57090         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57091         of %rbp unmolested in the jmp_buf while mangling the low bits.
57092         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57093         unmolested high bits of %rbp while demangling the low bits.
57094         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57096 2012-05-21  Andreas Jaeger  <aj@suse.de>
57098         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57099         * sunrpc/svc_simple.c: Use it for registerrpc.
57100         * sunrpc/xcrypt.c: Use it for passwd2des.
57102         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57104 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57106         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57107         Don't define if [__SYSCALL_WORDSIZE != 32].
57108         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57109         New macro.
57111 2012-05-21  Bruno Haible  <bruno@clisp.org>
57112             Andreas Jaeger  <aj@suse.de>
57114         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57115         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57116         inptr and inend for must_buffer_ch.
57117         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57118         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57119         * stdio-common/Makefile (tests): Remove bug15.
57120         (bug15-ENV): Remove macro.
57121         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57122         anymore.
57124 2012-05-19  Andreas Jaeger  <aj@suse.de>
57125             Roland McGrath  <roland@hack.frob.com>
57127         * manual/contrib.texi: Completely rewritten. It contains now an
57128         alphabetical list of contributors and their contributions.
57130 2012-05-21  Richard Henderson  <rth@twiddle.net>
57132         * misc/getauxval.c (__getauxval): Use unsigned long int.
57133         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57134         (getauxval): Use unsigned long int.
57136 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57138         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57140 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57142         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57143         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57144         __alignof__ (long double).
57146 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57150 2012-05-20  Richard Henderson  <rth@twiddle.net>
57152         * misc/getauxval.c: New file.
57153         * misc/sys/auxv.h: New file.
57154         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57155         (routines): Add getauxval.
57156         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57157         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57158         * elf/dl-sysdep.c (_dl_auxv): Remove.
57159         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57160         * elf/dl-support.c (_dl_auxv): New variable.
57161         (_dl_aux_init): Initialize it.
57162         * manual/startup.texi (Auxiliary Vector): New node.
57163         * sysdeps/generic/bits/hwcap.h: New file.
57164         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57165         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57166         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57167         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57168         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57169         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57171         Update.
57172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57175         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57181 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57185 2012-05-19  David S. Miller  <davem@davemloft.net>
57187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57189 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57191         [BZ #14123]
57192         * math/s_ccosh.c: Include <float.h>
57193         (__ccosh): Avoid internal overflow calculating sinh and cosh
57194         values before multiplying by sin and cos values.
57195         * math/s_ccoshf.c: Likewise.
57196         * math/s_ccoshl.c: Likewise.
57197         * math/s_csin.c: Likewise.
57198         * math/s_csinf.c: Likewise.
57199         * math/s_csinl.c: Likewise.
57200         * math/s_csinh.c: Likewise.
57201         * math/s_csinhf.c: Likewise.
57202         * math/s_csinhl.c: Likewise.
57203         * math/libm-test.inc (ccos_test): Add more tests.
57204         (ccosh_test): Likewise.
57205         (csin_test): Likewise.
57206         (csinh_test): Likewise.
57207         * sysdeps/i386/fpu/libm-test-ulps: Update.
57208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57210 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57212         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57213         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57215         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57217 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57219         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57220         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57221         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57222         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57223         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57224         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57225         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57226         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57227         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57228         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57229         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57230         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57231         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57232         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57233         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57234         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57235         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57236         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57237         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57238         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57239         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57240         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57241         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57242         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57243         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57244         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57245         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57246         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57247         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57248         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57249         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57251 2012-05-18  Andreas Jaeger  <aj@suse.de>
57253         * csu/.gitignore: Delete.
57255 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57257         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57258         (timex): Use __syscall_slong_t.
57260 2012-05-18  Andreas Jaeger  <aj@suse.de>
57261             Carlos O'Donell  <carlos_odonell@mentor.com>
57263         * manual/install.texi (Configuring and compiling): Update
57264         description about files modified in the source directory.
57265         * INSTALL: Regenerated.
57267 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57269         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57270         value.  Use "or" to set return value to -1.
57271         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57272         negate return value.
57274 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57276         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57277         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57278         failure if the compiler has Graphite support disabled.
57279         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57280         Likewise.
57281         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57282         (CFLAGS-memmove.c): Likewise.
57283         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57284         Likewise.
57286 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57288         * sysdeps/x86_64/x32/_itoa.h: New file.
57290         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57291         getdents system call only if kernel and user dirents have the
57292         same d_ino and d_off.
57294         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57295         LLONG_MAX != LONG_MAX.
57296         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57297         (_fitoa_word): Likewise.
57299         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57300         years.
57301         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57302         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57303         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57305         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57306         include <bits/wordsize.h>.  Check __x86_64__ instead of
57307         __WORDSIZE.
57308         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57309         if __x86_64__ is defined.  Use anonymous union on fpstate.
57311         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57312         anonymous union.
57314 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57316         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57317         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57318         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57319         Refer to _rtld_local_ro instead of _rtld_global_ro.
57320         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57321         Likewise.
57322         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57323         Likewise.
57324         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57325         Likewise.
57326         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57327         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57328         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57330         [BZ #10882]
57331         * sysdeps/powerpc/powerpc32/dl-machine.c
57332         (__elf_machine_runtime_setup) [PROF]: Don't reference
57333         _dl_prof_resolve.
57335 2012-05-18  Andreas Jaeger  <aj@suse.de>
57337         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57338         function only available for GCCs before 3.4 since GCC 3.4
57339         introduced a builtin.
57340         (lrint): Likewise.
57341         (llrintf): Likewise.
57342         (llrint): Likewise.
57343         (fmaxf): Likewise.
57344         (fmax): Likewise.
57345         (fminf): Likewise.
57346         (fmin): Likewise.
57347         (rint): Likewise.
57348         (rintf): Likewise.
57349         (nearbyint): Likewise.
57350         (nearbyintf): Likewise.
57351         (ceil): Likewise.
57352         (ceilf): Likewise.
57353         (floor): Likewise.
57354         (floorf): Likewise.
57356 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57358         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57359         on both fields and cast pointer to __syscall_ulong_t.
57361         * bits/types.h (__fsword_t): New type.
57362         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57363         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57364         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57365         (__FSWORD_T_TYPE): Likewise.
57366         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57367         (__FSWORD_T_TYPE): Likewise.
57368         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57369         (__FSWORD_T_TYPE): Likewise.
57370         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57371         (__FSWORD_T_TYPE): Likewise.
57372         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57373         __SWORD_TYPE with __fsword_t.
57374         (statfs64): Likewise.
57376 2012-05-17  David S. Miller  <davem@davemloft.net>
57378         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57380 2012-05-17  Andreas Jaeger  <aj@suse.de>
57382         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57383         warning.
57385 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57387         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57389 2012-05-17  Andreas Jaeger  <aj@suse.de>
57391         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57392         when it is used.
57394 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57396         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57398 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57400         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57401         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57403 2012-05-17  Andreas Jaeger  <aj@suse.de>
57404             Carlos O'Donell  <carlos_odonell@mentor.com>
57406         [BZ #14059]
57407         * sysdeps/x86_64/multiarch/init-arch.h
57408         (bit_YMM_Usable): Rename to...
57409         (bit_AVX_Usable): ... this.
57410         (bit_FMA4_Usable): New macro.
57411         (bit_XMM_state): New macro.
57412         (bit_YMM_state): New macro.
57413         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57414         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57415         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57416         (CPUID_OSXSAVE): New macro.
57417         (CPUID_AVX): New macro.
57418         (CPUID_FMA4): New macro.
57419         (index_YMM_Usable): Rename to...
57420         (index_AVX_Usable): ... this.
57421         (HAS_AVX): Use HAS_ARCH_FEATURE.
57422         (HAS_FMA4): Likewise.
57423         (HAS_YMM_USABLE): Remove.
57424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57425         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57426         are present.
57427         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57428         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57429         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57430         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57431         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57433 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57435         * math/libm-test.c: Support platforms without multiple rounding modes.
57436         * math/bug-nextafter.c: Support platforms without FP exceptions.
57437         * math/bug-nexttoward.c: Likewise.
57438         * math/test-fenv.c: Likewise.
57439         * math/test-misc.c: Likewise.
57440         * stdlib/bug-getcontext.c: Likewise.
57442 2012-05-17  Andreas Jaeger  <aj@suse.de>
57444         * manual/examples/search.c (critter_cmp): Change signature to
57445         avoid warnings.
57446         * manual/string.texi (Collation Functions): Likewise.
57448 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57450         * bits/types.h: Fold copyright years.
57451         * bits/typesizes.h: Likewise.
57452         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57453         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57454         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57455         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57456         * time/time.h: Likewise.
57458 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57460         [BZ #208]
57461         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57462         in instead of returning them.  Return void.
57463         (__libc_mallinfo): Accumulate over all arenas.
57464         (__malloc_stats): Adjust for change in int_mallinfo interface.
57466 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57468         [BZ #10375]
57469         * configure.in (NM): Add AC_CHECK_TOOL for it.
57470         (libc_extra_cflags): New substituted variable.
57471         Check for -fstack-protector being used implicitly.
57472         * configure: Regenerated.
57473         * config.make.in (config-extra-cflags): New variable,
57474         gets @libc_extra_cflags@.
57475         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57477         [BZ #10375]
57478         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57479         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57480         * configure: Regenerated.
57481         * config.make.in (CPPUNDEFS): New substituted variable.
57482         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57483         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57484         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57486 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57488         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57489         (mq_attr): Use __syscall_slong_t.
57491 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57493         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57494         Check __x86_64__ instead of __WORDSIZE.
57495         (_STAT_VER_LINUX): Likewise.
57496         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57497         __syscall_ulong_t and __syscall_slong_t.
57498         (stat64): Likewise.
57500 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57502         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57504 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57506         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57508 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57510         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57511         __syscall_ulong_t.
57513         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57514         include <bits/wordsize.h>.  Check __x86_64__ instead of
57515         __WORDSIZE.
57516         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57517         defined.
57518         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57520         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57521         include <bits/wordsize.h>.  Check __x86_64__ instead of
57522         __WORDSIZE.
57523         (user_regs_struct): Use "__extension__ unsigned long long"
57524         instead of "unsigned long" if __x86_64__ is defined.
57525         (user): Likewise.  Pad after pointer field if __ILP32__ is
57526         defined.
57528 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57530         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57531         versions 5 to 9.
57532         * configure: Regenerated.
57533         * manual/install.texi (texinfo): Increase version requirement to
57534         4.5 or later.
57535         * INSTALL: Regenerated.
57537         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57539 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57541         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57543         * sysdeps/x86_64/x32/ffs.c: New file.
57545         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57546         __syscall_ulong_t.
57547         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57548         defined.  Use __syscall_ulong_t.
57549         (shminfo): Use __syscall_ulong_t.
57550         (shm_info): Likewise.
57552         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57553         __syscall_ulong_t.
57555         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57556         <bits/wordsize.h>.
57557         (msgqnum_t): Use __syscall_ulong_t.
57558         (msglen_t): Likewise.
57559         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57560         __syscall_ulong_t.
57562         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57563         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57565         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57567         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57568         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57570         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57571         __syscall_slong_t.
57573         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57574         include <bits/wordsize.h>.  Check __x86_64__ instead of
57575         __WORDSIZE.
57577         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57578         "unsigned long long int" if __x86_64__ is defined.
57579         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57581         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57582         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57583         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57585         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57586         <stdint.h>.
57587         (GET_PC): Cast to uintptr_t first.
57588         (GET_FRAME): Likewise.
57589         (GET_STACK): Likewise.
57591         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57592         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57593         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57594         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57595         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57596         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57597         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57598         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57599         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57600         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57601         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57602         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57603         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57604         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57605         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57606         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57607         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57608         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57609         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57610         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57611         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57612         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57613         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57614         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57615         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57616         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57617         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57618         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57619         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57621 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57623         * Makerules (+depfiles): Also collect depfiles from .oS in
57624         $(extra-objs).
57625         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57626         .oS, $(libnldbl-routines)).
57628         * Makerules (native-compile-mkdep-flags): Define.
57629         * sunrpc/Makefile (extra-objs): Add $(addprefix
57630         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57631         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57632         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57633         calling $(make-target-directory).
57635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57637         * bits/types.h (__snseconds_t): Removed.
57638         * time/time.h (struct timespec): Replace __snseconds_t with
57639         __syscall_slong_t.
57640         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57641         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57642         Likewise.
57643         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57644         (__SNSECONDS_T_TYPE): Likewise.
57645         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57646         (__SNSECONDS_T_TYPE): Likewise.
57647         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57648         (__SNSECONDS_T_TYPE): Likewise.
57650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57652         * sysdeps/mach/hurd/bits/typesizes.h
57653         (__SYSCALL_SLONG_TYPE): New macro.
57654         (__SYSCALL_ULONG_TYPE): Likewise.
57656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57658         * bits/types.h (__syscall_slong_t): New type.
57659         (__syscall_ulong_t): Likewise.
57661         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57662         (__SYSCALL_ULONG_TYPE): Likewise.
57663         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57664         (__SYSCALL_SLONG_TYPE): Likewise.
57665         (__SYSCALL_ULONG_TYPE): Likewise.
57666         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57667         (__SYSCALL_SLONG_TYPE): Likewise.
57668         (__SYSCALL_ULONG_TYPE): Likewise.
57669         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57670         (__SYSCALL_SLONG_TYPE): Likewise.
57671         (__SYSCALL_ULONG_TYPE): Likewise.
57673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57675         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57676         Add sigaltstack-offsets.sym.
57677         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57678         <sigaltstack-offsets.h>.
57679         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57680         longjmp_msg pointer.
57681         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57682         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57683         signal stack.
57684         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57686 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57688         * elf/stackguard-macros.h: Remove file.
57689         * sysdeps/generic/stackguard-macros.h: New file.
57690         * sysdeps/i386/stackguard-macros.h: Likewise.
57691         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57692         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57693         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57694         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57695         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57696         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57697         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57698         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57699         <elf/stackguard-macros.h>.
57701         [BZ #14109]
57702         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57703         __aligned__ in attribute.
57704         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57705         (gregset_t): Likewise.
57707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57709         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57710         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57711         * sysdeps/x86_64/x32/Implies-after: New file.
57713 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57715         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57716         and access return value for _dl_profile_fixup.  Use R10_LP to
57717         load frame size.
57719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57721         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57725         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57726         * sysdeps/x86_64/x32/sysdep.h: New file.
57728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57730         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57731         * sysdeps/x86_64/setjmp.S: Likewise.
57733 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57735         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57736         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57737         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57738         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57739         remove unused global constant.
57741 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57743         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57744         include of <not-cancel.h>.
57746 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57748         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57750 2012-05-15  Jeff Law  <law@redhat.com>
57751             Andreas Jaeger  <aj@suse.de>
57753         [BZ #13594]
57754         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57755         out from...
57756         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57757         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57758         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57759         code changing __hst_map_handle.map.
57761 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57763         * configure.in (sysnames): Look for Implies-before and Implies-after
57764         files.
57765         * configure: Regenerated.
57767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57769         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57770         8-byte data alignment with LP_SIZE alignment.
57772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57774         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57775         into R10_LP.
57777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57779         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57783         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57784         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57785         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57786         Likewise.
57787         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57791         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57792         (stackinfo_sub_sp): Likewise.
57794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57796         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57797         RAX_LP.
57799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57801         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57802         into R*_LP.
57804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57806         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57807         sizes into R*_LP.
57809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57811         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57815         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57816         into R11_LP and load __x86_64_shared_cache_size_half into
57817         R8_LP.
57819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57821         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57822         R8_LP.
57824 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57826         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57827         logb for POWER7.
57828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57829         logbf for POWER7.
57830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57831         logbl for POWER7.
57832         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57833         powerpc32/power7/fpu/s_logb.c via #include.
57834         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57835         powerpc32/power7/fpu/s_logbf.c via #include.
57836         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57837         powerpc32/power7/fpu/s_logbl.c via #include.
57839 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57841         * README.libm: Remove file.
57843 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57845         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57846         count for x32.  Use R*_LP and omit operand-size suffix.
57848 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57850         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57851         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57852         * sysdeps/x86_64/x32/shlib-versions: New file.
57854 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57856         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57857         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57858         Use _dl_fatal_printf instead.
57860 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57862         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57863         set if not set by the user.  Do not allow for being unset.
57864         * sysdeps/unix/sysv/linux/configure: Regenerated.
57866 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57868         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57869         the `q' suffix from lea and replace .quad with ASM_ADDR.
57871 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57874         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57875         instead of $17.
57876         (PTR_DEMANGLE): Likewise.
57878 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57880         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57881         (LP_OP): Likewise.
57882         (ASM_ADDR): Likewise.
57883         (RAX_LP): Likewise.
57884         (RBP_LP): Likewise.
57885         (RBX_LP): Likewise.
57886         (RCX_LP): Likewise.
57887         (RDI_LP): Likewise.
57888         (RSI_LP): Likewise.
57889         (RSP_LP): Likewise.
57890         (R8_LP): Likewise.
57891         (R9_LP): Likewise.
57892         (R10_LP): Likewise.
57893         (R10_LP): Likewise.
57894         (R11_LP): Likewise.
57895         (R12_LP): Likewise.
57896         (R13_LP): Likewise.
57897         (R14_LP): Likewise.
57898         (R15_LP): Likewise.
57900 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57902         * sysdeps/x86_64/x32/dl-machine.h: New file.
57904 2012-05-14  Andreas Jaeger  <aj@suse.de>
57906         * manual/Makefile (subdir): Remove export of subdir.
57907         (all): Remove target.
57908         (.PHONY): Remove all from list.
57909         (mkinstalldirs): Remove.
57910         (.PHONY): Remove installdirs from list.
57911         ($(inst_infodir)/libc.info): Use make-target-directory.
57912         (installdirs): Remove.
57913         (subdir_%): Remove.
57914         (glibc-targets): Remove.
57915         (lib): Remove.
57916         (stubs): Remove.
57917         ($(objpfx)stubs ../po/manual.pot): Remove.
57918         ($(objpfx)stamp%): Remove.
57919         (make-target-directory): Remove.
57920         (subdir_install): Remove.
57921         (routines): Remove.
57922         (aux): Remove.
57923         (sources): Remove.
57924         (objects): Remove.
57925         (headers): Remove.
57927         [BZ #13750]
57928         * manual/.gitignore: Remove, it's not needed anymore.
57929         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57930         all files in it.
57931         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57932         directory.
57933         (texis): Renamed to $(objpfx)texis.
57934         (texis-path): New, contains path to generated files.
57935         (chapters.%): Use texis-path for complete path, add extra argument
57936         libc-texinfo.sh.
57937         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57938         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57939         (summary,texi, stamp-summary): Use complete path of
57940         files. Generate files in build dir.
57941         (dir-add.texi): Build in build dir.
57942         (libm-err.texi,stamp-libm-err): Likewise.
57943         (version.texi, stamp-version): Likewise.
57944         (.%c.texi): Likewise.
57945         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57946         (mostlyclean): Remove target.
57947         (realclean): Remove target.
57948         (generated): Add new variable with contents from mostlyclean and
57949         realclean, remove entries duplicated in common-mostlyclean, add
57950         stamp-libm-err and stamp-version.
57951         (generated-dirs): Add libc directory.
57952         ($(inst_infodir)/libc.info): Install files from build dir.
57954         * manual/install.texi (Configuring and compiling): Adjust since
57955         the info files are not part of the tar ball anymore.
57957 2012-05-14  Andreas Jaeger  <aj@suse.de>
57959         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57960         variable.
57962 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57964         [BZ #13717]
57965         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57966         to 2.2.0 where earlier.
57967         * sysdeps/unix/sysv/linux/configure: Regenerated.
57968         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57969         Remove conditional code.
57970         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57971         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57972         Remove conditional code.
57973         [!__NR_lchown]: Likewise.
57974         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57975         [__NR_lchown]: Likewise.
57976         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57977         comment referencing __ASSUME_LCHOWN_SYSCALL.
57978         * sysdeps/unix/sysv/linux/i386/sigaction.c
57979         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57980         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57981         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57982         Remove conditional code.
57983         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57984         (__protocol_available): Remove #if 0 code.
57985         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57986         conditional code.
57987         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57988         * sysdeps/unix/sysv/linux/kernel-features.h
57989         (__ASSUME_GETCWD_SYSCALL): Don't define.
57990         (__ASSUME_REALTIME_SIGNALS): Likewise.
57991         (__ASSUME_PREAD_SYSCALL): Likewise.
57992         (__ASSUME_PWRITE_SYSCALL): Likewise.
57993         (__ASSUME_POLL_SYSCALL): Likewise.
57994         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57995         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57996         non-SPARC.
57997         (__ASSUME_SIOCGIFNAME): Don't define.
57998         (__ASSUME_MSG_NOSIGNAL): Likewise.
57999         (__ASSUME_SENDFILE): Define unconditionally.
58000         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58001         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58002         conditional code.
58003         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58004         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58005         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58006         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58007         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58008         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58009         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58011         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58014         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58015         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58020         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58021         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58023         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58024         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58026         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58027         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58029         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58030         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58032         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58033         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58034         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58035         Remove conditional code.
58036         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58037         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58038         Remove conditional code.
58039         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58040         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58041         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58042         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58043         Remove conditional code.
58044         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58045         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58046         Remove conditional code.
58047         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58048         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58049         Remove conditional code.
58050         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58051         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58052         Remove conditional code.
58053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58054         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58055         Remove conditional code.
58056         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58057         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58058         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58059         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58060         * sysdeps/unix/sysv/linux/sigaction.c
58061         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58062         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58063         * sysdeps/unix/sysv/linux/sigpending.c
58064         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58065         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58066         * sysdeps/unix/sysv/linux/sigprocmask.c
58067         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58068         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58069         * sysdeps/unix/sysv/linux/sigsuspend.c
58070         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58071         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58072         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58073         (__libc_missing_rt_sigs): Remove.
58074         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58075         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58076         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58077         Remove conditional code.
58078         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58079         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58080         return 1.
58081         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58082         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58083         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58084         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58086 2012-05-14  Andreas Jaeger  <aj@suse.de>
58088         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58089         it's not used in glibc.
58090         (__coshm1): Likewise.
58091         (__acosh1p): Likewise.
58092         (__sgn): Likewise.
58094         * manual/string.texi (Copying and Concatenation): Add missing
58095         variable in concat example.
58096         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58100         [BZ #14103]
58101         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58102         __builtin_clzl with __builtin_clzll.
58104 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58106         [BZ #14104]
58107         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58108         libc_freeres_ptr.
58110 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58112         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58113         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58114         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58115         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58117 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58119         * NEWS: Update ia64 info.
58121 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58123         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58124         used as bcopy.
58126 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58128         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58129         * sysdeps/unix/syscalls.list (dup3): Likewise.
58130         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58131         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58133 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58135         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58136         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58138 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58140         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58141         thread pointer.
58142         (TLS_IE): Use mov/add instead of movq/addq to load thread
58143         pointer.
58144         (TLS_GD_PREFIX): New.
58145         (TLS_GD): Use it.
58147 2012-05-11  David S. Miller  <davem@davemloft.net>
58149         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58150         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58151         (_FPU_SETCW): Likewise.
58153 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58155         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58156         is 32-byte aligned.
58158 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58160         [BZ #11837]
58161         * iconvdata/gb18030.c: Update tables.
58162         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58163         characters specially.
58164         (BODY for TO_LOOP): Add encoding of missing ranges.
58166 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58168         [BZ #13673]
58169         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58170         * sysdeps/mach/hurd/dup3.c: Likewise.
58171         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58172         * sysdeps/powerpc/memmove.c:: Likewise.
58174 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58176         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58177         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58179 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58181         * elf/elf.h (R_X86_64_RELATIVE64): New.
58182         (R_X86_64_NUM): Updated.
58183         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58184         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58185         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58186         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58187         tst-quad1pie tst-quad2pie
58188         (modules-names): Add tst-quadmod1 tst-quadmod2.
58189         ($(objpfx)tst-quad1): New dependency.
58190         ($(objpfx)tst-quad2): Likewise.
58191         ($(objpfx)tst-quad1pie): Likewise.
58192         ($(objpfx)tst-quad2pie): Likewise.
58193         * sysdeps/x86_64/tst-quad1.c: New file.
58194         * sysdeps/x86_64/tst-quad1pie.c: New file.
58195         * sysdeps/x86_64/tst-quad2.c: Likewise.
58196         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58197         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58198         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58199         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58200         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58202 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58204         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58205         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58206         * streams/stropts.h (t_scalar_t): Define type.
58208         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58209         (_PATH_PRESERVE): Set to "/var/lib".
58210         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58212         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58213         instead of int.
58215         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58216         if __dir_mkfile succeeded.
58218         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58219         checking for _hurd_dtablesize.  Unlock it right after having
58220         finished _hurd_dtable allocation.
58222 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58224         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58225         * sysdeps/mach/hurd/configure: Regenerated.
58226         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58227         special-casing to...
58228         * sysdeps/gnu/configure.in: ... this new file.
58229         * sysdeps/unix/sysv/linux/configure: Regenerated.
58230         * sysdeps/gnu/configure: New generated file.
58232         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58233         for Linux: use nsec instead of usec, as well as:
58234         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58235         members of type struct timespec.
58236         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58237         New macros.
58238         (struct stat64): Likewise.
58239         (_STATBUF_ST_NSEC): New macro.
58240         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58242         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58243         __strtoul_internal rather than strtoul.
58245 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58247         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58248         and reject them.
58250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58252         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58253         which preserves existing values.
58254         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58256 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58258         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58259         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58260         greater than FD_SETSIZE.
58262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58264         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58265         allocated, call __vm_protect to finish enabling the existing space, and
58266         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58267         allocate the remainder.
58269 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58271         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58272         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58274 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58276         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58277         sysdeps/mach/hurd/readlink.c.
58279         * posix/tst-sysconf.c (posix_options): Only use
58280         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58281         _POSIX_SYNCHRONIZED_IO when they are defined
58282         * sysdeps/mach/hurd/bits/posix_opt.h:
58283         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58284         (_XOPEN_REALTIME): Undefine macro.
58285         (_XOPEN_REALTIME_THREADS): Undefine macro.
58286         (_XOPEN_SHM): Undefine macro.
58287         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58288         macro to -1.
58289         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58290         macro to -1.
58291         (_POSIX_ASYNC_IO): Undefine macro.
58292         (_POSIX_PRIORITIZED_IO): Undefine macro.
58293         (_POSIX_SPIN_LOCKS): Define macro to -1.
58295         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58296         SA_NODEFER, SA_RESETHAND.
58297         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58298         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58299         F_DUPFD_CLOEXEC.
58301 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58303         * elf/Makefile (pldd-modules): Define unconditionally.
58305 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58307         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58309 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58311         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58312         Return ENOENT when name is empty.
58313         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58317         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58319         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58323         Fix mlock in all cases except non-readable pages.
58324         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58325         instead of VM_PROT_ALL as parameter to __vm_wire function.
58327         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58328         (__mkdir): When path is `/', just fail with EEXIST.
58329         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58331 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58333         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58334         <sys/uio.h> (for writev).
58335         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58336         and <sys/param.h> (for MIN).
58338 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58340         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58341         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58342         if interrupted.
58344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58346         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58347         Depend on against $(link-rpcuserlibs).
58349 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58351         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58352         (__libc_stack_end): Do not use attribute_relro.
58353         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58354         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58355         to libthread-provided value.
58356         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58357         attribute_relro.
58359 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58361         [BZ #3748]
58362         * bits/libc-lock.h (__libc_once_get): New macro.
58363         * sysdeps/mach/bits/libc-lock.h: Likewise.
58364         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58365         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58366         instead of using implementation details.
58368         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58369         * libio/freopen.c: Likewise.
58370         * libio/freopen64.c: Likewise.
58371         * misc/syslog.c: Likewise.
58372         * nscd/connections.c: Likewise.
58373         * nscd/netgroupcache.c: Likewise.
58374         * sysdeps/posix/getcwd.c: Likewise.
58376 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58378         * math/w_ilogbf.c: Add #include <limits.h>.
58380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58382         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58383         path instead of returning without unlocking.
58385         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58386         immediate-write ioctls.
58387         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58389 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58391         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58392         __builtin_frame_address instead of making assumptions about the
58393         location of the return address relative to DATA.  Force early load of
58394         the return address.
58395         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58396         __builtin_frame_address.
58398         dup3 for GNU Hurd.
58399         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58400         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58401         implement dup3 and do some further code clean-ups.
58402         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58403         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58405 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58407         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58409         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58410         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58411         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58412         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58413         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58414         d->port.lock.
58416         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58417         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58418         when handler == SIG_ERR, not when handler != SIG_ERR.
58420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58422         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58423         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58424         definitions.
58426         accept4 for GNU Hurd.
58427         * include/sys/socket.h (__libc_accept4): New prototype.
58428         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58429         to implement __libc_accept4.
58430         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58431         __libc_accept4.
58432         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58434         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58435         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58436         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58437         signal-defines.sym.
58439 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58441         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58443 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58445         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58446         assertion on O_CLOEXEC flag.
58447         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58448         * hurd/intern-fd.c: Likewise.
58449         * hurd/port2fd.c: Likewise.
58451 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58453         [BZ #3906]
58454         * bits/in.h (IPV6_PKTINFO): Define new macro.
58455         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58457 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58459         [BZ #13954]
58460         [BZ #13955]
58461         [BZ #13956]
58462         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58463         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58464         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58465         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58466         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58467         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58468         * math/libm-test.inc (logb_test) : Additional logb tests.
58470 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58471             Andreas Jaeger  <aj@suse.de>
58473         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58474         * configure: Regenerated.
58475         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58476         * config.make.in (link-obsolete-rpc): New substituted variable.
58477         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58478         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58479         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58480         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58481         so that libc.a contains the symbols.
58482         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58483         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58484         * sunrpc/auth_none.c: Likewise.
58485         * sunrpc/auth_unix.c: Likewise.
58486         * sunrpc/authdes_prot.c: Likewise.
58487         * sunrpc/authuxprot.c: Likewise.
58488         * sunrpc/clnt_gen.c: Likewise.
58489         * sunrpc/clnt_perr.c: Likewise.
58490         * sunrpc/clnt_raw.c: Likewise.
58491         * sunrpc/clnt_simp.c: Likewise.
58492         * sunrpc/clnt_tcp.c: Likewise.
58493         * sunrpc/clnt_udp.c: Likewise.
58494         * sunrpc/clnt_unix.c: Likewise.
58495         * sunrpc/des_crypt.c: Likewise.
58496         * sunrpc/des_soft.c: Likewise.
58497         * sunrpc/get_myaddr.c: Likewise.
58498         * sunrpc/key_call.c: Likewise.
58499         * sunrpc/key_prot.c: Likewise.
58500         * sunrpc/netname.c: Likewise.
58501         * sunrpc/pm_getmaps.c: Likewise.
58502         * sunrpc/pm_getport.c: Likewise.
58503         * sunrpc/pmap_clnt.c: Likewise.
58504         * sunrpc/pmap_prot.c: Likewise.
58505         * sunrpc/pmap_prot2.c: Likewise.
58506         * sunrpc/pmap_rmt.c: Likewise.
58507         * sunrpc/publickey.c: Likewise.
58508         * sunrpc/rpc_cmsg.c: Likewise.
58509         * sunrpc/rpc_common.c: Likewise.
58510         * sunrpc/rpc_dtable.c: Likewise.
58511         * sunrpc/rpc_prot.c: Likewise.
58512         * sunrpc/rpc_thread.c: Likewise.
58513         * sunrpc/rtime.c: Likewise.
58514         * sunrpc/svc.c: Likewise.
58515         * sunrpc/svc_auth.c: Likewise.
58516         * sunrpc/svc_raw.c: Likewise.
58517         * sunrpc/svc_run.c: Likewise.
58518         * sunrpc/svc_tcp.c: Likewise.
58519         * sunrpc/svc_udp.c: Likewise.
58520         * sunrpc/svc_unix.c: Likewise.
58521         * sunrpc/svcauth_des.c: Likewise.
58522         * sunrpc/xcrypt.c: Likewise.
58523         * sunrpc/xdr.c: Likewise.
58524         * sunrpc/xdr_array.c: Likewise.
58525         * sunrpc/xdr_float.c: Likewise.
58526         * sunrpc/xdr_intXX_t.c: Likewise.
58527         * sunrpc/xdr_mem.c: Likewise.
58528         * sunrpc/xdr_rec.c: Likewise.
58529         * sunrpc/xdr_ref.c: Likewise.
58530         * sunrpc/xdr_sizeof.c: Likewise.
58531         * sunrpc/xdr_stdio.c: Likewise.
58533 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58535         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58536         change.  Update copyright years.
58538 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58540         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58542 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58543             Joseph Myers  <joseph@codesourcery.com>
58544             Paul Pluzhnikov  <ppluzhnikov@google.com>
58546         [BZ #14012]
58547         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58548         requiring rpcgen.
58549         [cross-compiling] (extra-libs): Likewise.
58550         [cross-compiling] (extra-libs-others): Likewise.
58551         [cross-compiling] (librpcsvc-routines): Likewise.
58552         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58553         [cross-compiling] (omit-deps): Likewise.
58554         (sunrpc-CPPFLAGS): New variable.
58555         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58556         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58557         (cross-rpcgen-objs): New variable.
58558         (extra-objs): Append $(cross-rpcgen-objs).
58559         ($(cross-rpcgen-objs)): New rule.
58560         ($(objpfx)cross-rpcgen): Likewise.
58561         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58562         comment.
58563         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58564         ($(objpfx)x%.stmp): Likewise.
58565         * sunrpc/proto.h [IS_IN_build] (_): Define.
58566         [IS_IN_build] (_libc_intl_domainname): Likewise.
58568 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58570         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58571         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58572         and R_X86_64_TPOFF64.
58574 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58576         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58577         sysdeps/unix/sysv/syscalls.list.
58578         (stime): Likewise.
58579         (utime): Likewise.
58580         * sysdeps/unix/sysv/syscalls.list: Remove file.
58582 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58584         [BZ #3440]
58585         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58586         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58587         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58588         (__LC_IDENTIFICATION): Make these macros useful in #if
58589         expressions, as required by C99.
58591 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58593         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58594         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58595         after this.
58597 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58599         * stdlib/longlong.h: Updated from GCC.
58601 2012-05-09  Andreas Jaeger  <aj@suse.de>
58603         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58604         default is first entry.
58605         (run_mode): Set type.
58606         (main): Remove informal message about syslog.
58607         (options): Fix typo.
58609         [BZ #14053]
58610         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58611         to asm.
58612         (lrint): Likewise.
58613         (llrintf): Likewise.
58614         (llrint): Likewise.
58615         (rint): Likewise.
58616         (rintf): Likewise.
58617         (nearbyint): Likewise.
58618         (nearbyintf): Likewise.
58620 2012-05-09  Andreas Jaeger  <aj@suse.de>
58621             Pedro Alves  <palves@redhat.com>
58623         * nscd/nscd.c (run_mode): Use enum.
58624         (main): Cleanup coding style issue.
58626 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58627             Andreas Jaeger  <aj@suse.de>
58629         * nscd/nscd.c (go_background): Replaced with...
58630         (run_mode): ... this.
58631         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58632         (options): Add -F --foreground.
58633         (main): Implement it.
58634         (parse_opt): Parse it.
58636 2012-05-09  Andreas Jaeger  <aj@suse.de>
58638         [BZ #14083]
58639         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58640         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58641         -Wconversion warning.
58642         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58643         Likewise.
58645 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58647         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58648         == 0.
58649         (LC_ALL): Use macro-int-constant.
58650         (LC_COLLATE): Likewise.
58651         (LC_CTYPE): Likewise.
58652         (LC_MESSAGES): Likewise.
58653         (LC_MONETARY): Likewise.
58654         (LC_NUMERIC): Likewise.
58655         (LC_TIME): Likewise.
58656         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58657         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58658         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58659         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58660         Specify type.
58661         [C99-based standards] (float_t): Expect type.
58662         [C99-based standards] (double_t): Expect type.
58663         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58664         type.
58665         [C99-based standards] (HUGE_VALL): Likewise.
58666         [C99-based standards] (INFINITY): Likewise.
58667         [C99-based standards] (NAN): Likewise.
58668         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58669         [C99-based standards] (FP_NAN): Likewise.
58670         [C99-based standards] (FP_NORMAL): Likewise.
58671         [C99-based standards] (FP_SUBNORMAL): Likewise.
58672         [C99-based standards] (FP_ZERO): Likewise.
58673         [C99-based standards] (FP_FAST_FMA): Use
58674         optional-macro-int-constant.  Specify type.  Require == 1.
58675         [C99-based standards] (FP_FAST_FMAF): Likewise.
58676         [C99-based standards] (FP_FAST_FMAL): Likewise.
58677         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58678         [C99-based standards] (FP_ILOGBNAN): Likewise.
58679         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58680         Specify type.
58681         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58682         [C99-based standards] (math_errhandling): Specify type.
58683         [ISO99 || ISO11] (signgam): Do not allow.
58684         [non-C99-based standards] (copysignf): Do not allow.
58685         [non-C99-based standards] (exp2f): Likewise.
58686         [non-C99-based standards] (log2f): Likewise.
58687         [non-C99-based standards] (modff): Allow.
58688         [non-C99-based standards] (erff): Do not allow.
58689         [non-C99-based standards] (erfcf): Likewise.
58690         [non-C99-based standards] (gammaf): Likewise.
58691         [non-C99-based standards] (hypotf): Likewise.
58692         [non-C99-based standards] (j0f): Likewise.
58693         [non-C99-based standards] (j1f): Likewise.
58694         [non-C99-based standards] (jnf): Likewise.
58695         [non-C99-based standards] (lgammaf): Likewise.
58696         [non-C99-based standards] (tgammaf): Likewise.
58697         [non-C99-based standards] (y0f): Likewise.
58698         [non-C99-based standards] (y1f): Likewise.
58699         [non-C99-based standards] (ynf): Likewise.
58700         [non-C99-based standards] (isnanf): Likewise.
58701         [non-C99-based standards] (acoshf): Likewise.
58702         [non-C99-based standards] (asinhf): Likewise.
58703         [non-C99-based standards] (atanhf): Likewise.
58704         [non-C99-based standards] (cbrtf): Likewise.
58705         [non-C99-based standards] (expm1f): Likewise.
58706         [non-C99-based standards] (ilogbf): Likewise.
58707         [non-C99-based standards] (log1pf): Likewise.
58708         [non-C99-based standards] (logbf): Likewise.
58709         [non-C99-based standards] (nextafterf): Likewise.
58710         [non-C99-based standards] (remainderf): Likewise.
58711         [non-C99-based standards] (rintf): Likewise.
58712         [non-C99-based standards] (scalbf): Likewise.
58713         [non-C99-based standards] (copysignl): Likewise.
58714         [non-C99-based standards] (exp2l): Likewise.
58715         [non-C99-based standards] (log2l): Likewise.
58716         [non-C99-based standards] (modfl): Allow.
58717         [non-C99-based standards] (erfl): Do not allow.
58718         [non-C99-based standards] (erfcl): Likewise.
58719         [non-C99-based standards] (gammal): Likewise.
58720         [non-C99-based standards] (hypotl): Likewise.
58721         [non-C99-based standards] (j0l): Likewise.
58722         [non-C99-based standards] (j1l): Likewise.
58723         [non-C99-based standards] (jnl): Likewise.
58724         [non-C99-based standards] (lgammal): Likewise.
58725         [non-C99-based standards] (tgammal): Likewise.
58726         [non-C99-based standards] (y0l): Likewise.
58727         [non-C99-based standards] (y1l): Likewise.
58728         [non-C99-based standards] (ynl): Likewise.
58729         [non-C99-based standards] (isnanl): Likewise.
58730         [non-C99-based standards] (acoshl): Likewise.
58731         [non-C99-based standards] (asinhl): Likewise.
58732         [non-C99-based standards] (atanhl): Likewise.
58733         [non-C99-based standards] (cbrtl): Likewise.
58734         [non-C99-based standards] (expm1l): Likewise.
58735         [non-C99-based standards] (ilogbl): Likewise.
58736         [non-C99-based standards] (log1pl): Likewise.
58737         [non-C99-based standards] (logbl): Likewise.
58738         [non-C99-based standards] (nextafterl): Likewise.
58739         [non-C99-based standards] (remainderl): Likewise.
58740         [non-C99-based standards] (rintl): Likewise.
58741         [non-C99-based standards] (scalbl): Likewise.
58742         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58743         [non-C99-based standards] (FP_*): Do not allow.
58744         [C99-based standards] (FP_*): Change to
58745         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58746         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58747         allow.
58748         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58749         (SIG_ERR): Likewise.
58750         [X/Open-based standards] (SIG_HOLD): Likewise.
58751         (SIG_IGN): Likewise.
58752         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58753         positive value.
58754         (SIGFPE): Likewise.
58755         (SIGILL): Likewise.
58756         (SIGINT): Likewise.
58757         (SIGSEGV): Likewise.
58758         (SIGTER): Likewise.
58759         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58760         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58761         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58762         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58763         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58764         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58765         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58766         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58767         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58768         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58769         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58770         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58771         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58772         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58773         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58774         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58775         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58776         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58777         [X/Open-based standards] (SIGTRAP): Likewise.
58778         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58779         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58780         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58781         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58782         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58783         allow.
58785 2012-05-08  Ian Wienand  <ianw@vmware.com>
58787         [BZ #14080]
58788         * time/tzset.c (__tzset_parse_tz): Update default rules for
58789         daylight time changes in the Energy Policy Act of 2005.
58791 2012-05-09  Andreas Jaeger  <aj@suse.de>
58793         [BZ #13983]
58794         * elf/ldconfig.c (parse_conf): Change string to make clear that
58795         ldconfig only issued a warning if ld.so.conf does not exist.
58797 2012-05-08  David S. Miller  <davem@davemloft.net>
58799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58800         movxtod instead of popping the value on the stack.
58802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58804 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58806         * config.h.in: Add HAVE_ARM_PCS_VFP.
58808 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58810         [BZ #13979]
58811         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58812         checking but the checks are disabled for any reason.
58814 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58816         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58817         and ELF64_R_TYPE with ELFW(R_TYPE).
58819 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58821         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58822         (ulimit): Likewise.
58824         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58825         (settimeofday): Likewise.
58827 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58829         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58830         a struct th_u2 inside the union, and move tu_block/tu_code into
58831         a new th_u3 union of tu_block/tu_code inside of that.  Move
58832         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58833         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58834         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58835         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58836         (th_stuff): Change to th_u1.tu_stuff.
58837         (th_data): Define.
58838         (th_msg): Change to th_u1.th_u2.tu_data.
58840 2012-05-07  David S. Miller  <davem@davemloft.net>
58842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58844         [BZ #14074]
58845         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58846         (SETUP_PIC_REG): Use it.
58847         (SETUP_PIC_REG_LEAF): Use it.
58849 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58851         [BZ #13885]
58852         [BZ #13923]
58853         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58854         USE_AS_EXPM1L.
58855         (EXPL_FINITE): Likewise.
58856         (FLDLOG): Likewise.
58857         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58858         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58859         e_expl.S.
58860         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58861         USE_AS_EXPM1L.
58862         (EXPL_FINITE): Likewise.
58863         (FLDLOG): Likewise.
58864         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58865         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58866         e_expl.S.
58867         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58868         test of -max_value argument for long double.
58869         * sysdeps/i386/fpu/libm-test-ulps: Update.
58870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58872 2012-05-06  David S. Miller  <davem@davemloft.net>
58874         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58875         quad soft-float symbols whose references which are compiler
58876         generated.
58877         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58879 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58881         [BZ #13884]
58882         [BZ #13914]
58883         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58884         USE_AS_EXP10L.
58885         (EXPL_FINITE): Likewise.
58886         (FLDLOG): Likewise.
58887         (c0): Likewise.
58888         (c1): Likewise.
58889         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58890         Adjust comments for base varying.
58891         (__expl_finite): Change alias to EXPL_FINITE.
58892         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58893         e_expl.S.
58894         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58895         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58896         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58897         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58898         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58899         USE_AS_EXP10L.
58900         (EXPL_FINITE): Likewise.
58901         (FLDLOG): Likewise.
58902         (c0): Likewise.
58903         (c1): Likewise.
58904         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58905         Adjust comments for base varying.
58906         (__expl_finite): Change alias to EXPL_FINITE.
58907         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58908         tests for bugs.
58909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58911         [BZ #14064]
58912         * math/libm-test.inc (check_float_internal): Correct ulp
58913         calculation for subnormal expected results.
58915 2012-05-06  Andreas Jaeger  <aj@suse.de>
58917         * Makeconfig (+math-flags): New, set to -frounding-math.
58918         (+cflags): Add +math-flags so that all of glibc gets compiled with
58919         it.
58921         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58923 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58925         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58926         Disable one test.
58928         [BZ #13787]
58929         [BZ #13922]
58930         [BZ #14036]
58931         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58932         (__ieee754_expl): Allow for and saturate large arguments.
58933         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58934         (u_threshold): Likewise.
58935         (__exp): Call __ieee754_exp before checking for overflow and
58936         underflow.
58937         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58938         (u_threshold): Likewise.
58939         (__expf): Call __ieee754_expf before checking for overflow and
58940         underflow.
58941         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58942         (u_threshold): Likewise.
58943         (__expl): Call __ieee754_expl before checking for overflow and
58944         underflow.
58945         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58946         (__ieee754_expl): Allow for and saturate large arguments.
58947         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58948         missing overflow exception on overflow.
58949         (expm1_test): Do not allow missing overflow exception on overflow.
58951         * sysdeps/i386/fpu/e_expl.c: Move to ...
58952         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58953         rather than using inline asm.
58954         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58955         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58956         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58958         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58959         (nice): Likewise.
58960         (poll): Likewise.
58961         (signal): Likewise.
58962         (time): Likewise.
58963         (times): Likewise.
58965 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58967         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58968         sysdeps/unix/common/syscalls.list.
58969         (fchmod): Likewise.
58970         (fchown): Likewise.
58971         (ftruncate): Likewise.
58972         (getrusage): Likewise.
58973         (gettimeofday): Likewise.
58974         (setpgid): Likewise.
58975         (setregid): Likewise.
58976         (setreuid): Likewise.
58977         (sigaction): Likewise.
58978         (truncate): Likewise.
58979         (vhangup): Likewise.
58980         * sysdeps/unix/common/syscalls.list: Remove file.
58981         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58982         * sysdeps/unix/sysv/linux/Implies: Likewise.
58984 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58986         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58988         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58989         Moved to ...
58990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58991         Here.
58992         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58993         to ...
58994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58995         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58996         to ...
58997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58998         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58999         to ...
59000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59001         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59002         to ...
59003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59004         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59005         to ...
59006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59007         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59008         to ...
59009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59010         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59011         to ...
59012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59013         Here.
59014         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59015         to ...
59016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59017         Here.
59018         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59019         to ...
59020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59021         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59022         Moved to ...
59023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59024         Here.
59025         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59026         to ...
59027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59029 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59031         * sysdeps/unix/common/bits/dirent.h: Remove file.
59032         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59034         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59035         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59036         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59037         * sysdeps/unix/bsd/isatty.c: Likewise.
59038         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59039         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59040         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59042 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59044         [BZ #13563]
59045         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59046         long double comparison inaccuracies.
59047         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59050 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59052         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59053         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59055 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59057         [BZ #14049]
59058         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59059         nonzero digits before rounding a hex value.
59060         * stdlib/tst-strtod.c (tests): Add another test.
59062 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59064         * sysdeps/s390/fpu/libm-test-ulps: Update.
59066 2012-05-03  Andreas Jaeger  <aj@suse.de>
59068         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59069         does not get optimized out.
59070         (malloc_opt_barrier): New.
59072 2012-05-03  Andreas Jaeger  <aj@suse.de>
59073             Roland McGrath  <roland@hack.frob.com>
59075         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59076         intermediate file deletion.
59077         (generated): Add .symlist files.
59079 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59081         [BZ #13775]
59082         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59083         Redirect under this condition.
59084         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59085         [__USE_GNU] (__dprintf_chk): Not under this condition.
59086         [__USE_GNU] (__vdprintf_chk): Likewise.
59087         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59088         under this condition.
59089         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59090         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59091         [__USE_XOPEN2K8] (vdprintf): Likewise.
59092         [__USE_GNU] (__dprintf_chk): Not under this condition.
59093         [__USE_GNU] (__vdprintf_chk): Likewise.
59094         [__USE_GNU] (dprintf): Likewise.
59095         [__USE_GNU] (vdprintf): Likewise.
59097 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59099         * elf/Makefile (common-generated): Set this instead of generated for
59100         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59101         $(all-built-dso)-derived lists.
59103 2012-05-03  Andreas Jaeger  <aj@suse.de>
59105         * sysdeps/i386/fpu/libm-test-ulps: Update.
59107         * FAQ: Removed.
59108         * FAQ.in: Likewise.
59109         * scripts/gen-FAQ.pl: Likewise.
59110         * manual/install.texi (Installation): Point to online location of
59111         FAQ.
59112         * Makefile (files-for-dist): Remove FAQ.
59113         (FAQ): Remove.
59115 2012-05-02  Allan McRae  <allan@archlinux.org>
59117         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59118         (LDFLAGS-reldepmod5.so): Likewise.
59119         (LDFLAGS-reldep6mod1.so): Likewise.
59120         (LDFLAGS-reldep6mod4.so): Likewise.
59121         (LDFLAGS-reldep8mod3.so): Likewise.
59122         (LDFLAGS-unload4mod1.so): Likewise.
59123         (LDFLAGS-unload4mod2.so): Likewise.
59124         (LDFLAGS-tst-initorder): Likewise.
59125         (LDFLAGS-tst-initordera2.so): Likewise.
59126         (LDFLAGS-tst-initordera3.so): Likewise.
59127         (LDFLAGS-tst-initordera4.so): Likewise.
59128         (LDFLAGS-tst-initorderb2.so): Likewise.
59129         (LDFLAGS-noload): Likewise.
59130         (LDFLAGS-next): Likewise.
59131         (LDFLAGS-order2mod1.so): Likewise.
59132         (LDFLAGS-order2mod2.so): Likewise.
59133         (LDFLAGS-tst-initorder2): Likewise.
59134         (LDFLAGS-tst-initorder2a.so): Likewise.
59135         (LDFLAGS-tst-initorder2b.so): Likewise.
59136         (LDFLAGS-tst-initorder2c.so): Likewise.
59137         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59139 2012-05-02  David S. Miller  <davem@davemloft.net>
59141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59143 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59145         [BZ #14055]
59146         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59148 2012-05-02  Andreas Jaeger  <aj@suse.de>
59150         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59151         since we manipulate rounding mode.
59152         (CPPFLAGS-test-idouble.c): Likewise.
59153         (CPPFLAGS-test-ifloat.c): Likewise.
59154         (CFLAGS-test-ldouble.c): Likewise.
59155         (CFLAGS-test-double.c): Likewise.
59156         (CFLAGS-test-float.c): Likewise.
59157         (CFLAGS-test-misc.c): Likewise.
59158         (CFLAGS-test-test-fenv.c): Likewise.
59160 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59162         [BZ #2550]
59163         [BZ #2570]
59164         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59165         comparisons to determine direction to adjust input.
59167 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59169         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59170         output to the target.
59172         * scripts/localplt.awk: New file.
59173         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59174         (check-localplt-CFLAGS): Variable removed.
59175         ($(all-built-dso:=.jmprel)): New static pattern rule.
59176         (generated): Add those targets.
59177         (localplt-built-dso): New variable.
59178         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59180         * elf/check-localplt.c: File removed.
59182         * scripts/check-execstack.awk: New file.
59183         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59184         (check-execstack-CFLAGS): Variable removed.
59185         ($(objpfx)check-execstack.h): Target removed.
59186         ($(objpfx)execstack-default): New target.
59187         (generated): Add that instead of check-execstack.h.
59188         ($(all-built-dso:=.phdr)): New static pattern rule.
59189         (generated): Add those targets.
59190         * elf/check-execstack.c: File removed.
59192         * scripts/check-textrel.awk: New file.
59193         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59194         (check-textrel-CFLAGS): Variable removed.
59195         (all-built-dso): Use := to define.o
59196         ($(all-built-dso:=.dyn)): New static pattern rule.
59197         (generated): Add those targets.
59198         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59199         * config.make.in (READELF): New substituted variable.
59200         * elf/check-textrel.c: File removed.
59202 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59204         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59205         allow.
59206         * conform/data/ctype.h-data [C99-based standards] (isblank):
59207         Expect function.
59208         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59209         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59210         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59211         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59212         Specify type.  Require positive value.
59213         (EILSEQ): Likewise.
59214         (ERANGE): Likewise.
59215         [ISO || POSIX] (EILSEQ): Do not expect.
59216         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59217         Specify type.  Require positive value.
59218         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59219         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59220         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59221         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59222         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59223         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59224         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59225         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59226         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59227         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59228         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59229         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59230         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59231         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59232         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59233         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59234         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59235         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59236         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59237         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59238         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59239         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59240         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59241         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59242         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59243         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59244         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59245         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59246         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59247         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59248         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59249         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59250         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59251         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59252         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59253         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59254         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59255         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59256         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59257         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59258         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59259         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59260         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59261         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59262         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59263         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59264         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59265         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59266         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59267         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59268         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59269         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59270         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59271         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59272         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59273         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59274         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59275         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59276         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59277         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59278         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59279         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59280         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59281         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59282         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59283         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59284         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59285         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59286         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59287         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59288         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59289         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59290         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59291         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59292         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59293         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59294         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59295         Require >= 2.
59296         (FLT_ROUNDS): Expect as macro, not constant.
59297         (FLT_MANT_DIG): Use macro-int-constant.
59298         (DBL_MANT_DIG): Likewise.
59299         (LDBL_MANT_DIG): Likewise.
59300         (FLT_DIG): Likewise.
59301         (DBL_DIG): Likewise.
59302         (LDBL_DIG): Likewise.
59303         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59304         (DBL_MIN_EXP): Likewise.
59305         (LDBL_MIN_EXP): Likewise.
59306         (FLT_MAX_EXP): Use macro-int-constant.
59307         (DBL_MAX_EXP): Likewise.
59308         (LDBL_MAX_EXP): Likewise.
59309         (FLT_MAX_10_EXP): Likewise.
59310         (DBL_MAX_10_EXP): Likewise.
59311         (LDBL_MAX_10_EXP): Likewise.
59312         (FLT_MAX): Use macro-constant.
59313         (DBL_MAX): Likewise.
59314         (LDBL_MAX): Likewise.
59315         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59316         (DBL_EPSILON): Likewise.
59317         (LDBL_EPSILON): Likewise.
59318         (FLT_MIN): Likewise.
59319         (DBL_MIN): Likewise.
59320         (LDBL_MIN): Likewise.
59321         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59322         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59323         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59324         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59325         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59326         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59327         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59328         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59329         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59330         [ISO11] (FLT_TRUE_MIN): Likewise.
59331         [ISO11] (LDBL_TRUE_MIN): Likewise.
59332         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59333         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59334         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59335         (SCHAR_MAX): Likewise.
59336         (UCHAR_MAX): Likewise.
59337         (CHAR_MIN): Likewise.
59338         (CHAR_MAX): Likewise.
59339         (MB_LEN_MAX): Use macro-int-constant.
59340         (SHRT_MIN): Use macro-int-constant.  Specify type.
59341         (SHRT_MAX): Likewise.
59342         (USHRT_MAX): Likewise.
59343         (INT_MAX): Likewise.
59344         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59345         bound negative.
59346         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59347         bound with "U".
59348         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59349         bound with "L".
59350         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59351         bound negative.  Suffix upper bound with "L".
59352         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59353         bound with "UL".
59354         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59355         Specify type.
59356         [C99-based standards] (LLONG_MAX): Likewise.
59357         [C99-based standards] (ULLONG_MAX): Likewise.
59358         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59359         == 0.
59360         [ISO11] (max_align_t): Require type.
59361         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59363         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59364         from $CFLAGS, without defining away __attribute__ calls.
59365         (checknamespace): Use $CFLAGS_namespace.
59367         * conform/conformtest.pl (@keywords): Only include C99 keywords
59368         for standards based on C99 or C11.
59370         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59371         Disable tests.
59372         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59373         UNIX98]: Likewise.
59375         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59376         usability of symbols in #if.
59378         * conform/conformtest.pl: If macro or constant types start
59379         "promoted:", expect the symbol to be of the following type
59380         promoted by the integer promotions.
59382         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59383         in one place.  Also handle "macro-constant".
59385         * conform/conformtest.pl: Only accept expected macro values with
59386         "==".  Parse all "macro" lines in one place.
59387         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59389         * conform/conformtest.pl: Handle braced types on "constant" lines
59390         instead of handling "typed-constant".
59391         * conform/data/signal.h-data: Use "constant" instead of
59392         "typed-constant".
59394         * conform/conformtest.pl: Handle "optional-" at start of lines in
59395         one place rather than duplicating several cases.  Handle each
59396         format of "macro" line with initial "optional-".
59398         * conform/conformtest.pl: Only accept expected constant or
59399         optional-constant values with "==".  Parse all "constant" lines in
59400         one place.  Parse all "optional-constant" lines in one place.
59401         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59402         * conform/data/fmtmsg.h-data: Likewise.
59403         * conform/data/netinet/in.h-data: Likewise.
59404         * conform/data/tar.h-data: Likewise.
59405         * conform/data/limits.h-data: Use "==" form on "constant" and
59406         "optional-constant" lines.
59408         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59409         Use -std=c99 for XOPEN2K.
59410         (@knownproblems): Remove.
59411         (newtoken): Don't check %isknown.
59413         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59414         Do not expect macro.
59415         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59416         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59417         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59418         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59419         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59420         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59421         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59422         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59423         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59424         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59425         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59426         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59427         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59428         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59429         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59430         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59431         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59432         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59433         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59434         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59435         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59436         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59437         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59438         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59439         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59440         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59441         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59442         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59443         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59444         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59445         [XPG3] (acosh): Likewise.
59446         [XPG3] (asinh): Likewise.
59447         [XPG3] (atanh): Likewise.
59448         [XPG3] (cbrt): Likewise.
59449         [XPG3] (expm1): Likewise.
59450         [XPG3] (ilogb): Likewise.
59451         [XPG3] (log1p): Likewise.
59452         [XPG3] (logb): Likewise.
59453         [XPG3] (nextafter): Likewise.
59454         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59455         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59456         [XPG3] (remainder): Likewise.
59457         [XPG3] (rint): Likewise.
59458         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59459         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59460         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59461         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59462         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59463         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59464         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59465         [UNIX98 || XOPEN2K] (scalb): Expect.
59466         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59467         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59468         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59469         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59470         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59471         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59472         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59473         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59474         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59475         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59476         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59477         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59478         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59479         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59480         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59481         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59482         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59483         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59484         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59485         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59486         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59487         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59488         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59489         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59490         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59491         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59492         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59493         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59494         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59495         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59496         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59497         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59498         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59499         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59500         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59501         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59502         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59503         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59504         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59505         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59506         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59507         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59508         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59509         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59510         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59511         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59512         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59513         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59514         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59515         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59516         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59517         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59518         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59519         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59520         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59521         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59522         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59523         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59524         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59525         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59526         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59527         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59528         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59529         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59530         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59531         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59532         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59533         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59534         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59535         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59536         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59537         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59538         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59539         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59540         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59541         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59542         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59543         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59544         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59545         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59546         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59547         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59548         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59549         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59550         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59551         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59552         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59553         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59554         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59555         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59556         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59557         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59558         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59559         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59560         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59561         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59562         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59563         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59564         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59565         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59566         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59567         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59568         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59569         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59570         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59571         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59572         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59573         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59574         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59575         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59576         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59577         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59578         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59579         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59580         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59581         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59582         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59583         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59584         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59585         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59586         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59587         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59588         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59589         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59590         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59591         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59592         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59593         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59594         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59595         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59596         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59597         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59598         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59599         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59600         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59601         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59602         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59604         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59605         _XOPEN_SOURCE_EXTENDED for XPG4.
59607         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59609         * Makeconfig (localtime): Remove variable.
59610         (inst_localtime-file): Likewise.
59612 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59615         Update.
59616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59617         Update.
59618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59619         Update.
59620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59621         Update.
59622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59623         Update.
59624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59625         Update.
59626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59627         Update.
59628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59629         Update.
59630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59631         Update.
59633 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59635         [BZ #2550]
59636         [BZ #2570]
59637         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59638         comparisons to determine direction to adjust input.
59639         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59640         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59641         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59642         Likewise.
59643         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59644         Likewise.
59645         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59646         Likewise.
59647         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59648         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59649         Likewise.
59650         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59651         Likewise.
59652         * math/libm-test.inc (nexttoward_test): Add more tests.
59654 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59656         [BZ #14040]
59657         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59658         in version GLIBC_2.1, not GLIBC_2.0.
59659         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59660         Likewise.
59662 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59664         [BZ #13942]
59665         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59666         (1 - x) * (1 + x).
59667         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59668         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59669         * math/libm-test.inc (acos_test): Add more tests.
59670         (asin_test): Likewise.
59671         * sysdeps/i386/fpu/libm-test-ulps: Update.
59672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59674         [BZ #14034]
59675         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59676         of square root.
59677         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59678         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59679         * math/libm-test.inc (acos_test_tonearest): New function.
59680         (acos_test_towardzero): Likewise.
59681         (acos_test_downward): Likewise.
59682         (acos_test_upward): Likewise.
59683         (asin_test_tonearest): Likewise.
59684         (asin_test_towardzero): Likewise.
59685         (asin_test_downward): Likewise.
59686         (asin_test_upward): Likewise.
59687         (main): Call the new functions.
59688         * sysdeps/i386/fpu/libm-test-ulps: Update.
59689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59691         [BZ #13884]
59692         [BZ #13924]
59693         * math/e_exp10.c: Include <float.h>.
59694         (__ieee754_exp10): Handle underflow here rather than multiplying
59695         large negative argument by M_LN10.
59696         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59697         of __ieee754_expf.
59698         * math/e_exp10l.c: Include <float.h>.
59699         (__ieee754_exp10l): Handle underflow here rather than multiplying
59700         large negative argument by M_LN10l.
59701         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59702         spurious overflow exception on underflow.
59704 2012-04-29  Marek Polacek  <polacek@redhat.com>
59706         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59707         (__fortify_function): New macro.
59708         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59709         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59710         __extern_always_inline.
59711         * libio/bits/stdio2.h: Likewise.
59712         * libio/bits/stdio.h: Likewise.
59713         * string/string.h: Likewise.
59714         * string/bits/string3.h: Likewise.
59715         * include/stdio.h: Likewise.
59716         * stdlib/bits/stdlib.h: Likewise.
59717         * stdlib/stdlib.h: Likewise.
59718         * rt/bits/mqueue2.h: Likewise.
59719         * rt/mqueue.h: Likewise.
59720         * posix/bits/unistd.h: Likewise.
59721         * posix/unistd.h: Likewise.
59722         * io/bits/poll2.h: Likewise.
59723         * io/bits/fcntl2.h: Likewise.
59724         * io/fcntl.h: Likewise.
59725         * io/sys/poll.h: Likewise.
59726         * misc/bits/syslog.h: Likewise.
59727         * misc/bits/syslog-ldbl.h: Likewise.
59728         * misc/sys/syslog.h: Likewise.
59729         * socket/bits/socket2.h: Likewise.
59730         * socket/sys/socket.h: Likewise.
59731         * debug/tst-chk1.c: Likewise.
59732         * wcsmbs/bits/wchar2.h: Likewise.
59733         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59734         * wcsmbs/wchar.h: Likewise.
59736 2012-04-29  Andreas Jaeger  <aj@suse.de>
59738         * Makerules (tests): Remove enable-check-abi protection.
59739         (check-abi-warn): Remove.
59740         (check-abi-%): Remove check-abi-warn usage.
59742         * configure.in: Remove check-abi configure option.
59743         * configure: Regenerated.
59744         * config.make.in (enable-check-abi): Remove.
59746 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59748         [BZ #14033]
59749         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59750         double functions to double *_finite functions.
59752         [BZ #13941]
59753         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59754         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59755         LDBL_MIN_EXP.
59756         * stdio-common/Makefile (tests): Add tst-sprintf3.
59757         * stdio-common/tst-sprintf3.c: New file.
59759         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59760         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59762 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59764         * conform/conformtest.pl: Remove duplicate typed-constant
59765         handling.
59767 2012-04-28  David S. Miller  <davem@davemloft.net>
59769         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59770         (check-abi-%): Remove AWK script prerequisite and explicit
59771         abilist directory.
59772         (check-abi): Rewrite to just diff the symlist with the abilist.
59773         (config-tls, config-abi-config): Delete, no longer used.
59774         (update-abi-%): Remove AWK script and explicit abilist directory.
59775         (update-abi): Rewrite to simply compare and conditionally copy the
59776         symlist and the sysdep abilist file.  Remove update-abi-config
59777         checks.
59778         * abilist/ld.abilist: Remove.
59779         * abilist/libBrokenLocale.abilist: Remove.
59780         * abilist/libanl.abilist: Remove.
59781         * abilist/libcrypt.abilist: Remove.
59782         * abilist/libdl.abilist: Remove.
59783         * abilist/librt.abilist: Remove.
59784         * abilist/libthread_db.abilist: Remove.
59785         * abilist/libutil.abilist: Remove.
59786         * scripts/extract-abilist.awk: Remove.
59787         * scripts/merge-abilist.awk: Remove.
59788         * sysdeps/generic/libcidn.abilist: New file.
59789         * sysdeps/generic/libnss_compat.abilist: New file.
59790         * sysdeps/generic/libnss_db.abilist: New file.
59791         * sysdeps/generic/libnss_dns.abilist: New file.
59792         * sysdeps/generic/libnss_files.abilist: New file.
59793         * sysdeps/generic/libnss_hesiod.abilist: New file.
59794         * sysdeps/generic/libnss_nis.abilist: New file.
59795         * sysdeps/generic/libnss_nisplus.abilist: New file.
59796         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59797         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59798         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59799         file.
59800         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59801         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59802         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59803         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59804         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59805         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59806         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59807         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59808         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59809         file.
59810         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59811         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59812         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59813         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59814         file.
59815         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59816         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59817         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59818         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59819         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59820         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59821         file.
59822         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59823         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59824         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59825         file.
59826         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59827         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59828         New file.
59829         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59830         New file.
59831         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59832         New file.
59833         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59834         New file.
59835         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59836         New file.
59837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59838         New file.
59839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59840         New file.
59841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59842         New file.
59843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59844         New file.
59845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59846         New file.
59847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59848         New file.
59849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59850         New file.
59851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59852         New file.
59853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59854         file.
59855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59856         New file.
59857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59858         New file.
59859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59860         file.
59861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59862         New file.
59863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59864         New file.
59865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59866         file.
59867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59868         New file.
59869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59870         New file.
59871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59872         New file.
59873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59874         New file.
59875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59876         New file.
59877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59878         New file.
59879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59881         file.
59882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59883         New file.
59884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59885         file.
59886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59887         file.
59888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59889         file.
59890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59891         file.
59892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59893         file.
59894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59895         New file.
59896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59897         file.
59898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59899         file.
59900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59901         New file.
59902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59903         file.
59904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59906         file.
59907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59908         New file.
59909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59910         file.
59911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59912         file.
59913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59914         file.
59915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59916         file.
59917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59918         file.
59919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59920         New file.
59921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59922         file.
59923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59924         file.
59925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59926         New file.
59927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59928         file.
59929         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59930         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59931         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59932         file.
59933         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59934         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59935         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59936         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59937         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59938         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59939         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59940         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59941         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59942         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59945         file.
59946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59947         New file.
59948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59949         file.
59950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59951         file.
59952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59953         file.
59954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59955         file.
59956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59957         file.
59958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59959         New file.
59960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59961         New file.
59962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59963         file.
59964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59965         New file.
59966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59967         file.
59968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59970         file.
59971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59972         New file.
59973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59974         file.
59975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59976         file.
59977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59978         file.
59979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59980         file.
59981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59982         file.
59983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59984         New file.
59985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59986         New file.
59987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59988         file.
59989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59990         New file.
59991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59992         file.
59994 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59996         * conform/conformtest.pl: Fix typo in handling typed-constant from
59997         allow-header.
59999 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60001         * README: Cut down references to pre-2.6 Linux kernels and
60002         Linuxthreads.  Update lists of configurations in libc and ports
60003         and sort alphabetically.  Say "or newer" with Linux kernel version
60004         requirements.
60006         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60008 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60010         [BZ #887]
60011         * math/libm-test.inc (logb_test_downward): New test to expose
60012         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60013         rounding mode.
60015 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60017         [BZ #14027]
60018         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60019         to be done.
60020         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60021         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60023 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60025         * sysdeps/unix/i386/brk.S: Remove file.
60026         * sysdeps/unix/i386/dl-brk.S: Likewise.
60027         * sysdeps/unix/i386/pipe.S: Likewise.
60028         * sysdeps/unix/i386/sigreturn.S: Likewise.
60029         * sysdeps/unix/i386/syscall.S: Likewise.
60030         * sysdeps/unix/i386/vfork.S: Likewise.
60031         * sysdeps/unix/i386/wait.S: Likewise.
60033         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60034         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60036         * configure.in (arm*-none*): Do not allow without
60037         --enable-hacker-mode.
60038         (netbsd*): Remove case setting base_os.
60039         (386bsd*): Likewise.
60040         (freebsd*): Likewise.
60041         (bsdi*): Likewise.
60042         (osf*): Likewise.
60043         (sunos*): Likewise.
60044         (ultrix*): Likewise.
60045         (newsos*): Likewise.
60046         (dynix*): Likewise.
60047         (*bsd*): Likewise.
60048         (sysv*): Likewise.
60049         (isc*): Likewise.
60050         (esix*): Likewise.
60051         (sco*): Likewise.
60052         (minix*): Likewise.
60053         (irix4*): Likewise.
60054         (irix6*): Likewise.
60055         (solaris[2-9]*): Likewise.
60056         (none): Likewise.
60057         * configure: Regenerated.
60059 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60061         [BZ #11521]
60062         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60063         overflow or cancellation in calculating denominator.
60064         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60065         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60066         down expression to avoid unexpected rounding in newer GCCs.
60067         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60069 2012-04-26  David S. Miller  <davem@davemloft.net>
60071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60072         long-double compat symbols.
60073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60087 2012-04-25  David S. Miller  <davem@davemloft.net>
60089         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60090         HWCAP_* values only after the memory barriers have been defined.
60091         (atomic_full_barrier): Define.
60092         (atomic_read_barrier): Define.
60093         (atomic_write_barrier): Define.
60095 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60097         * shlib-versions: Add libgcc_s version information.
60098         * sysdeps/generic/libgcc_s.h: Remove.
60099         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60100         libgcc_s.h.
60101         * sysdeps/gnu/unwind-resume.c: Likewise.
60102         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60104 2012-04-25  David S. Miller  <davem@davemloft.net>
60106         * sysdeps/unix/sparc/brk.S: Delete.
60107         * sysdeps/unix/sparc/dl-brk.S: Delete.
60108         * sysdeps/unix/sparc/pipe.S: Delete.
60109         * sysdeps/unix/sparc/sysdep.S: Delete.
60110         * sysdeps/unix/sparc/sysdep.h: Delete.
60111         * sysdeps/unix/sparc/vfork.S: Delete.
60112         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60113         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60114         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60115         (ret_ERRVAL, r0, r1, MOVE): Define.
60116         (JUMPTARGET): Remove.
60117         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60118         sysdeps/unix/sparc/sysdep.h
60119         (ENTRY, END): Remove.
60120         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60122 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60124         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60125         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60126         -DIS_IN_build.
60128         * timezone/README: Update upstream location and email address for
60129         tzcode and tzdata.
60130         * timezone/zdump.c: Update from tzcode 2012b.
60131         * timezone/zic.c: Likewise.
60133         * configure.in (libc_cv_as_needed): Remove test.
60134         * configure: Regenerated.
60135         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60136         conditional definition.
60137         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60138         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60139         * config.make.in (have-as-needed): Remove variable.
60141 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60142             Paul Pluzhnikov  <ppluzhnikov@google.com>
60144         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60145         strings correctly.
60147 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60149         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60150         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60151         * sysdeps/sh/strlen.S: Likewise.
60153 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60155         * sysdeps/unix/fork.S: Remove file.
60156         * sysdeps/unix/i386/fork.S: Likewise.
60157         * sysdeps/unix/sparc/fork.S: Likewise.
60159         * sysdeps/unix/system.c: Remove file.
60160         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60162         * sysdeps/unix/getegid.S: Remove file.
60163         * sysdeps/unix/geteuid.S: Likewise.
60165 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60167         * scripts/check-localplt.awk: New file.
60168         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60169         of diff.
60170         * scripts/data/localplt-generic.data: Add a comment.
60172         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60173         NODE when __dir_mkfile failed.
60174         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60175         Reported by Ludovic Courtès <ludo@gnu.org>.
60177 2012-04-24  Andreas Jaeger  <aj@suse.de>
60179         * Makerules (common-clean): Also remove gen-as-const-headers
60180         files.
60182 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60184         * Makerules (native-compile): Do not change working directory for
60185         build.  Use $(OUTPUT_OPTION) in command.
60186         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60188 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60190         [BZ #13886]
60191         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60192         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60193         * math/libm-test.inc (floor_test): Add more tests.
60194         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60196 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60198         * sysdeps/unix/getdents.c: Remove file.
60199         * sysdeps/unix/sysv/getdents.c: Likewise.
60200         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60202         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60203         sysdeps/unix/mman/syscalls.list.
60204         (mmap): Likewise.
60205         (mprotect): Likewise.
60206         (msync): Likewise.
60207         (munmap): Likewise.
60208         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60209         * sysdeps/unix/mman/syscalls.list: Remove.
60210         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60212         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60213         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60214         * configure: Regenerated.
60215         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60216         $(libgcc_s_suffix).
60217         * config.make.in (libgcc_s_suffix): Remove variable.
60219 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60221         * sysdeps/unix/sysv/gethostname.c: Move to ...
60222         * sysdeps/posix/gethostname.c: ... here.
60224         * sysdeps/unix/execve.S: Remove file.
60226         * sysdeps/unix/_exit.S: Remove file.
60228 2012-04-23  Andreas Jaeger  <aj@suse.de>
60230         [BZ #13739]
60231         * manual/Makefile: Remove make dist support, there's no
60232         need for a stand-alone documentation tar ball.
60233         (TEXI2DVI): Define always, it's not in Makeconfig.
60234         (dist): Removed.
60235         (tar-it): Removed.
60236         (edition): Removed.
60237         (glibc-doc-$(edition).tar): Removed
60238         (%.Z): Removed.
60239         (%.gz): Removed.
60240         (%.uu): Removed.
60241         (ETAGS): Remove, it's in Makeconfig.
60242         (move-if-change): Remove, it's in Makeconfig.
60244 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60246         [BZ #13970]
60247         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60248         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60249         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60250         (strtod_l, strtof_l, strtold_l): Remove __wur.
60251         It is not necessarily an error to ignore strtol's return value.
60252         One can reliably look at the stored endptr to decide whether
60253         the number had valid syntax.
60255 2012-04-21  Andreas Jaeger  <aj@suse.de>
60257         [BZ #13739]
60258         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60260 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60262         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60263         * sysdeps/unix/sysv/Versions: Remove file.
60265 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60267         [BZ #13927]
60268         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60270 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60272         [BZ #7064]
60273         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60274         version from __vm86.
60276 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60278         * sysdeps/unix/common/lxstat.c: Remove file.
60279         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60281         * sysdeps/unix/sysv/Makefile: Remove file.
60283         * sysdeps/unix/sysv/direct.h: Remove file.
60285         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60286         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60287         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60288         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60289         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60290         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60291         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60293         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60295         * sysdeps/unix/xmknod.c: Remove file.
60296         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60298         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60300         * sysdeps/unix/sysv/i386/time.S: Remove file.
60302         * sysdeps/unix/fxstat.c: Remove file.
60303         * sysdeps/unix/xstat.c: Likewise.
60304         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60306         * sysdeps/unix/sysv/sigaction.c: Remove file.
60308         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60309         (sysdep_headers): Remove variable.
60310         [termio.h not in sysdep_headers] (generated): Likewise.
60311         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60312         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60313         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60314         * sysdeps/unix/sysv/tcflow.c: Likewise.
60315         * sysdeps/unix/sysv/tcflush.c: Likewise.
60316         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60317         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60318         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60319         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60320         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60322         * sysdeps/unix/siglist.c: Remove file.
60324         * sysdeps/unix/getppid.S: Remove file.
60326         * sysdeps/unix/mkdir.c: Remove file.
60327         * sysdeps/unix/rmdir.c: Likewise.
60329 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60331         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60332         ERR_MAX value.
60333         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60334         errlist-compat value.
60336 2012-04-18  David S. Miller  <davem@davemloft.net>
60338         * sysdeps/generic/memcopy.h (reg_char): Delete.
60339         * debug/strcat_chk.c: Use char, not reg_char.
60340         * debug/strcpy_chk.c: Likewise.
60341         * debug/strncat_chk.c: Likewise.
60342         * debug/strncpy_chk.c: Likewise.
60343         * string/memchr.c: Likewise.
60344         * string/memrchr.c: Likewise.
60345         * string/rawmemchr.c: Likewise.
60346         * string/strcat.c: Likewise.
60347         * string/strchr.c: Likewise.
60348         * string/strchrnul.c: Likewise.
60349         * string/strcmp.c: Likewise.
60350         * string/strcpy.c: Likewise.
60351         * string/strncat.c: Likewise.
60352         * string/strncmp.c: Likewise.
60353         * string/strncpy.c: Likewise.
60355 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60357         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60358         __builtin_memcopy is called when src and dest ranges are known to not
60359         overlap.
60361 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60363         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60364         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60365         fwd_align_merge macro call.
60366         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60367         bwd_align_merge macro call.
60368         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60370 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60372         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60373         bwd_align_merge macros.
60374         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60375         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60376         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60378 2012-04-18  David S. Miller  <davem@davemloft.net>
60380         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60382 2012-04-18  Andreas Jaeger  <aj@suse.de>
60384         [BZ# 6794]
60385         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60386         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60387         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60389         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60390         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60391         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60393         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60394         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60395         Adjust for changed ldbl-128 files.
60397         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60398         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60399         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60401 2012-04-17  David S. Miller  <davem@davemloft.net>
60403         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60405 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60407         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60408         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60409         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60410         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60411         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60412         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60414 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60416         [BZ #6794]
60417         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60418         * math/libm-test.inc: Add ilogb errno and exception tests.
60419         * math/w_ilogb.c: New file: ilogb wrapper.
60420         * math/w_ilogbf.c: New file: ilogbf wrapper.
60421         * math/w_ilogbl.c: New file: ilogbl wrapper.
60422         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60423         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60424         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60425         exception being thrown with 0.0 as argument.
60426         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60427         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60428         exception being thrown with 0.0 as argument.
60429         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60430         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60431         exception being thrown with 0.0 as argument.
60432         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60433         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60434         exception being thrown with 0.0 as argument.
60435         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60436         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60437         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60438         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60439         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60440         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60441         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60442         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60443         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60445 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60447         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60448         with altivec.
60450 2012-04-16  Marek Polacek  <polacek@redhat.com>
60452         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60454 2012-04-16  Marek Polacek  <polacek@redhat.com>
60456         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60457         operands of fdivp instruction.
60459 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60461         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60462         * elf/tst-auditmod3b.c: Likewise.
60463         * elf/tst-auditmod4b.c: Likewise.
60464         * elf/tst-auditmod5b.c: Likewise.
60465         * elf/tst-auditmod6b.c: Likewise.
60466         * elf/tst-auditmod6c.c: Likewise.
60467         * elf/tst-auditmod7b.c: Likewise.
60468         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60469         * sysdeps/x86_64/preconfigure.in: Likewise.
60470         * sysdeps/x86_64/preconfigure: Regenerated.
60472 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60474         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60475         __ILP32__.
60477 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60479         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60480         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60482 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60484         [BZ #13973]
60485         * locale/iso-639.def: Fix gl language name. Spotted by
60486         Yaron Shahrabani.
60488 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60490         [BZ #2074]
60491         * libio/libio.h (__io_write_fn): Update comment.
60493 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60495         [BZ #2074]
60496         * stdio.texi (Hook Functions): The user provided writer function
60497         is not allowed to return -1.
60499 2012-04-11  David S. Miller  <davem@davemloft.net>
60501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60503 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60505         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60506         Add a leading slash to rtkaio.
60508 2012-04-11  Jim Meyering  <meyering@redhat.com>
60510         [BZ #11959]
60511         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60512         It is not necessarily an error to ignore fwrite's return
60513         value.  One can reliably use ferror to test for errors after
60514         the fact.
60516 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60518         * bits/types.h (__snseconds_t): New type.
60519         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60521         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60522         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60523         (__SNSECONDS_T_TYPE): Likewise.
60524         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60525         (__SNSECONDS_T_TYPE): Likewise.
60526         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60527         (__SNSECONDS_T_TYPE): Likewise.
60529 2012-04-10  Andreas Jaeger  <aj@suse.de>
60531         [BZ #2636]
60532         * manual/time.texi (Processor Time): Return type of times is
60533         elapsed real time since an arbitrary point in the past.
60534         (CPU Time): Move CLK_TCK from here...
60535         (Processor Time): ...to here.  Correct description.
60536         * manual/conf.texi (Constants for Sysconf): Correct description of
60537         _SC_CLK_TCK.
60539 2012-04-10  David S. Miller  <davem@davemloft.net>
60541         [BZ #13967]
60542         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60543         where the is a gap between DT_REL(A) and DT_JMPREL.
60545 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60547         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60548         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60549         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60551 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60553         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60554         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60555         (dl_main): Handle --inhibit-cache.
60556         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60557         _dl_inhibit_cache.
60558         * elf/dl-load.c (_dl_map_object): Use it.
60559         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60561 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60563         [BZ #13872]
60564         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60565         (__ieee754_powl): Saturate large exponents rather than testing for
60566         overflow of y*log2(x).
60567         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60568         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60569         exceptions.
60571         [BZ #11521]
60572         * math/s_ctan.c: Include <float.h>.
60573         (__ctan): Avoid internal overflow or cancellation in calculating
60574         denominator.
60575         * math/s_ctanf.c: Likewise.
60576         * math/s_ctanl.c: Likewise.
60577         * math/s_ctanh.c: Likewise.
60578         * math/s_ctanhf.c: Likewise.
60579         * math/s_ctanhl.c: Likewise.
60580         * math/libm-test.inc (ctan_test): Add more tests.
60581         (ctanh_test): Likewise.
60582         * sysdeps/i386/fpu/libm-test-ulps: Update.
60583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60585 2012-04-09  Andreas Jaeger  <aj@suse.de>
60587         [BZ #6894]
60588         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60589         is an optional BSD extension.
60591         [BZ #10254]
60592         * manual/stdio.texi (Opening Streams): Document additional fopen
60593         parameters.
60595 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60597         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60598         %eax without telling the compiler.
60600 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60602         [BZ # 13963]
60603         * manual/install.texi: Use sourceware.org.
60605 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60607         [BZ #13873]
60608         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60609         (__ieee754_pow): Generate overflow and underflow using huge*huge
60610         and tiny*tiny rather than just returning constant infinity or zero
60611         for large exponents.
60612         * math/libm-test.inc (pow_test): Require overflow exceptions for
60613         applicable cases of large exponents.
60615         [BZ #706]
60616         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60617         (__ieee754_pow): Use iterative multiplication algorithm only for
60618         integer exponents with absolute value below 1024.  Check for odd
60619         integer exponents when using algorithm for real exponents.
60620         * math/libm-test.inc (pow_test): Add more tests.
60621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60623 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60625         [BZ #13705]
60626         * math/libm-test.inc (exp_test): Do not allow overflow exception
60627         on underflow test.
60629 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60631         [BZ #13705]
60632         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60633         instead of __kernel_standard_f.
60635 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60637         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60638         * sysdeps/x86_64/memset_chk.S: Likewise.
60640 2012-04-08  Andreas Jaeger  <aj@suse.de>
60642         [BZ #10153]
60643         * manual/startup.texi (Environment Access): Describe return value
60644         for putenv and setenv.
60646         [BZ #6895]
60647         * manual/filesys.texi (Directory Entries): Add description for
60648         DT_LNK.
60650         [BZ #6890]
60651         * manual/filesys.texi (Directory Entries): Clarify that it's file
60652         system not operating system in the description of DT_UNKNOWN.
60654         [BZ #6578]
60655         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60657 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60659         [BZ #6649]
60660         * manual/llio.texi (Opening and Closing Files): Add cross
60661         reference to explain mode argument.
60663 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60665         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60666         * sysdeps/x86_64/memset_chk.S: Likewise.
60668 2012-04-07  David S. Miller  <davem@davemloft.net>
60670         * elf/elf.h (R_SPARC_WDISP10): Define.
60671         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60672         R_SPARC_SIZE32.
60673         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60674         R_SPARC_SIZE64 and R_SPARC_H34.
60676 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60678         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60679         conditions and remove no longer applicable assertion.
60681 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60683         * bits/byteswap.h: Include <features.h>.
60684         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60685         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60687 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60689         * bits/byteswap.h (__bswap_16): Removed.
60690         Include <bits/byteswap-16.h> to get __bswap_16.
60691         * sysdeps/i386/bits/byteswap.h: Likewise.
60692         * sysdeps/s390/bits/byteswap.h: Likewise.
60693         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60694         * bits/byteswap-16.h: New file.
60695         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60696         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60697         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60698         * string/Makefile (headers): Add bits/byteswap-16.h.
60700 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60702         [BZ #13895]
60703         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60704         extra indirection.
60705         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60706         * nss/tst-nss-static.c: New.
60708 2012-04-06  Robert Millan  <rmh@gnu.org>
60710         [BZ #6486]
60711         * manual/llio.texi (File Position Primitive): lseek
60712         refers to WHENCE when it really means OFFSET.
60714 2012-04-06  Andreas Jaeger  <aj@suse.de>
60716         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60717         strncmp declarations.
60719         * abilist/libc.abilist: Add __poll and __ppoll.
60721 2012-04-05  David S. Miller  <davem@davemloft.net>
60723         * scripts/check-local-headers.sh: Accept a host triplet in the
60724         path matched by the exclude regexp.
60726         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60727         definition.
60728         * sysdeps/powerpc/powerpc32/dl-machine.h
60729         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60730         * sysdeps/s390/s390-32/dl-machine.h
60731         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60732         * sysdeps/sparc/sparc32/dl-machine.h
60733         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60734         * sysdeps/sparc/sparc64/dl-machine.h
60735         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60737         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60738         lazy binding.
60739         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60740         undefined symbol errors.
60742         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60743         DT_NEEDED entries.
60745 2012-04-05  Michael Matz  <matz@suse.de>
60747         [BZ #13592]
60748         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60750 2012-04-05  Andreas Jaeger  <aj@suse.de>
60752         [BZ #13908]
60753         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60754         comment.
60756 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60758         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60759         which ROUND is no valid rounding mode.
60761 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60763         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60764         read again.
60765         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60767 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60769         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60770         an exception using FPU order intentionally.
60772 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60774         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60775         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60776         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60777         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60779 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60781         [BZ #12340]
60782         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60783         EINVAL when BUFLEN is too smal.
60785 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60787         [BZ #13553]
60788         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60789         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60791 2012-04-03  Andreas Jaeger  <aj@suse.de>
60793         [BZ #13938]
60794         * manual/setjmp.texi (System V contexts): Fix sentence.
60796         [BZ #13926]
60797         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60798         New macro for this case.
60799         [!__GNUC__] (__bswap_64): New inline function for this case.
60800         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60801         * bits/byteswap.h: Likewise.
60802         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60803         ull, guard with __GLIBC_HAVE_LONG_LONG.
60805         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60806         __GLIBC_HAVE_LONG_LONG.
60808         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60809         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60811 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60813         [BZ #13691]
60814         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60815         inptr and inend, rather than using last_ch.
60817 2012-04-02  David S. Miller  <davem@davemloft.net>
60819         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60820         * stdio-common/printf-parse.h (read_int): Change return type to
60821         'int', return -1 on INT_MAX overflow.
60822         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60823         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60824         overflows INT_MAX.  Check for overflow of in-format-string precision
60825         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60826         SIZE_MAX not INT_MAX for integer overflow test.
60827         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60828         skip the construct in the format string but do not record anything.
60829         * stdio-common/bug22.c: Adjust to test both width/prevision
60830         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60831         explicitly for proper errno values.
60833 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60835         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60836         CHAR_MAX.
60837         * string/test-strcmp.c [! WIDE]: Likewise.
60838         * time/tst-mktime2.c: Likewise for INT_MAX.
60839         * string/test-string.h: #include <sys/param.h> for MIN.
60841         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60842         * sysdeps/i386/init-first.c (init): Likewise.
60843         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60844         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60845         * sysdeps/sh/init-first.c (init): Likewise.
60847 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60849         * po/ru.po: Update from translation team.
60850         * po/vi.po: Likewise.
60852 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60854         * resolv/nss_dns/dns-host.c: Merge copyright years.
60856 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60858         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60859         Optimize memcpy with prefetch if
60860         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60861         src, dst pointers have unequal 16 byte alignments.
60863 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60865         [BZ #13928]
60866         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60867         from a CNAME entry and return the minimum ttl for the query.
60868         (gaih_getanswer_slice): Likewise.
60870 2012-03-30  Jeff Law  <law@redhat.com>
60872         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60873         due to long keys.
60874         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60875         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60877         * resolv/nss_dns/dns-host.c: Update copyright year.
60879 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60881         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60882         requests to save a system call.  Fix check that all bytes are sent.
60884         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60885         comments for sendmmsg.
60887 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60889         [BZ #13691]
60890         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60891         with only 1 character between 0x0041 and 0x01b0.
60892         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60893         * wcsmbs/tst-mbsnrtowcs.c: New file.
60895 2012-03-29  David S. Miller  <davem@davemloft.net>
60897         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60898         small copies by hand.
60900 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60902         [BZ #13761]
60903         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60904         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60905         group memberships.
60907 2012-03-28  David S. Miller  <davem@davemloft.net>
60909         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60910         that branches into memcpy.
60911         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60912         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60913         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60914         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60915         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60916         bits.
60917         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60918         implementation too.
60919         * sysdeps/sparc/mempcpy.S: New file.
60921         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60922         the IFUNC routine in the libc case.
60923         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60925         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60926         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60927         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60928         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60929         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60930         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60931         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60932         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60934         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60935         loop to 256 bytes instead of 64 bytes and fix test signedness.
60937         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60938         * sysdeps/sparc/sparc32/Makefile: rather than here...
60939         * sysdeps/sparc/sparc64/Makefile: and here.
60941 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60943         * malloc/mallocbug.c: Avoid warnings about unused variables.
60945 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60947         [BZ #13760]
60948         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60949         in the right place. Discard and retry query if response is
60950         larger than input buffer size.
60952 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60954         [BZ #369]
60955         [BZ #2678]
60956         [BZ #3866]
60957         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60958         x for large integer exponent.
60959         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60960         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60961         sign of result as needed afterwards.
60962         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60963         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60964         result for underflowing pow the same as for overflow.
60965         (__kernel_standard_l): Handle powl overflow and underflow here
60966         rather than calling __kernel_standard.
60967         * math/libm-test.inc (pow_test): Add more tests.
60969         [BZ #3868]
60970         [BZ #13879]
60971         [BZ #13910]
60972         [BZ #13911]
60973         [BZ #13912]
60974         [BZ #13913]
60975         [BZ #13915]
60976         [BZ #13916]
60977         [BZ #13917]
60978         [BZ #13918]
60979         [BZ #13919]
60980         [BZ #13920]
60981         [BZ #13921]
60982         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60983         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60984         (__kernel_standard_l): New function.
60985         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60986         __kernel_standard.
60987         * math/w_acosl.c (__acosl): Likewise.
60988         * math/w_asinl.c (__asinl): Likewise.
60989         * math/w_atan2l.c (__atan2l): Likewise.
60990         * math/w_atanhl.c (__atanhl): Likewise.
60991         * math/w_coshl.c (__coshl): Likewise.
60992         * math/w_exp10l.c (__exp10l): Likewise.
60993         * math/w_exp2l.c (__exp2l): Likewise.
60994         * math/w_fmodl.c (__fmodl): Likewise.
60995         * math/w_hypotl.c (__hypotl): Likewise.
60996         * math/w_j0l.c (__j0l, __y0l): Likewise.
60997         * math/w_j1l.c (__j1l, __y1l): Likewise.
60998         * math/w_jnl.c (__jnl, __ynl): Likewise.
60999         * math/w_lgammal.c (__lgammal): Likewise.
61000         * math/w_log10l.c (__log10l): Likewise.
61001         * math/w_log2l.c (__log2l): Likewise.
61002         * math/w_logl.c (__logl): Likewise.
61003         * math/w_powl.c (__powl): Likewise.
61004         * math/w_remainderl.c (__remainderl): Likewise.
61005         * math/w_scalbl.c (sysv_scalbl): Likewise.
61006         * math/w_sinhl.c (__sinhl): Likewise.
61007         * math/w_sqrtl.c (__sqrtl): Likewise.
61008         * math/w_tgammal.c (__tgammal): Likewise.
61009         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61010         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61011         * math/libm-test.inc (acos_test): Add more tests.
61012         (acosh_test): Likewise.
61013         (asin_test): Likewise.
61014         (atanh_test): Likewise.
61015         (exp_test): Likewise.
61016         (exp10_test): Likewise.
61017         (exp2_test): Likewise.
61018         (expm1_test): Likewise.
61019         (lgamma_test): Likewise.
61020         (log_test): Likewise.
61021         (log10_test): Likewise.
61022         (log1p_test): Likewise.
61023         (log2_test): Likewise.
61024         (pow_test): Do not allow some spurious overflow exceptions.
61025         (sqrt_test): Add more tests.
61026         (tgamma_test): Likewise.
61027         (y0_test): Likewise.
61028         (y1_test): Likewise.
61029         (yn_test): Likewise.
61031 2012-03-27  Anton Blanchard  <anton@samba.org>
61033         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61034         MAP_HUGETLB.
61035         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61036         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61037         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61039 2012-03-27  David S. Miller  <davem@davemloft.net>
61041         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61043         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61044         have-as-vis3 check.
61046 2012-03-27  Andreas Jaeger  <aj@suse.de>
61048         * sysdeps/x86_64/elf/configure.in: Moved to ...
61049         * sysdeps/x86_64/configure.in: ... here.
61050         * sysdeps/x86_64/elf/start.S: Moved to ...
61051         * sysdeps/x86_64/start.S: ... here.
61052         * sysdeps/x86_64/elf/configure: Delete.
61054         * sysdeps/x86_64/configure.in: Merge contents from
61055         sysdeps/i386/configure.in (without i686 check).
61057         * sysdeps/i386/elf/Versions: Merge into ...
61058         * sysdeps/i386/Versions: ... this.
61059         * sysdeps/i386/elf/Versions: Delete file.
61060         * sysdeps/i386/elf/start.S: Moved to ...
61061         * sysdeps/i386/start.S: ...here.
61062         * sysdeps/i386/elf/configure.in: Merge into...
61063         * sysdeps/i386/configure.in: ...here.
61064         * sysdeps/i386/elf/configure.in: Delete file.
61065         * sysdeps/i386/elf/configure: Delete file.
61067         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61068         * debug/backtracesyms.c: ... here.
61069         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61070         * debug/backtracesymsfd.c: ... here.
61071         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61072         * sysdeps/generic/ifunc-sel.h: ... here.
61074         * sysdeps/unix/i386/start.c: Delete file.
61075         * sysdeps/unix/sparc/start.c: Delete file.
61076         * sysdeps/unix/start.c: Delete file.
61078         * sysdeps/sh/elf/configure.in: Moved to ...
61079         * sysdeps/sh/configure.in: ... here.
61080         * sysdeps/sh/elf/start.S: Moved to ...
61081         * sysdeps/sh/start.S: ... here.
61082         * sysdeps/sh/elf/configure: Delete file.
61084         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61085         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61086         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61087         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61088         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61089         * sysdeps/powerpc/powerpc64/start.S: here.
61090         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61091         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61092         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61093         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61094         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61096         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61097         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61098         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61099         * sysdeps/powerpc/powerpc32/start.S: ... here.
61100         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61101         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61102         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61104         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61105         * sysdeps/powerpc/ifunc-sel.h: ... here.
61106         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61107         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61109         * sysdeps/sparc/elf/configure.in: Moved to ...
61110         * sysdeps/sparc/configure.in: ... here.
61111         * sysdeps/sparc/elf/configure: Delete file.
61112         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61113         * sysdeps/sparc/sparc32/start.S: ... here.
61114         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61115         * sysdeps/sparc/sparc64/start.S: ... here.
61116         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61117         * sysdeps/sparc/sparc32/Makefile: ... this.
61118         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61119         * sysdeps/sparc/sparc64/Makefile: ... this.
61121         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61122         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61123         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61124         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61125         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61126         * sysdeps/s390/s390-32/setjmp.S: ... here.
61127         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61128         * sysdeps/s390/s390-32/configure.in: ... here.
61129         * sysdeps/s390/s390-32/elf/configure: Delete file.
61130         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61131         * sysdeps/s390/s390-32/start.S: ... here.
61133         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61134         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61135         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61136         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61137         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61138         * sysdeps/s390/s390-64/setjmp.S: ... here.
61139         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61140         * sysdeps/s390/s390-64/configure.in: ... here
61141         * sysdeps/s390/s390-64/elf/configure: Delete file.
61142         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61143         * sysdeps/s390/s390-64/start.S: ... here.
61144         * sysdeps/s390/s390-64/elf/configure: Delete.
61146         * configure.in: Remove support for elf directories in sysdeps.
61148         * configure: Regenerated.
61149         * sysdeps/i386/configure: Regenerated.
61150         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61151         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61152         * sysdeps/s390/s390-32/configure: Regenerated.
61153         * sysdeps/s390/s390-64/configure: Regenerated.
61154         * sysdeps/sh/configure: Regenerated.
61155         * sysdeps/sparc/configure: Regenerated.
61156         * sysdeps/x86_64/configure: Regenerated.
61158 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61162         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61163         denormal result into account.
61165 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61167         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61168         Reported by Allan McRae <allan@archlinux.org>.
61170 2012-03-23  Jeff Law  <law@redhat.com>
61172         * nss/getnssent.c (__nss_getent): Fix typo.
61174 2012-03-23  David S. Miller  <davem@davemloft.net>
61176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61178 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61180         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61181         to pad to uint64_t for each field.
61182         (dl_tls_index): Replace unsigned long with uint64_t.
61184 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61185         Paul Pluzhnikov  <ppluzhnikov@google.com>
61187         [BZ #6528]
61188         * grp/Makefile (otherlibs): Don't set it.
61189         * inet/Makefile (otherlibs): Likewise.
61190         * login/Makefile (otherlibs): Likewise.
61191         * nscd/Makefile (otherlibs): Likewise.
61192         * posix/Makefile (otherlibs): Likewise.
61193         * pwd/Makefile (otherlibs): Likewise.
61194         * rt/Makefile (otherlibs): Likewise.
61195         * sunrpc/Makefile (otherlibs): Likewise.
61196         * nss/Makefile (otherlibs): Likewise.
61197         Add libnss_files to routines and static-only-routines.
61198         ($(objpfx)getent): Remove rule.
61199         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61200         static-only-routines.
61202 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61204         [BZ #13892]
61205         * math/s_cexp.c: Include <float.h>.
61206         (__cexp): Handle exp result overflowing not necessarily
61207         overflowing both real and imaginary parts of result.
61208         * math/s_cexpf.c: Likewise.
61209         * math/s_cexpl.c: Likewise.
61210         * math/libm-test.inc (cexp_test): Add more tests.
61211         * sysdeps/i386/fpu/libm-test-ulps: Update.
61212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61214 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61216         * include/link.h (ELFW): New macro.
61217         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61218         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61220 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61222         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61223         with uint64_t.
61225 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61227         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61228         declaration.
61229         (struct La_x32_retval): Likewise.
61231 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61233         * sysdeps/x86_64/preconfigure.in: New file.
61234         * sysdeps/x86_64/preconfigure: New generated file.
61236 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61238         [BZ #13824]
61239         * math/e_exp2l.c: Include <float.h>.
61240         (__ieee754_exp2l): Handle overflow and underflow cases
61241         separately.  Only pass fractional part of argument to
61242         __ieee754_expl.
61243         * math/libm-test.inc (exp2_test): Add more tests.
61245         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61246         negating x to take absolute value.
61247         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61248         Likewise.
61249         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61250         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61251         Likewise.
61252         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61253         computing low part if x was negated.
61254         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61256 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61258         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61259         la_x32_gnu_pltexit.
61260         (pltexit): Cast int_retval to ptrdiff_t.
61261         * elf/tst-auditmod3b.c: Likewise.
61262         * elf/tst-auditmod4b.c: Likewise.
61263         * elf/tst-auditmod5b.c: Likewise.
61264         * elf/tst-auditmod6b.c: Likewise.
61265         * elf/tst-auditmod6c.c: Likewise.
61266         * elf/tst-auditmod7b.c: Likewise.
61268         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61269         and x32_gnu_pltexit.
61271         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61272         __ELF_NATIVE_CLASS.
61273         (La_x32_regs): New macro.
61274         (La_x32_retval): Likewise.
61275         (la_x32_gnu_pltenter): New function prototype.
61276         (la_x32_gnu_pltexit): Likewise.
61278 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61280         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61281         exponent.
61283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61285         * configure.in (libc_cv_cc_nofma): Check for option to disable
61286         generation of FMA instructions.
61287         * configure: Regenerate.
61288         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61289         * sysdeps/ieee754/dbl-64/Makefile: New file.
61290         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61291         Remove brandred-fma4.
61292         (CFLAGS-brandred-fma4.c): Remove.
61293         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61294         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61295         define.
61296         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61297         define.
61299 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61301         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61302         LLONG_MAX != LONG_MAX.
61303         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61304         (_fitoa_word): Likewise.
61305         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61306         LLONG_MAX != LONG_MAX.
61307         * stdio-common/_itowa.h: Include <_itoa.h>.
61308         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61309         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61310         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61311         only if not defined.
61312         (_ITOA_WORD_TYPE): Likewise.
61313         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61314         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61316 2012-03-21  David S. Miller  <davem@davemloft.net>
61318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61320 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61322         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61323         of x86_64 when setting libc_cv_slibdir, libdir and
61324         libc_cv_localedir.
61325         * sysdeps/unix/sysv/linux/configure: Regenerated.
61327 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61329         * manual/lang.texi (Old Varargs): Remove section.
61330         (How Variadic): Update menu.
61331         (va_start): Do not mention varargs.h.
61333 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61334             Joseph Myers  <joseph@codesourcery.com>
61336         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61337         link test.
61338         * configure: Regenerated.
61340 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61342         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61343         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61344         conformtest.pl
61346 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61348         * NOTES: Remove.
61349         * Makefile (files-for-dist): Remove NOTES.
61350         (NOTES): Remove rule.
61351         * README: Don't refer to NOTES.
61352         * manual/creature.texi: Don't include macros.texi.
61353         * manual/intro.texi (creature.texi): Remove comment referring to
61354         NOTES.
61356         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61357         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61358         * configure: Regenerated.
61359         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61360         LIBC_TRY_CC_OPTION.
61361         (libc_cv_as_i686): Likewise.
61362         (libc_cv_cc_avx): Likewise.
61363         (libc_cv_cc_sse2avx): Likewise.
61364         (libc_cv_cc_fma4): Likewise.
61365         (libc_cv_cc_novzeroupper): Likewise.
61366         * sysdeps/i386/configure: Regenerated.
61368         [BZ #13883]
61369         * sysdeps/i386/fpu/s_cexp.S: Remove.
61370         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61371         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61372         * math/libm-test.inc (cexp_test): Add more tests.
61373         * sysdeps/i386/fpu/libm-test-ulps: Update.
61374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61376 2012-03-21  Allan McRae  <allan@archlinux.org>
61378         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61380 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61382         [BZ #13871]
61383         * math/w_exp2.c: Do not include <float.h>.
61384         (o_threshold, u_threshold): Remove.
61385         (__exp2): Calculate result before checking finiteness and calling
61386         __kernel_standard.
61387         * math/w_exp2f.c: Likewise.
61388         * math/w_exp2l.c: Likewise.
61389         * math/libm-test.inc (exp2_test): Require overflow exception for
61390         1e6 input.
61392         [BZ #3866]
61393         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61394         range of signed 64-bit integers before using fistpll.  Remove
61395         checks for whether integers fit in mantissa bits.
61396         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61397         the range of signed 32-bit integers before using fistpl.  Remove
61398         checks for whether integers fit in mantissa bits.
61399         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61400         (__ieee754_powl): Test for y outside the range of signed 64-bit
61401         integers before using fistpll.  Reduce 64-bit values to 63-bit
61402         ones as needed.
61403         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61404         divide-by-zero is raised for zero to large negative powers.
61405         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61406         (__ieee754_powl): Test for y outside the range of signed 64-bit
61407         integers before using fistpll.  Reduce 64-bit values to 63-bit
61408         ones as needed.
61409         * math/libm-test.inc (pow_test): Add more tests.
61411 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61413         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61414         <stdio-common/_itoa.h>.
61415         * debug/segfault.c: Likewise.
61416         * elf/dl-cache.c: Likewise.
61417         * elf/dl-minimal.c: Likewise.
61418         * elf/dl-misc.c: Likewise.
61419         * elf/dl-sysdep.c: Likewise.
61420         * elf/dl-version.c: Likewise.
61421         * elf/rtld.c: Likewise.
61422         * hurd/hurdsock.c: Likewise.
61423         * hurd/lookup-retry.c: Likewise.
61424         * malloc/malloc.c: Likewise.
61425         * malloc/mtrace.c: Likewise.
61426         * nscd/nscd_getgr_r.c: Likewise.
61427         * nscd/nscd_getpw_r.c: Likewise.
61428         * nscd/nscd_getserv_r.c: Likewise.
61429         * posix/getopt_init.c: Likewise.
61430         * posix/wordexp.c: Likewise.
61431         * stdio-common/_itoa.c: Likewise.
61432         * stdio-common/printf_fphex.c: Likewise.
61433         * stdio-common/vfprintf.c: Likewise.
61434         * string/_strerror.c: Likewise.
61435         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61436         * sysdeps/i386/i686/hp-timing.h: Likewise.
61437         * sysdeps/mach/_strerror.c: Likewise.
61438         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61439         * sysdeps/mach/hurd/sethostid.c: Likewise.
61440         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61441         * sysdeps/mach/xpg-strerror.c: Likewise.
61442         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61443         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61444         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61445         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61446         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61447         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61448         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61449         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61450         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61451         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61452         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61453         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61454         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61455         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61456         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61457         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61458         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61459         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61460         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61461         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61462         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61464         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61466         * stdio-common/_itoa.h: Moved to ...
61467         * sysdeps/generic/_itoa.h: Here.
61469         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61471         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61472         instead of "_itoa.h" and "_itowa.h".
61473         * stdio-common/vfprintf.: Likewise.
61475 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61477         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61478         <bits/wordsize.h>.
61479         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61480         (__signbit): Likwise.
61481         (llrintf): Likwise.
61482         (llrint): Likwise.
61484 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61486         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61487         __WORDSIZE != 64.
61489 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61491         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61492         OVERFLOW_EXCEPTION_OK.
61493         * math/libm-test.inc ("Philosophy"): Update comment about
61494         exception testing.
61495         (OVERFLOW_EXCEPTION): Define.
61496         (OVERFLOW_EXCEPTION_OK): Likewise.
61497         (INVALID_EXCEPTION_OK): Renumber.
61498         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61499         (IGNORE_ZERO_INF_SIGN): Likewise.
61500         (test_exceptions): Handle FE_OVERFLOW.
61501         (exp10_test): Expect overflow exceptions.
61502         (exp2_test): Likewise.
61503         (expm1_test): Likewise.
61504         (nextafter_test): Likewise.
61505         (pow_test): Likewise.
61506         (scalbn_test): Likewise.
61507         (scalbln_test): Likewise.
61509 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61511         * sysdeps/x86_64/bits/atomic.h
61512         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61513         64bit integer.
61514         (atomic_exchange_acq): Likewise.
61515         (__arch_exchange_and_add_body): Likewise.
61516         (__arch_add_body): Likewise.
61517         (atomic_add_negative): Likewise.
61518         (atomic_add_zero): Likewise.
61520 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61522         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61523         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61525 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61527         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61528         Check __x86_64__ instead of __WORDSIZE.
61530 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61532         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61534 2012-03-19  David S. Miller  <davem@davemloft.net>
61536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61538         * sysdeps/sparc/fpu/fenv_private.h: New file.
61539         * sysdeps/sparc/fpu/math_private.h: Use it.
61540         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61541         Remove.
61542         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61543         (libc_feholdexcept_setroundl): Remove.
61544         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61545         Remove.
61546         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61547         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61549 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61551         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61552         int64_t instead of long int.
61553         (INSERT_WORDS64): Likwise.
61555 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61557         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61558         _Unwind_GetCFA return to _Unwind_Ptr first.
61560 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61562         [BZ #13629]
61563         * math/s_clog.c: Include <float.h>.
61564         (__clog): Scale large or subnormal inputs.
61565         * math/s_clogf.c: Likewise.
61566         * math/s_clogl.c: Likewise.
61567         * math/s_clog10.c: Include <float.h>.
61568         (M_LOG10_2): Define.
61569         (__clog10): Scale large or subnormal inputs.
61570         * math/s_clog10f.c: Likewise.
61571         * math/s_clog10l.c: Likewise.
61572         * math/libm-test.inc (clog_test): Add more tests.
61573         (clog10_test): Likewise.
61574         * sysdeps/i386/fpu/libm-test-ulps: Update.
61575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61577         [BZ #11451]
61578         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61579         x and y.
61580         * math/libm-test.inc (atan2_test): Add another test.
61582         * Makerules (common-objdir-compile): Remove.
61583         * sysdeps/unix/Makefile (config-generated): Do not add
61584         $(unix-generated) to variable.
61585         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61586         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61587         Remove rule.
61588         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61589         Likewise.
61590         [generic bits/local_lim.h] (before-compile): Do not append to
61591         variable.
61592         [generic bits/local_lim.h] (common-generated): Likewise.
61593         [generic sys/param.h] (before-compile): Do not append to variable.
61594         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61595         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61596         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61597         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61598         include.
61599         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61600         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61601         [generic sys/param.h] ($(addprefix
61602         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61603         [generic sys/param.h] (common-generated): Do not append to
61604         variable.
61605         [generic sys/param.h] (sysdep_headers): Likewise.
61606         [generic bits/errno.h] (before-compile): Do not append to
61607         variable.
61608         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61609         rule.
61610         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61611         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61612         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61613         [generic bits/errno.h] (common-generated): Do not append to
61614         variable.
61615         [generic bits/ioctls.h] (before-compile): Do not append to
61616         variable.
61617         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61618         rule.
61619         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61620         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61621         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61622         rule.
61623         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61624         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61625         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61626         [generic bits/ioctls.h] (common-generated): Do not append to
61627         variable.
61628         [generic sys/syscall.h] (syscall.h): Remove variable.
61629         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61630         rule.
61631         [generic sys/syscall.h] (before-compile): Do not append to
61632         variable.
61633         [generic sys/syscall.h] (common-generated): Likewise.
61634         * sysdeps/unix/errnos-tmpl.c: Remove file.
61635         * sysdeps/unix/errnos.awk: Likewise.
61636         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61637         * sysdeps/unix/ioctls.awk: Likewise.
61638         * sysdeps/unix/mk-local_lim.c: Likewise.
61639         * sysdeps/unix/snarf-ioctls: Likewise.
61641 2012-03-19  Richard Henderson  <rth@twiddle.net>
61643         * sysdeps/i386/fpu/fenv_private.h: New file.
61644         * sysdeps/i386/fpu/math_private.h: Use it.
61645         (math_opt_barrier, math_force_eval): Remove.
61646         (libc_feholdexcept_setround_53bit): Remove.
61647         (libc_feupdateenv_53bit): Remove.
61648         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61649         (math_opt_barrier, math_force_eval): Remove.
61650         (libc_feholdexcept): Remove.
61651         (libc_feholdexcept_setround): Remove.
61652         (libc_fetestexcept, libc_fesetenv): Remove.
61653         (libc_feupdateenv_test): Remove.
61654         (libc_feupdateenv, libc_feholdsetround): Remove.
61655         (libc_feresetround): Remove.
61657         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61658         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61660         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61661         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61662         (libc_feupdateenv_testl): New.
61663         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61664         (libc_feupdateenv_testf): New.
61665         (libc_feupdateenv): Use libc_feupdateenv_test.
61666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61667         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61669         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61670         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61671         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61672         (libc_feresetround_noex): New.
61673         (libc_feresetround_noexf): New.
61674         (libc_feresetround_noexl): New.
61675         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61676         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61677         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61678         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61679         SET_RESTORE_ROUND.
61680         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61682         (__cos): Likewise.
61683         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61684         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61685         SET_RESTORE_ROUND_NOEX.
61686         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61687         SET_RESTORE_ROUND_NOEXF.
61688         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61689         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61690         (libc_feholdsetroundf): New.
61691         (libc_feresetround, libc_feresetroundf): New.
61693         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61694         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61695         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61697         * sysdeps/generic/math_private.h: Include <fenv.h>.
61698         (default_libc_feholdexcept): New.
61699         (default_libc_feholdexcept_setround): New.
61700         (default_libc_fesetenv, default_libc_feupdateenv): New.
61701         (libc_feholdexcept): Only define if undefined.
61702         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61703         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61704         (libc_feholdexcept_setroundl): Likewise.
61705         (libc_feholdexcept_setround_53bit): Likewise.
61706         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61707         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61708         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61709         (libc_feupdateenv_53bit): Likewise.
61710         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61711         (libc_feholdexcept): Convert from macro to inline function.
61712         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61713         (libc_fesetenv, libc_feupdateenv): Likewise.
61715         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61716         not previously defined.
61717         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61718         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61719         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61720         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61721         * sysdeps/ieee754/flt-32/math_private.h: New file.
61722         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61723         math_private.h below SET_FLOAT_WORD.
61724         (__isnan, __isinf_ns, __finite): Remove.
61725         (__isnanf, __isinf_nsf, __finitef): Remove.
61727 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61731 2012-03-17  David S. Miller  <davem@davemloft.net>
61733         [BZ #6471]
61734         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61735         for 2.16.
61737 2012-03-16  David S. Miller  <davem@davemloft.net>
61739         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61740         warnings.
61742         [BZ #6471]
61743         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61744         properly.
61745         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61746         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61747         sysdep_routines when subdir is sysvipc.
61748         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61749         __getshmlba helper.
61751         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61753 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61755         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61756         [__LP64__].
61758 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61760         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61761         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61762         (__lround): Renamed to ...
61763         (__llround): This.  Replace long int with long long int.
61764         Define lround functions as aliases of llround functions.
61765         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61767 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61769         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61770         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61771         adresses to uintptr_t.  Replace "long int" and "unsigned long
61772         int" with "greg_t" on va_arg.
61774 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61776         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61777         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61779         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61780         Move e_machine check before EI_CLASS check.  Handle x32
61781         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61782         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61783         SKIP_EM_IA_64 and include
61784         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61786         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61787         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61788         (add_system_dir): New macro.
61790         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61791         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61793 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61795         [BZ #2551]
61796         [BZ #2552]
61797         [BZ #2553]
61798         [BZ #2554]
61799         [BZ #2562]
61800         [BZ #2563]
61801         [BZ #2565]
61802         [BZ #2566]
61803         [BZ #2576]
61804         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61805         (y0): Likewise.
61806         * math/w_j0f.c (j0f): Likewise.
61807         (y0f): Likewise.
61808         * math/w_j0l.c (__j0l): Likewise.
61809         (__y0l): Likewise.
61810         * math/w_j1.c (j1): Likewise.
61811         (y1): Likewise.
61812         * math/w_j1f.c (j1f): Likewise.
61813         (y1f): Likewise.
61814         * math/w_j1l.c (__j1l): Likewise.
61815         (__y1l): Likewise.
61816         * math/w_jn.c (jn): Likewise.
61817         (yn): Likewise.
61818         * math/w_jnf.c (jnf): Likewise.
61819         (ynf): Likewise.
61820         * math/w_jnl.c (__jnl): Likewise.
61821         (__ynl): Likewise.
61822         * math/libm-test.inc (j0_test): Add more tests.
61823         (j1_test): Likewise.
61824         (jn_test): Likewise.  Add trailing semicolon to existing test.
61825         (y0_test): Likewise.
61826         (y1_test): Likewise.
61827         * sysdeps/i386/fpu/libm-test-ulps: Update.
61828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61830         [BZ #13851]
61831         [BZ #13854]
61832         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61833         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61834         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61835         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61836         (__tanl): Set errno for infinite argument.
61837         * sysdeps/i386/fpu/mptan.c: Remove.
61838         * sysdeps/i386/fpu/s_tan.S: Likewise.
61839         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61840         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61841         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61842         * math/libm-test.inc (tan_test): Add more tests and enable more
61843         tests for double and long double.
61844         * sysdeps/i386/fpu/libm-test-ulps: Update.
61845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61847 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61849         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61850         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61852 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61854         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61855         * configure.in: Use it for both main tree and add-ons.
61856         * configure: Regenerated.
61858 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61860         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61862 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61864         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61865         in comment.
61867         [BZ #13851]
61868         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61869         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61870         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61871         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61872         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61873         infinite argument.
61874         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61875         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61876         != 0 for prec == 2.
61877         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61878         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61879         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61880         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61881         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61882         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61883         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61884         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61885         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61886         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61887         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61888         * math/libm-test.inc (cos_test): Add more tests and enable more
61889         tests for long double.
61890         (sin_test): Likewise.
61891         (sincos_test): Likewise.
61892         * sysdeps/i386/fpu/libm-test-ulps: Update.
61893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61895 2012-03-16  David S. Miller  <davem@davemloft.net>
61897         * sysdeps/sparc/fpu/math_private.h: New file.
61899 2012-03-15  David S. Miller  <davem@davemloft.net>
61901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61902         file.
61903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61905         file.
61906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61911         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61912         sysdep routines.
61913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61915         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61916         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61918         * sysdeps/sparc/sparc-ifunc.h: New file.
61919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61920         sparc-ifunc.h
61921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61923         Likewise.
61924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61925         Likewise.
61926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61930         Likewise.
61931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61936         Likewise.
61937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61938         Likewise.
61939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61944         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61945         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61946         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61947         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61949         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61953         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61954         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61955         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61956         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61957         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61958         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61959         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61960         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61961         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61962         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61964 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61966         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61967         scaling.
61968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61970 2012-03-15  Andreas Jaeger  <aj@suse.de>
61972         [BZ #13852]
61973         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61974         ieee754/flt-32 implementation for sin, cos and sincos.
61975         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61976         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61977         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61978         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61979         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61980         ieee754/flt-32 implementation for tan.
61982         * math/libm-test.inc (cos_test): Enable some large input tests for
61983         float as well
61984         (sin_test): Likewise.
61985         (sincos_test): Likewise.
61986         (tan_test): Add tests for large input.
61988         * sysdeps/i386/fpu/libm-test-ulps: Update.
61990 2012-03-15  Andreas Jaeger  <aj@suse.de>
61992         [BZ #13658]
61993         * math/libm-test.inc (cos_test): Add more test cases.
61994         (sin_test): Likewise.
61995         (sincos_test): Likewise.
61997 2012-03-15  Andreas Jaeger  <aj@suse.de>
61999         [BZ #13837]
62000         * math/libm-test.inc (cos_test): Add a test case for large input
62001         value.
62002         (sin_test): Likewise.
62003         (sincos_test): Likewise.
62005 2012-03-15  Andreas Jaeger  <aj@suse.de>
62006             Joseph Myers  <joseph@codesourcery.com>
62008         [BZ #13658]
62009         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62010         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62011         * sysdeps/i386/fpu/branred.c: Likewise.
62012         * sysdeps/i386/fpu/dosincos.c: Likewise.
62013         * sysdeps/i386/fpu/mpa.c: Likewise.
62014         * sysdeps/i386/fpu/s_cos.S: Likewise.
62015         * sysdeps/i386/fpu/s_sin.S: Likewise.
62016         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62017         * sysdeps/i386/fpu/sincos32.c: Likewise.
62019         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62020         Define.
62021         (libc_feupdateenv_53bit): Define.
62022         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62023         Define.
62024         (libc_feupdateenv_53bit): Define.
62026         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62027         53 bit (without extend i386 double precision).
62029         * math/libm-test.inc (sincos_test): Add tests for large input.
62030         (sin): Likewise.
62031         (cos): Likewise.
62033         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62035 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62039 2012-03-15  David S. Miller  <davem@davemloft.net>
62041         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62042         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62043         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62044         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62053         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62054         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62057         file.
62058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62060         file.
62061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62063         file.
62064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62066         file.
62067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62069         fmin/fmax sysdep routines.
62070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62072 2012-03-14  David S. Miller  <davem@davemloft.net>
62074         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62075         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62076         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62078         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62079         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62080         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62081         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62082         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62083         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62084         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62085         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62086         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62087         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62088         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62089         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62090         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62091         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62092         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62093         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62094         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62095         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62096         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62097         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62098         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62099         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62100         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62101         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62102         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62103         routines.
62104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62105         file.
62106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62108         file.
62109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62111         file.
62112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62114         file.
62115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62117         file.
62118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62120         file.
62121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62122         file.
62123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62124         file.
62125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62126         file.
62127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62128         New file.
62129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62130         file.
62131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62132         file.
62133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62135         file.
62136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62138         file.
62139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62141         file.
62142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62144         VIS3 routines.
62146         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62147         New file.
62149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62151         * sysdeps/sparc/configure.in: New file.
62152         * sysdeps/sparc/configure: Generate.
62153         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62154         * configure: Regenerate.
62155         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62156         * config.make.in (have-as-vis3): New.
62157         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62158         available use -Av9d instead of -Av9a.
62159         * sysdeps/sparc/sparc64/Makefile: Likewise.
62160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62162         New file.
62163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62164         file.
62165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62166         New file.
62167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62168         file.
62169         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62170         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62171         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62172         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62173         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62175         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62176         fzeros/fnegs to load 0x80000000 into a float register instead of
62177         using the stack.
62178         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62180 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62183         bits/syscall.h.
62184         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62185         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62186         ($(inst_includedir)/bits/syscall.h): Remove rule.
62187         ($(objpfx)bits/syscall.d): Include instead of
62188         $(objpfx)syscall-list.d.
62189         (generated): Change syscall-list.h and syscall-list.d to
62190         bits/syscall.h and bits/syscall.d.
62192 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62194         [BZ #13846]
62195         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62197 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62199         [BZ #13841]
62200         * math/s_csqrt.c: Include <float.h>.
62201         (__csqrt): Scale large or subnormal inputs.
62202         * math/s_csqrtf.c: Likewise.
62203         * math/s_csqrtl.c: Likewise.
62204         * math/libm-test.inc (csqrt_test): Add more tests.
62205         * sysdeps/i386/fpu/libm-test-ulps: Update.
62206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62208         [BZ #13840]
62209         * math/libm-test.inc (hypot_test): Add more tests.
62211 2012-03-13  David S. Miller  <davem@davemloft.net>
62213         [BZ #13840]
62214         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62215         double-precision for the calculation instead of scaling.
62217 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62219         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62220         manipulate bits before adding and subtracting TWO52[sx].
62221         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62222         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62223         Likewise.
62224         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62226 2012-03-13  David S. Miller  <davem@davemloft.net>
62228         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62229         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62230         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62231         rtld-global-offsets.h
62232         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62234         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62235         large parameters.
62237         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62239         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62240         'err' in the ifdef scope in which it is actually used.
62242         * nss/nss_db/db-init.c: Include string.h
62244 2012-03-12  David S. Miller  <davem@davemloft.net>
62246         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62247         masking out of the most significant byte of random value used.
62248         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62249         Fix coding style in previous change.
62251         * sysdeps/unix/sysv/linux/kernel-features.h
62252         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62253         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62254         expression.
62255         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62256         later.
62258 2012-03-11  David S. Miller  <davem@davemloft.net>
62260         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62261         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62262         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62263         for 'resultvar' otherwise things get truncated on 64-bit.
62265         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62266         Fix masking out of the most significant byte of random value used.
62268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62270 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62274 2012-03-09  David S. Miller  <davem@davemloft.net>
62276         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62277         variables with appropriate CPP guards.
62278         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62279         from the frame pointer, not the stack pointer.  Correct layout
62280         comments.  Fix test on resulting framesize and the management of
62281         the outregs buffer for pltexit.  Preserve floating point return
62282         values across _dl_call_pltexit call.
62283         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62284         framesize and the management of the outregs buffer for pltexit.
62285         Preserve floating point return values across _dl_call_pltexit
62286         call.
62287         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62288         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62289         (la_sparc64_gnu_pltexit): New functions.
62290         (print_exit): Fix format string for return register value.
62292 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62294         * sunrpc/Makefile (others): Add rpcgen.
62295         ($(objpfx)rpcgen): Remove special build rule and dependency on
62296         libc.
62297         * sunrpc/rpcgen.c: New file.
62299 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62301         [BZ #13673]
62302         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62303         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62304         * sysdeps/i386/crti.S: Likewise.
62305         * sysdeps/i386/crtn.S: Likewise.
62306         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62307         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62308         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62309         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62310         * sysdeps/sh/crti.S: Likewise.
62311         * sysdeps/sh/crtn.S: Likewise.
62312         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62314         [BZ #13673]
62315         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62316         with URL.
62317         * locale/programs/locfile-kw.gperf: Likewise.
62318         * locale/programs/charmap-kw.h: Regenerated.
62319         * locale/programs/locfile-kw.h: Likewise.
62321         [BZ #13673]
62322         * intl/plural.y: Replace FSF snail mail address with URL.
62323         * intl/plural.c: Regenerated.
62325 2012-03-09  Richard Henderson  <rth@twiddle.net>
62327         * include/math_private.h: Remove file.
62328         * math/math_private.h: Move file ...
62329         * sysdeps/generic/math_private.h: ... here.
62331         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62332         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62333         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62335         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62336         and <math_private.h>.
62337         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62338         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62339         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62340         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62341         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62342         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62343         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62344         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62345         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62346         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62347         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62348         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62349         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62350         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62351         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62352         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62353         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62354         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62355         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62356         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62358         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62359         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62360         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62361         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62362         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62363         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62364         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62365         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62366         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62367         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62368         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62369         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62370         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62371         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62372         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62373         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62374         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62375         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62376         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62377         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62378         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62379         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62380         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62381         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62382         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62383         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62384         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62385         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62386         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62387         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62388         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62389         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62390         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62391         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62392         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62393         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62394         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62395         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62396         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62397         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62398         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62399         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62400         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62401         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62402         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62403         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62404         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62405         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62406         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62407         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62408         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62409         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62410         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62411         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62412         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62413         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62414         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62415         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62416         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62417         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62418         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62419         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62420         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62421         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62422         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62423         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62424         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62425         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62426         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62427         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62428         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62429         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62430         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62431         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62432         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62433         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62434         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62435         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62436         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62437         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62438         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62439         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62440         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62441         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62442         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62443         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62444         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62445         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62446         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62447         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62448         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62449         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62450         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62451         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62452         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62453         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62454         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62455         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62456         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62457         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62458         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62459         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62460         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62461         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62462         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62463         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62464         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62465         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62466         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62467         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62468         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62469         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62470         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62471         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62472         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62473         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62474         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62475         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62476         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62477         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62478         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62479         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62480         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62481         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62482         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62483         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62484         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62485         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62486         * sysdeps/ieee754/k_standard.c: Likewise.
62487         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62488         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62489         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62490         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62491         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62492         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62493         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62494         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62495         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62496         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62497         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62498         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62499         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62500         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62501         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62502         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62503         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62504         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62505         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62506         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62507         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62508         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62509         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62510         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62511         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62512         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62513         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62514         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62515         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62516         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62517         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62518         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62519         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62520         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62521         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62522         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62523         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62524         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62525         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62526         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62527         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62528         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62529         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62530         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62531         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62532         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62533         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62534         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62535         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62536         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62537         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62538         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62539         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62540         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62541         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62542         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62543         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62544         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62545         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62546         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62547         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62548         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62549         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62550         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62551         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62552         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62553         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62554         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62555         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62556         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62557         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62558         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62559         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62560         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62561         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62562         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62563         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62564         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62565         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62566         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62567         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62568         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62569         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62570         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62571         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62572         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62573         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62574         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62575         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62576         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62577         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62578         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62579         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62580         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62581         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62582         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62583         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62584         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62585         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62586         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62587         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62588         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62589         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62590         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62591         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62592         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62593         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62594         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62595         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62596         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62597         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62598         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62599         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62600         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62601         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62602         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62603         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62604         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62605         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62606         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62607         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62608         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62609         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62610         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62611         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62612         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62613         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62614         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62615         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62616         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62617         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62618         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62619         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62620         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62621         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62622         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62623         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62624         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62625         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62626         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62627         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62628         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62629         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62630         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62631         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62632         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62633         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62634         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62635         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62636         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62637         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62638         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62639         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62640         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62641         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62642         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62643         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62644         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62645         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62646         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62647         * sysdeps/ieee754/s_lib_version.c: Likewise.
62648         * sysdeps/ieee754/s_matherr.c: Likewise.
62649         * sysdeps/ieee754/s_signgam.c: Likewise.
62650         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62651         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62652         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62653         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62654         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62655         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62656         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62657         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62658         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62659         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62660         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62661         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62662         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62663         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62664         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62665         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62666         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62667         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62668         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62669         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62670         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62672 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62674         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62675         * sunrpc/rpc_main.c: Likewise.
62676         * sunrpc/rpc_svcout.c: Likewise.
62678 2012-03-09  David S. Miller  <davem@davemloft.net>
62680         * include/math_private.h: New file.
62682 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62684         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62685         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62686         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62687         from <bits/socket_type.h>.
62688         (enum __socket_type): Don't define here.
62689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62691         bits/socket_type.h.
62693         [BZ #13566]
62694         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62695         checking __USE_GNU.
62697         * Makerules ($(inst_includedir)/%.h): New rule.
62698         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62699         (install-others): Remove variable setting.
62700         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62702 2012-03-08  Richard Henderson  <rth@twiddle.net>
62704         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62705         from macro to inline function; merge with the
62706         !__LIBC_INTERNAL_MATH_INLINES version.
62707         (__ieee754_sqrtf): Likewise.
62709         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62710         to inline function.
62711         (__rintf, __floor, __floorf): Likewise.
62713         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62714         macro to inline function.
62715         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62717         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62718         not <math/math_private.h>.
62720 2012-03-08  David S. Miller  <davem@davemloft.net>
62722         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62723         copyright year.
62724         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62726 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62728         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62729         normalization.
62730         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62731         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62733 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62735         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62736         be defined individually, they must be defined as a block.  Define
62737         S for printing a string instead of hidint the different by using a
62738         macro for adding the 'l'.
62739         * stdio-common/tst-fphex-wide.c: Adjust.
62741 2012-03-07  Marek Polacek  <polacek@redhat.com>
62743         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62745 2012-03-08  Marek Polacek  <polacek@redhat.com>
62747         [BZ #13806]
62748         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62749         * stdio-common/tst-fphex.c: Define a few macros to make the
62750         test reusable.  Use them.
62751         * stdio-common/tst-fphex-wide.c: New file.
62753 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62755         [BZ #6911]
62756         * manual/macros.texi (gnusystems): New macro.
62757         (nongnusystems): Likewise.
62758         (gnulinuxhurdsystems): Likewise.
62759         (gnuhurdsystems): Likewise..
62760         (gnulinuxsystems): Likewise.
62761         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62762         variants of the GNU system, not "GNU system".
62763         * manual/conf.texi: Likewise.
62764         * manual/errno.texi: Likewise.  Update example of errno macro
62765         expansion.
62766         * manual/filesys.texi: Likewise.
62767         (getumask): Document as specific to GNU/Hurd.
62768         * manual/install.texi: Likewise.  Reword some references to
62769         GNU/Linux.
62770         * manual/intro.texi: Likewise.
62771         * manual/io.texi: Likewise.
62772         (File Name Portability): Detail which constraints are inapplicable
62773         to all GNU systems and which are only inapplicable to GNU/Hurd.
62774         * manual/job.texi: Likewise.
62775         * manual/llio.texi: Likewise.
62776         (O_NOCTTY): Document as present on GNU/Linux.
62777         * manual/maint.texi: Likewise.
62778         * manual/memory.texi: Likewise.
62779         * manual/pattern.texi: Likewise.
62780         * manual/pipe.texi: Likewise.
62781         * manual/process.texi: Likewise.
62782         * manual/resource.texi: Likewise.
62783         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62784         child on GNU/Hurd.
62785         * manual/setjmp.texi: Likewise.
62786         * manual/signal.texi: Likewise.
62787         * manual/startup.texi: Likewise.
62788         * manual/stdio.texi: Likewise.
62789         * manual/terminal.texi: Likewise.
62790         (ONLCR): Document as POSIX.
62791         (OXTABS): Document availability on GNU/Linux as XTABS.
62792         (ONOEOT): Document availability separately from other bits.
62793         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62794         * manual/time.texi: Likewise.
62795         * manual/users.texi: Likewise.
62796         * INSTALL: Regenerated.
62797         * sysdeps/gnu/errlist.c: Regenerated.
62799         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62800         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62801         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62802         puts.
62803         * configure: Regenerated.
62805 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62807         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62808         default includes instead of AC_HEADER_CHECK.
62809         * sysdeps/i386/configure: Regenerated.
62811         [BZ #10716]
62812         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62813         * math/s_cacoshf.c (__cacoshf): Likewise.
62814         * math/s_cacoshl.c (__cacoshl): Likewise.
62815         * math/s_casinh.c (__casinh): Set signs of result from argument.
62816         * math/s_casinhf.c (__casinhf): Likewise.
62817         * math/s_casinhl.c (__casinhl): Likewise.
62818         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62819         (casinh_test): Add more tests.
62820         * sysdeps/i386/fpu/libm-test-ulps: Update.
62821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62823 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62825         * po/zh_TW.po: Update from translation team.
62827         * login/Makefile (distribute): Remove variable.
62828         * catgets/Makefile: Likewise.
62829         * mach/Makefile: Likewise.
62830         * malloc/Makefile: Likewise.
62831         * misc/Makefile: Likewise.
62832         * iconv/Makefile: Likewise.
62833         * nscd/Makefile: Likewise.
62834         * hurd/Makefile: Likewise.
62835         * manual/Makefile: Likewise.
62836         * locale/Makefile: Likewise.
62837         * intl/Makefile: Likewise.
62838         * conform/Makefile: Likewise.
62839         * nss/Makefile: Likewise.
62840         * time/Makefile: Likewise.
62841         * soft-fp/Makefile: Likewise.
62842         * dirent/Makefile: Likewise.
62843         * gmon/Makefile: Likewise.
62844         * po/Makefile: Likewise.
62845         * rt/Makefile: Likewise.
62846         * socket/Makefile: Likewise.
62847         * math/Makefile: Likewise.
62848         * signal/Makefile: Likewise.
62849         * debug/Makefile: Likewise.
62850         * elf/Makefile: Likewise.
62851         * timezone/Makefile: Likewise.
62852         * stdlib/Makefile: Likewise.
62853         * iconvdata/Makefile: Likewise.
62854         * sunrpc/Makefile: Likewise.
62855         * io/Makefile: Likewise.
62856         * argp/Makefile: Likewise.
62857         * inet/Makefile: Likewise.
62858         * hesiod/Makefile: Likewise.
62859         * grp/Makefile: Likewise.
62860         * csu/Makefile: Likewise.
62861         * wctype/Makefile: Likewise.
62862         * crypt/Makefile: Likewise.
62863         * libio/Makefile: Likewise.
62864         * string/Makefile: Likewise.
62865         * nis/Makefile: Likewise.
62866         * resolv/Makefile: Likewise.
62867         * stdio-common/Makefile: Likewise.
62868         * wcsmbs/Makefile: Likewise.
62869         * dlfcn/Makefile: Likewise.
62870         * posix/Makefile: Likewise.
62872         [BZ #6959]
62873         * timezone/Makefile: Don't install timezone files, just the programs
62874         and scripts.
62876 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62878         * nss/databases.def: Add missing gshadow entry.
62880         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62882 2012-03-06  Marek Polacek  <polacek@redhat.com>
62884         [BZ #13726]
62885         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62886         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62887         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62888         * stdio-common/tst-long-dbl-fphex.c: New file.
62890 2012-03-06  David S. Miller  <davem@davemloft.net>
62892         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62893         (set_obp_int): New function.
62894         (get_obp_int): New function.
62895         (__get_clockfreq_via_dev_openprom): Likewise.
62896         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62897         Avoid unused variable warnings on 'val' and use builtin_expect.
62898         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62899         __builtin_expect.
62900         (INLINE_CLONE_SYSCALL): Likewise.
62902 2012-03-05  David S. Miller  <davem@davemloft.net>
62904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62906 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62910         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62911         only for |x| >= 40.
62912         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62914 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62916         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62917         Replace gettimeofday with __vdso_gettimeofday.
62919         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62920         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62921         __vdso_clock_gettime and __vdso_getcpu.
62923         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62924         time with __vdso_time.
62926 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62928         * manual/lang.texi (size_t): Note types to which size_t may be
62929         equivalent with the GNU C Library, but do not describe when
62930         differences between them are significant.
62932 2012-03-05  Andreas Jaeger  <aj@suse.de>
62934         * sysdeps/i386/fpu/libm-test-ulps: Update.
62936 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62938         [BZ #3976]
62939         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62940         (__ieee754_pow): Save and restore rounding mode and use
62941         round-to-nearest for main computations.
62942         * math/libm-test.inc (pow_test_tonearest): New function.
62943         (pow_test_towardzero): Likewise.
62944         (pow_test_downward): Likewise.
62945         (pow_test_upward): Likewise.
62946         (main): Call the new functions.
62947         * sysdeps/i386/fpu/libm-test-ulps: Update.
62948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62950         [BZ #3976]
62951         * math/libm-test.inc (cosh_test_tonearest): New function.
62952         (cosh_test_towardzero): Likewise.
62953         (cosh_test_downward): Likewise.
62954         (cosh_test_upward): Likewise.
62955         (sinh_test_tonearest): Likewise.
62956         (sinh_test_towardzero): Likewise.
62957         (sinh_test_downward): Likewise.
62958         (sinh_test_upward): Likewise.
62959         (main): Call the new functions.
62960         * sysdeps/i386/fpu/libm-test-ulps: Update.
62961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62963 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62965         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62966         default stack guard is set in last bytes.
62967         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62969 2012-03-05  Kees Cook  <keescook@chromium.org>
62971         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62973         [BZ #13656]
62974         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62975         possibly allocate from heap instead of stack.
62976         * stdio-common/bug-vfprintf-nargs.c: New file.
62977         * stdio-common/Makefile (tests): Add nargs overflow test.
62979 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62983 2012-03-03  Marek Polacek  <polacek@redhat.com>
62985         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62986         * math/math_private.h: Likewise.
62987         * stdlib/tst-strtod.c: Likewise.
62988         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62989         * sysdeps/x86_64/bits/atomic.h: Likewise.
62991 2012-03-02  David S. Miller  <davem@davemloft.net>
62993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62997         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62998         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62999         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63000         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63002 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63004         [BZ #13792]
63005         * manual/examples/README: New file, says the example source files
63006         can be used under GPL>=2.
63007         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63008         line containing just "*/".
63009         * manual/examples/add.c: Add copyright header (GPL>=2).
63010         * manual/examples/argp-ex1.c: Likewise.
63011         * manual/examples/argp-ex2.c: Likewise.
63012         * manual/examples/argp-ex3.c: Likewise.
63013         * manual/examples/argp-ex4.c: Likewise.
63014         * manual/examples/atexit.c: Likewise.
63015         * manual/examples/db.c: Likewise.
63016         * manual/examples/dir.c: Likewise.
63017         * manual/examples/dir2.c: Likewise.
63018         * manual/examples/execinfo.c: Likewise.
63019         * manual/examples/filecli.c: Likewise.
63020         * manual/examples/filesrv.c: Likewise.
63021         * manual/examples/fmtmsgexpl.c: Likewise.
63022         * manual/examples/genpass.c: Likewise.
63023         * manual/examples/inetcli.c: Likewise.
63024         * manual/examples/inetsrv.c: Likewise.
63025         * manual/examples/isockad.c: Likewise.
63026         * manual/examples/longopt.c: Likewise.
63027         * manual/examples/memopen.c: Likewise.
63028         * manual/examples/memstrm.c: Likewise.
63029         * manual/examples/mkfsock.c: Likewise.
63030         * manual/examples/mkisock.c: Likewise.
63031         * manual/examples/mygetpass.c: Likewise.
63032         * manual/examples/pipe.c: Likewise.
63033         * manual/examples/popen.c: Likewise.
63034         * manual/examples/rprintf.c: Likewise.
63035         * manual/examples/search.c: Likewise.
63036         * manual/examples/select.c: Likewise.
63037         * manual/examples/setjmp.c: Likewise.
63038         * manual/examples/sigh1.c: Likewise.
63039         * manual/examples/sigusr.c: Likewise.
63040         * manual/examples/stpcpy.c: Likewise.
63041         * manual/examples/strdupa.c: Likewise.
63042         * manual/examples/strftim.c: Likewise.
63043         * manual/examples/strncat.c: Likewise.
63044         * manual/examples/subopt.c: Likewise.
63045         * manual/examples/swapcontext.c: Likewise.
63046         * manual/examples/termios.c: Likewise.
63047         * manual/examples/testopt.c: Likewise.
63048         * manual/examples/testpass.c: Likewise.
63049         * manual/examples/timeval_subtract.c: Likewise.
63051         [BZ #13792]
63052         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63053         function to ...
63054         * manual/timeval_subtract.c.texi: ... here, new file.
63056 2012-03-02  David S. Miller  <davem@davemloft.net>
63058         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63060 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63062         [BZ #3976]
63063         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63064         (__sin): Save and restore rounding mode and use round-to-nearest
63065         for all computations.
63066         (__cos): Save and restore rounding mode and use round-to-nearest
63067         for all computations.
63068         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63069         <fenv.h>.
63070         (tan): Save and restore rounding mode and use round-to-nearest for
63071         all computations.
63072         * math/libm-test.inc (cos_test_tonearest): New function.
63073         (cos_test_towardzero): Likewise.
63074         (cos_test_downward): Likewise.
63075         (cos_test_upward): Likewise.
63076         (sin_test_tonearest): Likewise.
63077         (sin_test_towardzero): Likewise.
63078         (sin_test_downward): Likewise.
63079         (sin_test_upward): Likewise.
63080         (tan_test_tonearest): Likewise.
63081         (tan_test_towardzero): Likewise.
63082         (tan_test_downward): Likewise.
63083         (tan_test_upward): Likewise.
63084         (main): Call the new functions.
63085         * sysdeps/i386/fpu/libm-test-ulps: Update.
63086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63088         [BZ #10135]
63089         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63090         small n, then large n, before computing and testing k+n.
63091         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63092         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63093         Likewise.
63094         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63095         Likewise.
63096         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63097         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63098         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63099         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63100         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63101         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63102         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63103         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63104         * math/libm-test.inc (scalbn_test): Add more tests.
63105         (scalbln_test): Likewise.
63107         * manual/filesys.texi (mode_t): Describe constraints on size and
63108         signedness, not exact equivalence to a particular type.
63109         (ino_t): Likewise.
63110         (ino64_t): Likewise.
63111         (dev_t): Likewise.
63112         (nlink_t): Likewise.
63113         (blkcnt_t): Likewise.
63114         (blkcnt64_t): Likewise.
63115         * manual/llio.texi (off_t): Likewise.
63117         [BZ #3976]
63118         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63119         (__ieee754_exp): Save and restore rounding mode and use
63120         round-to-nearest for all computations.
63121         * math/libm-test.inc (exp_test_tonearest): New function.
63122         (exp_test_towardzero): Likewise.
63123         (exp_test_downward): Likewise.
63124         (exp_test_upward): Likewise.
63125         (main): Call the new functions.
63126         * sysdeps/i386/fpu/libm-test-ulps: Update.
63127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63129 2012-03-01  Chris Demetriou  <cgd@google.com>
63131         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63132         have predictable order.
63134 2012-03-01  David S. Miller  <davem@davemloft.net>
63136         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63138         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63139         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63140         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63141         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63143         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63144         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63145         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63147         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63148         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63149         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63150         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63151         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63155         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63156         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63157         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63159         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63160         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63161         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63162         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63163         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63164         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63165         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63166         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63167         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63168         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63169         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63170         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63171         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63172         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63173         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63174         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63175         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63176         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63177         * sysdeps/sparc/elf/configure: Regenerated.
63179 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63181         * configure.in (AS, LD): Require binutils 2.20 or later.
63182         * configure: Regenerated.
63183         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63184         as required minimum version.
63185         * INSTALL: Regenerated.
63187         [BZ #2541]
63188         [BZ #4108]
63189         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63190         before squaring exponent.
63191         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63192         bottom long double and 27 bits of top long double before squaring
63193         exponent.
63194         * math/libm-test.inc (erfc_test): Add more tests.
63195         * sysdeps/i386/fpu/libm-test-ulps: Update.
63196         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63199 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63201         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63202         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63203         containing bit-fields.
63204         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63205         * soft-fp/single.h (_FP_UNION_S): Likewise.
63206         * soft-fp/double.h (_FP_UNION_D): Likewise.
63208 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63210         [BZ #13786]
63211         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63212         not include ../strcmp.S.
63213         [USE_AS_STRNCASECMP_L]: Likewise.
63214         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63215         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63216         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63217         (__strncasecmp_l_ia32): Define as alias to
63218         __strncasecmp_l_nonascii.
63220         [BZ #5794]
63221         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63222         * sysdeps/i386/fpu/libm-test-ulps: Update.
63223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63225         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63228 2012-02-29  Jeff Law  <law@redhat.com>
63230         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63231         out of bounds read.
63233 2012-02-29  Marek Polacek  <polacek@redhat.com>
63235         [BZ #13706]
63236         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63237         * elf/Makefile: Add rules to run tst-unused-dep.out.
63239 2012-02-28  David S. Miller  <davem@davemloft.net>
63241         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63242         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63243         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63244         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63245         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63246         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63248 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63250         * math/libm-test.inc (llround_test): Move one test from
63251         lround_test.  Use TEST_f_L in moved test.
63252         (lround_test): Move misplaced test to llround_test.  Add testcase
63253         from bug 2561.
63255 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63257         * sysdeps/x86_64/fpu/e_expf.S: New file.
63258         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63260 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63262         [BZ #13637]
63263         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63264         of remain_len that may cause incomplete multi-byte character and
63265         false match.
63266         * posix/bug-regex33.c: New file.
63267         * posix/Makefile (tests): Add bug-regex33.
63269 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63271         * manual/macros.texi: New file.
63272         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63273         * manual/libc.texinfo: Include macros.texi.
63274         * manual/creatute.texi: Likewise.
63275         * manual/install.texi: Likewise.
63276         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63277         @glibcadj{} in references to the GNU C Library.
63278         * manual/charset.texi: Likewise.
63279         * manual/conf.texi: Likewise.
63280         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63281         when not using those macros.
63282         * manual/creature.texi: Likewise.
63283         * manual/crypt.texi: Likewise.
63284         * manual/errno.texi: Likewise.
63285         * manual/filesys.texi: Likewise.
63286         * manual/header.texi: Likewise.
63287         * manual/install.texi: Likewise.
63288         * manual/intro.texi: Likewise.
63289         * manual/io.texi: Likewise.
63290         * manual/job.texi: Likewise.
63291         * manual/lang.texi: Likewise.
63292         * manual/libc.texiinfo: Likewise.
63293         * manual/llio.texi: Likewise.
63294         * manual/locale.texi: Likewise.
63295         * manual/maint.texi: Likewise.
63296         * manual/math.texi: Likewise.
63297         * manual/memory.texi: Likewise.
63298         * manual/message.texi: Likewise.
63299         * manual/nss.texi: Likewise.
63300         * manual/pattern.texi: Likewise.
63301         * manual/process.texi: Likewise.
63302         * manual/resource.texi: Likewise.
63303         * manual/search.texi: Likewise.
63304         * manual/setjmp.texi: Likewise.
63305         * manual/signal.texi: Likewise.
63306         * manual/socket.texi: Likewise.
63307         * manual/startup.texi: Likewise.
63308         * manual/stdio.texi: Likewise.
63309         * manual/string.texi: Likewise.
63310         * manual/sysinfo.texi: Likewise.
63311         * manual/syslog.texi: Likewise.
63312         * manual/terminal.texi: Likewise.
63313         * manual/time.texi: Likewise.
63314         * manual/users.texi: Likewise.
63315         * INSTALL: Regenerated.
63316         * NOTES: Regenerated.
63317         * sysdeps/gnu/errlist.c: Regenerated.
63319 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63321         * include/dirent.h: Include <dirstream.h> before
63322         <dirent/dirent.h>.
63324 2012-02-28  David S. Miller  <davem@davemloft.net>
63326         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63327         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63328         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63329         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63331 2012-02-27  David S. Miller  <davem@davemloft.net>
63333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63335         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63336         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63339         frame pointer instead of stack pointer relative arg slot.
63340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63341         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63342         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63344 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63346         [BZ #3992]
63347         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63349 2012-02-27  David S. Miller  <davem@davemloft.net>
63351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63355         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63356         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63357         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63358         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63360 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63362         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63363         later.  Allow versions 5-9.
63364         * configure: Regenerated.
63365         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63366         required minimum version and 4.6 as recommended version.  Do not
63367         mention bugs in GCC 2.7 and 2.8.
63368         * INSTALL: Regenerated.
63370 2012-02-27  David S. Miller  <davem@davemloft.net>
63372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63376         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63377         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63378         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63379         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63381         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63382         manipulate bits before adding and subtracting TWO112[sx].
63383         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63385 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63387         [BZ #13775]
63388         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63389         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63390         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63391         being in POSIX, because they are in 1003.1-2008.
63393         * rt/tst-aio.c: Include <fcntl.h>.
63394         * rt/tst-aio7.c: Likewise.
63395         * rt/tst-aio64.c: Likewise.
63397         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63399 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63401         * manual/install.texi (--with-headers): Describe headers as
63402         interface headers, not private headers.
63403         (Specific advice for GNU/Linux systems): Describe use of headers
63404         from "make headers_install", not private headers from older
63405         kernels.
63406         * INSTALL: Regenerated.
63407         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63408         Change to 2.6.19.
63409         * sysdeps/unix/sysv/linux/configure: Regenerated.
63411         * manual/llio.texi (fclean): Remove documentation.
63413         * manual/Makefile (libc-texi-generated): New variable.  Include
63414         version.texi.
63415         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63416         $(libc-texi-generated), not duplicated list of files.
63417         (version.texi, stamp-version): New rules.
63418         (realclean): Remove $(libc-texi-generated), not individual files
63419         from that list.  Do not remove dir-add.texinfo.
63420         * manual/libc.texinfo: Comment out uses of edition numbers and
63421         references to printed manual.  Remove last-updated dates.
63422         (EDITION): Comment out.
63423         (ISBN): Likewise.
63424         (VERSION, UPDATED): Remove.
63425         (version.texi): Include.
63427 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63429         * sysdeps/posix/spawni.c: Include <signal.h>.
63430         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63431         * sysdeps/pthread/aio_fsync.c: Likewise.
63433 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63435         * conform/Makefile (tests): Run only when not cross-compiling and
63436         when fast-check is not defined.
63438         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63439         * conform/data/limits.h-data: Fixes for POSIX2008.
63440         * conform/run-conformtest.sh: Run all tests.
63441         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63442         headers.
63443         * include/bits/dlfcn.h: Likewise.
63444         * include/langinfo.h: Likewise.
63445         * include/monetary.h: Likewise.
63446         * include/sys/poll.h: Likewise.
63448         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63449         for __USE_GNU.
63450         * posix/spawn.h: Define __need_sigset_t.
63451         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63452         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63453         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63454         to get sigevent_t only.
63455         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63456         only for __USE_GNU.
63457         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63458         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63459         process_vm_writev only for __USE_GNU.
63460         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63462         * conform/Makefile: For now ignore errors from run-conformtest.
63463         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63464         POSIX to avoid namespace pollution.  Don't prepend headers.
63465         * conform/data/aio.h-data: Fixes for POSIX testing.
63466         * conform/data/fcntl.h-data: Likewise.
63467         * conform/data/glob.h-data: Likewise.
63468         * conform/data/grp.h-data: Likewise.
63469         * conform/data/pthread.h-data: Likewise.
63470         * conform/data/pwd.h-data: Likewise.
63471         * conform/data/signal.h-data: Likewise.
63472         * conform/data/spawn.h-data: Likewise.
63473         * conform/data/stdio.h-data: Likewise.
63474         * conform/data/stdlib.h-data: Likewise.
63475         * conform/data/stropts.h-data: Likewise.
63476         * conform/data/sys/mman.h-data: Likewise.
63477         * conform/data/sys/stat.h-data: Likewise.
63478         * conform/data/sys/types.h-data: Likewise.
63479         * conform/data/sys/wait.h-data: Likewise.
63480         * conform/data/time.h-data: Likewise.
63481         * conform/data/unistd.h-data: Likewise.
63482         * conform/data/utime.h-data: Likewise.
63484         * io/sys/stat.h: fchmod was always in POSIX.
63485         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63486         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63487         * rt/aio.h: Define __need_timespec before including <time.h>.
63488         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63489         struct.  Add forward declaration of pthread_attr_t and use it in
63490         sigevent.
63491         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63492         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63493         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63494         always remove CLK_TCK definition.
63496 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63498         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63500 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63502         * conform/run-conformtest.sh: New file.
63503         * conform/Makefile: Run run-conformtest for tests.
63504         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63505         support.
63507         * conform/data/uchar.h-data: New file.
63508         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63509         * conform/data/arpa/inet.h-data: Likewise.
63510         * conform/data/assert.h-data: Likewise.
63511         * conform/data/complex.h-data: Likewise.
63512         * conform/data/cpio.h-data: Likewise.
63513         * conform/data/ctype.h-data: Likewise.
63514         * conform/data/dirent.h-data: Likewise.
63515         * conform/data/dlfcn.h-data: Likewise.
63516         * conform/data/errno.h-data: Likewise.
63517         * conform/data/fcntl.h-data: Likewise.
63518         * conform/data/float.h-data: Likewise.
63519         * conform/data/fmtmsg.h-data: Likewise.
63520         * conform/data/fnmatch.h-data: Likewise.
63521         * conform/data/ftw.h-data: Likewise.
63522         * conform/data/glob.h-data: Likewise.
63523         * conform/data/grp.h-data: Likewise.
63524         * conform/data/iconv.h-data: Likewise.
63525         * conform/data/inttypes.h-data: Likewise.
63526         * conform/data/langinfo.h-data: Likewise.
63527         * conform/data/libgen.h-data: Likewise.
63528         * conform/data/limits.h-data: Likewise.
63529         * conform/data/locale.h-data: Likewise.
63530         * conform/data/math.h-data: Likewise.
63531         * conform/data/monetary.h-data: Likewise.
63532         * conform/data/mqueue.h-data: Likewise.
63533         * conform/data/ndbm.h-data: Likewise.
63534         * conform/data/net/if.h-data: Likewise.
63535         * conform/data/netdb.h-data: Likewise.
63536         * conform/data/netinet/in.h-data: Likewise.
63537         * conform/data/nl_types.h-data: Likewise.
63538         * conform/data/poll.h-data: Likewise.
63539         * conform/data/pthread.h-data: Likewise.
63540         * conform/data/pwd.h-data: Likewise.
63541         * conform/data/regex.h-data: Likewise.
63542         * conform/data/sched.h-data: Likewise.
63543         * conform/data/search.h-data: Likewise.
63544         * conform/data/semaphore.h-data: Likewise.
63545         * conform/data/setjmp.h-data: Likewise.
63546         * conform/data/signal.h-data: Likewise.
63547         * conform/data/spawn.h-data: Likewise.
63548         * conform/data/stdarg.h-data: Likewise.
63549         * conform/data/stdio.h-data: Likewise.
63550         * conform/data/stdlib.h-data: Likewise.
63551         * conform/data/string.h-data: Likewise.
63552         * conform/data/strings.h-data: Likewise.
63553         * conform/data/stropts.h-data: Likewise.
63554         * conform/data/sys/ipc.h-data: Likewise.
63555         * conform/data/sys/mman.h-data: Likewise.
63556         * conform/data/sys/msg.h-data: Likewise.
63557         * conform/data/sys/resource.h-data: Likewise.
63558         * conform/data/sys/select.h-data: Likewise.
63559         * conform/data/sys/sem.h-data: Likewise.
63560         * conform/data/sys/shm.h-data: Likewise.
63561         * conform/data/sys/socket.h-data: Likewise.
63562         * conform/data/sys/stat.h-data: Likewise.
63563         * conform/data/sys/statvfs.h-data: Likewise.
63564         * conform/data/sys/time.h-data: Likewise.
63565         * conform/data/sys/timeb.h-data: Likewise.
63566         * conform/data/sys/times.h-data: Likewise.
63567         * conform/data/sys/types.h-data: Likewise.
63568         * conform/data/sys/uio.h-data: Likewise.
63569         * conform/data/sys/un.h-data: Likewise.
63570         * conform/data/sys/utsname.h-data: Likewise.
63571         * conform/data/sys/wait.h-data: Likewise.
63572         * conform/data/syslog.h-data: Likewise.
63573         * conform/data/tar.h-data: Likewise.
63574         * conform/data/termios.h-data: Likewise.
63575         * conform/data/utime.h-data: Likewise.
63576         * conform/data/utmpx.h-data: Likewise.
63577         * conform/data/varargs.h-data: Likewise.
63578         * conform/data/wchar.h-data: Likewise.
63579         * conform/data/wctype.h-data: Likewise.
63580         * conform/data/wordexp.h-data: Likewise.
63582         * include/stropts.h: New file.
63583         * include/uchar.h: New file.
63584         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63585         * include/assert.h: Likewise.
63586         * include/ctype.h: Likewise.
63587         * include/dirent.h: Likewise.
63588         * include/dlfcn.h: Likewise.
63589         * include/fcntl.h: Likewise.
63590         * include/fnmatch.h: Likewise.
63591         * include/glob.h: Likewise.
63592         * include/grp.h: Likewise.
63593         * include/libio.h: Likewise.
63594         * include/locale.h: Likewise.
63595         * include/math.h: Likewise.
63596         * include/net/if.h: Likewise.
63597         * include/netdb.h: Likewise.
63598         * include/netinet/in.h: Likewise.
63599         * include/pthread.h: Likewise.
63600         * include/pwd.h: Likewise.
63601         * include/regex.h: Likewise.
63602         * include/sched.h: Likewise.
63603         * include/search.h: Likewise.
63604         * include/setjmp.h: Likewise.
63605         * include/signal.h: Likewise.
63606         * include/stdio.h: Likewise.
63607         * include/stdlib.h: Likewise.
63608         * include/string.h: Likewise.
63609         * include/sys/cdefs.h: Likewise.
63610         * include/sys/mman.h: Likewise.
63611         * include/sys/msg.h: Likewise.
63612         * include/sys/resource.h: Likewise.
63613         * include/sys/select.h: Likewise.
63614         * include/sys/socket.h: Likewise.
63615         * include/sys/stat.h: Likewise.
63616         * include/sys/statvfs.h: Likewise.
63617         * include/sys/time.h: Likewise.
63618         * include/sys/times.h: Likewise.
63619         * include/sys/uio.h: Likewise.
63620         * include/sys/utsname.h: Likewise.
63621         * include/sys/wait.h: Likewise.
63622         * include/termios.h: Likewise.
63623         * include/time.h: Likewise.
63624         * include/ulimit.h: Likewise.
63625         * include/unistd.h: Likewise.
63626         * include/utime.h: Likewise.
63627         * include/wchar.h: Likewise.
63628         * include/wctype.h: Likewise.
63629         * include/wordexp.h: Likewise.
63631         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63633         * time/time.h: TIME_UTC must be a macro.
63634         Make timespec_get available for ISO C11 only as well.
63636 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63638         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63639         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63641 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63643         * configure.in: Use -o not -a in test for unsupported multi-arch.
63645 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63647         * manual/texinfo.tex: Update to version 2012-01-19.16.
63649 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63651         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63653 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63655         [BZ #13738]
63656         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63657         * manual/fdl-1.3.texi: New file.
63658         * manual/fdl-1.1.texi: File removed.
63660         [BZ #13738]
63661         * manual/libc.texinfo (FDL_VERSION): New @set.
63662         Use it for mention of FDL in cover text.
63663         (Documentation License): Use it in @include file name.
63665 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63666             Roland McGrath  <roland@hack.frob.com>
63668         [BZ #5461]
63669         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63670         (not LONG_LONG_MAX and LONG_LONG_MIN.
63671         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63672         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63673         name.
63674         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63676 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63678         [BZ #2547]
63679         [BZ #11365]
63680         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63681         manipulate bits before adding and subtracting TWO23[sx].
63682         * math/libm-test.inc (nearbyint_test): Add more tests.
63684 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63686         [BZ #2548]
63687         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63688         bits before adding and subtracting TWO23[sx].
63689         * math/libm-test.inc (rint_test): Add more tests.
63690         (rint_test_tonearest): Likewise.
63691         (rint_test_towardzero): Likewise.
63692         (rint_test_downward): Likewise.
63693         (rint_test_upward: Likewise.
63695 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63697         [BZ #10110]
63698         * include/stdc-predef.h: New file.  Extracted from features.h.
63699         * include/features.h: Include stdc-predef.h.
63700         * Makefile (headers): Add stdc-predef.h.
63701         * CONFORMANCE (Compiler limitations): Update.
63703 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63705         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63707 2012-02-21  David S. Miller  <davem@davemloft.net>
63709         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63710         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63712 2012-02-20  David S. Miller  <davem@davemloft.net>
63714         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63715         using a normal save/restore sequence, rather than allocating a
63716         dummy stack frame just to store a frame pointer and restore.
63717         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63719 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63721         * manual/install.texi: Fix stray word in line-wrapped comment.
63723 2012-02-20  David S. Miller  <davem@davemloft.net>
63725         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63726         both binutils and gcc support GOTDATA.
63728         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63729         "rd %pc" in the PIC register setup sequences.
63731         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63732         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63733         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63734         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63735         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63737         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63738         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63739         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63740         (SYSCALL_ERROR_HANDLER): Likewise.
63741         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63742         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63743         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63744         (SYSCALL_ERROR_HANDLER): Likewise.
63746         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63747         (HAVE_GCC_GOTDATA): New.
63748         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63749         relocation support in both binutils and gcc.
63750         * sysdeps/sparc/elf/configure: Regenerate.
63752         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63753         * sysdeps/sparc/sparc32/elf/configure: Delete.
63754         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63755         * sysdeps/sparc/sparc64/elf/configure: Delete.
63756         * sysdeps/sparc/elf/configure.in: New file.
63757         * sysdeps/sparc/elf/configure: Generate.
63759         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63760         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63761         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63762         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63763         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63765 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63767         * manual/install.texi: Do not mention specific glibc version
63768         numbers.
63769         * manual/libc.texinfo (VERSION, UPDATED): Update.
63770         (@copying): Use @copyright{} and range of years.
63772 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63774         [BZ #13695]
63775         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63776         [crti.S not in sysdirs] (generated): Do not append.
63777         [crti.S not in sysdirs] (omit-deps): Likewise.
63778         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63779         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63780         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63781         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63782         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63783         Likewise.
63784         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63785         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63786         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63787         * csu/defs.awk: Remove file.
63788         * sysdeps/generic/initfini.c: Likewise.
63789         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63790         variable.
63791         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63792         Likewise.
63794 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63796         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63797         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63798         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63799         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63800         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63801         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63802         <bits/epoll.h>.
63803         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63804         (__EPOLL_PACKED): Define to empty if not defined by
63805         <bits/epoll.h>.
63806         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63807         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63808         bits/epoll.h.
63810 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63812         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63813         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63814         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63815         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63816         <bits/timerfd.h>.
63817         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63818         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63819         bits/timerfd.h.
63821 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63823         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63824         in C locale.
63825         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63826         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63827         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63830 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63832         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63833         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63835 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63837         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63838         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63839         defined.
63840         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63841         Likewise.
63842         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63843         entry for 2.16.
63845 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63847         * math/w_acos.c: Use non-signaling floating-point comparisons.
63848         * math/w_acosf.c: Likewise.
63849         * math/w_acosh.c: Likewise.
63850         * math/w_acoshf.c: Likewise.
63851         * math/w_acoshl.c: Likewise.
63852         * math/w_acosl.c: Likewise.
63853         * math/w_asin.c: Likewise.
63854         * math/w_asinf.c: Likewise.
63855         * math/w_asinl.c: Likewise.
63856         * math/w_atanh.c: Likewise.
63857         * math/w_atanhf.c: Likewise.
63858         * math/w_atanhl.c: Likewise.
63859         * math/w_exp2.c: Likewise.
63860         * math/w_exp2f.c: Likewise.
63861         * math/w_exp2l.c: Likewise.
63862         * math/w_j0.c: Likewise.
63863         * math/w_j0f.c: Likewise.
63864         * math/w_j0l.c: Likewise.
63865         * math/w_j1.c: Likewise.
63866         * math/w_j1f.c: Likewise.
63867         * math/w_j1l.c: Likewise.
63868         * math/w_jn.c: Likewise.
63869         * math/w_jnf.c: Likewise.
63870         * math/w_log.c: Likewise.
63871         * math/w_log10.c: Likewise.
63872         * math/w_log10f.c: Likewise.
63873         * math/w_log10l.c: Likewise.
63874         * math/w_log2.c: Likewise.
63875         * math/w_log2f.c: Likewise.
63876         * math/w_log2l.c: Likewise.
63877         * math/w_logf.c: Likewise.
63878         * math/w_logl.c: Likewise.
63879         * math/w_sqrt.c: Likewise.
63880         * math/w_sqrtf.c: Likewise.
63881         * math/w_sqrtl.c: Likewise.
63882         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63883         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63884         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63885         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63886         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63888 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63890         [BZ #9739]
63891         * manual/string.texi (strnlen): Use correct parameter name in
63892         equivalent expression.
63894 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63896         [BZ #11174]
63897         * manual/users.texi (seteuid): Consistently use neweuid for
63898         argument name.
63900 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63902         [BZ #13704]
63903         * manual/nss.texi (Services in the NSS configuration): Correct
63904         list of services in example configuration file.
63906 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63908         [BZ #11322]
63909         * manual/arith.texi: Remove statements about negative zero
63910         behaving identically to zero.
63912 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63914         [BZ #5993]
63915         * manual/install.texi: Do not document upgrading from libc5.
63917 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63919         [BZ #4596]
63920         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63922 2012-02-18  David S. Miller  <davem@davemloft.net>
63924         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63925         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63926         %o7 across the call.
63927         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63928         instead.
63929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63930         SETUP_PIC_REG_LEAF.
63931         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63932         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63933         * sysdeps/sparc/crtn.S: Likewise.
63935 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63937         * aout/Makefile: Remove.
63939 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63941         [BZ #13058]
63942         * manual/examples/argp-ex1.c (main): Format definition in GNU
63943         style.
63944         * manual/examples/argp-ex2.c (main): Likewise.
63945         * manual/examples/argp-ex3.c (main): Likewise.
63946         * manual/examples/argp-ex4.c (main): Likewise.
63947         * manual/examples/longopt.c (main): Use new-style prototype
63948         definition.
63949         * manual/examples/strncat.c (main): Specify return type and use
63950         (void) for arguments.
63951         * manual/examples/subopt.c (main): Use char **argv argument.
63953 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63955         [BZ #5077]
63956         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63957         rounding modes.
63959 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63961         [BZ #6907]
63962         * manual/string.texi (strchr): Change when strchrnul is
63963         recommended.
63965 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63967         [BZ #174]
63968         * manual/locale.texi (setlocale): Document LOCPATH.
63970 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63972         [BZ #10210]
63973         * manual/process.texi (execle): Move @dots{} before last argument.
63975 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63977         [BZ #12047]
63978         * manual/charset.texi (Generic Charset Conversion): Fix typo
63979         (LC_TYPE -> LC_CTYPE).
63981 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63983         [BZ #5805]
63984         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63985         (scalbnf): Likewise.
63986         (scalbnl): Likewise.
63987         (scalbln): Likewise.
63988         (scalblnf): Likewise.
63989         (scalblnl): Likewise.
63990         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63991         (vwarnx): Likewise.
63992         (verr): Likewise.
63993         (verrx): Likewise.
63994         * manual/filesys.texi (telldir): Use braces around return type.
63995         * manual/llio.texi (mmap): Add space after comma.
63996         (mmap64): Likewise.
63997         * manual/math.texi (jn): Use @var{} on parameter names.
63998         (jnf): Likewise.
63999         (jnl): Likewise.
64000         (yn): Likewise.
64001         (ynf): Likewise.
64002         (ynl): Likewise.
64003         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64004         line.
64005         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64006         "...".
64007         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64008         (sched_get_priority_max): Likewise.
64009         * manual/signal.texi (sigvec): Add space after comma.
64010         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64011         names.
64012         (if_indextoname): Likewise.
64013         (if_freenameindex): Likewise.
64014         (sendto): Use ',' instead of '.' in prototype.
64015         * manual/startup.texi (syscall): Use @dots{} instead of literal
64016         "...".
64017         * manual/stdio.texi (__fpending): Separate initial words of
64018         paragraph from @deftypefun line.
64019         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64020         "...".
64021         (vsyslog): Use @var{} on parameter names.
64022         * manual/terminal.texi (stty): Use @var{} on parameter names.
64023         * manual/users.texi (getutmp): Use @var{} on parameter names.
64024         (getutmpx): Likewise.
64026 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64028         [BZ #6884]
64029         * manual/stdio.texi (fopen): Fix typos in description of
64030         ",ccs=STRING".
64032 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64034         [BZ #4026]
64035         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64036         get clock_id definition.
64038 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64040         [BZ #4822]
64041         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64042         (madvise): Cast every argument to void on its own.
64044 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64046         [BZ #9902]
64047         * manual/startup.texi (Exit Status): Fix typo.
64049 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64051         [BZ #10140]
64052         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64053         * manual/examples/argp-ex2.c: Likewise.
64054         * manual/examples/argp-ex3.c: Likewise.
64056 2012-02-16  Richard Henderson  <rth@redhat.com>
64058         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64059         * sysdeps/s390/s390-32/initfini.c: Remove.
64060         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64061         * sysdeps/s390/s390-64/initfini.c: Remove.
64063 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64065         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64066         compiler output for sysdeps/generic/initfini.c.
64067         * sysdeps/sh/elf/initfini.c: Remove file.
64069 2012-02-16  David S. Miller  <davem@davemloft.net>
64071         [BZ #11494]
64072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64074         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64075         * sysdeps/sparc/crti.S: New file.
64076         * sysdeps/sparc/crtn.S: New file.
64077         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64078         * sysdeps/sparc/sparc64/Makefile: Likewise.
64080 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64082         [BZ #3335]
64083         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64085 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64087         [BZ #4822]
64088         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64090         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64091         (write, read, close): Likewise.
64092         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64094 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64096         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64097         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64098         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64099         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64100         <bits/signalfd.h>.
64101         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64103         bits/signalfd.h.
64105 2012-02-14  Marek Polacek  <polacek@redhat.com>
64107         * sysdeps/x86_64/crti.S: New file.
64108         * sysdeps/x86_64/crtn.S: New file.
64109         * sysdeps/x86_64/elf/initfini.c: Remove file.
64111 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64113         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64114         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64115         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64116         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64117         <bits/inotify.h>.
64118         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64120         bits/inotify.h.
64122 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64124         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64125         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64126         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64127         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64128         <bits/eventfd.h>.
64129         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64130         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64131         bits/eventfd.h.
64133 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64135         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64136         __feraiseexcept instead of feraiseexcept.
64138         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64139         nanosleep invocations.
64140         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64141         strings, and add error checking for a nanosleep invocations.
64143 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64145         Replace FSF snail mail address with URLs, as per GNU coding standards.
64146         Most of the snail mail addresses were wrong anyway, and omitting
64147         them makes the source code easier to maintain.  Almost all of the
64148         changes are to license notices and to locale LC_IDENTIFICATION
64149         addresses, except for this one:
64150         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64151         not its snail mail address.
64153 2012-02-09  Richard Henderson  <rth@twiddle.net>
64155         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64156         of kernel-features.h.
64158         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64160 2012-02-08  Marek Polacek  <polacek@redhat.com>
64162         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64163         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64164         * sysdeps/gnu/_G_config.h: Likewise.
64165         * sysdeps/generic/_G_config.h: Likewise.
64167 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64169         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64170         tests.
64171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64173         * sysdeps/powerpc/powerpc32/crti.S: New file.
64174         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64175         * sysdeps/powerpc/powerpc64/crti.S: New file.
64176         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64178         * Makeconfig (have-initfini): Don't set.
64179         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64180         * configure.in (nopic_initfini): Don't substitute.
64181         * config.h.in (HAVE_INITFINI): Don't #undef.
64182         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64183         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64185 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64187         Support crti.S and crtn.S provided directly by architectures.
64188         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64189         [crti.S in sysdirs] (omit-deps): Likewise.
64190         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64191         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64192         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64193         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64194         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64195         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64196         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64197         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64198         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64199         compiler output for sysdeps/generic/initfini.c.
64200         * sysdeps/i386/elf/Makefile: Remove file.
64201         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64203 2012-02-07  Marek Polacek  <polacek@redhat.com>
64205         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64206         * sysdeps/gnu/_G_config.h: Likewise.
64207         * sysdeps/mach/hurd/_G_config.h: Likewise.
64209 2012-02-07  Marek Polacek  <polacek@redhat.com>
64211         * math/Makefile (tests): Add tst-CMPLX2.
64212         * math/tst-CMPLX2.c: New file.
64214 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64216         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64218         * math/libm-test.inc (jn_test): Add missing L suffix.
64220 2012-02-06  Marek Polacek  <polacek@redhat.com>
64222         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64223         * sysdeps/i386/fpu/e_powf.S: Likewise.
64224         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64225         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64226         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64227         * sysdeps/i386/fpu/e_pow.S: Likewise.
64228         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64229         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64230         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64231         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64232         * sysdeps/i386/fpu/e_log2.S: Likewise.
64233         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64234         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64235         * sysdeps/i386/fpu/e_powl.S: Likewise.
64236         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64237         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64238         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64239         * sysdeps/i386/fpu/e_logl.S: Likewise.
64240         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64241         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64242         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64243         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64244         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64245         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64246         * sysdeps/i386/fpu/e_log.S: Likewise.
64247         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64248         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64249         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64250         * sysdeps/i386/fpu/e_logf.S: Likewise.
64251         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64252         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64253         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64254         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64255         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64256         * sysdeps/i386/fpu/e_log10.S: Likewise.
64257         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64258         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64259         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64260         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64261         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64262         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64263         * sysdeps/i386/asm-syntax.h: Likewise.
64264         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64265         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64266         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64267         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64268         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64269         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64270         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64271         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64272         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64273         * sysdeps/powerpc/sysdep.h: Likewise.
64274         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64275         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64277 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64279         [BZ #411]
64280         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64282 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64284         * sysdeps/i386/sysdep.h: Include <features.h>.
64285         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64286         version.
64288 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64290         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64291         Define.
64292         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64293         LOAD_PIC_REG_STR.
64295 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64297         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64298         (SETUP_PIC_REG): Use GET_PC_THUNK.
64299         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64300         macro.
64302 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64304         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64305         for non-PIC compilation.
64306         (SETUP_PIC_REG): Add .p2align directive.
64307         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64308         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64309         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64310         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64311         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64312         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64313         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64314         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64315         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64316         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64317         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64318         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64319         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64320         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64321         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64322         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64323         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64324         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64325         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64326         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64327         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64328         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64329         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64330         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64331         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64332         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64333         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64334         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64335         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64336         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64337         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64338         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64339         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64340         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64341         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64342         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64343         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64344         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64345         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64346         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64347         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64349 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64351         * math/tst-CMPLX.c: Include <stdio.h>.
64353 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64355         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64356         float.
64357         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64358         * sysdeps/sparc/bits/mathdef.h: Likewise.
64360 2012-01-31  Marek Polacek  <polacek@redhat.com>
64362         * libio/libio.h: Don't define _PARAMS.
64363         * locale/programs/config.h: Don't define PARAMS.
64364         * stdlib/strtol_l.c: Likewise.
64365         (__strtol_l): Remove PARAMS from the prototype.
64367 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64369         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64370         names.  Just use the correct names.  Remove unnecessary wrapper
64371         functions.
64372         * malloc/arena.c: Likewise.
64373         * malloc/hooks.c: Likewise.
64375         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64376         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64377         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64379 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64381         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64382         into tail calls.
64383         (update_get_addr): New function.
64384         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64385         GET_ADDR_MODULE parameter.
64387 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64389         * crypt/cert.c: Remove __STDC__ conditionals.
64390         * crypt/crypt-entry.c: Likewise.
64391         * crypt/crypt_util.c: Likewise.
64392         * libio/filedoalloc.c: Likewise.
64393         * libio/fileops.c: Likewise.
64394         * libio/genops.c: Likewise.
64395         * libio/iofclose.c: Likewise.
64396         * libio/iofdopen.c: Likewise.
64397         * libio/iofopen.c: Likewise.
64398         * libio/iofopen64.c: Likewise.
64399         * libio/iogetdelim.c: Likewise.
64400         * libio/iopopen.c: Likewise.
64401         * libio/obprintf.c: Likewise.
64402         * libio/oldfileops.c: Likewise.
64403         * libio/oldiofclose.c: Likewise.
64404         * libio/oldiofdopen.c: Likewise.
64405         * libio/oldiofopen.c: Likewise.
64406         * libio/oldiopopen.c: Likewise.
64407         * libio/wfiledoalloc.c: Likewise.
64408         * libio/wgenops.c: Likewise.
64409         * locale/programs/xmalloc.c: Likewise.
64410         * misc/syslog.c: Likewise.
64411         * stdio-common/xbug.c: Likewise.
64412         * string/memchr.c: Likewise.
64413         * string/memcmp.c: Likewise.
64414         * string/memrchr.c: Likewise.
64415         * string/rawmemchr.c: Likewise.
64416         * sysdeps/posix/getcwd.c: Likewise.
64417         * time/strftime_l.c: Likewise.
64419 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64421         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64422         * config.make.in (config-cflags-sse2avx): Define.
64423         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64424         Fix typo.
64426 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64428         * scripts/config.guess: Update from upstream config git repository.
64429         * scripts/config.sub: Likewise.
64431 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64433         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64434         (EM_NUM): Update.
64435         (R_TILEPRO_*, R_TILEGX_*): New macros.
64437         * scripts/firstversions.awk: Fix bug in version range handling.
64439         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64441         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64443         * include/sys/epoll.h: New file.
64444         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64445         libc_hidden_def.
64447 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64449         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64450         Avoid unnecessary __WORDSIZE == 64 test.
64451         (fmaxf): Use VEX format if possible.
64452         (fmax): Likewise.
64453         (fminf): Likewise.
64454         (fmin): Likewise.
64456         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64457         * math/math_private.h: Remove libc_fegetround* and
64458         libc_fesetround*.
64459         * sysdeps/i386/configure.in: Check for -msse2avx.
64460         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64461         also if SSE2AVX is defined.
64462         Remove libc_fegetround* and libc_fesetround*.
64463         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64464         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64465         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64466         of HAS_YMM_USABLE.
64467         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64468         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64469         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64470         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64471         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64473         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64475 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64477         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64478         size is not set.
64479         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64481 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64483         [BZ #13618]
64484         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64485         relocation.
64486         * Makeconfig (libm): Define.
64487         * elf/Makefile: Add rules to build and run tst-relsort1.
64488         * elf/tst-relsort1.c: New file.
64489         * elf/tst-relsort1mod1.c: New file.
64490         * elf/tst-relsort1mod2.c: New file.
64492 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64494         * math/s_ldexp.c: Remove __STDC__ conditionals.
64495         * math/s_ldexpf.c: Likewise.
64496         * math/s_ldexpl.c: Likewise.
64497         * math/s_nextafter.c: Likewise.
64498         * math/s_nexttowardf.c: Likewise.
64499         * math/s_significand.c: Likewise.
64500         * math/s_significandf.c: Likewise.
64501         * math/s_significandl.c: Likewise.
64502         * math/w_jnl.c: Likewise.
64503         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64504         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64505         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64506         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64507         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64508         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64509         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64510         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64511         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64512         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64513         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64514         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64515         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64516         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64517         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64518         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64519         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64520         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64521         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64522         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64523         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64524         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64525         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64526         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64527         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64528         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64529         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64530         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64531         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64532         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64533         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64534         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64535         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64536         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64537         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64538         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64539         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64540         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64541         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64542         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64543         * sysdeps/ieee754/k_standard.c: Likewise.
64544         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64545         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64546         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64547         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64548         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64549         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64550         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64551         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64552         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64553         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64554         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64555         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64556         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64557         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64558         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64559         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64560         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64561         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64562         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64563         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64564         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64565         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64566         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64567         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64568         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64569         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64570         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64571         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64572         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64573         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64574         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64575         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64576         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64577         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64578         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64579         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64580         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64581         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64582         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64583         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64584         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64585         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64586         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64587         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64588         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64589         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64590         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64591         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64592         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64593         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64594         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64595         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64596         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64597         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64598         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64599         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64600         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64601         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64602         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64603         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64604         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64605         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64606         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64607         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64608         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64609         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64610         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64611         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64612         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64613         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64614         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64615         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64616         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64617         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64618         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64619         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64620         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64621         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64622         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64623         * sysdeps/ieee754/s_matherr.c: Likewise.
64624         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64625         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64626         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64627         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64629 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64631         * crypt/md5.h: Remove __STDC__ conditionals.
64632         * libio/libioP.h: Likewise.
64633         * locale/programs/config.h: Likewise.
64634         * sysdeps/generic/sysdep.h: Likewise.
64635         * sysdeps/i386/asm-syntax.h: Likewise.
64636         * sysdeps/s390/asm-syntax.h: Likewise.
64637         * sysdeps/unix/sysdep.h: Likewise.
64638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64641 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64643         * libio/libio.h: Remove __STDC__ conditionals.
64644         * malloc/obstack.h: Likewise.
64645         * math/complex.h: Likewise.
64646         * math/math.h: Likewise.
64647         * sysdeps/generic/_G_config.h: Likewise.
64648         * sysdeps/gnu/_G_config.h: Likewise.
64649         * sysdeps/mach/hurd/_G_config.h: Likewise.
64650         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64651         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64652         * sysdeps/sparc/bits/mathdef.h: Likewise.
64654 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64656         [BZ #13583]
64657         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64658         Clean up HAS_* macros.
64659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64660         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64661         possible.
64662         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64663         HAS_AVX.
64664         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64665         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64666         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64667         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64668         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64670 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64672         * elf/tst-unique3.cc (gets): Remove declaration.
64673         * elf/tst-unique3lib.cc (gets): Likewise.
64674         * elf/tst-unique3lib2.cc (gets): Likewise.
64675         * elf/tst-unique4.cc (gets): Likewise.
64677 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64679         * include/stdio.h: Add C++ protection.  Add gets declarations and
64680         definitions.
64681         * debug/tst-chk1.c: Don't declare gets here.
64682         * stdio-common/tst-gets.c: Likewise.
64684 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64686         * posix/glob: Remove directory.
64688 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64690         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64692 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64694         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64695         of the non-standard EPFNOSUPPORT.
64697 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64699         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64700         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64701         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64703 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64705         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64707 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64709         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64710         transient errors.
64711         * nscd/grpcache.c (cache_addgr): Likewise.
64712         * nscd/hstcache.c (cache_addhst): Likewise.
64713         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64714         * nscd/pwdcache.c (cache_addpw): Likewise.
64715         * nscd/servicescache.c (cache_addserv): Likewise.
64717 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64719         * malloc/malloc.c: Various cleanups.
64720         * malloc/hooks.c: Likewise.
64722         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64723         * stdlib/bug-fmtmsg1.c: New file.
64725         * stdlib/fmtmsg.c (init): Add missing unlock.
64726         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64728 2012-01-12  Marek Polacek  <polacek@redhat.com>
64730         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64731         and _GNU_SOURCE.
64733 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64735         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64736         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64737         macro to ensure uniqueness of label name.
64738         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64739         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64741 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64743         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64745         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64746         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64747         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64748         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64750 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64752         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64754         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64755         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64756         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64758         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64760         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64761         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64762         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64763         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64765         * math/bits/math-finite.h: Add ldexp support.
64767 2012-01-10  Marek Polacek  <polacek@redhat.com>
64769         * locale/programs/localedef.h (show_archive_content): Add noreturn
64770         attribute.
64772 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64774         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64776 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64778         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64780         * io/Makefile (headers): Add bits/poll2.h.
64782 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64785         typo #include statement.
64787 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64789         * include/sys/cdefs.h: Define __attribute_alloc_size.
64790         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64791         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64792         * elf/pldd.c: Likewise.
64793         * iconv/iconv_charmap.c: Likewise.
64794         * iconv/iconvconfig.c: Likewise.
64795         * iconv/strtab.c: Likewise.
64796         * locale/programs/locale.c: Likewise.
64797         * locale/programs/localedef.h: Likewise.
64798         * locale/programs/simple-hash.c: Likewise.
64799         * nscd/nscd.h: Likewise.
64800         * nss/makedb.c: Likewise.
64801         * sysdeps/generic/ldconfig.h: Likewise.
64802         * locale/programs/localedef.c: Remove xmalloc prototype.
64803         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64805 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64807         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64808         appropriate.
64810 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64812         * math/Makefile (tests): Add tst-CMPLX.
64813         * math/tst-CMPLX.c: New file.
64815         * math/complex.h (CMPLXL): Fix typo.
64817         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64818         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64819         GLIBC_2.16.
64820         * debug/tst-chk1.c: Add poll and ppoll tests.
64821         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64822         * include/sys/poll.h: Add hidden proto for ppoll.
64823         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64824         * sysdeps/mach/hurd/ppoll.c: Likewise.
64825         * io/ppoll.c: Likewise.
64826         * debug/poll_chk.c: New file.
64827         * debug/ppoll_chk.c: New file.
64828         * include/bits/poll2.h: New file.
64829         * io/bits/poll2.h: New file.
64831         [BZ #1350]
64832         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64834         * configure.in: static is always set to yes.  Remove.
64835         * config.make.in: Don't set build-static.
64836         * Makeconfig: Remove use of build-static.
64837         * dlfcn/Makefile: Likewise.
64838         * elf/Makefile: Likewise.
64839         * math/Makefile: Likewise.
64840         * misc/Makefile: Likewise.
64841         * nptl/Makefile: Likewise.
64842         * sysdeps/mach/hurd/Makefile: Likewise.
64844         * configure.in: PWD_P is not used anymore.
64845         * config.make.in: Remove PWD_P entry.
64847         * configure.in: Remove last remnants of RANLIB.
64848         No need to check for signed size_t anymore.
64849         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64850         and IA-64.
64851         Remove __builtin_expect test because we require at least gcc 3.4.
64852         * aclocal.m4: Likewise.
64854         * wcsmbs/mbrtoc16.c: Implement using towc function.
64855         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64856         * wcsmbs/wcsmbsload.c: Likewise.
64857         * iconv/gconv_simple.c: Likewise.
64858         * iconv/gconv_int.h: Likewise.
64859         * iconv/gconv_builtin.h: Likewise.
64860         * iconv/iconv_prog.c: Remove CHAR16 handling.
64862         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64864         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64866         * configure.in: Remove --with-elf and --enable-bounded options.
64867         Dont set base_machine for ia64.  More non-ELF conditions removed.
64868         Remove testing and setting of leading underscore information.
64869         * config.make.in (build-bounded): Set to no.
64870         * config.h.in: Remove NO_UNDERSCORES entry.
64871         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64872         them.
64873         * csu/start.c: Remove !NO_UNDERSCORE code.
64874         * locale/localeinfo.h: Likewise.
64875         * sysdeps/generic/machine-gmon.h: Likewise.
64876         * sysdeps/generic/sysdep.h: Likewise.
64877         * sysdeps/i386/sysdep.h: Likewise.
64878         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64879         * sysdeps/mach/sysdep.h: Likewise.
64880         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64881         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64882         * sysdeps/sh/sysdep.h: Likewise.
64883         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64884         * sysdeps/unix/i386/sysdep.S: Likewise.
64885         * sysdeps/unix/sparc/start.c: Likewise.
64886         * sysdeps/unix/sparc/sysdep.S: Likewise.
64887         * sysdeps/unix/sparc/sysdep.h: Likewise.
64888         * sysdeps/unix/start.c: Likewise.
64889         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64890         * sysdeps/x86_64/sysdep.h: Likewise.
64892 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64894         [BZ #13553]
64895         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64896         for non-gcc.
64897         * argp/argp-fmtstream.h: Use const instead __const.
64898         * argp/argp.h: Likewise.
64899         * assert/assert.h: Likewise.
64900         * bits/fenv.h: Likewise.
64901         * bits/sched.h: Likewise.
64902         * bits/sigset.h: Likewise.
64903         * bits/sigthread.h: Likewise.
64904         * catgets/nl_types.h: Likewise.
64905         * conform/data/pthread.h-data: Likewise.
64906         * crypt/crypt-private.h: Likewise.
64907         * crypt/crypt.h: Likewise.
64908         * crypt/crypt_util.c: Likewise.
64909         * ctype/ctype.h: Likewise.
64910         * debug/execinfo.h: Likewise.
64911         * debug/mbsnrtowcs_chk.c: Likewise.
64912         * debug/mbsrtowcs_chk.c: Likewise.
64913         * debug/wcsnrtombs_chk.c: Likewise.
64914         * debug/wcsrtombs_chk.c: Likewise.
64915         * debug/wcstombs_chk.c: Likewise.
64916         * dirent/dirent.h: Likewise.
64917         * dlfcn/dlfcn.h: Likewise.
64918         * elf/neededtest4.c: Likewise.
64919         * grp/grp.h: Likewise.
64920         * gshadow/gshadow.h: Likewise.
64921         * iconv/gconv.h: Likewise.
64922         * iconv/gconv_int.h: Likewise.
64923         * iconv/gconv_simple.c: Likewise.
64924         * iconv/iconv.h: Likewise.
64925         * iconv/loop.c: Likewise.
64926         * iconv/skeleton.c: Likewise.
64927         * include/aio.h: Likewise.
64928         * include/aliases.h: Likewise.
64929         * include/argz.h: Likewise.
64930         * include/arpa/inet.h: Likewise.
64931         * include/assert.h: Likewise.
64932         * include/dirent.h: Likewise.
64933         * include/dlfcn.h: Likewise.
64934         * include/execinfo.h: Likewise.
64935         * include/fcntl.h: Likewise.
64936         * include/fenv.h: Likewise.
64937         * include/glob.h: Likewise.
64938         * include/grp.h: Likewise.
64939         * include/libintl.h: Likewise.
64940         * include/mntent.h: Likewise.
64941         * include/netdb.h: Likewise.
64942         * include/pwd.h: Likewise.
64943         * include/rpc/netdb.h: Likewise.
64944         * include/sched.h: Likewise.
64945         * include/search.h: Likewise.
64946         * include/shadow.h: Likewise.
64947         * include/signal.h: Likewise.
64948         * include/stdio.h: Likewise.
64949         * include/stdlib.h: Likewise.
64950         * include/string.h: Likewise.
64951         * include/sys/socket.h: Likewise.
64952         * include/sys/stat.h: Likewise.
64953         * include/sys/statfs.h: Likewise.
64954         * include/sys/statvfs.h: Likewise.
64955         * include/sys/syslog.h: Likewise.
64956         * include/sys/time.h: Likewise.
64957         * include/sys/uio.h: Likewise.
64958         * include/time.h: Likewise.
64959         * include/unistd.h: Likewise.
64960         * include/utmp.h: Likewise.
64961         * include/wchar.h: Likewise.
64962         * include/wctype.h: Likewise.
64963         * inet/aliases.h: Likewise.
64964         * inet/arpa/inet.h: Likewise.
64965         * inet/netinet/ether.h: Likewise.
64966         * inet/netinet/in.h: Likewise.
64967         * intl/libintl.h: Likewise.
64968         * io/bits/fcntl2.h: Likewise.
64969         * io/fcntl.h: Likewise.
64970         * io/ftw.h: Likewise.
64971         * io/sys/poll.h: Likewise.
64972         * io/sys/stat.h: Likewise.
64973         * io/sys/statfs.h: Likewise.
64974         * io/sys/statvfs.h: Likewise.
64975         * io/utime.h: Likewise.
64976         * libio/bits/stdio.h: Likewise.
64977         * libio/bits/stdio2.h: Likewise.
64978         * libio/libio.h: Likewise.
64979         * libio/libioP.h: Likewise.
64980         * libio/stdio.h: Likewise.
64981         * locale/lc-ctype.c: Likewise.
64982         * locale/locale.h: Likewise.
64983         * login/utmp.h: Likewise.
64984         * malloc/arena.c: Likewise.
64985         * malloc/malloc.c: Likewise.
64986         * malloc/malloc.h: Likewise.
64987         * malloc/mcheck.c: Likewise.
64988         * malloc/mtrace.c: Likewise.
64989         * math/bits/mathcalls.h: Likewise.
64990         * math/fenv.h: Likewise.
64991         * math/math_private.h: Likewise.
64992         * misc/bits/error.h: Likewise.
64993         * misc/bits/syslog.h: Likewise.
64994         * misc/err.h: Likewise.
64995         * misc/error.h: Likewise.
64996         * misc/fstab.h: Likewise.
64997         * misc/mntent.h: Likewise.
64998         * misc/regexp.h: Likewise.
64999         * misc/search.h: Likewise.
65000         * misc/sgtty.h: Likewise.
65001         * misc/sys/mman.h: Likewise.
65002         * misc/sys/syslog.h: Likewise.
65003         * misc/sys/uio.h: Likewise.
65004         * misc/sys/xattr.h: Likewise.
65005         * misc/ttyent.h: Likewise.
65006         * nis/rpcsvc/ypclnt.h: Likewise.
65007         * nss/nss.h: Likewise.
65008         * posix/bits/unistd.h: Likewise.
65009         * posix/fnmatch.h: Likewise.
65010         * posix/glob.h: Likewise.
65011         * posix/sched.h: Likewise.
65012         * posix/spawn.h: Likewise.
65013         * posix/sys/wait.h: Likewise.
65014         * posix/unistd.h: Likewise.
65015         * posix/wordexp.h: Likewise.
65016         * pwd/pwd.h: Likewise.
65017         * resolv/netdb.h: Likewise.
65018         * resource/sys/resource.h: Likewise.
65019         * rt/aio.h: Likewise.
65020         * rt/bits/mqueue2.h: Likewise.
65021         * rt/mqueue.h: Likewise.
65022         * shadow/shadow.h: Likewise.
65023         * signal/signal.h: Likewise.
65024         * socket/send.c: Likewise.
65025         * socket/sendto.c: Likewise.
65026         * socket/sys/socket.h: Likewise.
65027         * stdio-common/printf.h: Likewise.
65028         * stdlib/bits/stdlib.h: Likewise.
65029         * stdlib/fmtmsg.h: Likewise.
65030         * stdlib/monetary.h: Likewise.
65031         * stdlib/stdlib.h: Likewise.
65032         * stdlib/ucontext.h: Likewise.
65033         * streams/stropts.h: Likewise.
65034         * string/argz.h: Likewise.
65035         * string/bits/string2.h: Likewise.
65036         * string/string.h: Likewise.
65037         * string/strings.h: Likewise.
65038         * sunrpc/rpc/auth.h: Likewise.
65039         * sunrpc/rpc/auth_des.h: Likewise.
65040         * sunrpc/rpc/clnt.h: Likewise.
65041         * sunrpc/rpc/netdb.h: Likewise.
65042         * sunrpc/rpc/pmap_clnt.h: Likewise.
65043         * sunrpc/rpc/xdr.h: Likewise.
65044         * sysdeps/generic/inttypes.h: Likewise.
65045         * sysdeps/generic/net/if.h: Likewise.
65046         * sysdeps/generic/sys/swap.h: Likewise.
65047         * sysdeps/gnu/net/if.h: Likewise.
65048         * sysdeps/gnu/utmpx.h: Likewise.
65049         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65050         * sysdeps/i386/i486/bits/string.h: Likewise.
65051         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65052         * sysdeps/s390/bits/string.h: Likewise.
65053         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65054         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65055         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65056         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65057         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65058         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65059         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65060         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65061         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65062         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65063         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65064         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65065         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65066         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65067         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65068         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65069         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65070         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65071         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65072         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65073         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65074         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65075         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65076         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65077         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65078         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65079         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65080         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65081         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65082         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65083         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65084         * sysvipc/sys/ipc.h: Likewise.
65085         * sysvipc/sys/msg.h: Likewise.
65086         * sysvipc/sys/sem.h: Likewise.
65087         * sysvipc/sys/shm.h: Likewise.
65088         * termios/termios.h: Likewise.
65089         * time/sys/time.h: Likewise.
65090         * time/time.h: Likewise.
65091         * wcsmbs/bits/wchar2.h: Likewise.
65092         * wcsmbs/uchar.h: Likewise.
65093         * wcsmbs/wchar.h: Likewise.
65094         * wctype/wctype.h: Likewise.
65096         [BZ #13551]
65097         * Makeconfig: Remove all but ELF support including AIX support.
65098         * Makerules: Likewise.
65099         * config.h.in: Likewise.
65100         * config.make.in: Likewise.
65101         * configure: Likewise.
65102         * configure.in: Likewise.
65103         * csu/Makefile: Likewise.
65104         * csu/version.c: Likewise.
65105         * debug/Makefile: Likewise.
65106         * dlfcn/Makefile: Likewise.
65107         * elf/Makefile: Likewise.
65108         * extra-lib.mk: Likewise.
65109         * iconv/Makefile: Likewise.
65110         * include/libc-symbols.h: Likewise.
65111         * include/shlib-compat.h: Likewise.
65112         * resolv/Makefile: Likewise.
65113         * resolv/res_libc.c: Likewise.
65114         * rt/Makefile: Likewise.
65115         * sysdeps/i386/asm-syntax.h: Likewise.
65116         * sysdeps/i386/sysdep.h: Likewise.
65117         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65118         * sysdeps/mach/sysdep.h: Likewise.
65119         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65120         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65121         * sysdeps/s390/asm-syntax.h: Likewise.
65122         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65123         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65124         * sysdeps/sh/sysdep.h: Likewise.
65125         * sysdeps/unix/sparc/sysdep.h: Likewise.
65126         * sysdeps/wordsize-32/divdi3.c: Likewise.
65127         * sysdeps/x86_64/sysdep.h: Likewise.
65129         * argp/Versions: Remove _argp_unlock_xxx.
65131         [BZ #13559]
65132         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65133         * abilist/libBrokenLocale.abilist: Likewise.
65134         * abilist/libanl.abilist: Likewise.
65135         * abilist/libc.abilist: Likewise.
65136         * abilist/libcrypt.abilist: Likewise.
65137         * abilist/libdl.abilist: Likewise.
65138         * abilist/libm.abilist: Likewise.
65139         * abilist/libnsl.abilist: Likewise.
65140         * abilist/libpthread.abilist: Likewise.
65141         * abilist/libresolv.abilist: Likewise.
65142         * abilist/librt.abilist: Likewise.
65143         * abilist/libthread_db.abilist: Likewise.
65144         * abilist/libutil.abilist: Likewise.
65145         * abilist/libnss_db.abilist: New file.
65147         * scripts/abilist.awk: Add support for indirect functions.
65149         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65151         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65153         * shlib-versions: Remove entries for ports architectures.
65155         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65156         files in ports.
65157         * elf/stackguard-macros.h: Remove support for IA-64.
65158         * elf/tst-auditmod1.c: Likewise.
65159         * sysdeps/generic/ldsodefs.h: Likewise.
65161         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65162         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65163         configure files.
65165         [BZ #13552]
65166         * configure.in: Remove --enable-omitfp support.
65167         * FAQ.in: Adjust.
65168         * config.make.in: Likewise.
65169         * Makeconfig: Likewise.
65170         * manual/install.texi: Likewise.
65172         In case anyone cares, the IA-64 architecture could move to ports.
65173         * sysdeps/ia64/*: Removed.
65174         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65175         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65177         [BZ #13555]
65178         * configure.in: Remove entries for unsupported architectures.
65180         [BZ #13533]
65181         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65182         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65183         routines.
65184         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65185         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65186         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65187         fall back to using wcrtomb.
65188         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65189         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65190         renaming.
65191         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65192         * wcsmbs/tst-c16c32-1.c: New file.
65194         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65195         local variable.
65197         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65199         * elf/tst-unique3.cc: Add explicit declaration of gets.
65200         * elf/tst-unique3lib.cc: Likewise.
65201         * elf/tst-unique3lib2.cc: Likewise.
65202         * elf/tst-unique4.cc: Likewise.
65204         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65206 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65208         [BZ #13566]
65209         * assert/assert.h (static_assert): Don't define for C++.
65210         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65211         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65213 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65215         * iconv/loop.c (single loop): Fix assertion in storing of
65216         remaining bytes.
65218         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65220 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65222         * posix/getconf.c: Update copyright year.
65223         * nss/getent.c: Likewise.
65224         * nss/makedb.c: Likewise.
65225         * iconv/iconvconfig.c: Likewise.
65226         * iconv/iconv_prog.c: Likewise.
65227         * elf/ldconfig.c: Likewise.
65228         * elf/pldd.c: Likewise.
65229         * elf/sotruss.ksh: Likewise.
65230         * catgets/gencat.c: Likewise.
65231         * csu/version.c: Likewise.
65232         * elf/ldd.bash.in: Likewise.
65233         * elf/sprof.c (print_version): Likewise.
65234         * locale/programs/locale.c: Likewise.
65235         * locale/programs/localedef.c: Likewise.
65236         * login/programs/pt_chown.c: Likewise.
65237         * nscd/nscd.c (print_version): Likewise.
65238         * debug/xtrace.sh: Likewise.
65239         * malloc/memusage.sh: Likewise.
65240         * malloc/mtrace.pl: Likewise.
65241         * debug/catchsegv.sh: Likewise.
65243 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65245         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65246         pure attribute.
65248 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65250         [BZ #13533]
65251         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65252         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65253         transformations.
65254         * iconv/gconv_int.h: Likewise.
65255         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65256         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65257         from libc for GLIBC_2.16.
65258         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65259         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65260         * wcsmbs/uchar.h: Really define mbstate_t.
65261         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65262         * wcsmbs/c16rtomb.c: New file.
65263         * wcsmbs/mbrtoc16.c: New file.
65264         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65265         for C/POSIX locale.
65266         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65267         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65269         * wcsmbs/wchar.h: Add missing __restrict.
65271 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65273         [BZ #13532]
65274         * time/Makefile (routines): Add timespec_get.
65275         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65276         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65277         timespec for ISO C11.
65278         * time/timespec_get.c: New file.
65279         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65280         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65282         [BZ #13531]
65283         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65284         * stdlib/stdlib.h: Declare aligned_alloc.
65285         * Versions.def: Add GLIBC_2.16 for libc.
65286         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65288         [BZ 13527]
65289         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65290         ISO C11.
65292         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65293         code.
65295         [BZ #13528]
65296         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65298         [BZ #13529]
65299         * assert/assert.h (static_assert): Define.
65301         * version.h: Update for 2.16 development version.
65303         [BZ #13526]
65304         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65305         _ISOC11_SOURCE.
65307         * version.h (RELEASE): Bump for 2.15 release.
65308         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65310         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65311         Patch by Marek Polacek <mpolacek@redhat.com>.
65313         * bits/byteswap.h: Protect long long constants with __extension__.
65314         * sysdeps/i386/bits/byteswap.h: Likewise.
65315         * sysdeps/ia64/bits/byteswap.h: Likewise.
65316         * sysdeps/s390/bits/byteswap.h: Likewise.
65317         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65319 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65321         [BZ #13540]
65322         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65323         destination buffer.
65324         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65326 2011-12-23  Marek Polacek  <polacek@redhat.com>
65328         * elf/dl-addr.c (determine_info): Add inline keyword.
65329         * elf/tst-auditmod4b.c (check_avx): Likewise.
65330         * elf/tst-auditmod6b.c (check_avx): Likewise.
65331         * elf/tst-auditmod6c.c (check_avx): Likewise.
65332         * elf/tst-auditmod7b.c (check_avx): Likewise.
65334 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65336         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65337         !__SSE_MATH__.
65339 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65341         [BZ #13540]
65342         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65343         processing for last bytes.
65345 2011-08-06  Bruno Haible  <bruno@clisp.org>
65347         [BZ #13061]
65348         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65349         U+0385, not to U+1FEE.
65351         [BZ #13062]
65352         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65353         entry for U+00A5 U+0301.
65355 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65357         [BZ #13166]
65358         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65359         buffer for the output is too small.
65361         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65362         optimization.
65364         [BZ #13185]
65365         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65366         SSE flags if possible.
65368 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65370         [BZ #13540]
65371         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65372         processing for last bytes.
65374 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65376         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65377         (syscall-list-default-options, syscall-list-default-condition)
65378         (syscall-list-includes): Define.
65379         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65380         list of ABIs and options and #if conditions for each ABI.  Do not
65381         handle common syscalls between ABIs specially.
65382         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65383         Remove.
65384         (syscall-list-variants, syscall-list-32bit-options)
65385         (syscall-list-32bit-condition, syscall-list-64bit-options)
65386         (syscall-list-64bit-condition): Define.
65387         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65388         (syscall-list-variants, syscall-list-32bit-options)
65389         (syscall-list-32bit-condition, syscall-list-64bit-options)
65390         (syscall-list-64bit-condition): Define.
65391         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65392         Remove.
65393         (syscall-list-variants, syscall-list-32bit-options)
65394         (syscall-list-32bit-condition, syscall-list-64bit-options)
65395         (syscall-list-64bit-condition): Define.
65396         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65397         Remove.
65398         (syscall-list-variants, syscall-list-32bit-options)
65399         (syscall-list-32bit-condition, syscall-list-64bit-options)
65400         (syscall-list-64bit-condition): Define.
65402 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65404         * locale/iso-639.def: Add brx entry.
65406         [BZ #13328]
65407         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65408         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65410         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65411         __feraiseexcept_renamed.
65413 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65415         [BZ #13538]
65416         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65417         EPOLLET with unsigned values.
65418         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65419         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65421         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65422         to large cancellation.
65423         * math/s_cacoshf.c: Likewise.
65424         * math/s_cacoshl.c: Likewise.
65426 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65428         [BZ #13305]
65429         [BZ #12786]
65430         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65431         * math/s_cacoshf.c: Likewise.
65432         * math/s_cacoshl.c: Likewise.
65434 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65436         [BZ #13439]
65437         * iconv/gconv.h: Define __GCONV_SWAP.
65438         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65439         * iconvdata/utf-16.c: Likewise.
65440         * iconvdata/utf-32.c: Likewise.
65442 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65444         [BZ #13524]
65445         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65446         numerator after shifting it by one limb.
65448 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65450         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65451         under [__USE_EXTERN_INLINES].
65453 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65455         [BZ #13446]
65456         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65458 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65460         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65461         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65462         optimized code.
65463         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65464         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65465         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65466         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65467         for strncasecmp/strncasecmp_l compilation.
65468         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65469         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65471 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65473         [BZ #13484]
65474         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65475         of __asm__.
65477 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65479         [BZ #13506]
65480         * time/tzfile.c (__tzfile_read): Check values from file header.
65482 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65484         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65485         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65486         * powerpc/powerpc32/dl-start.S: Likewise.
65487         * powerpc/powerpc32/elf/start.S: Likewise.
65488         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65489         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65490         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65491         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65492         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65493         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65494         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65495         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65496         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65497         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65498         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65499         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65500         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65501         * powerpc/powerpc32/memset.S: Likewise.
65502         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65503         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65504         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65505         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65506         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65507         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65508         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65509         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65510         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65511         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65512         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65513         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65514         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65516 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65518         * math/libm-test.inc: Added more nearbyint tests.
65519         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65520         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65521         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65522         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65524 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65526         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65527         FD_CLOEXEC.
65529 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65531         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65532         Add wcscpy-ssse3 wcscpy-c.
65533         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65534         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65535         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65536         * sysdeps/x86_64/wcschr.S: New file.
65537         * sysdeps/x86_64/wcsrchr.S: New file.
65538         * string/test-strcmp.c: Remove checking of wcscmp function for
65539         wrong alignments.
65540         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65541         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65542         wcsrchr-sse2 wcsrchr-c.
65543         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65544         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65545         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65546         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65547         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65548         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65549         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65550         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65551         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65552         * wcsmbc/wcschr.c (WCSCHR): New macro.
65554 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65556         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65557         * wcsmbs/test-wcsrchr.c: New file.
65558         * string/test-strrchr.c: Add wcsrchr support.
65559         (WIDE): New macro.
65560         * wcsmbs/test-wcscpy.c: New file.
65561         * string/test-strcpy.c: Add wcscpy support.
65562         (WIDE): New macro.
65564 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65566         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65567         the inner loop.
65569 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65571         [BZ #13472]
65572         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65574 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65576         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65577         Minor optimizations.
65579         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65580         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65581         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65583 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65585         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65586         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65587         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65588         for gcc to avoid warnings.
65589         * inet/Makefile (tests): Add tst-checks.
65590         * inet/tst-checks.c: New file.
65592         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65593         warning.
65595         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65596         __wmemcmp_sse2.
65598         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65599         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65601         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65603 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65605         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65606         problem.
65608         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65610 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65612         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65613         conditional on GCC version.
65614         (__arch_compare_and_exchange_val_8_acq)
65615         (__arch_compare_and_exchange_val_16_acq)
65616         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65617         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65618         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65620 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65622         * sysdeps/sh/backtrace.c: New file.
65624 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65626         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65627         parenthesis.
65629 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65631         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65632         falling back to utime.
65634 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65636         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65637         expectations for float.
65639 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65641         * locale/weight.h (findidx): Add parameter len.
65642         * locale/weightwc.h (findidx): Likewise.
65643         * posix/fnmatch_loop.c (FCT): Adjust caller.
65644         * posix/regcomp.c (build_equiv_class): Likewise.
65645         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65646         * posix/regexec.c (check_node_accept_bytes): Likewise.
65647         * string/strcoll_l.c (STRCOLL): Likewise.
65648         * string/strxfrm_l.c (STRXFRM): Likewise.
65650 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65652         * Makefile.in: Remove CVSOPT handling.
65653         * configure.in: Remove use of AC_REVISION.
65654         * iconvdata/Makefile (distribute): No need to filter out CVS.
65655         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65656         handling.
65658 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65660         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65661         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65662         [USE_AS_STRNCASECMP_L]: Likewise.
65663         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65664         NO_TLS_DIRECT_SEG_REFS.
65665         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65666         Fix argument offsets for non-PIC.
65667         [USE_AS_STRNCASECMP_L]: Likewise.
65668         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65669         NO_TLS_DIRECT_SEG_REFS.
65671 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65673         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65674         O_CLOEXEC.
65675         * locale/loadlocale.c (_nl_load_locale): Likewise.
65677 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65679         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65680         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65681         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65682         (SYSCALL_GETTIME): Set errno on error.
65684         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65685         count references to noai6ai_cached.
65687 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65689         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65691         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65692         FD_CLOEXEC for /proc/self/maps.
65694         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65695         FD_CLOEXEC for /proc/meminfo.
65697         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65698         gai.conf.
65700         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65701         FD_CLOEXEC for given file.
65703         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65705         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65706         FD_CLOEXEC for /etc/hosts.
65707         (_gethtent): Likewise.
65709         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65711         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65712         cancellation and set FD_CLOEXEC for /etc/netgroup.
65714         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65715         reading /etc/publickey.
65717         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65718         allow cancellation when reading /etc/group.
65720         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65721         cancellation.
65722         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65724         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65725         when using data file.
65727         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65729         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65730         (write_nis_obj): Use "c" and "e" in fopen.
65732         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65734         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65736         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65738         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65740         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65741         locale.alias.
65743         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65745         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65747         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65749         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65750         file parsing and set FD_CLOEXEC.
65752 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65754         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65756 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65758         * malloc/arena.c (arena_get2): Don't call reused_arena when
65759         _int_new_arena failed.
65761 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65763         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65764         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65765         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65766         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65767         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65768         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65769         to compile strcasecmp and strncasecmp.
65770         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65771         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65773         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65775 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65777         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65778         locale-defines.sym to gen-as-const-headers.
65779         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65780         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65781         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65782         to compile strcasecmp and strncasecmp.
65783         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65784         strcasecmp_l and strncasecmp_l.
65785         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65786         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65787         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65788         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65789         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65790         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65791         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65792         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65793         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65794         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65795         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65797 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65799         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65800         result of SYSDEP_GETTIME_CPU to retval.
65801         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65802         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65804         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65805         variable.
65807         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65808         mantissa words.
65809         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65811         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65812         from unused variable.
65814         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65815         DWARF definitions.
65816         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65817         for assembling.
65819         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65820         over namespaces.
65822         * sunrpc/rpc_prot.c (rejected): Fix case value.
65824         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65825         unsigned long long int to avoid warnings in shift.
65827         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65828         of use of trans.
65829         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65830         variable tmp.
65832         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65833         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65834         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65836         * nis/nis_table.c (nis_list): Use variable of correct type for
65837         result of __follow_path call.
65839 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65841         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65842         of math functions ceil, trunc, floor, round, and sqrt, when
65843         avaliable on the platform.
65844         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65845         name clash.
65846         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65847         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65848         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65850 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65852         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65853         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65855 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65857         * include/unistd.h: Fix __readlink return type.
65858         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65860 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65862         * stdlib/ucontext.h: Undo last change for makecontext.
65864 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65866         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65868         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65869         * setjmp/setjmp.h: Mark functions as non-leaf.
65870         * setjmp/bits/setjmp2.h: Likewise.
65871         * stdlib/ucontext.h: Likewise.
65873 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65875         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65876         (reused_arena): Don't check arena limit.
65877         (arena_get2): Atomically check arena limit.
65879 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65881         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65882         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65884         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65885         instructions.
65887 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65889         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65890         handler when locking.
65892         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65893         Fix size of allocated buffer.
65895 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65897         [BZ #10103]
65898         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65899         declarations for long double functions.
65900         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65902         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65904 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65906         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65907         installed.
65909         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65910         is disabled.
65912 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65914         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65916 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65918         * include/alloca.h (stackinfo_alloca_round): Define.
65919         (extend_alloca): Use it.
65920         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65921         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65922         here.
65924         * scripts/check-local-headers.sh: Ignore libaudit.h.
65926         * nscd/Makefile (extra-objs): Make recursively expanded.
65928 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65930         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65931         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65933         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65934         * posix/tst-rfc3484-2.c: Likewise.
65935         * posix/tst-rfc3484-3.c: Likewise.
65937         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65938         process_vm_writev.
65939         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65940         process_vm_writev.
65941         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65942         process_vm_writev from libc using GLIBC_2.15 version.
65944         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65946 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65948         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65949         stack usage.
65951 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65953         [BZ #13367]
65954         * nss/getent.c (initgroups_keys): Show error message in case no group
65955         names are given.
65957         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65958         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65959         __bump_nl_timestamp.
65960         * nscd/connections (nscd_init): When host database is served open
65961         netlink socket and request notification about configuration changes.
65962         (main_loop_poll): Track netlink file descriptor and bump timestamp
65963         in case data becomes available.
65964         (main_loop_epoll): Likewise.
65965         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65966         (database_pers_head): Add extra_data fileds.
65967         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65968         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65969         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65970         Adjust caller.
65971         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65972         in6ai data, call __free_in6ai.
65973         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65974         Add -DHAVE_NETLINK.
65975         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65976         interface information.  Reuse previous data if netlink timestamp
65977         is not changed.
65978         (__bump_nl_timestamp): New function.
65979         (__free_in6ai): New function.
65981 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65983         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65984         close_not_cancel_no_status here.
65985         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65987 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65989         [BZ #13276]
65990         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65991         return value.
65993         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65994         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65995         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65997 2011-07-03  Andreas Jaeger  <aj@suse.de>
65999         [BZ #10709]
66000         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66001         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66002         * math/libm-test.inc (sin_test): Add test case.
66004 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66006         [BZ #13337]
66007         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66008         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66010         * elf/chroot_canon.c (chroot_canon): Cleanups.
66012         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66014         [BZ #13335]
66015         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66016         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66018         * string/test-strchr.c: Make usable for strchrnul testing.
66019         * string/test-strchrnul.c: New file.
66020         * string/Makefile (strop-tests): Add strchrnul.
66022         * po/it.po: Update from translation team.
66023         * po/es.po: Likewise.
66025 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66027         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66028         the three constants needed as parameters.  Drop the others.
66029         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66030         __m128i_strloadu_tolower.
66031         Create and initialize variable zero and use it in all the places
66032         where _mm_setzero_si128 was used.
66034         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66035         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66036         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66037         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66038         anymore.
66039         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66040         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66041         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66042         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66043         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66044         __mpranred, __mptan.
66045         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66046         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66047         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66048         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66049         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66050         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66051         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66052         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66053         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66055 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66057         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66058         redefine if SHARED.
66059         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66061         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66062         wide char related routines to wcsmbs subdir.
66064 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66066         [BZ #13344]
66067         * misc/sys/cdefs.h (__THROWNL): Define.
66068         * posix/unistd.h: Use __THREADNL instead of __THREAD
66069         for memory synchronization functions.
66071 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66073         [BZ #13349]
66074         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66075         doesn't exist.
66076         * manual/stdio.texi (Obstack Streams): Node removed.
66078 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66080         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66081         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66082         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66084         * math/math_private.h (math_force_eval): Allow non-addressable
66085         arguments.
66086         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66088 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66090         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66091         file is not needed.
66093         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66094         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66095         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66096         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66097         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66098         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66099         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66100         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66101         Add AVX variants.
66102         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66103         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66104         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66105         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66106         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66107         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66108         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66109         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66110         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66111         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66112         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66113         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66114         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66115         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66116         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66117         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66118         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66119         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66120         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66122         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66123         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66125         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66126         place.  Use VEX encoding when compiling for AVX.
66128 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66130         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66131         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66133         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66135 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66137         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66138         useless if() expression.
66139         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66140         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66141         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66142         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66143         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66144         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66145         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66146         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66147         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66148         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66149         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66150         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66151         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66152         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66153         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66154         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66155         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66156         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66157         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66159         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66161 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66163         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66164         condition.
66165         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66167 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66169         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66170         .text section.  Avoid duplicate constants.
66171         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66172         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66173         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66174         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66175         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66176         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66177         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66178         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66179         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66180         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66181         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66182         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66183         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66184         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66185         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66186         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66187         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66188         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66189         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66190         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66191         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66192         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66193         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66194         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66195         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66196         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66197         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66198         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66199         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66200         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66201         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66202         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66203         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66204         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66205         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66206         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66207         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66208         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66209         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66210         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66211         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66212         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66213         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66214         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66215         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66217 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66219         * sysdeps/x86_64/dla.h: Move to ...
66220         * sysdeps/x86_64/fpu/dla.h: ...here.
66221         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66222         situations.  Use __builtin_fma only for gcc 4.6 and up.
66224         * config.make.in: Add have-mfma4 entry.
66225         * configure.in: Substitute libc_cv_cc_fma4.
66226         * math/Makefile (dbl-only-routines): Add sincostab.
66227         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66228         Use __sincostab not sincos.
66229         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66230         name is a macro.
66231         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66232         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66233         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66235         using __copysign.
66236         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66237         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66238         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66239         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66240         and __inv.
66241         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66242         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66243         __copysign.
66244         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66245         define aliases when function name is a macro.
66246         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66247         sysdeps/ieee754/dbl-64/sincos.tbl.
66248         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66249         fma4-enabled routines.
66250         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66251         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66252         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66253         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66254         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66255         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66256         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66257         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66258         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66259         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66260         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66261         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66262         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66263         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66264         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66265         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66266         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66267         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66268         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66269         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66270         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66271         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66272         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66273         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66274         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66275         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66276         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66277         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66278         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66279         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66281         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66282         rename.
66283         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66284         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66285         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66286         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66287         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66288         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66289         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66290         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66292 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66294         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66296 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66298         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66300         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66301         prediction.
66302         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66304         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66305         Remove unused variable magic_bits.
66306         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66308         * string/strnlen.c: Define and use STRNLEN macro.
66309         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66310         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66311         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66312         * wcsmbs/wcslen.c: Define and use WCSLEN.
66313         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66314         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66315         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66316         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66317         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66318         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66319         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66321 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66324         strnlen-sse2-no-bsf.
66325         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66326         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66327         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66328         Add strnlen support.
66329         (USE_AS_STRNLEN): New macro.
66330         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66331         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66332         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66333         * sysdeps/x86_64/wcslen.S: New file.
66335 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66337         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66338         XMM-moves are used for copying on small sizes.
66340 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66342         * wcsmbs/Makefile (strop-tests): Add wcschr.
66343         * wcsmbs/test-wcschr.c: New file.
66344         * string/test-strchr.c: Update.
66345         Add wcschr support.
66346         (WIDE): New macro.
66348 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66350         * wcsmbs/Makefile (strop-tests): Add wcslen.
66351         * wcsmbs/test-wcslen.c: New file.
66352         * string/test-strlen.c: Update.
66353         Add wcslen support.
66354         (WIDE): New macro.
66356 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66358         * po/it.po: Update from translation team.
66360 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66362         * sysdeps/x86_64/wcscmp.S: Update.
66363         Fix wrong comparison semantics.
66364         wcscmp shall use signed comparison not unsigned.
66365         Don't use substraction to avoid overflow bug.
66366         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66367         * wcsmbc/wcscmp.c: Likewise.
66368         * string/test-strcmp.c: Likewise.
66369         Add new tests to check cases with negative values.
66371 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66373         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66374         * sysdeps/x86_64/dla.h: ...here.  New file.
66375         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66376         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66377         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66378         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66379         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66380         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66381         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66382         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66383         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66385 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
66387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66388         __ynl_finite aliases.
66390 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66394         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66395         define DLA_FMA.
66396         [DLA_FMA] (EMULV): Use DLA_FMA.
66397         [DLA_FMA] (MUL12): Use EMULV.
66398         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66399         that are not needed.
66400         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66401         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66402         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66404         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66405         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66406         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66408 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66410         * math/s_nan.c: Undef __nan.
66411         * math/s_nanf.c: Undef __nanf.
66412         * math/s_nanl.c: Undef __nanl.
66413         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66414         "math_private.h".
66416 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66418         * math/s_catan.c: Add branch predictions.
66419         * math/s_catanf.c: Likewise.
66420         * math/s_catanh.c: Likewise.
66421         * math/s_catanhf.c: Likewise.
66422         * math/s_catanhl.c: Likewise.
66423         * math/s_catanl.c: Likewise.
66424         * math/s_cexp.c: Likewise.
66425         * math/s_cexpf.c: Likewise.
66426         * math/s_cexpl.c: Likewise.
66427         * math/s_clog.c: Likewise.
66428         * math/s_clog10.c: Likewise.
66429         * math/s_clog10f.c: Likewise.
66430         * math/s_clog10l.c: Likewise.
66431         * math/s_clogf.c: Likewise.
66432         * math/s_clogl.c: Likewise.
66433         * math/s_csqrt.c: Likewise.
66434         * math/s_csqrtf.c: Likewise.
66435         * math/s_csqrtl.c: Likewise.
66436         * math/s_ctanf.c: Likewise.
66437         * math/s_ctanh.c: Likewise.
66438         * math/s_ctanhf.c: Likewise.
66439         * math/s_ctanhl.c: Likewise.
66440         * math/s_ctanl.c: Likewise.
66442         * math/math_private.h: Define __nan, __nanf, __nanl.
66443         * math/s_cacosh.c: Include <math_private.h>.
66444         * math/s_cacoshl.c: Likewise.
66445         * math/s_casinh.c: Likewise.
66446         * math/s_casinhf.c: Likewise.
66447         * math/s_casinhl.c: Likewise.
66448         * math/s_ccos.c: Rely entire on ccosh.
66449         * math/s_ccosf.c: Rely entire on ccoshf.
66450         * math/s_ccosl.c: Rely entirely on ccoshl.
66451         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66452         Remove tests for FE_INVALID.
66453         * math/s_ccoshf.c: Likewise.
66454         * math/s_ccoshl.c: Likewise.
66455         * math/s_csin.c: Likewise.
66456         * math/s_csinf.c: Likewise.
66457         * math/s_csinh.c Likewise.
66458         * math/s_csinhf.c: Likewise.
66459         * math/s_csinhl.c: Likewise.
66460         * math/s_csinl.c: Likewise.
66461         * math/s_ctan.c: Likewise.
66462         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66463         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66464         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66466 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66469         compilation problems.
66471         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66472         __builtin_expect.
66474 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66476         * sysdeps/i386/configure.in: Test for -mfma4 option.
66477         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66478         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66479         COMMON_CPUID_INDEX_80000001.
66480         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66481         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66482         use it if FMA3 is not supported.
66483         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66485         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66486         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66488 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66490         [BZ #12892]
66491         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66492         it would create a cycle with a link time dependency.
66494 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66496         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66497         instruction.
66498         * string/Makefile (strop-tests): Add rawmemchr.
66499         * string/test-rawmemchr.c: New file.
66501         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66502         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66503         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66504         when compiling str{,n}casecmp and when AVX is available.  Hook up
66505         new optimized code in initializers.
66507 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66509         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66510         __feraiseexcept instead of feraiseexcept.
66512 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66514         * math/math_private.h: Define defaults for libc_fetestexcept and
66515         libc_feupdateenv.
66516         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66517         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66518         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66519         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66520         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66521         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66522         libc_fetestexcept and libc_feupdateenv.
66524         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66525         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66526         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66527         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66528         libc_feholdexcept_setround.
66530         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66531         Add s_nearbyint-c and s_nearbyintf-c.
66532         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66533         nearbyintf inlines.
66534         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66535         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66536         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66537         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66539         * math/math_private.h: Define defaults for libc_fegetround,
66540         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66541         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66542         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66543         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66544         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66545         standard functions.
66546         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66547         Remove comments and hacks for old compiler versions.
66548         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66549         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66550         libc_feholdexceptl.
66552 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66554         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66555         (__feraiseexcept_renamed): Add __NTH.
66556         (feraiseexcept): Add __NTH.  Rename local variables to fix
66557         namespace violations.
66559 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66561         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66563         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66565         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66566         recently added interfaces.
66567         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66569         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66570         about macro parameter expansion.
66572         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66573         __NO_MATH_INLINES is defined.  Cleanups.
66575         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66576         and __floorf is target has SSE4.1.
66577         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66578         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66579         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66580         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66582         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66583         name.
66584         (floorf): Likewise.
66586         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66588 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66590         * misc/sys/cdefs.h: Fix last change.
66592         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66593         database lookup.
66595 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66597         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66599         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66600         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66601         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66602         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66603         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66604         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66605         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66606         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66607         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66608         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66609         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66610         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66611         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66612         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66613         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66614         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66615         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66616         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66617         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66618         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66619         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66620         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66622         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66623         ceil, ceilf, floor, floorf.
66625         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66626         Perform IRELATIVE relocations last.
66628         * elf/do-rel.h: Add another parameter nrelative, replacing the
66629         local variable with the same name.  Change name of the function
66630         to end in Rel or Rela (uppercase).
66631         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66632         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66633         elf_dynamic_do_##reloc function.
66635 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66637         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66638         is sufficient, at least on modern CPUs.
66640         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66642         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66643         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66645         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66646         __expl_finite.
66647         * math/bits/math-finite.h: Add entries for exp.
66648         * math/e_expl.c: Add __*_finite alias.
66649         * sysdeps/i386/fpu/e_exp.S: Likewise.
66650         * sysdeps/i386/fpu/e_expf.S: Likewise.
66651         * sysdeps/i386/fpu/e_expl.c: Likewise.
66652         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66653         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66654         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66655         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66656         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66657         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66658         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66660         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66661         is sufficient, at least on modern CPUs.
66663         * ctype/ctype-info.c (__ctype_init): Define.
66664         * include/ctype.h (__ctype_init): Declare.
66665         (__ctype_b_loc): The variable is always initialized.
66666         (__ctype_toupper_loc): Likewise.
66667         (__ctype_tolower_loc): Likewise.
66668         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66669         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66671 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66673         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66675         * configure.in: Also look in $cxxmachine/include for C++ system
66676         headers.
66678 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66680         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66681         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66682         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66683         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66684         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66685         (USE_AS_WMEMCMP): New macro.
66686         Fixing indents.
66687         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66688         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66689         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66690         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66691         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66692         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66693         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66694         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66695         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66696         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66697         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66698         (USE_AS_WMEMCMP): New macro.
66699         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66700         * sysdeps/string/test-memcmp.c: Update.
66701         Fix simple_wmemcmp.
66702         Add new tests.
66703         * wcsmbs/wmemcmp.c: Update.
66704         (WMEMCMP): New macro.
66705         Fix overflow bug.
66707 2011-10-12  Andreas Jaeger  <aj@suse.de>
66709         [BZ #13268]
66710         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66712 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66714         * libio/iofwide.c (do_length): Avoid warning.
66716         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66718 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66720         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66722         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66723         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66724         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66725         * sysdeps/i386/i686/fpu/e_log.S: New file.
66726         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66727         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66729         * ctype/ctype.h: Add support for inlined isXXX functions when
66730         compiling C++ code.
66732 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66734         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66736         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66738 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66740         [BZ #13291]
66741         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66743 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66745         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66746         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66747         feraiseexcept.
66749         * sysdeps/x86_64/memrchr.S: Check for zero size.
66751         * string/stratcliff.c: Add memrchr tests.
66753 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66756         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66757         rawmemchr-sse2 rawmemchr-sse2-bsf.
66758         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66759         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66760         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66761         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66762         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66763         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66764         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66765         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66766         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66767         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66768         * string/memrchr.c (MEMRCHR): New macro.
66770 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66772         Add integration with gcc's -ffinite-math-only and optimize wrapper
66773         functions in libm.
66774         * Versions.def: Define GLIBC_2.15 version for libm.
66775         * math/Makefile (headers): Add bits/math-finite.h.
66776         * math/bits/math-finite.h: New file.
66777         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66778         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66779         * math/e_acoshl.c: Add __*_finite alias.
66780         * math/e_acosl.c: Likewise.
66781         * math/e_asinl.c: Likewise.
66782         * math/e_atan2l.c: Likewise.
66783         * math/e_atanhl.c: Likewise.
66784         * math/e_coshl.c: Likewise.
66785         * math/e_exp10.c: Likewise.
66786         * math/e_exp10f.c: Likewise.
66787         * math/e_exp10l.c: Likewise.
66788         * math/e_exp2l.c: Likewise.
66789         * math/e_fmodl.c: Likewise.
66790         * math/e_gammal_r.c: Likewise.
66791         * math/e_hypotl.c: Likewise.
66792         * math/e_j0l.c: Likewise.
66793         * math/e_j1l.c: Likewise.
66794         * math/e_jnl.c: Likewise.
66795         * math/e_lgammal_r.c: Likewise.
66796         * math/e_log10l.c: Likewise.
66797         * math/e_log2l.c: Likewise.
66798         * math/e_logl.c: Likewise.
66799         * math/e_powl.c: Likewise.
66800         * math/e_sinhl.c: Likewise.
66801         * math/e_sqrtl.c: Likewise.
66802         * math/e_scalb.c: Completely rewritten and optimized.
66803         * math/e_scalbf.c: Likewise.
66804         * math/e_scalbl.c: Likewise.
66805         * math/w_acos.c: Likewise.
66806         * math/w_acosf.c: Likewise.
66807         * math/w_acosl.c: Likewise.
66808         * math/w_acosh.c: Likewise.
66809         * math/w_acoshf.c: Likewise.
66810         * math/w_acoshl.c: Likewise.
66811         * math/w_asin.c: Likewise.
66812         * math/w_asinf.c: Likewise.
66813         * math/w_asinl.c: Likewise.
66814         * math/w_atan2.c: Likewise.
66815         * math/w_atan2f.c: Likewise.
66816         * math/w_atan2l.c: Likewise.
66817         * math/w_atanh.c: Likewise.
66818         * math/w_atanhf.c: Likewise.
66819         * math/w_atanhl.c: Likewise.
66820         * math/w_exp10.c: Likewise.
66821         * math/w_exp10f.c: Likewise.
66822         * math/w_exp10l.c: Likewise.
66823         * math/w_fmod.c: Likewise.
66824         * math/w_fmodf.c: Likewise.
66825         * math/w_fmodl.c: Likewise.
66826         * math/w_j0.c: Likewise.
66827         * math/w_j0f.c: Likewise.
66828         * math/w_j0l.c: Likewise.
66829         * math/w_j1.c: Likewise.
66830         * math/w_j1f.c: Likewise.
66831         * math/w_j1l.c: Likewise.
66832         * math/w_jn.c: Likewise.
66833         * math/w_jnf.c: Likewise.
66834         * math/w_log.c: Likewise.
66835         * math/w_logf.c: Likewise.
66836         * math/w_logl.c: Likewise.
66837         * math/w_log10.c: Likewise.
66838         * math/w_log10f.c: Likewise.
66839         * math/w_log10l.c: Likewise.
66840         * math/w_log2.c: Likewise.
66841         * math/w_log2f.c: Likewise.
66842         * math/w_log2l.c: Likewise.
66843         * math/w_pow.c: Likewise.
66844         * math/w_powf.c: Likewise.
66845         * math/w_powl.c: Likewise.
66846         * math/w_remainder.c: Likewise.
66847         * math/w_remainderf.c: Likewise.
66848         * math/w_remainderl.c: Likewise.
66849         * math/w_scalb.c: Likewise.
66850         * math/w_scalbf.c: Likewise.
66851         * math/w_scalbl.c: Likewise.
66852         * math/w_sqrt.c: Likewise.
66853         * math/w_sqrtf.c: Likewise.
66854         * math/w_sqrtl.c: Likewise.
66855         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66856         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66857         used.
66858         * math/math_private.h: Declare __kernel_standard_f.
66859         * math/w_cosh.c: Remove cruft and optimize a bit.
66860         * math/w_coshf.c: Likewise.
66861         * math/w_coshl.c: Likewise.
66862         * math/w_exp2.c: Likewise.
66863         * math/w_exp2f.c: Likewise.
66864         * math/w_exp2l.c: Likewise.
66865         * math/w_hypot.c: Likewise.
66866         * math/w_hypotf.c: Likewise.
66867         * math/w_hypotl.c: Likewise.
66868         * math/w_lgamma.c: Likewise.
66869         * math/w_lgamma_r.c: Likewise.
66870         * math/w_lgammaf.c: Likewise.
66871         * math/w_lgammaf_r.c: Likewise.
66872         * math/w_lgammal.c: Likewise.
66873         * math/w_lgammal_r.c: Likewise.
66874         * math/w_sinh.c: Likewise.
66875         * math/w_sinhf.c: Likewise.
66876         * math/w_sinhl.c: Likewise.
66877         * math/w_tgamma.c: Likewise.
66878         * math/w_tgammaf.c: Likewise.
66879         * math/w_tgammal.c: Likewise.
66880         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66881         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66882         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66883         Minor optimizations.  Pretty printing.  Remove cruft.
66884         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66885         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66886         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66887         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66888         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66889         * sysdeps/i386/fpu/e_asin.S: Likewise.
66890         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66891         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66892         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66893         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66894         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66895         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66896         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66897         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66898         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66899         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66900         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66901         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66902         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66903         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66904         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66905         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66906         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66907         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66908         * sysdeps/i386/fpu/e_log.S: Likewise.
66909         * sysdeps/i386/fpu/e_log10.S: Likewise.
66910         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66911         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66912         * sysdeps/i386/fpu/e_log2.S: Likewise.
66913         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66914         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66915         * sysdeps/i386/fpu/e_logf.S: Likewise.
66916         * sysdeps/i386/fpu/e_logl.S: Likewise.
66917         * sysdeps/i386/fpu/e_pow.S: Likewise.
66918         * sysdeps/i386/fpu/e_powf.S: Likewise.
66919         * sysdeps/i386/fpu/e_powl.S: Likewise.
66920         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66921         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66922         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66923         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66924         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66925         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66926         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66927         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66928         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66929         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66930         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66931         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66932         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66933         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66934         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66935         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66936         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66937         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66938         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66939         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66940         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66941         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66942         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66943         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66944         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66945         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66946         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66947         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66948         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66949         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66950         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66951         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66952         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66953         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66954         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66955         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66956         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66957         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66958         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66959         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66960         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66961         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66962         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66963         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66964         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66965         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66966         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66967         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66968         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66969         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66970         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66971         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66972         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66973         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66974         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66975         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66976         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66977         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66978         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66979         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66980         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66981         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66982         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66983         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66984         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66985         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66986         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66987         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66988         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66989         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66990         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66991         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66992         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66993         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66994         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66995         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66996         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66997         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66998         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66999         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67000         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67001         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67002         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67003         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67004         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67005         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67006         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67007         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67008         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67009         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67010         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67011         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67012         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67013         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67014         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67015         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67016         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67017         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67018         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67019         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67020         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67021         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67022         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67023         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67024         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67025         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67026         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67027         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67028         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67029         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67030         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67031         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67032         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67033         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67034         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67035         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67036         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67037         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67038         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67039         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67040         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67041         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67042         (__isnanf): Likewise.
67043         (__isinf_ns): Likewise.
67044         (__isinf_nsf): Likewise.
67045         (__finite): Likewise.
67046         (__finitef): Likewise.
67047         (__ieee754_sqrt): Define as macro.
67048         (__ieee754_sqrtf): Define as macro.
67049         (__ieee754_sqrtl): Define as macro.
67050         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67051         inlined copy.
67052         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67053         __FINITE_MATH_ONLY__ consistent.
67054         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67056 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67058         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67059         of rawmemchr.
67061         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67063 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67065         * po/ja.po: Update from translation team.
67067 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67069         * locale/programs/locarchive.c (prepare_address_space): New function.
67070         (create_archive, enlarge_archive, open_archive): Use it.
67072         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67073         inside [SHARED], where it is used.
67075         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67077         * nss/getent.c (netgroup_keys): Remove unused variable.
67078         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67080 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67082         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67083         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67084         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67085         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67086         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67087         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67088         * math/Makefile (libm-calls): Add s_isinf_ns.
67089         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67090         * math/multc3.c: Likewise.
67091         * math/s_casin.c: Likewise.
67092         * math/s_casinf.c: Likewise.
67093         * math/s_casinl.c: Likewise.
67094         * math/s_ccos.c: Likewise.
67095         * math/s_ccosf.c: Likewise.
67096         * math/s_ccosl.c: Likewise.
67097         * math/s_ctan.c: Likewise.
67098         * math/s_ctanf.c: Likewise.
67099         * math/s_ctanh.c: Likewise.
67100         * math/s_ctanhf.c: Likewise.
67101         * math/s_ctanhl.c: Likewise.
67102         * math/s_ctanl.c: Likewise.
67103         * math/w_fmod.c: Likewise.
67104         * math/w_fmodf.c: Likewise.
67105         * math/w_fmodl.c: Likewise.
67106         * math/w_remainder.c: Likewise.
67107         * math/w_remainderf.c: Likewise.
67108         * math/w_remainderl.c: Likewise.
67109         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67110         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67111         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67112         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67113         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67114         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67115         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67116         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67118         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67119         of the number.
67120         * stdio-common/printf_fphex.c: Likewise.
67121         * stdio-common/printf_size.c: Likewise.
67123         * math/e_exp10.c: Include math_private.h using <...> not "...".
67124         * math/e_exp10f.c: Likewise.
67125         * math/e_exp10l.c: Likewise.
67126         * math/e_exp2l.c: Likewise.
67127         * math/e_j0l.c: Likewise.
67128         * math/e_j1l.c: Likewise.
67129         * math/e_jnl.c: Likewise.
67130         * math/e_lgammal_r.c: Likewise.
67131         * math/e_rem_pio2l.c: Likewise.
67132         * math/e_scalb.c: Likewise.
67133         * math/e_scalbf.c: Likewise.
67134         * math/e_scalbl.c: Likewise.
67135         * math/k_cosl.c: Likewise.
67136         * math/k_sinl.c: Likewise.
67137         * math/k_tanl.c: Likewise.
67138         * math/s_cacoshf.c: Likewise.
67139         * math/s_catan.c: Likewise.
67140         * math/s_catanf.c: Likewise.
67141         * math/s_catanh.c: Likewise.
67142         * math/s_catanhf.c: Likewise.
67143         * math/s_catanhl.c: Likewise.
67144         * math/s_catanl.c: Likewise.
67145         * math/s_ccosh.c: Likewise.
67146         * math/s_ccoshf.c: Likewise.
67147         * math/s_ccoshl.c: Likewise.
67148         * math/s_cexp.c: Likewise.
67149         * math/s_cexpf.c: Likewise.
67150         * math/s_cexpl.c: Likewise.
67151         * math/s_clog.c: Likewise.
67152         * math/s_clog10.c: Likewise.
67153         * math/s_clog10f.c: Likewise.
67154         * math/s_clog10l.c: Likewise.
67155         * math/s_clogf.c: Likewise.
67156         * math/s_clogl.c: Likewise.
67157         * math/s_csin.c: Likewise.
67158         * math/s_csinf.c: Likewise.
67159         * math/s_csinh.c: Likewise.
67160         * math/s_csinhf.c: Likewise.
67161         * math/s_csinhl.c: Likewise.
67162         * math/s_csinl.c: Likewise.
67163         * math/s_csqrt.c: Likewise.
67164         * math/s_csqrtf.c: Likewise.
67165         * math/s_csqrtl.c: Likewise.
67166         * math/s_ctan.c: Likewise.
67167         * math/s_ctanf.c: Likewise.
67168         * math/s_ctanh.c: Likewise.
67169         * math/s_ctanhf.c: Likewise.
67170         * math/s_ctanhl.c: Likewise.
67171         * math/s_ctanl.c: Likewise.
67172         * math/s_ldexp.c: Likewise.
67173         * math/s_ldexpf.c: Likewise.
67174         * math/s_ldexpl.c: Likewise.
67175         * math/s_significand.c: Likewise.
67176         * math/s_significandf.c: Likewise.
67177         * math/s_significandl.c: Likewise.
67178         * math/w_acos.c: Likewise.
67179         * math/w_acosf.c: Likewise.
67180         * math/w_acosh.c: Likewise.
67181         * math/w_acoshf.c: Likewise.
67182         * math/w_acoshl.c: Likewise.
67183         * math/w_acosl.c: Likewise.
67184         * math/w_asin.c: Likewise.
67185         * math/w_asinf.c: Likewise.
67186         * math/w_asinl.c: Likewise.
67187         * math/w_atan2.c: Likewise.
67188         * math/w_atan2f.c: Likewise.
67189         * math/w_atan2l.c: Likewise.
67190         * math/w_atanh.c: Likewise.
67191         * math/w_atanhf.c: Likewise.
67192         * math/w_atanhl.c: Likewise.
67193         * math/w_cosh.c: Likewise.
67194         * math/w_coshf.c: Likewise.
67195         * math/w_coshl.c: Likewise.
67196         * math/w_dremf.c: Likewise.
67197         * math/w_exp10.c: Likewise.
67198         * math/w_exp10f.c: Likewise.
67199         * math/w_exp10l.c: Likewise.
67200         * math/w_exp2.c: Likewise.
67201         * math/w_exp2f.c: Likewise.
67202         * math/w_fmod.c: Likewise.
67203         * math/w_fmodf.c: Likewise.
67204         * math/w_fmodl.c: Likewise.
67205         * math/w_hypot.c: Likewise.
67206         * math/w_hypotf.c: Likewise.
67207         * math/w_hypotl.c: Likewise.
67208         * math/w_j0.c: Likewise.
67209         * math/w_j0f.c: Likewise.
67210         * math/w_j0l.c: Likewise.
67211         * math/w_j1.c: Likewise.
67212         * math/w_j1f.c: Likewise.
67213         * math/w_j1l.c: Likewise.
67214         * math/w_jn.c: Likewise.
67215         * math/w_jnf.c: Likewise.
67216         * math/w_jnl.c: Likewise.
67217         * math/w_lgamma.c: Likewise.
67218         * math/w_lgamma_r.c: Likewise.
67219         * math/w_lgammaf.c: Likewise.
67220         * math/w_lgammaf_r.c: Likewise.
67221         * math/w_lgammal.c: Likewise.
67222         * math/w_lgammal_r.c: Likewise.
67223         * math/w_log.c: Likewise.
67224         * math/w_log10.c: Likewise.
67225         * math/w_log10f.c: Likewise.
67226         * math/w_log10l.c: Likewise.
67227         * math/w_log2.c: Likewise.
67228         * math/w_log2f.c: Likewise.
67229         * math/w_log2l.c: Likewise.
67230         * math/w_logf.c: Likewise.
67231         * math/w_logl.c: Likewise.
67232         * math/w_pow.c: Likewise.
67233         * math/w_powf.c: Likewise.
67234         * math/w_powl.c: Likewise.
67235         * math/w_remainder.c: Likewise.
67236         * math/w_remainderf.c: Likewise.
67237         * math/w_remainderl.c: Likewise.
67238         * math/w_scalb.c: Likewise.
67239         * math/w_scalbf.c: Likewise.
67240         * math/w_scalbl.c: Likewise.
67241         * math/w_sinh.c: Likewise.
67242         * math/w_sinhf.c: Likewise.
67243         * math/w_sinhl.c: Likewise.
67244         * math/w_sqrt.c: Likewise.
67245         * math/w_sqrtf.c: Likewise.
67246         * math/w_sqrtl.c: Likewise.
67247         * math/w_tgamma.c: Likewise.
67248         * math/w_tgammaf.c: Likewise.
67249         * math/w_tgammal.c: Likewise.
67251         * po/ja.po: Update from translation team.
67253 2011-09-29  Andreas Jaeger  <aj@suse.de>
67255         [BZ #13179]
67256         * sunrpc/netname.c (netname2host): Fix logic.
67258         [BZ #6779]
67259         [BZ #6783]
67260         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67261         correctly.
67262         * math/w_remainder.c (__remainder): Likewise.
67263         * math/w_remainderf.c (__remainderf): Likewise.
67264         * math/libm-test.inc (remainder_test): Add test cases.
67266 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67268         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67269         sdiv_qrnnd.
67271 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67273         * string/test-memcmp.c: Avoid unncessary #defines.
67274         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67276 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67278         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67279         Use new sse2 version for core i3 - i7 as it's faster
67280         than sse42 version.
67281         (bit_Prefer_PMINUB_for_stringop): New.
67282         * sysdeps/x86_64/rawmemchr.S: Update.
67283         Replace with faster SSE2 version.
67284         * sysdeps/x86_64/memrchr.S: New file.
67285         * sysdeps/x86_64/memchr.S: Update.
67286         Replace with faster SSE2 version.
67288 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67290         * elf/dl-load.c (lose): Add cast to avoid warning.
67292 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67294         * po/ca.po: Update from translation team.
67296         * inet/getnetgrent_r.c: Hook up nscd.
67297         * nscd/Makefile (routines): Add nscd_netgroup.
67298         (nscd-modules): Add netgroupcache.
67299         (CFLAGS-netgroupcache.c): Define.
67300         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67301         (cache_search): Add const to second parameter.
67302         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67303         INNETGR.
67304         (dbs): Add netgrdb entry.
67305         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67306         (verify_persistent_db): Handle netgrdb.
67307         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67308         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67309         GETFDNETGR.
67310         (netgroup_response_header): Define.
67311         (innetgroup_response_header): Define.
67312         (datahead): Add netgroup_response_header and innetgroup_response_header
67313         elements.
67314         * nscd/nscd.conf: Add entries for netgroup cache.
67315         * nscd/nscd.h (dbtype): Add netgrdb.
67316         (_PATH_NSCD_NETGROUP_DB): Define.
67317         (netgroup_iov_disabled): Declare.
67318         (xmalloc, xcalloc, xrealloc): Move declarations here.
67319         (cache_search): Adjust prototype.
67320         Add netgroup-related prototypes.
67321         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67322         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67323         (__nscd_innetgr): Declare.
67324         * nscd/selinux.c (perms): Use access_vector_t as element type and
67325         add netgroup-related initializers.
67326         * nscd/netgroupcache.c: New file.
67327         * nscd/nscd_netgroup.c: New file.
67328         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67329         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67330         For four parameters use innetgr.
67331         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67332         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67333         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67334         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67336         * nscd/connections.c (register_traced_file): Don't register file
67337         for disabled databases.
67339 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67341         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67343         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67344         from tree and freeing node.
67346 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67348         * nss/nsswitch.c (__nss_database_lookup): Handle
67349         nss_parse_service_list out of memory case.
67351 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67353         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67354         out of memory case.
67356 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67358         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67359         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67360         pass it down.
67361         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67362         elf_machine_rela, elf_machine_lazy_rel.
67363         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67364         (ELF_DYNAMIC_DO_REL): Likewise.
67365         (ELF_DYNAMIC_DO_RELA): Likewise.
67366         (ELF_DYNAMIC_RELOCATE): Likewise.
67367         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67368         to ELF_DYNAMIC_DO_REL.
67369         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67370         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67371         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67372         elf_machine_rela.
67373         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67374         skip_ifunc, don't call ifunc function if non-zero.
67375         (elf_machine_rela): Likewise.
67376         (elf_machine_lazy_rel): Likewise.
67377         (elf_machine_lazy_rela): Likewise.
67378         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67379         (elf_machine_lazy_rel): Likewise.
67380         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67381         Likewise.
67382         (elf_machine_lazy_rel): Likewise.
67383         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67384         Likewise.
67385         (elf_machine_lazy_rel): Likewise.
67386         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67387         (elf_machine_lazy_rel): Likewise.
67388         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67389         (elf_machine_lazy_rel): Likewise.
67390         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67391         (elf_machine_lazy_rel): Likewise.
67392         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67393         (elf_machine_lazy_rel): Likewise.
67394         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67395         (elf_machine_lazy_rel): Likewise.
67396         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67397         (elf_machine_lazy_rel): Likewise.
67399 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67401         * nss/nss_files/files-init.c (_nss_files_init): Use static
67402         initialization for all the *_traced_file variables.
67404 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67406         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67408 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67410         [BZ #13226]
67411         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67413 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67415         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67416         Reread the line before reparsing it.
67418 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67420         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67422 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67423             Maxim Kuvyrkov  <maxim@codesourcery.com>
67424             Joseph Myers  <joseph@codesourcery.com>
67426         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67427         if needed for __stack_chk_guard.
67429 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67431         * sysdeps/posix/spawni.c (script_execute): Always define it.
67432         It will be optimized away if unused.
67433         (maybe_script_execute): New function.
67434         (__spawni): Call it.
67436         * Makerules: Don't include tls.make.
67437         (config-tls): Always set to thread.
67438         * tls.make.c: File removed.
67440 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67442         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67443         * config.make.in (CPPFLAGS-config): New substituted variable.
67445 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67447         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67449         [BZ #13192]
67450         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67451         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67453 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67455         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67456         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67457         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67458         (CALL_FAIL): Likewise.
67459         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67460         (CALL_FAIL): Macro removed.
67461         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67463 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67465         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67466         for __FINITE_MATH_ONLY__ == 1.
67468 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67470         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67471         __ieee754_sqrt instead of sqrt.
67472         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67473         __ieee754_sqrtf instead of sqrtf.
67474         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67475         __floorf instead of floorf.
67476         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67477         __floorf, __truncf instead of floorf, truncf.
67479 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67481         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67483         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67484         __extern_always_inline.
67485         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67486         32-bit.
67488 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67490         * elf/rtld.c (dl_main): Also relocate in dependency order when
67491         doing symbol dependency testing.
67493 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67495         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67496         Always define `refsym'.
67498 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67500         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67501         (__FD_ELT): Renamed from __FDELT.
67502         * misc/bits/select2.h (__FD_ELT): Likewise.
67503         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67504         __FD_MASK instead of __FDELT, __FDMASK.
67505         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67506         Likewise.
67507         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67508         Likewise.
67510         * elf/Makefile (gen-ldd): Fix pattern.
67512         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67513         (init_tls): Likewise.
67515 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67517         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67519 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67521         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67522         `struct cmsghdr *' instead of `void *'.
67523         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67524         Likewise.
67526 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67528         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67529         if non-absolute.
67530         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67531         ldd_rewrite_script.
67533 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67535         * configure.in: Remove --with-tls option.
67536         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67537         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67538         out in case it is missing.
67539         * sysdeps/ia64/elf/configure.in: Likewise.
67540         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67541         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67542         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67543         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67544         * sysdeps/sh/elf/configure.in: Likewise.
67545         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67546         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67547         * sysdeps/x86_64/elf/configure.in: Likewise.
67548         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67549         * sysdeps/mach/hurd/tls.h: Likewise.
67551         [BZ #13067]
67552         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67554         [BZ #13090]
67555         * configure.in: Fix use of AC_INIT.
67557         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67559 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67561         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67562         __set_errno.
67563         * malloc/hooks.c: Likewise.
67565         [BZ #11929]
67566         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67567         variables statically.
67568         (narenas): Initialize.
67569         (list_lock): Initialize.
67570         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67571         initializtion of main_arena and list_lock.  Small cleanups.
67572         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67573         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67574         Add initializers to main_arena and mp_.
67575         (malloc_state): Remove pagesize member.  Change all users to use
67576         GLRO(dl_pagesize).
67578         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67579         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67580         is always initialized.
67582         * malloc/malloc.c: Removed unused configurations and dead code.
67583         * malloc/arena.c: Likewise.
67584         * malloc/hooks.c: Likewise.
67585         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67587         * include/tls.h: Removed.  USE___THREAD must always be defined.
67588         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67589         * elf/dl-libc.c: Likewise.
67590         * elf/dl-tsd.c: Likewise.
67591         * include/errno.h: Likewise.
67592         * include/netdb.h: Likewise.
67593         * include/resolv.h: Likewise.
67594         * inet/herrno-loc.c: Likewise.
67595         * inet/herrno.c: Likewise.
67596         * malloc/arena.c: Likewise.
67597         * malloc/hooks.c: Likewise.
67598         * malloc/malloc.c: Likewise.
67599         * resolv/res-state.c: Likewise.
67600         * resolv/res_libc.c: Likewise.
67601         * sysdeps/i386/dl-machine.h: Likewise.
67602         * sysdeps/ia64/dl-machine.h: Likewise.
67603         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67604         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67605         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67606         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67607         * sysdeps/sh/dl-machine.h: Likewise.
67608         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67609         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67610         * sysdeps/unix/i386/sysdep.S: Likewise.
67611         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67612         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67613         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67614         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67615         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67616         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67617         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67619         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67621         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67622         * sysdeps/x86_64/dl-machine.h: Likewise.
67623         * tls.make.c: Likewise.
67625         * configure.in: Remove --with-__thread option.  Make tests for
67626         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67627         tls_model attribute fail if no support is available.  Remove
67628         USE_IN_LIBIO.
67629         * Makeconfig: Adjust for dropped configure option.  All features are
67630         now mandatory.
67631         * Makerules: Likewise.
67632         * Versions.def: Likewise.
67633         * argp/argp-fmtstream.c: Likewise.
67634         * argp/argp-fmtstream.h: Likewise.
67635         * argp/argp-help.c: Likewise.
67636         * assert/assert.c: Likewise.
67637         * config.h.in: Likewise.
67638         * config.make.in: Likewise.
67639         * configure: Likewise.
67640         * configure.in: Likewise.
67641         * csu/Versions: Likewise.
67642         * csu/init.c: Likewise.
67643         * elf/tst-audit2.c: Likewise.
67644         * elf/tst-tls10.c: Likewise.
67645         * elf/tst-tls10.h: Likewise.
67646         * elf/tst-tls11.c: Likewise.
67647         * elf/tst-tls12.c: Likewise.
67648         * elf/tst-tls14.c: Likewise.
67649         * elf/tst-tlsmod11.c: Likewise.
67650         * elf/tst-tlsmod12.c: Likewise.
67651         * elf/tst-tlsmod13.c: Likewise.
67652         * elf/tst-tlsmod13a.c: Likewise.
67653         * elf/tst-tlsmod14a.c: Likewise.
67654         * elf/tst-tlsmod15b.c: Likewise.
67655         * elf/tst-tlsmod16a.c: Likewise.
67656         * elf/tst-tlsmod16b.c: Likewise.
67657         * elf/tst-tlsmod7.c: Likewise.
67658         * elf/tst-tlsmod8.c: Likewise.
67659         * elf/tst-tlsmod9.c: Likewise.
67660         * gmon/gmon.c: Likewise.
67661         * grp/fgetgrent_r.c: Likewise.
67662         * grp/putgrent.c: Likewise.
67663         * hurd/fopenport.c: Likewise.
67664         * include/libc-symbols.h: Likewise.
67665         * include/tls.h: Likewise.
67666         * intl/gettextP.h: Likewise.
67667         * intl/loadinfo.h: Likewise.
67668         * locale/global-locale.c: Likewise.
67669         * locale/localeinfo.h: Likewise.
67670         * mach/devstream.c: Likewise.
67671         * malloc/arena.c: Likewise.
67672         * malloc/set-freeres.c: Likewise.
67673         * misc/err.c: Likewise.
67674         * misc/getttyent.c: Likewise.
67675         * misc/mntent_r.c: Likewise.
67676         * posix/getopt.c: Likewise.
67677         * posix/wordexp.c: Likewise.
67678         * pwd/fgetpwent_r.c: Likewise.
67679         * resolv/Versions: Likewise.
67680         * resolv/res_hconf.c: Likewise.
67681         * shadow/fgetspent_r.c: Likewise.
67682         * shadow/putspent.c: Likewise.
67683         * stdio-common/printf_fphex.c: Likewise.
67684         * stdio-common/tmpfile.c: Likewise.
67685         * stdlib/abort.c: Likewise.
67686         * stdlib/fmtmsg.c: Likewise.
67687         * sunrpc/auth_unix.c: Likewise.
67688         * sunrpc/clnt_perr.c: Likewise.
67689         * sunrpc/clnt_tcp.c: Likewise.
67690         * sunrpc/clnt_udp.c: Likewise.
67691         * sunrpc/clnt_unix.c: Likewise.
67692         * sunrpc/openchild.c: Likewise.
67693         * sunrpc/svc_simple.c: Likewise.
67694         * sunrpc/svc_tcp.c: Likewise.
67695         * sunrpc/svc_udp.c: Likewise.
67696         * sunrpc/svc_unix.c: Likewise.
67697         * sunrpc/xdr.c: Likewise.
67698         * sunrpc/xdr_array.c: Likewise.
67699         * sunrpc/xdr_rec.c: Likewise.
67700         * sunrpc/xdr_ref.c: Likewise.
67701         * sunrpc/xdr_stdio.c: Likewise.
67703 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67705         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67707 2011-07-03  Andreas Jaeger  <aj@suse.de>
67709         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67710         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67711         regenerate with gen-libm-tests.pl.
67713 2010-05-12  Petr Baudis  <pasky@suse.cz>
67715         [BZ #11589]
67716         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67717         around j0() zero points by switching to j1().
67718         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67719         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67720         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67721         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67723 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67725         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67726         instead of 0.
67727         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67728         instead of 0.
67729         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67730         Patch in part by Pavel Roskin <proski@gnu.org>.
67732         [BZ #13138]
67733         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67734         realloc.
67735         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67736         Free memory block if necessary.
67738         [BZ #12847]
67739         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67740         be NULL.  Don't lock in this case.
67742 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67744         * elf/elf.h (ELFOSABI_GNU): New macro.
67745         (ELFOSABI_LINUX): Define to that.
67747 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67749         * string/strncat.c (strncat): Undef the symbol in case it has been
67750         defined in bits/string.h.
67752 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67754         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67756         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67757         link map.
67759 2011-08-17  Andreas Jaeger  <aj@suse.de>
67761         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67763 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67764             Ian Lance Taylor  <iant@google.com>
67766         * math/libm-test.inc (lround_test): New testcase.
67767         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67769 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67771         * Makefile: Remove support for automatic cvs check-ins.
67772         * Makerules: Likewise.
67773         * config.make.in: Likewise.
67774         * configure.in: Likewise.
67775         * intl/Makefile: Likewise.
67776         * locale/Makefile: Likewise.
67777         * po/Makefile: Likewise.
67778         * posix/Makefile: Likewise.
67779         * sysdeps/gnu/Makefile: Likewise.
67780         * sysdeps/mach/hurd/Makefile: Likewise.
67781         * sysdeps/sparc/sparc32/Makefile: Likewise.
67783         [BZ #13118]
67784         * posix/Makefile (bug-regex32-ENV): Define.
67785         Patch by John Stanley <jpsinthemix@verizon.net>.
67787         * misc/Makefile (headers): Add bits/select2.h.
67788         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67789         * misc/bits/select2.h: New file.
67790         * include/bits/select2.h: New file.
67791         * debug/Makefile (routines): Add fdelt_chk.
67792         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67793         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67794         FD_ISSET.
67795         * debug/fdelt_chk.c: New file.
67797         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67798         * wcsmbs/test-wmemcmp.c: Likewise.
67799         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67800         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67802 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67804         * string/Makefile (strop-tests): Add memcmp.
67805         * string/test-wmemcmp.c: New file.
67806         * string/test-memcmp.c: Add wmemcmp support.
67808 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67810         [BZ #13153]
67811         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67812         2011-07-19 change.
67814         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67815         garbage value in a __mach_port_mod_refs call in the cases of the
67816         task-self and thread-self ports.
67818 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67820         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67822 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67824         * elf/dl-load.c (lose): Check for non-null L.
67826 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67828         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67830         * elf/dl-libc.c (dlerror_run): Pass back error code from
67831         dl_catch_error.
67833         [BZ #13123]
67834         * elf/dl-load.c (lose): Free l_origin if it is valid.
67836         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67837         names.
67838         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67839         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67840         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67841         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67842         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67843         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67845 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67847         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67848         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67849         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67850         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67851         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67852         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67853         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67854         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67855         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67856         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67858 2011-08-15  Alan Modra  <amodra@gmail.com>
67860         [BZ #13092]
67861         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67862         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67863         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67864         ppc_mcount to static-only-routines.
67865         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67866         __mcount_internal.
67867         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67868         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67870 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67872         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67873         for finite and infinity parameters.
67875 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67877         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67878         and add nop instructions for throughput optimization.
67879         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67881 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67883         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67884         aligned copy for power7 with vector-scalar instructions.
67885         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67887 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67890         AVX check.
67892 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67894         [BZ #13144]
67895         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67896         last change.
67898 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67900         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67901         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67902         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67903         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67904         clock_gettime.
67906 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67908         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67909         Forgot to demangle the pointer.
67911         * sysdeps/i386/sysdep.h: Define atom_text_section.
67912         * sysdeps/x86_64/sysdep.h: Likewise.
67913         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67914         section with atom_text_section.
67915         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67916         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67917         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67918         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67919         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67921         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67922         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67923         already be defined.  Change to take two parameters and don't assign
67924         result to variable.  Adjust all users.
67925         Define INTERNAL_GETTIME if not already defined.
67926         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67927         call.
67928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67929         HAVE_CLOCK_GETTIME_VSYSCALL.
67930         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67932         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67933         gettimeofday vsyscall, just use time.
67935 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67937         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67938         <errno.h>.
67940 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67942         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67943         syscall on x86-64.
67944         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67945         syscall.
67946         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67947         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67948         syscall if possible.
67950 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67952         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67953         e_ident.  Don't pass to find_mapsXX.
67954         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67956 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67959         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67960         * sysdeps/x86_64/multiarch/strchr.S: Update.
67961         Check bit_slow_BSF bit.
67962         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67963         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67964         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67966 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67968         [BZ #13134]
67969         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67970         before glibc 2.15.
67971         (tryshell): Define.
67972         (__spawni): Change last parameter to be flag.  Test
67973         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67974         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67975         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67976         * posix/spawni.c: Likewise.
67977         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67978         * posix/spawnp.c: Likewise.  Change normal version to use
67979         SPAWN_XFLAGS_USE_PATH.
67980         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67981         SPAWN_XFLAGS_TRY_SHELL.
67983         [BZ #13150]
67984         * posix/glob.h: Remove gcc 1.x support.
67986         [BZ #13068]
67987         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67989 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67991         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67992         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67993         strrchr-sse2-bsf
67994         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67995         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67996         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67997         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67998         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67999         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68001 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68003         * sysdeps/x86_64/wcscmp.S: New file.
68005         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68006         wcscmp-c wcscmp-sse2
68007         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68008         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68009         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68010         * wcsmbs/wcscmp.c: Allow renaming.
68012 2011-09-05  David S. Miller  <davem@davemloft.net>
68014         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68015         stack slot, rather than the struct return pointer slot.
68016         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68017         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68019         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68021 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68023         * po/ja.po: Update from translation team.
68025         [BZ #13144]
68026         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68027         kernel in 64-bit binaries.
68029 2011-09-01  David S. Miller  <davem@davemloft.net>
68031         * elf/elf.h (HWCAP_SPARC_*): Move to..
68032         * sysdeps/sparc/sysdep.h: this new file and add new values.
68033         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68034         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68035         _DL_HWCAP_COUNT to 24.
68036         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68037         entries.
68038         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68039         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68040         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68041         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68042         instead of magic constants.
68043         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68045 2011-08-31  David S. Miller  <davem@davemloft.net>
68047         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68048         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68049         Reimplement to do errno handling inline.
68050         (SYSCALL_ERROR_HANDLER): New macro.
68051         (__SYSCALL_STRING): Do not do errno handling in asm.
68052         (__CLONE_SYSCALL_STRING): Delete.
68053         (__INTERNAL_SYSCALL_STRING): Delete.
68054         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68055         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68056         (PSEUDO): Reimplement to do errno handling inline.
68057         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68058         (SYSCALL_ERROR_HANDLER): New macro.
68059         (__SYSCALL_STRING): Do not do errno handling in asm.
68060         (__CLONE_SYSCALL_STRING): Delete.
68061         (__INTERNAL_SYSCALL_STRING): Delete.
68062         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68063         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68064         i386.
68065         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68066         (inline_syscall*): Add 'err' argument.
68067         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68068         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68069         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68070         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68072         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68073         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68075 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68077         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68079 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68081         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68082         directive.
68084 2011-08-24  David S. Miller  <davem@davemloft.net>
68086         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68088 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68090         * elf/Makefile: Add rules to build and run unload8 test.
68091         * elf/unload8.c: New file.
68092         * elf/unload8mod1.c: New file.
68093         * elf/unload8mod1x.c: New file.
68094         * elf/unload8mod2.c: New file.
68095         * elf/unload8mod3.c: New file.
68097         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68098         it wasn't used.
68100 2011-08-23  David S. Miller  <davem@davemloft.net>
68102         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68103         subtract stack bias.
68104         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68105         %sp not %fp in calculations.
68106         (_JMPBUF_UNWINDS_ADJ): Likewise.
68108         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68109         (aio_suspend): Call it to force an exception region around the
68110         AIO_MISC_WAIT() invocation.
68112 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68114         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68115         backslash.
68117 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68119         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68120         protection macro.
68121         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68122         and <dl-machine.h>.
68123         (Elf64_FuncDesc): Remove.
68125 2011-08-22  David S. Miller  <davem@davemloft.net>
68127         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68128         sigaltstack check, add missing cfi directives.
68129         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68130         missing cfi directives, and sigaltstack handling.
68132 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68134         [BZ #11724]
68135         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68136         object is seen twice.
68137         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68139         * elf/Makefile (distribute): Add tst-initorder2.c.
68140         (tests): Add tst-initorder2.
68141         (modules-names): Add tst-initorder2a tst-initorder2b
68142         tst-initorder2c tst-initorder2d.  Add rules to build them.
68143         ($(objpfx)tst-initorder2.out): New rule.
68144         * elf/tst-initorder2.c: New file.
68145         * elf/tst-initorder2.exp: New file.
68147 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68149         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68151         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68152         dependencies back to end of function.
68154         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68155         $(elfobjdir)/ld.so.
68157 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68159         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68160         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68161         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68162         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68163         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68164         of __vdso_gettimeofday.
68165         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68166         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68167         attribute_hidden.
68168         (_libc_vdso_platform_setup): Remove initialization of
68169         __vdso_gettimeofday and __vdso_time.
68171 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68173         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68174         and fgetc_unlocked.
68175         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68176         getc_unlocked.
68178         * elf/dl-open.c (add_to_global): Report additions to the global scope
68179         for LD_DEBUG=scopes.
68180         (dl_open_worker): Also print scope of newly loaded dependencies.
68181         (_dl_show_scope): Indicate if there is no scope.
68183         [BZ #13114]
68184         * stdio-common/Makefile (tests): Add bug24.
68185         * stdio-common/bug24.c: New file.
68187 2011-08-19  Andreas Jaeger  <aj@suse.de>
68189         [BZ #13114]
68190         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68191         non-existant file when using close-on-exec mode.
68193 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68195         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68196         the very first instruction.
68198         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68199         the CFI state in the end.
68200         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68201         inclusion of dl-trampoline.h.
68202         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68204 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68206         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68207         expectations for long double.
68209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68210         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68212 2011-08-14  David S. Miller  <davem@davemloft.net>
68214         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68215         artificual limit depends upon the system page size.
68217 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68219         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68220         * resolv/Makefile: Define CFLAGS-libresolv.
68222 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68224         * nss/makedb.c (compute_tables): Make variables used in nested
68225         function static.
68227 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68229         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68230         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68231         if buffer was too small.
68233         * elf/pldd.c (main): Attach to all threads in the process.
68234         Rewrite /proc handling to use *at functions.
68236 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68238         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68239         specifies first scope to show.
68240         (dl_open_worker): Update callers.  Move printing scope of new
68241         object to before the relocation.
68242         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68243         * sysdeps/generic/ldsodefs.h: Update declaration.
68245         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68246         string for the scope number.
68248 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68250         * nscd/servicescache.c (cache_addserv): Make sure written is always
68251         initialized.
68253 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68255         * sysdeps/i386/i486/bits/atomic.h
68256         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68257         statement expression, so as to suppress "set but not used" warning.
68258         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68260         * string/strncat.c (STRNCAT): Use prototype definition.
68262         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68263         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68264         -Iprograms here.
68265         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68266         (localedef-modules): Add localedef.
68267         (locale-modules): Add locale.
68269         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68270         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68271         to avoid a warning.
68273 2011-08-14  David S. Miller  <davem@davemloft.net>
68275         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68276         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68278 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68280         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68281         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68282         * elf/rtld.c (dl_main): Set l_name of vDSO.
68283         Call _dl_show_scope when DL_DEBUG_SCOPES.
68284         (process_dl_debug): Recognize scopes flag and also set it for all.
68285         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68286         Declare _dl_show_scope.
68288         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68289         (do_dlopen): Pass caller_dlopen to dl_open.
68290         (__libc_dlopen_mode): Initialize caller_dlopen.
68292         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68293         of libc.  Make tolower call locale-independent.  Optimize a bit by
68294         using isdigit instead of isalnum.
68295         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68297 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68299         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68300         was a dependency or dynamically loaded.
68302 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68304         * intl/l10nflist.c: Allow architecture-specific pop function.
68305         * sysdeps/x86_64/l10nflist.c: New file.
68307         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68308         classification.
68310 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68312         * include/dirent.h: Add libc_hidden_proto for scandirat and
68313         scandirat64.  Don't declare __scandirat64.
68314         * dirent/scandirat.c: Add libc_hidden_def.
68315         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68316         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68318 2011-08-10  David S. Miller  <davem@davemloft.net>
68320         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68321         enum.
68322         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68323         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68324         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68326 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68328         * Versions.def [libc]: Add GLIBC_2.15.
68329         * dirent/Makefile (routines): Add scandirat and scandirat64.
68330         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68331         GLIBC_2.15.
68332         * dirent/dirent.h: Declare scandirat and scandirat64.
68333         * dirent/scandirat.c: New file.
68334         * dirent/scandirat64.c: New file.
68335         * sysdeps/wordsize-64/scandirat.c: New file.
68336         * sysdeps/wordsize-64/scandirat64.c: New file.
68337         * dirent/opendir.c: Define opendirat.
68338         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68339         using scandirat.
68340         * dirent/scandir64.c: Adjust for scandir.c change.
68341         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68342         __scandirat64, and __scandir_cancel_handler.
68343         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68344         additional parameter and use openat instead of open (outside of ld.so).
68345         Add new __opendir as wrapper around __opendirat.
68346         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68347         here without requiring old scandirat implementation.
68349 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68351         * dirent/scandir.c (cancel_handler): Renamed to
68352         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68353         defined.  Adjust users.
68354         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68355         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68357 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68359         * string/test-string.h (IMPL): Use __STRING to expand name and then
68360         stringify it.
68362         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68363         of cleanups.
68365 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68367         * string/Makefile: Update.
68368         (strop-tests): Append strncat.
68369         * string/test-wcscmp.c: New file.
68370         New comprehensive test for wcscmp.
68371         * string/test-strcmp.c: Update.
68372         (WIDE): New define.
68374 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68376         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68377         line.
68379 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68382         encoding to ACE if AI_IDN.
68384 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68386         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68387         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68389 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68391         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68392         Fix overflow bug in strncat.
68393         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68395         * string/test-strncat.c: Update.
68396         Add new tests for checking overflow bugs.
68398 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68401         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68402         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68403         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68404         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68405         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68406         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68407         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68408         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68410         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68411         (USE_AS_STRCAT): Define.
68412         Add strcat and strncat support.
68413         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68415 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68417         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68418         __n bigger than INT_MAX+1.
68419         (__strncmp_g): Likewise.
68421 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68423         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68424         * libio/stido.h: Likewise.
68426         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68427         (AF_NFC): Define.
68428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68429         (AF_NFC): Define.
68431         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68432         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68433         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68434         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68435         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68437         [BZ #13021]
68438         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68439         installed.
68441         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68442         typo.
68443         (_dl_x86_64_save_sse): Likewise.
68445 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68447         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68448         OSXSAVE.
68449         (_dl_x86_64_save_sse): Likewise.
68451         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68453         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68455 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68458         change.
68459         (_dl_x86_64_save_sse): Use correct AVX check.
68461 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68463         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68464         bug in strncpy/strncat.
68465         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68467 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68469         * string/tester.c (test_strcat): Add tests for different alignments
68470         of source and destination.
68471         (test_strncat): Likewise.
68473 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68475         [BZ #12852]
68476         * posix/glob.c (glob): Check passed in values before using them in
68477         expressions to avoid some overflows.
68478         (glob_in_dir): Likewise.
68480         [BZ #13007]
68481         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68482         check for AVX enablement so that we don't crash with old kernels and
68483         new hardware.
68484         * elf/tst-audit4.c: Add same checks here.
68485         * elf/tst-audit6.c: Likewise.
68487         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68489 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68491         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68493 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68495         * po/cs.po: Update from translation team.
68496         * po/bg.po: Likewise.
68498 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68500         * misc/sys/cdefs.h: Add support for const attribute.
68501         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68502         to gnu_dev_{major,minor,makedev} functions.
68504 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68506         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68508 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68510         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68511         strlen results.
68513 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68515         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68516         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68517         register in order to avoid conflicts with the soft frame pointer
68518         being held in r11 when necessary.
68519         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68520         (INTERNAL_VSYSCALL_NCS): Likewise.
68522 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68524         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68525         * elf/dl-fini.c (_dl_fini): Adjust caller.
68526         * elf/dl-close.c (_dl_close_worker): Likewise.
68527         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68529 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68531         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68532         "aux_cache->nlibs < 0".
68534         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68535         in the reload-count case.
68537 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68540         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68541         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68542         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68543         * sysdeps/x86_64/multiarch/strcat.S: New file.
68544         * sysdeps/x86_64/multiarch/strncat.S: New file.
68545         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68546         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68547         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68548         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68549         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68550         (USE_AS_STRCAT): Define.
68551         Add strcat and strncat support.
68552         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68553         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68554         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68555         * string/strncat.c: Update.
68556         (USE_AS_STRNCAT): Define.
68557         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68558         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68559         and i7.
68560         * sysdeps/x86_64/multiarch/init-arch.h
68561         (bit_Prefer_PMINUB_for_stringop): New.
68562         (index_Prefer_PMINUB_for_stringop): Likewise.
68563         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68564         bit_Prefer_PMINUB_for_stringop.
68566 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68568         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68569         buffer64.
68570         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68571         of casting of buffer.
68572         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68573         buffer32 and buffer64.
68574         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68575         writes instead of casting of buffer.
68576         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68577         buffer32.
68578         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68579         casting of buffer.
68581 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68583         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68585 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68587         * nscd/nscd.c (termination_handler): Don't do anything for a database
68588         if it has not yet been initialized.
68590 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68592         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68594 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68596         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68598 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68600         * po/nl.po: Update from translation team.
68601         * po/sv.po: Likewise.
68603 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68605         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68606         now disallowed by GCC.
68608         * configure.in (use-default-link): Default to yes if a test -shared
68609         link meets our qualifications.
68610         * configure: Regenerated.
68612         * config.make.in (output-format): New variable.
68613         * configure.in: Check for ld --print-output-format support.
68614         * configure: Regenerated.
68615         * Makerules ($(common-objpfx)format.lds)
68616         [$(output-format) != unknown]: Just use $(output-format),
68617         instead of the linker-script munging.
68619 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68621         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68622         of $(common-objpfx)shlib.lds.
68623         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68625         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68626         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68628         * configure.in (-z relro check): Adjust test code to add a large
68629         writable data section after it.
68630         * configure: Regenerated.
68632 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68634         * configure.in (-z relro check): Fix test code to make the variable
68635         truly const.
68636         * configure: Regenerated.
68638 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68640         * nscd/nscd.h (struct traced_file): Define.
68641         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68642         elements.  Add traced_files.
68643         (inotify_fd): Declare.
68644         (register_traced_file): Declare.
68645         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68646         (inotify_fd): Export.
68647         (resolv_conf_descr): Remove.
68648         (nscd_init): Move inotify descriptor creation to main.
68649         Don't register files for notification here.
68650         (register_traced_file): New function.
68651         (invalidate_cache): Don't use reset_res to determine whether to call
68652         res_init, go through the list of registered files.
68653         (main_loop_poll): The inotify descriptors are now stored in the
68654         structures for the traced files.
68655         (main_loop_epoll): Likewise
68656         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68657         to __nss_disable_nscd.
68658         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68659         for a database anymore.  Check the records for all the registered
68660         files instead.
68661         * nss/Makefile (libnss_files-routines): Add files-init.
68662         (libnss_db-routines): Add db-init.
68663         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68664         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68665         * nss/nss_db/db-init.c: New file.
68666         * nss/nss_files/files-init.c: New file.
68667         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68668         __nss_lookup_function.
68669         (__nss_lookup_function): Call nss_load_library.
68670         (nss_load_all_libraries): New function.
68671         (__nss_disable_nscd): Take parameter with callback function for files
68672         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68673         used for the cached services.
68674         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68675         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68676         options for features to all the files in nscd.
68678         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68680 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68682         * csu/elf-init.c (__libc_csu_init): Comment typo.
68684 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68686         * po/pl.po: Update from translation team.
68687         * po/ja.po: Likewise.
68688         * po/ru.po: Likewise.
68689         * po/ko.po: Likewise.
68690         * po/fr.po: Likewise.
68692 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68694         * configure.in (.ctors/.dtors header and trailer check):
68695         Use an empirical test on a built program.
68696         * configure: Regenerated.
68698         * configure.in (-z relro check): Use an empirical test on a built DSO.
68699         Detect, but do not require, on ia64.
68700         * configure: Regenerated.
68702         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68703         Update tests that use readelf to use $READELF instead.
68704         * configure: Regenerated.
68706 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68708         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68709         if the result is not used.
68711 2011-07-05  Andreas Jaeger  <aj@suse.de>
68713         [BZ#9696]
68714         * stdlib/tst-strtod.c: Add testcase.
68716 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68718         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68719         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68720         The latter has a higher limit.  Take additional parameter to pass to
68721         the new function.
68722         (__pathconf): Pass file to __statfs_link_max.
68723         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68724         __statfs_link_max.
68725         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68726         __statfs_link_max.
68728         [BZ #12868]
68729         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68730         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68731         Handle Lustre.
68732         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68733         (__statfs_filesize_max): Likewise.
68734         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68736 2011-07-05  Andreas Jaeger  <aj@suse.de>
68738         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68740 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68742         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68743         `status' variable.
68744         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68745         Likewise.
68747 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68749         * Makefile (strop-tests): Add strncat.
68750         * string/test-strncat.c: New file.
68752 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68754         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68756 2011-06-21  Andreas Jaeger  <aj@suse.de>
68758         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68759         Copy rule from iconvdata/Makefile.
68761 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68763         [BZ #12922]
68764         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68765         but no long options are defined, just return 'W'.
68767 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68769         [BZ #9696]
68770         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68772 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68774         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68775         netgroups to read.
68776         (innetgr): Likewise.
68778 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68780         * config.make.in (install_root): Default to $(DESTDIR).
68782 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68784         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68786 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68788         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68790         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68791         containing directory rather than embedding absolute directory names.
68793         * scripts/check-local-headers.sh: Rewritten using awk.
68794         Match by word, not by line.  Print error messages for matches.
68795         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68797         * Makerules [shlib-lds-flags empty]:
68798         ($(common-objpfx)libc_pic.opts): New target.
68799         ($(common-objpfx)libc_pic.os.clean): New target.
68800         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68802         * config.make.in (OBJCOPY): New variable.
68803         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68804         * configure: Regenerated.
68806         * config.make.in (use-default-link): New variable.
68807         * configure.in (use_default_link): Grok --with-default-link to set it.
68808         * configure: Regenerated.
68809         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68810         (shlib-lds, shlib-lds-flags): Define to empty.
68812         * Makerules (shlib-lds): New variable.
68813         (shlib-lds-flags): New variable.
68814         (build-shlib, build-moduile, build-module-asneeded): Use it.
68815         ($(common-objpfx)libc.so): Use $(shlib-lds).
68816         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68817         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68819         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68820         DT_FLAGS/DT_FLAGS_1 with zero flags.
68822         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68823         linker script munging.
68825 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68827         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68828         as 128-bit value.
68829         * crypt/sha512.c (sha512_process_block): Perform total addition using
68830         128-bit if possible.
68831         (__sha512_finish_ctx): Likewise.
68832         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68833         as 64-bit value.
68834         * crypt/sha256.c (SWAP64): Define.
68835         (sha256_process_block): Perform total addition using 64-bit if
68836         possible.
68837         (__sha256_finish_ctx): Likewise.
68839 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68841         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68842         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68843         * nscd/hstcache.c (cache_addhst): Likewise.
68844         * nscd/grpcache.c (cache_addgr): Likewise.
68845         * nscd/aicache.c (addhstaiX): Likewise
68846         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68848 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68850         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68851         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68852         * nscd/hstcache.c (cache_addhst): Likewise.
68853         * nscd/grpcache.c (cache_addgr): Likewise.
68854         * nscd/aicache.c (addhstaiX): Likewise
68856 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68858         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68859         domain only when needed.
68861 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68864         is always restored.
68866 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68868         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68869         are re-adding the entry.
68870         * nscd/servicescache.c (cache_addserv): Likewise.
68872 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68874         * sysdeps/generic/dl-irel.h: fix protection against multiple
68875         inclusions.
68876         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68878 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68880         [BZ #12935]
68881         * malloc/memusage.sh: Fix quoting in message.
68882         * debug/xtrace.sh: Likewise.
68884         * configure.in: Remove support for --experimental-malloc option, make
68885         it the default.
68886         * config.make.in: Likewise.
68887         * malloc/Makefile: Likewise.
68889 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68891         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68892         two-byte characters.
68894 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68896         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68897         AC_CACHE_CHECK invocation.
68898         * configure: Regenerated.
68900         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68902 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68904         [BZ #12350]
68905         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68906         bit from old_res_options.
68908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68910         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68911         value type for setfct.
68913 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68915         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68916         __gettimeofday instead of gettimeofday.
68918 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68920         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68922 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68924         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68926         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68927         info.
68929 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68932         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68933         strcpy-sse2-unaligned strncpy-sse2-unaligned
68934         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68935         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68936         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68937         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68938         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68939         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68940         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68941         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68942         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68943         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68944         (STRCPY): Support SSE2 and SSSE3 versions.
68946 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68948         [BZ #12874]
68949         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68950         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68951         kernels which artificially limit size of requests.
68953 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68955         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68956         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68957         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68958         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68959         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68960         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68961         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68962         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68963         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68964         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68965         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68966         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68967         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68968         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68969         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68971         Enable unaligned load optimization for Intel Core i3, i5 and i7
68972         processors.
68973         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68974         Define.
68975         (index_Fast_Unaligned_Load): Define.
68976         (HAS_FAST_UNALIGNED_LOAD): Define.
68978 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68980         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68982 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68984         [BZ #12907]
68985         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68986         until it is clear that the information is realy needed.
68987         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68989 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68993 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68996         /sys/devices/system/cpu/online if it is usable.
68998         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68999         reading the information from the /proc filesystem to once a second.
69001 2011-06-21  Andreas Jaeger  <aj@suse.de>
69003         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69004         NULL after inclusion of kernel headers.
69006 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69008         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69009         calls to internal_setent.
69011         [BZ #12885]
69012         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69013         addresses using gethostbyname4_r ignore IPv4 addresses.
69015         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69016         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69018         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69020 2011-06-20  David S. Miller  <davem@davemloft.net>
69022         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69023         inclusions.
69024         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69026         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69027         (elf_irel): Use it.
69028         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69029         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69030         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69031         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69032         * sysdeps/x86_64/dl-irel.h: Likewise.
69034         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69035         * elf/dl-sym.c: Likewise.
69037 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69039         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69040         need to dereference resplen2.
69042 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69044         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69046 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69048         * Makeconfig: Define vardbdir and inst_vardbdir.
69049         * nss/Makefile: Add rules to install db-Makefile.
69051         * nss/nss_db/db-XXX.c: Cleanup.
69053         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69054         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69055         GLIBC_PRIVATE.
69056         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69057         * nss/makedb.c: Implement -g option to specify that value strings
69058         are generated and should not be added to table iterated over for
69059         get*ent calls.
69060         * nss/nss_db/db-initgroups.c: New file.
69062         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69063         interface.
69065         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69066         (internal_getgrouplist): Adjust to name change.
69067         Update use_initgroups_entry if this is not the first call.
69068         * nss/databases.def: Add initgroups entry.
69070         * nss/makedb.c (compute_tables): Check result of multiple hash table
69071         sizes to minimize maximum chain length.
69073 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69075         * Versions.def: Add entry for libnss_db.
69076         * shlib-versions: Likewise.
69077         * nss/Makefile: Add rules to build libnss_db.
69078         * nss/Versions: Add libnss_db information.  Organize libnss_files
69079         entries better.
69080         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69081         makedb progra.  Some minor improvements to generate smaller files.
69082         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69083         here from...
69084         * nss/makedb.c: ...here.
69085         Improve database format to be smaller and require less memory at
69086         runtime.
69087         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69088         db anymore.
69089         * nss/nss_db/db-netgrp.c: Likewise.
69090         * nss/nss_db/db-open.c: Likewise.
69091         * nss/nss_files/flies-XXX.x: Adjust comments.
69092         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69093         * nss/nss_files/files-grp.c: Likewise.
69094         * nss/nss_files/files-hosts.c: Likewise.
69095         * nss/nss_files/files-network.c: Likewise.
69096         * nss/nss_files/files-proto.c: Likewise.
69097         * nss/nss_files/files-pwd.c: Likewise.
69098         * nss/nss_files/files-rpc.c: Likewise.
69099         * nss/nss_files/files-service.c: Likewise.
69100         * nss/nss_files/files-sgrp.c: Likewise.
69101         * nss/nss_files/files-spwd.c: Likewise.
69102         * nss/nss_db/db-alias.c: Removed.
69103         * nss/nss_db/dummy-db.h: Removed.
69105 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69107         * nss/makedb.c: Rewritten to not use database library.
69108         * nss/Makefile: Update to build new makedb program.
69110 2011-06-14  Andreas Jaeger  <aj@suse.de>
69112         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69113         memset declaration.
69115 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69118         tmpbuf.
69120 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69122         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69123         * elf/Makefile ($(objpfx)ld.so): Likewise.
69125         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69126         Don't list ld.so twice in dependencies.
69128         * posix/bug-regex31.c: Include <stdlib.h>.
69130         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69132         * nis/nss_compat/compat-spwd.c
69133         (getspent_next_nss_netgr): Remove unused variable.
69134         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69136         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69137         nonmembers" output to use the right array.
69139         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69141         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69143         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69144         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69145         * catgets/gencat.c (read_input_file): Likewise.
69146         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69148         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69149         variable definition inside #if's controlling its use.
69151         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69153         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69155         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69157         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69158         unreachable code.
69160         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69162         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69163         * configure: Regenerated.
69165         * Makerules: Revert last change.
69166         * elf/Makefile: Likewise.
69168 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69170         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69171         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69172         (reloc-link): Likewise.
69174 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69176         * elf/Makefile: Add rules to build pldd.
69177         * elf/pldd.c: New file.
69178         * elf/pldd-xx.c: New file.
69180 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69182         * version.h: Update for 2.15 development version.
69184 2011-06-07  David S. Miller  <davem@davemloft.net>
69186         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69187         ifuncs.
69188         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69189         elf_machine_lazy_rel): Likewise.
69190         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69191         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69192         elf_machine_lazy_rel): Likewise.
69193         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69194         dl_hwcap via passed in argument.
69195         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69196         Likewise.
69198 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69200         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69202 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69204         [BZ #12849]
69205         * manual/fdl-1.1.texi: New file, verbatim from:
69206         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69207         * manual/lgpl-2.1.texi: New file, verbatim from:
69208         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69209         * manual/Makefile (licenses): New variable, list those new file names.
69210         (texis): Use it.
69211         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69213         * manual/fdl.texi: File removed.
69214         * manual/lesser.texi: File removed.
69215         * manual/libc.texinfo (Copying, Documentation License):
69216         Use new @include file names, put @appendix directive before @include.
69218 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69220         [BZ #12841]
69221         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69222         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69223         (mq_open): Add __NTH.
69225 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69228         Assume Intel Core i3/i5/i7 processor if AVX is available.
69230 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69232         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69233         typo.
69235 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69237         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69238         memory.  Use alloca_account.  Fix memory leak when retrying.
69240 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69242         * version.h (RELEASE): Bump for 2.14 release.
69243         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69245         * config.make.in (RANLIB): Remove entry.
69247 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69249         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69250         (libc.pot): Work around missing support for .ksh extension in xgettext.
69252         [BZ #12684]
69253         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69254         if both request failed.
69255         (send_dg): In case of server errors clear resplen or *resplen2.
69257         [BZ #12454]
69258         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69259         when there are multiple maps.
69260         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69261         (_dl_fini): Remove test here.
69263         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69265 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69267         [BZ #12350]
69268         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69269         bit from old_res_options.
69270         (gaih_inet): Likewise.
69272         [BZ #11099]
69273         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69274         as signed.
69276         * resolv/res_init.c (res_setoptions): Make the code more compact.
69278         [BZ #11558]
69279         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69280         set RES_USEVC.
69282         [BZ #11634]
69283         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69285         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69287         [BZ #11781]
69288         * malloc/malloc.h: Declare malloc hook variables as volatile.
69290         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69291         in last patch.
69293         [BZ #11799]
69294         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69295         raise in the comment.
69296         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69297         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69298         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69300 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69302         [BZ #12811]
69303         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69304         grow the buffers more if it already has to be sufficient.
69305         (build_wcs_upper_buffer): Likewise.
69306         * posix/regexec.c (check_matching): Likewise.
69307         (clean_state_log_if_needed): Likewise.
69308         (extend_buffers): Don't enlarge buffers beyond size of the input
69309         buffer.
69310         Patches mostly by Emil Wojak <emil@wojak.eu>.
69311         * posix/bug-regex32.c: New file.
69312         * posix/Makefile (tests): Add bug-regex32.
69314         * locale/findlocale.c (_nl_find_locale): Return right away if
69315         _nl_explode_name failed.
69316         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69318         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69320         * debug/xtrace.sh: Unify messages.
69321         * malloc/memusage.sh: Likewise.
69323         [BZ #12813]
69324         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69325         time symbol from vDSO.  Substitute with vsyscall if not available.
69326         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69327         __vdso_time.
69329         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69330         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69331         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69332         Add sendmmsg and internal_sendmmsg.
69333         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69334         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69335         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69337         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69338         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69339         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69341 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69343         [BZ #12813]
69344         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69345         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69346         available.
69347         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69348         __vdso_getcpu.
69350         [BZ #12814]
69351         * iconvdata/Makefile (tests): Add bug-iconv9.
69352         * iconvdata/bug-iconv9.c: New file.
69354 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69356         [BZ #12814]
69357         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69359 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69361         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69362         (struct user_regs_struct): Change intcs field back to cs.
69364 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69366         * po/ja.po: Update from translation team.
69368 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69370         [BZ #12795]
69371         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69372         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69374 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69376         * stdlib/longlong.h: Update from GCC.
69378 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69380         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69381         parameter name.
69382         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69383         Add parameter name.
69384         (__sysconf): Pass it down.
69386 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69388         [BZ #12671]
69389         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69390         some situations.
69391         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69392         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69393         add in in __libc_use_alloca calls.  Adjust callers.
69394         (glob): Use malloc in some situations.
69396         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69397         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69398         pltexit.
69400 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69402         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69403         and CLOCK_BOOTTIME_ALARM.
69405         [BZ #12782]
69406         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69407         is returned.
69409         * string/_strerror.c (__strerror_r): Print negative errors as signed
69410         numbers.
69412         [BZ #12777]
69413         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69414         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69415         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69417         * configure.in: Fix typo in redirection and correct removal of test
69418         files in two cases.
69420         [BZ #12788]
69421         * locale/setlocale.c (new_composite_name): Fix test to check for
69422         identical name of all categories.
69424         [BZ #12792]
69425         * libio/filedoalloc.c (local_isatty): New function.
69426         (_IO_file_doallocate): Use local_isatty.
69427         * stdio-common/perror.c (perror): In case a new stream is used
69428         forward the stream error.
69429         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69430         error flag.
69432 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69434         [BZ #11884]
69435         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69436         alloca.
69437         * include/alloca.h (extend_alloca_account): Define.
69439         [BZ #11857]
69440         * posix/regex.h: Fix comments with documentation of user-accessible
69441         fields after compilation and describe correct free'ing of pattern
69442         after re_compile_pattern.
69443         Patch by Reuben Thomas <rrt@sc3d.org>.
69445 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69447         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69448         and -mno-altivec to prevent the compiler from using Altivec and/or
69449         VSX instructions when the corresponding registers are not available.
69451 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69453         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69455 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69457         * libio/freopen.c (freopen): Use __dup2, not dup2.
69458         * libio/freopen64.c (freopen64): Likewise.
69460 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69462         [BZ #12775]
69463         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69464         * math/Makefile (tests): Add test-powl.
69465         (CFLAGS-test-powl.c): Define.
69466         * math/test-powl.c: New file.
69468 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69470         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69472 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69474         [BZ #11837]
69475         * iconvdata/gb18030.c: Update to GB18020-2005.
69477 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69479         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69480         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69481         Patch by Aharon Robbins <arnold@skeeve.com>.
69483         [BZ #11892]
69484         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69485         on the stack.
69487         [BZ #11895]
69488         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69489         through underflows.
69491         [BZ #12766]
69492         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69493         point to strings before performing equality test for error_one_per_line
69494         mode.
69496         [BZ #11697]
69497         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69499         [BZ #11820]
69500         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69501         (struct user_fpregs_struct): Avoid __uint*_t types.
69503         [BZ #6420]
69504         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69505         symbol info.  Use it instead of calling _dl_addr locally.
69506         (lock_and_info): New function.
69507         (tr_freehook): Call lock_and_info and pass symbol info as additional
69508         parameter to tr_where.
69509         (tr_mallochook): Likewise.
69510         (tr_reallochook): Likewise.
69511         (tr_memalignhook): Likewise.
69513         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69514         used and couldn't be at all thread-safe.
69516 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69518         * libio/freopen.c (freopen): Don't close old file descriptor
69519         before the new one is opened.  Instead dup the new file descriptor
69520         to the old one after the new stream is created.
69521         * libio/freopen64.c (freopen64): Likewise.
69522         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69523         * libio/fileops.c (_IO_new_file_close_it): Handle new
69524         _IO_FLAGS2_NOCLOSE flag.
69525         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69526         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69527         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69528         _IO_FLAGS2_NOCLOSE flag.
69529         * include/unistd.h: Add hidden_proto for dup3.
69530         Define __have_dup3.
69531         * io/dup3.c: Define hidden symbol.
69532         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69534         [BZ #7101]
69535         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69536         when an incomplete long option is used.
69537         * posix/tst-getopt_long1.c: New file.
69538         * posix/Makefile (tests): Add tst-getopt_long1.
69540         [BZ #10138]
69541         * scripts/config.guess: Update from autoconf-2.68.
69542         * scripts/config.sub: Likewise.
69544         [BZ #10157]
69545         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69546         tests into ...
69547         (has_cpuclock): ...this.  New function.
69548         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69549         macro here based on has_cpuclock code.
69551         [BZ #10149]
69552         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69553         First byte (not low byte) is now always NUL.
69554         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69556         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69557         Use non-cancelable interfaces.
69559         [BZ #9809]
69560         * locale/iso-639.def: Add entry for Sorani.
69562         [BZ #11901]
69563         * include/stdlib.h: Move include protection to the right place.
69564         Define abort_msg_s.  Declare __abort_msg with it.
69565         * stdlib/abort.c (__abort_msg): Adjust type.
69566         * assert/assert.c (__assert_fail_base): New function.  Majority
69567         of code from __assert_fail.  Allocate memory for __abort_msg with
69568         mmap.
69569         (__assert_fail): Now call __assert_fail_base.
69570         * assert/assert-perr.c: Remove bulk of implementation.  Use
69571         __assert_fail_base.
69572         * include/assert.hL Declare __assert_fail_base.
69573         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69574         mmap.
69575         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69577 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69579         [BZ #11952]
69580         [BZ #12453]
69581         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69582         until all modules are registered in the DTV.
69583         * elf/Makefile: Add rules to build and run tst-tls19.
69584         * elf/tst-tls19.c: New file.
69585         * elf/tst-tls19mod1.c: New file.
69586         * elf/tst-tls19mod2.c: New file.
69587         * elf/tst-tls19mod3.c: New file.
69588         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69590         [BZ #12083]
69591         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69592         correctly.
69594         [BZ #12601]
69595         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69596         two-byte sequence errors.
69597         * iconvdata/Makefile (tests): Add bug-iconv8.
69598         * iconvdata/bug-iconv8.c: New file.
69600         [BZ #12626]
69601         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69602         buf2 definition.
69604         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69606         [BZ #12432]
69607         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69608         (dummy_getcfa): New function.
69609         (init): Get _Unwind_GetCFA address, use dummy if not found.
69610         (backtrace_helper): In recursion check, also check whether CFA changes.
69611         (__backtrace): Completely initialize arg.
69613         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69614         storing incomplete byte sequence in state object.  Avoid testing for
69615         guaranteed too small input if we know there is enough data available.
69617 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69619         * Makeconfig (+link-pie): Indent.
69620         * Rules (binaries-pie): Define if $(have-fpie) and
69621         $(build-shared).
69622         (binaries-shared): Also filter out $(binaries-pie).
69623         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69624         * nscd/Makefile (others-pie): Add nscd.
69625         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69626         ($(objpfx)nscd): Remove command override.
69627         * login/Makefile (others-pie): Add pt_chown.
69628         ($(objpfx)pt_chown): Remove command override.
69629         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69630         remove command overrides.
69632 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69634         * libio/tst_putwc.c: Fix error messages.
69636         [BZ #12724]
69637         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69638         currently writing and seek to current position when not.
69639         * libio/Makefile (tests): Add bug-fclose1.
69640         * libio/bug-fclose1.c: New file.
69642 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69644         [BZ #12511]
69645         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69646         don't set DF_1_NODELETE here.
69647         (do_lookup_x): When entering new entry test for copy relocation
69648         and if necessary set DF_1_NODELETE flag.
69649         * elf/tst-unique4.cc: New file.
69650         * elf/tst-unique4.h: New file.
69651         * elf/tst-unique4lib.cc: New file.
69652         * elf/Makefile: Add rules to build and run tst-unique4.
69653         Patch by Piotr Bury <pbury@goahead.com>.
69655 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69657         [BZ #12052]
69658         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69660         [BZ #12625]
69661         * misc/mntent_r.c (addmntent): Flush the stream after the output
69663         [BZ #12393]
69664         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69665         (is_trusted_path_normalize): Skip initial colon.  Append slash
69666         to empty buffer.  Duplicate is_trusted_path code but allow
69667         constructed patch to be prefix.
69668         (is_dst): Allow $ORIGIN followed by /.
69669         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69670         Correct testing of result of is_trusted_path_normalize
69671         (decompose_rpath): Fix warning.
69673 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69675         [BZ #11257]
69676         * grp/initgroups.c (internal_getgrouplist): When we found the service
69677         list through the initgroups entry in nsswitch.conf do not always
69678         continue on a successful lookup.  Don't always use the
69679         __nss_group_database value if it is set.
69680         * nss/nsswitch.conf (initgroups): Change action for successful db
69681         lookup to continue for compatibility.
69683 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69685         [BZ #11532]
69686         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69687         and CP774 modules.
69688         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69689         and CP774 modules.
69690         * iconvdata/tst-tables.sh: Likewise.
69691         * iconvdata/cp770.c: New file.
69692         * iconvdata/cp771.c: New file.
69693         * iconvdata/cp772.c: New file.
69694         * iconvdata/cp773.c: New file.
69695         * iconvdata/cp774.c: New file.
69696         * iconvdata/testdata/CP770: New file.
69697         * iconvdata/testdata/CP770..UTF8: New file.
69698         * iconvdata/testdata/CP771: New file.
69699         * iconvdata/testdata/CP771..UTF8: New file.
69700         * iconvdata/testdata/CP772: New file.
69701         * iconvdata/testdata/CP772..UTF8: New file.
69702         * iconvdata/testdata/CP773: New file.
69703         * iconvdata/testdata/CP773..UTF8: New file.
69704         * iconvdata/testdata/CP774: New file.
69705         * iconvdata/testdata/CP774..UTF8: New file.
69707         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69708         END CHARMAP line.
69709         * iconvdata/gen-8bit-gap.sh: Likewise.
69710         * iconvdata/gen-8bit.sh: Likewise.
69712         * locale/iso-639.def: Add ary entry.
69714         [BZ #11258]
69715         * locale/C-translit.h.in: Add U20A1 transliteration.
69717         [BZ #12178]
69718         * locale/iso-639.def: Add wae entry.
69719         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69721         [BZ #12545]
69722         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69723         for n.
69725         [BZ #12711]
69726         * locale/C-translit.h.in: Add entry for U20B9.
69727         Patch by pravin.d.s@gmail.com.
69729 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69731         [BZ #12713]
69732         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69733         ENAMETOOLONG use generic getcwd.
69734         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69735         in rtld.  Use *stat64.
69736         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69737         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69738         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69739         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69740         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69741         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69742         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69743         __fstatat64 macros.
69744         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69745         * dirent/rewinddir.c: Add libc_hidden_def.
69746         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69747         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69749         * include/dirent.h (__alloc_dir): Add flags parameter.
69750         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69751         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69752         __alloc_dir.
69753         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69754         from fdopendir if O_CLOEXEC is already set.
69756 2011-03-15  Alan Modra  <amodra@gmail.com>
69758         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69759         l_tls_firstbyte_offset non-zero.  Save padding offset in
69760         l_tls_firstbyte_offset for later use.
69761         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69762         freeing static tls block.
69764 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69766         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69767         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69768         being defined by the kernel headers.
69770 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69772         [BZ #12734]
69773         * resolv/resolv.h: Define RES_NOTLDQUERY.
69774         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69775         no-tld-query and set RES_NOTLDQUERY.
69776         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69777         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69778         modern BIND to search name as TLD unless forbidden.
69780 2011-05-07  Petr Baudis  <pasky@suse.cz>
69781             Ulrich Drepper  <drepper@gmail.com>
69783         [BZ #12393]
69784         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69785         (is_trusted_path): ...to here.
69786         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69787         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69788         using is_trusted_path_normalize() in setuid scripts.
69790 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69792         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69793         __BEGIN/__END_DECLS.
69795 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69797         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69798         NSS_STATUS_NOTFOUND if no record was found.
69800 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69802         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69803         (headers-not-in-tirpc): Remove rpc/netdb.h
69804         * resolv/netdb.h: Revert last change.
69806 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69808         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69809         circular dependency between libgcc.a and libc.a.
69811 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69813         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69814         * nis/Makefile: Don't install rpcsvc/*.
69815         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69816         instead of <rpc/types.h>.
69817         (MAXHOSTNAMELEN): Define.
69819 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69821         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69823 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69825         [BZ #12714]
69826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69827         gethostbyname4_r when IPv6 results are possible.
69829 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69831         [BZ #12723]
69832         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69833         _PC_PIPE_BUF handling.
69835 2011-04-30  Bruno Haible  <bruno@clisp.org>
69837         [BZ #12717]
69838         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69839         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69840         to 'int'.
69841         * inet/getnameinfo.c (getnameinfo): Likewise.
69843 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69845         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69846         to groups setting in database lookup.
69847         * nss/nsswitch.conf: Add initgroups entry.
69849 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69851         [BZ #12685]
69852         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69853         mode string.
69854         Patch by Eric Blake <eblake@redhat.com>.
69856 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69858         * sunrpc/Makefile (need-export-routines): Add svc_run.
69859         (routines): Remove svc_run.
69860         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69861         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69862         * sunrpc/svc_run.c (svc_run): Likewise.
69863         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69865 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69867         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69868         problem in reallocation in last patch.
69870 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69872         * sunrpc/Makefile: Move inclusion of Rules.
69874 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69876         * nss/nss_files/files-initgroups.c: New file.
69877         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69878         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69879         _nss_files_initgroups_dyn.
69881 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69883         * elf/elf.h (R_ARM_IRELATIVE): Define.
69885 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69887         * po/ru.po: Update from translation team.
69889 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69891         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69892         dependencies.
69894 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69896         [BZ #12653]
69897         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69898         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69899         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69900         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69901         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69903 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69905         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69906         differing bytes.
69907         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69908         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69909         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69911 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69913         [BZ #12420]
69914         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69915         storing it.
69916         * stdlib/bug-getcontext.c: New file.
69917         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69919 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69921         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69922         instructions into .machine "z9-109".
69923         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69924         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69926 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69928         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69929         between environment variables and auxiliary vector.
69931 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69933         * Makefile: Add rules to build linkobj/libc.so.
69934         * include/libc-symbols.h: Define libc_hidden_nolink.
69935         * include/rpc/auth.h: Mark functions which are to be hidden.
69936         * include/rpc/auth_des.h: Likewise.
69937         * include/rpc/auth_unix.h: Likewise.
69938         * include/rpc/clnt.h: Likewise.
69939         * include/rpc/des_crypt.h: Likewise.
69940         * include/rpc/key_prot.h: Likewise.
69941         * include/rpc/pmap_clnt.h: Likewise.
69942         * include/rpc/pmap_prot.h: Likewise.
69943         * include/rpc/pmap_rmt.h: Likewise.
69944         * include/rpc/rpc_msg.h: Likewise.
69945         * include/rpc/svc.h: Likewise.
69946         * include/rpc/svc_auth.h: Likewise.
69947         * include/rpc/xdr.h: Likewise.
69948         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69949         * nss/Makefile: Likewise.
69950         * sunrpc/Makefile: Don't install headers.  Build library with normal
69951         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69952         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69953         for the compat linking library.  Remove use of INTDEF/INTUSE.
69954         * sunrpc/auth_none.c: Likewise.
69955         * sunrpc/auth_unix.c: Likewise.
69956         * sunrpc/authdes_prot.c: Likewise.
69957         * sunrpc/authuxprot.c: Likewise.
69958         * sunrpc/clnt_gen.c: Likewise.
69959         * sunrpc/clnt_perr.c: Likewise.
69960         * sunrpc/clnt_raw.c: Likewise.
69961         * sunrpc/clnt_simp.c: Likewise.
69962         * sunrpc/clnt_tcp.c: Likewise.
69963         * sunrpc/clnt_udp.c: Likewise.
69964         * sunrpc/clnt_unix.c: Likewise.
69965         * sunrpc/des_crypt.c: Likewise.
69966         * sunrpc/des_soft.c: Likewise.
69967         * sunrpc/get_myaddr.c: Likewise.
69968         * sunrpc/key_call.c: Likewise.
69969         * sunrpc/key_prot.c: Likewise.
69970         * sunrpc/netname.c: Likewise.
69971         * sunrpc/pm_getmaps.c: Likewise.
69972         * sunrpc/pm_getport.c: Likewise.
69973         * sunrpc/pmap_clnt.c: Likewise.
69974         * sunrpc/pmap_prot.c: Likewise.
69975         * sunrpc/pmap_prot2.c: Likewise.
69976         * sunrpc/pmap_rmt.c: Likewise.
69977         * sunrpc/publickey.c: Likewise.
69978         * sunrpc/rpc_cmsg.c: Likewise.
69979         * sunrpc/rpc_common.c: Likewise.
69980         * sunrpc/rpc_dtable.c: Likewise.
69981         * sunrpc/rpc_prot.c: Likewise.
69982         * sunrpc/rpc_thread.c: Likewise.
69983         * sunrpc/rtime.c: Likewise.
69984         * sunrpc/svc.c: Likewise.
69985         * sunrpc/svc_auth.c: Likewise.
69986         * sunrpc/svc_authux.c: Likewise.
69987         * sunrpc/svc_raw.c: Likewise.
69988         * sunrpc/svc_run.c: Likewise.
69989         * sunrpc/svc_simple.c: Likewise.
69990         * sunrpc/svc_tcp.c: Likewise.
69991         * sunrpc/svc_udp.c: Likewise.
69992         * sunrpc/svc_unix.c: Likewise.
69993         * sunrpc/svcauth_des.c: Likewise.
69994         * sunrpc/xcrypt.c: Likewise.
69995         * sunrpc/xdr.c: Likewise.
69996         * sunrpc/xdr_array.c: Likewise.
69997         * sunrpc/xdr_float.c: Likewise.
69998         * sunrpc/xdr_intXX_t.c: Likewise.
69999         * sunrpc/xdr_mem.c: Likewise.
70000         * sunrpc/xdr_rec.c: Likewise.
70001         * sunrpc/xdr_ref.c: Likewise.
70002         * sunrpc/xdr_sizeof.c: Likewise.
70003         * sunrpc/xdr_stdio.c: Likewise.
70005 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70007         [BZ #12650]
70008         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70009         * sysdeps/ia64/dl-tls.h: Likewise.
70010         * sysdeps/powerpc/dl-tls.h: Likewise.
70011         * sysdeps/s390/dl-tls.h: Likewise.
70012         * sysdeps/sh/dl-tls.h: Likewise.
70013         * sysdeps/sparc/dl-tls.h: Likewise.
70014         * sysdeps/x86_64/dl-tls.h: Likewise.
70015         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70017 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70019         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70020         rpath element also skip the following colon.
70021         (expand_dynamic_string_token): Add is_path parameter and pass
70022         down to DL_DST_REQUIRED and _dl_dst_substitute.
70023         (decompose_rpath): Call expand_dynamic_string_token with
70024         non-zero is_path.  Ignore empty rpaths.
70025         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70026         with zero is_path.
70028 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70031         Make cancelable.
70033 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70035         [BZ #12655]
70036         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70037         Patch by Filipe David Manana <fdmanana@apache.org>.
70039 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70041         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70042         Maintain aligned stack.
70043         (CHECK_RSP): Remove unused macro.
70045 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70047         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70048         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70050 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70052         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70054         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70056 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70058         [BZ #12518]
70059         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70060         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70061         * sysdeps/x86_64/memmove.c: New file.
70062         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70063         (memcpy): Renamed to ...
70064         (__new_memcpy): This.
70065         (memcpy): Provide GLIBC_2_14 memcpy.
70066         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70067         (memcpy): Provide GLIBC_2_2_5 memcpy.
70069 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70071         [BZ #12631]
70072         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70074 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70076         * misc/syncfs.c: New file.
70077         * misc/Makefile (routines): Add syncfs.
70078         * posix/unistd.h: Declare syncfs.
70079         * sysdeps/unix/syscalls.list: Add syncfs.
70081 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70083         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70084         open_by_handle_at.
70085         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70086         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70087         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70088         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70089         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70090         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70091         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70093 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70095         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70096         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70097         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70098         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70099         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70100         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70101         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70103         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70104         sync_file_range.c with -fexceptions.
70105         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70106         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70107         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70108         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70109         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70110         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70111         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70112         sync_file_range as cancellation point
70113         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70114         now a wrapper around __call_sync_file_range with cancellation handling.
70115         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70116         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70117         function name to __call_sync_file_range.
70118         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70119         Add call_sync_file_range.
70121 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70124         bits/timex.h.
70126 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70128         * iconv/iconv.h: Fix typo in comment.
70129         * io/fcntl.h: Likewise.
70130         * libio/stdio.h: Likewise.
70131         * posix/spawn.h: Likewise.
70132         * posix/unistd.h: Likewise.
70133         * stdlib/stdlib.h: Likewise.
70134         * time/time.h: Likewise.
70135         * wcsmbs/wchar.h: Likewise.
70137         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70138         open_by_handle): Add.
70139         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70140         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70141         Augment a few comments.
70142         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70144         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70146         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70147         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70148         open_by_handle.
70150         * io/fcntl.h (AT_EMPTY_PATH): Define.
70152 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70154         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70155         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70156         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70157         to...
70158         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70159         * Versions.def: Add GLIBC_2.14.
70160         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70161         Export.
70163 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70165         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70166         round counter.
70167         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70169 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70171         [BZ #12597]
70172         * string/test-strncmp.c (do_page_test): New function.
70173         (check2): Likewise.
70174         (test_main): Call check2.
70175         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70177 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70179         [BZ #12587]
70180         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70181         Handle cache information in CPU leaf 4.
70182         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70184 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70186         [BZ #12583]
70187         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70188         character representation.
70189         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70191 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70193         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70194         END(__isnan) to END(__isnanf) to match function entry point/label
70195         EALIGN(__isnanf,...).
70197 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70199         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70201 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70203         [BZ #12510]
70204         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70205         copy from the symbol referenced in the relocation to initialize the
70206         used variable.
70207         Patch by Piotr Bury <pbury@goahead.com>.
70208         * elf/Makefile: Add rules to build and tst-unique3.
70209         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70210         * elf/tst-unique3.cc: New file.
70211         * elf/tst-unique3.h: New file.
70212         * elf/tst-unique3lib.cc: New file.
70213         * elf/tst-unique3lib2.cc: New file.
70215         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70217 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70219         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70220         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70221         to _start.
70223 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70225         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70226         to-be-loaded object along a path to loader is ld.so.
70228 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70229             Ulrich Drepper  <drepper@gmail.com>
70231         * sysdeps/x86_64/memset.S: After aligning destination, code
70232         branches to different locations depending on the value of
70233         misalignment, when multiarch is enabled. Fix this.
70235 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70237         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70238         Set _x86_64_preferred_memory_instruction for AMD processsors.
70239         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70240         Set bit_Prefer_SSE_for_memop for AMD processors.
70242 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70244         * libio/fmemopen.c (fmemopen): Optimize a bit.
70246 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70248         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70250 2011-03-03  Roland McGrath  <roland@redhat.com>
70252         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70254 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70256         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70257         __bzero_ultra1 instead of __memset_ultra1.
70259 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70260             Ulrich Drepper  <drepper@gmail.com>
70262         [BZ #12509]
70263         * include/link.h (struct link_map): Add l_orig_initfini.
70264         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70265         returning unsuccessfully.
70266         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70267         close of a file loaded at startup, restore the original l_initfini
70268         list.
70269         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70270         list, store the pointer.
70271         * elf/Makefile ($(objpfx)noload-mem): New rule.
70272         (noload-ENV): Define.
70273         (tests): Add $(objpfx)noload-mem.
70274         * elf/noload.c: Include <memcheck.h>.
70275         (main): Call mtrace.  Close all opened handles.
70277 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70279         [BZ #12454]
70280         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70281         dependencies are missing.
70283 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70285         Fix __if_freereq crash: Unlike the generic version which uses free,
70286         Hurd needs munmap.
70287         * sysdeps/mach/hurd/ifreq.h: New file.
70289 2011-01-27  Petr Baudis  <pasky@suse.cz>
70290             Ulrich Drepper  <drepper@gmail.com>
70292         [BZ 12445]#
70293         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70294         to extend_alloca().
70295         * stdio-common/bug23.c: New file.
70296         * stdio-common/Makefile (tests): Add bug23.
70298 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70299             Ulrich Drepper  <drepper@gmail.com>
70301         [BZ #12489]
70302         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70303         before performing relro protection.  At old place add assertion
70304         to make sure nothing changed.
70306 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70307             Glauber de Oliveira Costa  <glommer@gmail.com>
70309         * elf/elf.h: Add new ARM TLS relocs.
70311 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70314         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70315         cast from r3.
70316         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70317         'tests' variable.
70318         * sysdeps/wordsize-64/tst-writev.c: New file.
70320 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70322         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70323         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70324         insns in _dl_start to prevent a TOC reference before relocs are
70325         resolved.
70327 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70329         [BZ #12469]
70330         * Makeconfig: Remove RANLIB definition.
70331         * Makerules: Don't use RANLIB.
70332         * aclocal.m4: Remove ranlib test.
70333         * configure.in: No need to check for ranlib.
70334         * elf/rtld-Rules: Don't use RANLIB.
70336 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70338         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70339         protection macro.
70340         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70341         inclusion protection macro.
70343         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70344         SIGRTMIN and SIGRTMAX and print information in that case only when
70345         SIGRTMIN is defined.
70347 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70349         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70350         arginfo fn returning -1.
70352         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70353         and thousands string is zero terminated.
70355 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70357         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70358         sysdeps/unix/sysv/linux/bits/socket.h.
70360 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70362         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70363         (__CPU_COUNT): Remove old macros.
70364         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70365         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70366         (__CPU_ALLOC, __CPU_FREE): Add macros.
70367         (__sched_cpualloc, __sched_cpufree): Add declarations.
70369 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70371         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70372         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70373         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70374         (readdhstai): Return value of addhstaiX call.
70375         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70376         (addgrbyX): Return value returned by cache_addgr.
70377         (readdgrbyname): Return value returned by addgrbyX.
70378         (readdgrbygid): Likewise.
70379         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70380         (addpwbyX): Return value returned by cache_addpw.
70381         (readdpwbyname): Return value returned by addhstbyX.
70382         (readdpwbyuid): Likewise.
70383         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70384         (addservbyX): Return value returned by cache_addserv.
70385         (readdservbyname): Return value returned by addservbyX:
70386         (readdservbyport): Likewise.
70387         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70388         (addhstbyX): Return value returned by cache_addhst.
70389         (readdhstbyname): Return value returned by addhstbyX.
70390         (readdhstbyaddr): Likewise.
70391         (readdhstbynamev6): Likewise.
70392         (readdhstbyaddrv6): Likewise.
70393         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70394         (readdinitgroups): Return value returned by addinitgroupsX.
70395         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70396         (prune_cache): Keep track of timeout value of re-added entries.
70397         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70398         * nscd/nscd.h: Adjust prototypes of readd* functions.
70400 2011-02-04  Roland McGrath  <roland@redhat.com>
70402         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70403         (nis_stats): Likewise.
70404         * nis/nis_modify.c (nis_modify): Likewise.
70405         * nis/nis_remove.c (nis_remove): Likewise.
70406         * nis/nis_add.c (nis_add): Likewise.
70408         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70410         * posix/fnmatch_loop.c: Add some consts.
70412         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70414 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70416         [BZ #12460]
70417         * config.make.in (config-cflags-novzeroupper): Define.
70418         * configure.in: Substitute libc_cv_cc_novzeroupper.
70419         * elf/Makefile (AVX-CFLAGS): Define.
70420         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70421         (CFLAGS-tst-auditmod4a.c): Likewise.
70422         (CFLAGS-tst-auditmod4b.c): Likewise.
70423         (CFLAGS-tst-auditmod6b.c): Likewise.
70424         (CFLAGS-tst-auditmod6c.c): Likewise.
70425         (CFLAGS-tst-auditmod7b.c): Likewise.
70426         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70428 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70430         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70431         function to the callback.
70432         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70434 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70436         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70437         of errno.
70439 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70441         [BZ #11724]
70442         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70443         of constructors.
70444         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70445         of destructors.
70446         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70448         [BZ #11724]
70449         * elf/Makefile: Add rules to build and run new test.
70450         * elf/tst-initorder.c: New file.
70451         * elf/tst-initorder.exp: New file.
70452         * elf/tst-initordera1.c: New file.
70453         * elf/tst-initordera2.c: New file.
70454         * elf/tst-initordera3.c: New file.
70455         * elf/tst-initordera4.c: New file.
70456         * elf/tst-initorderb1.c: New file.
70457         * elf/tst-initorderb2.c: New file.
70458         * elf/tst-order-a1.c: New file.
70459         * elf/tst-order-a2.c: New file.
70460         * elf/tst-order-a3.c: New file.
70461         * elf/tst-order-a4.c: New file.
70462         * elf/tst-order-b1.c: New file.
70463         * elf/tst-order-b2.c: New file.
70464         * elf/tst-order-main.c: New file.
70465         New test case by George Gensure <werkt0@gmail.com>.
70467 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70470         decoding ACE if AI_CANONIDN.
70472 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70474         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70476 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70478         * version.h (RELEASE): Bump for 2.13 release.
70479         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70481         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70483         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70484         MADV_NOHUGEPAGE.
70485         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70486         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70487         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70488         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70489         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70490         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70492         * posix/getconf.c: Update copyright year.
70493         * catgets/gencat.c: Likewise.
70494         * csu/version.c: Likewise.
70495         * debug/catchsegv.sh: Likewise.
70496         * debug/xtrace.sh: Likewise.
70497         * elf/ldconfig.c: Likewise.
70498         * elf/ldd.bash.in: Likewise.
70499         * elf/sprof.c (print_version): Likewise.
70500         * iconv/iconv_prog.c: Likewise.
70501         * iconv/iconvconfig.c: Likewise.
70502         * locale/programs/locale.c: Likewise.
70503         * locale/programs/localedef.c: Likewise.
70504         * malloc/memusage.sh: Likewise.
70505         * malloc/mtrace.pl: Likewise.
70506         * nscd/nscd.c (print_version): Likewise.
70507         * nss/getent.c: Likewise.
70509         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70510         PF_CAIF, and PF_ALG.
70511         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70513 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70515         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70516         (modules-names): Use them.
70517         (ifunc-test-modules, ifunc-pie-tests): Define.
70518         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70519         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70520         (test-extras): Likewise.
70521         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70522         $(compile-command.c).
70523         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70524         (all-built-dso): Define.
70525         (check-textrel.out, check-execstack.out): Depend on it.
70527         * configure.in: Don't override --enable-multi-arch.
70529 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70531         [BZ #6812]
70532         * nscd/hstcache.c (tryagain): Define.
70533         (cache_addhst): Return tryagain not notfound for temporary errors.
70534         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70535         failed.
70537 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70539         [BZ #10563]
70540         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70541         to make the syscall.
70542         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70544         [BZ #12378]
70545         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70546         and fall back to matching as normal character if the string ends before
70547         the matching ']' is found.  This is what POSIX requires.
70548         * posix/testfnm.c: Adjust test result.
70549         * posix/globtest.sh: Adjust test result.  Add new test.
70550         * posix/tst-fnmatch.input: Likewise.
70551         * posix/tst-fnmatch2.c: Add new test.
70553 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70555         * elf/Makefile (check-execstack): Revert last change.  Depend on
70556         check-execstack.h.
70557         (check-execstack.h): New target.
70558         (generated): Add check-execstack.h.
70559         * elf/check-execstack.c: Include "check-execstack.h".
70560         (main): Revert last change.
70561         (handle_file): Return zero if GNU_STACK is absent and
70562         DEFAULT_STACK_PERMS doesn't include PF_X.
70564 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70566         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70567         in child fails because the descriptor is already closed.
70568         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70569         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70570         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70572         [BZ #12397]
70573         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70574         syscall.
70576         [BZ #10484]
70577         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70578         temporary buffer used to handle multi lookups locally.
70579         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70581 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70583         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70584         loader is ld.so.
70586 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70588         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70589         alignment for SSE2.
70591 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70593         [BZ #12394]
70594         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70595         characters.  When rounding increased number of integer digits recompute
70596         number of groups.
70597         * stdio-common/tst-grouping.c: New file.
70598         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70600 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70602         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70603         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70605         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70606         void.
70607         * bits/select.h: Likewise.
70609 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70611         * po/ja.po: Update from translation team.
70613 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70615         [BZ #11155]
70616         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70617         implementation just like for lxstat, fxstatat, et al.
70619 2010-12-27  Jim Meyering  <meyering@redhat.com>
70621         [BZ #12348]
70622         * posix/regexec.c (build_trtable): Return failure indication upon
70623         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70625 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70627         [BZ #12201]
70628         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70629         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70630         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70631         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70633         [BZ #12207]
70634         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70636         [BZ #12204]
70637         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70638         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70640 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70642         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70643         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70644         script has SORT_BY_INIT_PRIORITY.
70645         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70646         NO_CTORS_DTORS_SECTIONS is defined.
70647         * elf/soinit.c: Likewise.
70648         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70649         NO_CTORS_DTORS_SECTIONS is defined.
70650         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70651         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70652         * sysdeps/sh/init-first.c: Likewise.
70653         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70655 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70657         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70658         always use the slow path.
70660 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70662         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70663         similar rule which adds the sysdep directories to the header search in
70664         order to pick up the correct platform stackinfo.h.
70665         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70666         perform test if it is, otherwise return successfully without testing.
70667         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70668         DEFAULT_STACK_PERMS define in stackinfo.h.
70669         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70670         defined in stackinfo.h.
70671         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70672         DEFAULT_STACK_PERMS defined in stackinfo.h.
70673         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70674         * sysdeps/ia64/stackinfo.h: Likewise.
70675         * sysdeps/s390/stackinfo.h: Likewise.
70676         * sysdeps/sh/stackinfo.h: Likewise.
70677         * sysdeps/sparc/stackinfo.h: Likewise.
70678         * sysdeps/x86_64/stackinfo.h: Likewise.
70679         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70680         PF_X for powerpc64.  Retain PF_X for powerpc32.
70682 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70684         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70685         accurately.
70686         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70687         GETDENTS_64BIT_ALIGNED.
70689 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70691         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70693 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70695         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70696         _GNU_SOURCE.
70698         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70699         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70700         Remove __restrict.
70701         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70702         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70704 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70706         [BZ #11655]
70707         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70708         are initialized.
70710 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70712         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70714 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70716         * po/it.po: Update from translation team.
70718 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70720         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70721         unused codes.
70723 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70725         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70727 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70729         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70730         specially.
70731         (gaih_getanswer_slice): Likewise.
70733 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70737 2010-05-31  Petr Baudis  <pasky@suse.cz>
70739         [BZ #11149]
70740         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70741         silently even in the chroot mode.
70743 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70745         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70746         last patch a bit.  Pretty printing
70748 2010-05-31  Petr Baudis <pasky@suse.cz>
70750         [BZ #10085]
70751         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70752         initialization of skip_initgroups_dyn.
70754 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70756         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70757         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70759 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70761         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70763 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70765         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70766         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70767         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70768         ($(objpfx)tst-fnmatch-mem): New rule.
70769         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70770         * posix/tst-fnmatch.c (main): Call mtrace.
70772 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70775         Support Intel processor model 6 and model 0x2c.
70777 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70779         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70780           signed comparison.
70782 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70784         [BZ #12205]
70785         * string/test-strncasecmp.c (check_result): New function.
70786         (do_one_test): Use it.
70787         (check1): New function.
70788         (test_main): Use it.
70789         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70790         Support strcasecmp and strncasecmp.
70792 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70794         [BZ #12194]
70795         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70796         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70798 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70800         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70801         IFUNC support.
70802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70803         memset-x86-64.
70804         * sysdeps/x86_64/multiarch/bzero.S: New file.
70805         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70806         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70807         * sysdeps/x86_64/multiarch/memset.S: New file.
70808         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70810         Set bit_Prefer_SSE_for_memop for Intel processors.
70811         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70812         Define.
70813         (index_Prefer_SSE_for_memop): Define.
70814         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70816 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70818         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70819         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70821 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70823         [BZ #12191]
70824         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70825         (__x86_64_raw_data_cache_size_half): Likewise.
70826         (__x86_64_raw_shared_cache_size): Likewise.
70827         (__x86_64_raw_shared_cache_size_half): Likewise.
70829         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70830         (__x86_64_raw_data_cache_size_half): Likewise.
70831         (__x86_64_raw_shared_cache_size): Likewise.
70832         (__x86_64_raw_shared_cache_size_half): Likewise.
70833         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70834         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70835         and __x86_64_raw_shared_cache_size_half.  Round
70836         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70837         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70838         to multiple of 256 bytes.
70840 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70842         [BZ #12167]
70843         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70844         of inacessible symlinks.  Verify result of symlink before returning it.
70845         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70846         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70848 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70850         * math/math.h (isinf): Fix typo in comment.
70852 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70854         * po/da.po: Update from translation team.
70856 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70858         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70859         is added to the list.
70861 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70862             Ulrich Drepper  <drepper@gmail.com>
70864         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70865         the global list here.  Move code to...
70866         (_dl_add_to_namespace_list): ...here.  New function.
70867         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70868         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70869         * elf/dl-load.c (lose): Don't remove the element from the list.
70870         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70871         (_dl_map_object): Likewise.
70873 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70875         [BZ #12159]
70876         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70877         into all bytes of SSE register.
70878         Patch by Richard Li <richardpku@gmail.com>.
70880 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70882         [BZ #12140]
70883         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70884         perturbing.
70886 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70888         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70889         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70890         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70891         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70893         submachine.
70894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70896 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70898         * include/dlfcn.h (__RTLD_SECURE): Define.
70899         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70900         mode & __RTLD_SECURE instead.
70901         (open_path): Rename preloaded parameter to secure.
70902         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70903         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70904         * elf/dl-deps.c (openaux): Likewise.
70905         * elf/rtld.c (struct map_args): Remove is_preloaded.
70906         (map_doit): Don't use it.
70907         (dl_main): Likewise.
70908         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70909         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70911 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70913         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70914         (sysd-rules-targets): Remove duplicates.
70915         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70916         rtld-%.$o dependency.
70918 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70920         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70921         _dl_map_object do it.
70923 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70925         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70926         fast fma builtins, define the macros in the C99 standard.
70927         (FP_FAST_FMAF): Likewise.
70928         (FP_FAST_FMAL): Likewise.
70929         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70931         * bits/mathdef.h: Update copyright year.
70932         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70934 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70936         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70937         builtins, define the macros in the C99 standard.
70938         (FP_FAST_FMAF): Likewise.
70939         (FP_FAST_FMAL): Likewise.
70940         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70941         multiply/add.
70942         (FP_FAST_FMAF): Likewise.
70944 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70946         [BZ #3268]
70947         * math/libm-test.inc (fma_test): Some new testcases.
70948         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70949         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70950         y and infinite z.  Do multiplication by C already in long double.
70951         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70952         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70953         y and infinite z.  Do bitwise or of inexact bit into u.d.
70954         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70955         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70956         * sysdeps/i386/fpu/s_fma.S: Removed.
70957         * sysdeps/i386/fpu/s_fmal.S: Removed.
70959 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70961         [BZ #3268]
70962         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70964         computation is not scheduled after fetestexcept.  Fix value
70965         of minimum denormal long double.
70967 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70969         [BZ #3268]
70970         * math/libm-test.inc (fma_test): Add some more tests.
70971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70972         correctly.
70974 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70976         * scripts/data/localplt-s390-linux-gnu.data: New file.
70977         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70979 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70981         [BZ #3268]
70982         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70983         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70984         instead of dbl-64.
70985         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70986         inlines.
70987         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70989         if one of x and y is very large and the other is subnormal.
70990         * sysdeps/s390/fpu/s_fmaf.c: New file.
70991         * sysdeps/s390/fpu/s_fma.c: New file.
70992         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70993         * sysdeps/powerpc/fpu/s_fma.S: New file.
70994         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70995         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70996         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70998 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71000         [BZ #3268]
71001         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71002         fma tests.
71003         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71004         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71005         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71006         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71007         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71008         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71009         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71011 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71013         [BZ #12078]
71014         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71015         * posix/bug-regex31.input: Add test case.
71017 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71019         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71020         * posix/bug-regex31.input: New file.
71022         [BZ #12078]
71023         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71024         (parse_sub_exp): Fix last change, use postorder.
71026         * posix/bug-regex31.c: New file.
71027         * posix/Makefile: Add rules to build and run bug-regex31.
71029         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71031         [BZ #12078]
71032         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71034         [BZ #12108]
71035         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71036         to have entries in sys_siglist.
71038         [BZ #12093]
71039         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71040         be NULL.
71042 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71044         [BZ #3268]
71045         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71046         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71047         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71048         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71049         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71050         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71051         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71052         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71053         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71054         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71055         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71056         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71057         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71058         * math/ftestexcept.c (fetestexcept): Likewise.
71059         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71060         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71061         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71062         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71063         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71064         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71065         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71067 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71069         [BZ #12107]
71070         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71071         newline.
71073 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71075         * string/bug-strstr1.c: New file.
71076         * string/Makefile: Add rules to build and run bug-strstr1.
71078 2010-10-05  Eric Blake  <eblake@redhat.com>
71080         [BZ #12092]
71081         * string/str-two-way.h (two_way_long_needle): Always clear memory
71082         when skipping input due to the shift table.
71084 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71086         [BZ #12005]
71087         * malloc/mcheck.c: Handle large requests.
71089         [BZ #12077]
71090         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71091         for strncmp and strncasecmp.
71092         * string/stratcliff.c: Add tests for strcmp and strncmp.
71093         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71095 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71097         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71098         __set_fpscr.
71100 2010-09-30  Andreas Jaeger  <aj@suse.de>
71102         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71103         (CGROUP_SUPER_MAGIC): Define.
71104         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71105         Handle btrfs and cgroup file systems.
71106         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71107         Likewise.
71109 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71111         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71112         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71114 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71116         [BZ #12067]
71117         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71118         trying to locate the ELF header.
71120 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71122         [BZ #11611]
71123         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71124         Mask out sign-bit copies when constructing f_fsid.
71126 2010-09-24  Petr Baudis <pasky@suse.cz>
71128         * debug/stack_chk_fail_local.c: Add missing licence exception.
71129         * debug/warning-nop.c: Likewise.
71131 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71133         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71134         implementing getdents64 using getdents syscall, set d_type if
71135         __ASSUME_GETDENTS32_D_TYPE.
71137 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71139         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71140         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71142 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71144         [BZ #12037]
71145         * posix/unistd.h: Undo change of feature selection for ftruncate from
71146         2010-01-11.
71148 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71150         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71151         detection.
71153 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71155         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71156         fanotify_mark.
71157         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71159 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71161         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71162         variables after CHECK_SP call.
71163         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71165 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71166             Ulrich Drepper  <drepper@redhat.com>
71168         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71169         re-relocationg ld.so.
71170         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71171         _dl_init_paths call.
71172         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71173         here anymore.
71175 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71177         * resolv/res_init.c (__res_vinit): Count the default server we added.
71179 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71180             Ulrich Drepper  <drepper@redhat.com>
71182         [BZ #11968]
71183         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71184         (____longjmp_chk): Use %ebx for saving value across system call.
71185         Add unwind info.
71187 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71189         * manual/Makefile: Don't mix pattern rules with normal rules.
71191 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71193         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71194         operation.
71195         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71196         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71197         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71198         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71199         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71200         Likewise.
71202 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71204         [BZ #11979]
71205         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71206         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71208 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71210         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71211         * sysdeps/x86_64/addmul_1.S: Likewise.
71212         * sysdeps/x86_64/lshift.S: Likewise.
71213         * sysdeps/x86_64/mul_1.S: Likewise.
71214         * sysdeps/x86_64/rshift.S: Likewise.
71215         * sysdeps/x86_64/sub_n.S: Likewise.
71216         * sysdeps/x86_64/submul_1.S: Likewise.
71218 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71220         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71221         Define __sched_param instead of SCHED_* and sched_param when
71222         <bits/sched.h> is included with __need_schedparam defined.
71223         * bits/sched.h [__need_schedparam]
71224         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71225         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71226         (__defined_schedparam): Define to 1.
71227         (__sched_param): New structure, identical to sched_param.
71228         (__need_schedparam): Undefine.
71230 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71232         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71233         (epoll_create1): Declare.
71235         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71237 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71239         [BZ #7066]
71240         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71241         shifting retval into place.
71243 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71245         * nis/rpcsvc/nis.h: Update copyright notice.
71246         * nis/rpcsvc/nis.x: Likewise.
71247         * nis/rpcsvc/nis_callback.h: Likewise.
71248         * nis/rpcsvc/nis_callback.x: Likewise.
71249         * nis/rpcsvc/nis_object.x: Likewise.
71250         * nis/rpcsvc/nis_tags.h: Likewise.
71251         * nis/rpcsvc/yp.h: Likewise.
71252         * nis/rpcsvc/yp.x: Likewise.
71253         * nis/rpcsvc/ypupd.h: Likewise.
71254         * nis/yp_xdr.c: Likewise.
71255         * nis/ypupdate_xdr.c: Likewise.
71257         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71258         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71259         (pmap_getport): Use __libc_rpc_getport.
71260         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71261         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71262         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71264 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71267         fanotify_mark.
71269 2010-08-27  Roland McGrath  <roland@redhat.com>
71271         * sysdeps/i386/i686/multiarch/Makefile
71272         (CFLAGS-varshift.c): New variable.
71274 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71276         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71277         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71279         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71281         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71283 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71285         * sysdeps/x86_64/strlen.S: Unroll the loop.
71286         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71287         strlen-sse2 strlen-sse2-bsf.
71288         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71289         __strlen_no_bsf if bit_Slow_BSF is set.
71290         (__strlen_sse42): Removed.
71291         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71292         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71294 2010-08-25  Roland McGrath  <roland@redhat.com>
71296         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71297         * sysdeps/x86_64/multiarch/varshift.c: New file.
71298         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71299         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71300         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71301         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71303 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71305         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71306         strlen-sse2 strlen-sse2-bsf.
71307         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71308         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71309         (__strlen_sse2): Removed.
71310         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71311         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71313         bit_Slow_BSF for Atom.
71314         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71315         (index_Slow_BSF): Define.
71316         (HAS_SLOW_BSF): Define.
71318 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71320         [BZ #10851]
71321         * resolv/res_init.c (__res_vinit): When no server address at all
71322         is given default to loopback.
71324 2010-08-24  Roland McGrath  <roland@redhat.com>
71326         * configure.in: Remove config-name.h generation.
71327         * configure: Regenerated.
71328         * config-name.in: File removed.
71329         * scripts/config-uname.sh: New file.
71330         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71331         ($(objdir)config-name.h): New target.
71333         * sunrpc/rpc_parse.h: Avoid nested comment.
71335 2010-08-24  Richard Henderson  <rth@redhat.com>
71336             Ulrich Drepper  <drepper@redhat.com>
71337             H.J. Lu  <hongjiu.lu@intel.com>
71339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71341         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71342         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71343         _mm_alignr_epi8 with _mm_loadu_si128.
71344         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71345         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71346         (__m128i_shift_right): Removed.
71347         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71348         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71349         * sysdeps/x86_64/multiarch/varshift.h: New file.
71350         * sysdeps/x86_64/multiarch/varshift.S: New file.
71352 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71354         * configure.in: Move assembler checks to before sysdep dir checking.
71356 2010-08-20  Petr Baudis  <pasky@suse.cz>
71358         * LICENSES: Sync the sunrpc license.
71360 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71362         * sunrpc/auth_des.c: Update copyright notice once again.
71363         * sunrpc/auth_none.c: Likewise.
71364         * sunrpc/auth_unix.c: Likewise.
71365         * sunrpc/authdes_prot.c: Likewise.
71366         * sunrpc/authuxprot.c: Likewise.
71367         * sunrpc/bindrsvprt.c: Likewise.
71368         * sunrpc/clnt_gen.c: Likewise.
71369         * sunrpc/clnt_perr.c: Likewise.
71370         * sunrpc/clnt_raw.c: Likewise.
71371         * sunrpc/clnt_simp.c: Likewise.
71372         * sunrpc/clnt_tcp.c: Likewise.
71373         * sunrpc/clnt_udp.c: Likewise.
71374         * sunrpc/clnt_unix.c: Likewise.
71375         * sunrpc/des_crypt.c: Likewise.
71376         * sunrpc/des_soft.c: Likewise.
71377         * sunrpc/get_myaddr.c: Likewise.
71378         * sunrpc/getrpcport.c: Likewise.
71379         * sunrpc/key_call.c: Likewise.
71380         * sunrpc/key_prot.c: Likewise.
71381         * sunrpc/openchild.c: Likewise.
71382         * sunrpc/pm_getmaps.c: Likewise.
71383         * sunrpc/pm_getport.c: Likewise.
71384         * sunrpc/pmap_clnt.c: Likewise.
71385         * sunrpc/pmap_prot.c: Likewise.
71386         * sunrpc/pmap_prot2.c: Likewise.
71387         * sunrpc/pmap_rmt.c: Likewise.
71388         * sunrpc/rpc/auth.h: Likewise.
71389         * sunrpc/rpc/auth_unix.h: Likewise.
71390         * sunrpc/rpc/clnt.h: Likewise.
71391         * sunrpc/rpc/des_crypt.h: Likewise.
71392         * sunrpc/rpc/key_prot.h: Likewise.
71393         * sunrpc/rpc/netdb.h: Likewise.
71394         * sunrpc/rpc/pmap_clnt.h: Likewise.
71395         * sunrpc/rpc/pmap_prot.h: Likewise.
71396         * sunrpc/rpc/pmap_rmt.h: Likewise.
71397         * sunrpc/rpc/rpc.h: Likewise.
71398         * sunrpc/rpc/rpc_des.h: Likewise.
71399         * sunrpc/rpc/rpc_msg.h: Likewise.
71400         * sunrpc/rpc/svc.h: Likewise.
71401         * sunrpc/rpc/svc_auth.h: Likewise.
71402         * sunrpc/rpc/types.h: Likewise.
71403         * sunrpc/rpc/xdr.h: Likewise.
71404         * sunrpc/rpc_clntout.c: Likewise.
71405         * sunrpc/rpc_cmsg.c: Likewise.
71406         * sunrpc/rpc_common.c: Likewise.
71407         * sunrpc/rpc_cout.c: Likewise.
71408         * sunrpc/rpc_dtable.c: Likewise.
71409         * sunrpc/rpc_hout.c: Likewise.
71410         * sunrpc/rpc_main.c: Likewise.
71411         * sunrpc/rpc_parse.c: Likewise.
71412         * sunrpc/rpc_parse.h: Likewise.
71413         * sunrpc/rpc_prot.c: Likewise.
71414         * sunrpc/rpc_sample.c: Likewise.
71415         * sunrpc/rpc_scan.c: Likewise.
71416         * sunrpc/rpc_scan.h: Likewise.
71417         * sunrpc/rpc_svcout.c: Likewise.
71418         * sunrpc/rpc_tblout.c: Likewise.
71419         * sunrpc/rpc_util.c: Likewise.
71420         * sunrpc/rpc_util.h: Likewise.
71421         * sunrpc/rpcinfo.c: Likewise.
71422         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71423         * sunrpc/rpcsvc/key_prot.x: Likewise.
71424         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71425         * sunrpc/rpcsvc/mount.x: Likewise.
71426         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71427         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71428         * sunrpc/rpcsvc/rex.x: Likewise.
71429         * sunrpc/rpcsvc/rstat.x: Likewise.
71430         * sunrpc/rpcsvc/rusers.x: Likewise.
71431         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71432         * sunrpc/rpcsvc/spray.x: Likewise.
71433         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71434         * sunrpc/rtime.c: Likewise.
71435         * sunrpc/svc.c: Likewise.
71436         * sunrpc/svc_auth.c: Likewise.
71437         * sunrpc/svc_authux.c: Likewise.
71438         * sunrpc/svc_raw.c: Likewise.
71439         * sunrpc/svc_run.c: Likewise.
71440         * sunrpc/svc_simple.c: Likewise.
71441         * sunrpc/svc_tcp.c: Likewise.
71442         * sunrpc/svc_udp.c: Likewise.
71443         * sunrpc/svc_unix.c: Likewise.
71444         * sunrpc/svcauth_des.c: Likewise.
71445         * sunrpc/xcrypt.c: Likewise.
71446         * sunrpc/xdr.c: Likewise.
71447         * sunrpc/xdr_array.c: Likewise.
71448         * sunrpc/xdr_float.c: Likewise.
71449         * sunrpc/xdr_mem.c: Likewise.
71450         * sunrpc/xdr_rec.c: Likewise.
71451         * sunrpc/xdr_ref.c: Likewise.
71452         * sunrpc/xdr_sizeof.c: Likewise.
71453         * sunrpc/xdr_stdio.c: Likewise.
71455         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71456         handling.
71458 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71460         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71462 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71464         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71465         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71466         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71467         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71468         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71469         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71470         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71471         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71472         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71473         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71474         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71475         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71476         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71477         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71479 2010-07-26  Anton Blanchard  <anton@samba.org>
71481         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71482         * malloc/arena.c (heap_trim): Likewise.
71484 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71486         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71487         here.  Not...
71488         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71489         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71491 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71493         * sysdeps/i386/elf/Makefile: New file.
71495 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71497         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71498         from fanotify_init.
71499         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71500         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71502 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71504         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71505         of strncasecmp_l.
71506         * sysdeps/multiarch/strcmp.S: Likewise.
71508 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71510         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71511         strncase_l-nonascii.
71512         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71513         Add strncase_l-ssse3.
71514         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71515         * sysdeps/x86_64/strcmp.S: Likewise.
71516         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71517         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71518         * sysdeps/x86_64/strncase.S: New file.
71519         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71520         * sysdeps/x86_64/strncase_l.S: New file.
71521         * string/Makefile (strop-tests): Add strncasecmp.
71522         * string/test-strncasecmp.c: New file.
71524         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71525         warning.
71527         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71528         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71530 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71532         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71534 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71536         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71537         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71538         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71540 2010-05-01  Alan Modra  <amodra@gmail.com>
71542         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71543         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71544         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71545         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71546         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71547         tidying.  Don't tail-call __sigjmp_save for static lib.
71548         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71549         save location.
71550         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71551         (CALL_MCOUNT): Add eh info, and nop after bl.
71552         (TAIL_CALL_SYSCALL_ERROR): New macro.
71553         (PSEUDO_RET): Use it.
71554         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71555         Correct save location of integer regs and cr.
71556         (_dl_profile_resolve): Correct cr save location.  Delete nops
71557         after bl when SHARED.  Reduce cfi size a little by better
71558         placement of cfi directives.
71559         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71560         make a stack frame.  Instead use parm save area as a temp.
71561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71562         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71564         Don't make a stack frame for parent, use parm save area.
71565         Increase child stack frame to 112 bytes.  Don't save unused reg,
71566         and adjust reg usage.  Set up cfi on error recovery and
71567         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71569         (__makecontext): Add dummy nop after jump to exit.
71570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71571         Use correct parm save area and cr save, reduce stack frame.
71572         Correct cfi for possible PSEUDO_RET frame setup.
71573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71574         Branch to local label emitted by PSEUDO_RET rather than
71575         __syscall_error.
71577 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71579         [BZ #11904]
71580         * locale/programs/locale.c (print_assignment): New function.
71581         (show_locale_vars): Use it.
71583 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71585         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71586         field.
71587         (struct statfs64): Likewise.
71588         (_STATFS_F_FLAGS): Define.
71589         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71590         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71591         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71592         (ST_VALID): Define locally.
71593         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71594         __statvfs_getflags, use the provided value.
71595         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71596         __ASSUME_STATFS_F_FLAGS.
71598         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71600         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71601         Add sys/fanotify.h.
71602         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71603         fanotify_mask for GLIBC_2.13.
71604         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71605         fanotify_init and fanotify_mark.
71606         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71607         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71609         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71610         Add prlimit.
71611         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71612         prlimit64 for GLIBC_2.13.
71613         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71614         prlimit64.
71615         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71616         syscall.
71617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71618         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71619         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71620         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71621         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71622         add prlimit alias.
71623         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71625         [BZ #11903]
71626         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71627         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71629         * nss/Makefile: Add rules to build and run tst-nss-test1.
71630         * shlib-versions: Add entry for libnss_test1.
71631         * nss/nss_test1.c: New file.
71632         * nss/tst-nss-test1.c: New file.
71634         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71635         (__nss_configure_lookup): Set appropriate entry in
71636         __nss_configure_lookup to true.
71637         * nss/nsswitch.h: Define enum with indeces of databases in
71638         databases and __nss_database_custom arrays.  Declare
71639         __nss_database_custom.
71640         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71641         to avoid using nscd when custom rules are installed.
71642         * nss/getXXbyYY_r.c: Likewise.
71643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71645         * nss/nss_files/files-parse.c: Whitespace fixes.
71647 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71649         [BZ #11883]
71650         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71651         * posix/fnmatch_loop.c: Likewise.
71653 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71655         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71656         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71657         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71658         * Versions.def [GLIBC_2.13]: Add.
71660 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71662         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71663         Also fail if tpwd after pwuid call is NULL.
71665 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71667         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71668         when converting to ms.
71670 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71672         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71673         EOPNOTSUPP errors with ENOTTY.
71674         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71675         EOPNOTSUPP errors with ENOTTY.
71677 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71679         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71680         Add strcasecmp_l-ssse3.
71681         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71682         strcasecmp.
71683         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71684         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71685         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71687 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71689         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71691         * string/Makefile (strop-tests): Add strcasecmp.
71692         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71693         strcasecmp_l-nonascii.
71694         (gen-as-const-headers): Add locale-defines.sym.
71695         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71696         * sysdeps/x86_64/strcasecmp.S: New file.
71697         * sysdeps/x86_64/strcasecmp_l.S: New file.
71698         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71699         * sysdeps/x86_64/locale-defines.sym: New file.
71700         * string/test-strcasecmp.c: New file.
71702         * string/test-strcasestr.c: Test both ends of the range of characters.
71703         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71705 2010-07-29  Roland McGrath  <roland@redhat.com>
71707         [BZ #11856]
71708         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71710 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71712         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71713         for ld.so.
71715 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71717         * manual/memory.texi (Malloc Tunable Parameters): Document
71718         M_PERTURB.
71720 2010-07-26  Roland McGrath  <roland@redhat.com>
71722         [BZ #11840]
71723         * configure.in (-fgnu89-inline check): Set and substitute
71724         gnu89_inline, not libc_cv_gnu89_inline.
71725         * configure: Regenerated.
71726         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71728 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71730         * string/test-strnlen.c: New file.
71731         * string/Makefile (strop-tests): Add strnlen.
71732         * string/tester.c (test_strnlen): Add a few more test cases.
71733         * string/tst-strlen.c: Better error reporting.
71735         * sysdeps/x86_64/strnlen.S: New file.
71737 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71739         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71740         lower-latency instructions.
71742 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71744         * string/test-strcasestr.c: New file.
71745         * string/test-strstr.c: New file.
71746         * string/Makefile (strop-tests): Add strstr and strcasestr.
71747         * string/str-two-way.h: Don't undefine MAX.
71748         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71750 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71753         strcasestr-nonascii.
71754         (CFLAGS-strcasestr-nonascii.c): Define.
71755         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71756         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71757         Remove unused attribute.
71759 2010-07-20  Roland McGrath  <roland@redhat.com>
71761         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71762         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71763         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71764         like LD_HWCAP_MASK can disable hwcaps.
71766 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71768         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71770 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71772         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71773         call in strcasestr.
71774         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71775         __strcasestr_sse42_nonascii.
71776         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71777         strcasestr-nonascii.c.
71778         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71780 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71782         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71783         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71784         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71785         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71787 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71789         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71790         fcntl.
71792 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71794         [BZ #11577]
71795         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71796         dl_signal_cerror.
71798 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71800         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71801         _PC_PIPE_BUF using F_GETPIPE_SZ.
71803 2010-07-05  Roland McGrath  <roland@redhat.com>
71805         * manual/arith.texi (Rounding Functions): Fix rint description
71806         implicit in round description.
71808 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71810         * elf/Makefile: Fix linking for a few tests to make recent linker
71811         happy.
71813 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71815         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71816         $(common-objpfx)libc_nonshared.a.
71818 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71820         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71821         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71822         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71823         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71824         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71825         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71826         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71827         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71842         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71843         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71844         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71845         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71846         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71847         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71848         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71849         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71850         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71851         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71852         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71853         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71869 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71871         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71872         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71873         * string/memmove.c (memmove): Renamed to ...
71874         (MEMMOVE): ...this.  Default to memmove.
71875         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71876         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71877         (END_CHK): Define.
71878         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71879         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71880         mempcpy-ssse3-back memmove-ssse3-back.
71881         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71882         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71883         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71884         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71885         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71886         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71887         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71888         * sysdeps/x86_64/multiarch/memmove.c: New file.
71889         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71890         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71891         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71892         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71893         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71894         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71895         Define.
71896         (index_Fast_Copy_Backward): Define.
71897         (HAS_ARCH_FEATURE): Define.
71898         (HAS_FAST_REP_STRING): Define.
71899         (HAS_FAST_COPY_BACKWARD): Define.
71901 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71903         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71904         Restore proper fallback handling.
71906 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71908         [BZ #11701]
71909         * posix/group_member.c (__group_member): Correct checking loop.
71911         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71912         OOM in getpwuid_r correctly.  Return error number when the caller
71913         should return, otherwise -1.
71914         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71915         call returning > 0 value.
71916         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71918 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71920         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71921         libc_nonshared.a from targets in modules-names.
71923 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71925         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71926         requires it.
71928 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71930         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71931         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71932         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71933         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71935 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71937         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71939 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71941         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71942         and F_GETPIPE_SZ.
71943         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71944         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71946         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71947         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71948         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71950 2010-06-14  Roland McGrath  <roland@redhat.com>
71952         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71954 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71956         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71957         __REDIRECT followed by __THROW.
71958         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71959         * posix/getopt.h (getopt): Likewise.
71961 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71963         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71964         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71965         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71966         in AT_FLAGS.
71967         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71968         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71970 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71972         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71974 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71976         [BZ #11640]
71977         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71978         Properly check family and model.
71980 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71982         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71984 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71986         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71988 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71990         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71991         symbol reference.
71993 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71995         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71996         symbol reference.
71998 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72000         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72001         and internal_recvmmsg.
72002         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72003         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72004         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72005         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72007         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72008         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72009         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72011 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72013         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72015 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72017         POWER7 optimizations.
72018         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72019         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72021 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72023         * version.h: Update for 2.13 development version.
72025 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72027         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72028         exceptions.  Return 0.
72030 2010-05-07  Roland McGrath  <roland@redhat.com>
72032         * elf/ldconfig.c (main): Add a const.
72034 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72036         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72037         (args_options): Add no-idn option.
72038         (ahosts_keys_int): Add idn_flags to ai_flags.
72039         (parse_option): Handle 'i' option to clear idn_flags.
72041         * malloc/malloc.c (_int_free): Possible race in the most recently
72042         added check.  Only act on the data if no current modification
72043         happened.
72045 See ChangeLog.17 for earlier changes.